Robusta-HMF
jax implementation of robust heteroskedastic matrix factorisation. Robusta like the coffee bean, get it?
Installation
Easiest is from PyPI either with pip
pip install robusta-hmf
or uv (recommended)
uv add robusta-hmf
Or, you can clone and build from source
git clone git@github.com:TomHilder/robusta-hmf.git
cd robusta-hmf
pip install -e .
Usage
TODO
Citation
TODO
Help
TODO
TODOs
- Port Hogg's existing code and make sure it builds/installs*
- Port to
equinox* - Type checking with
mypy* - Add dependency injection for the following:*
- Optimisation method, IRLS, SGD (directly optimising objective, see robust_hmf_notes.pdf)
- Potentially
daskand batching support for SGD
- Potentially
- w-steps. Each w-step corresponds to a different likelihood. Hogg's is Cauchy. We should let this flexible*
- Initialisation.
- Re-orientation. Can easily imagine wanting something cheaper for really big data.
- Optimisation method, IRLS, SGD (directly optimising objective, see robust_hmf_notes.pdf)
- Add a save and restore method. Probably avoid pickle/dill and instead encapsulate info in serialisable way and then rebuild model upon loading
- Eh maybe, maybe not
- Tests!*
- CI, automated tests, automated relases, and PyPI*
- Relax version requirements since uv by default is newest everything
(*) = Priority
Metadata
Release files for robusta-hmf 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robusta_hmf-0.0.2.tar.gz | 14.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robusta_hmf-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.2 kB
Release files / robusta_hmf-0.0.2.tar.gz
| Download URL | robusta_hmf-0.0.2.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3c1ee20ea723b721a65fe47c9af1cda059e002eb66057cfbbafd4839d30ad89
|
|
BLAKE2b-256 checksum How to use checksums |
ba74f3072eecd9958d06dcd49ee4af2cf196de41f9231ca57fff2181e6ec6127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2025.
Transparency logRelease files / robusta_hmf-0.0.2-py3-none-any.whl
| Download URL | robusta_hmf-0.0.2-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd32d8c44d040dea582cb4224e72adc81ec45058bb88a3a36a5ed713d3385572
|
|
BLAKE2b-256 checksum How to use checksums |
eb21add6f14082b2fe4042984d098c34f2d6d3c2545615f3a936783376898476
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2025.
Transparency log