Robust heteroskedastic matrix factorisation in JAX.
Project description
Robusta-HMF
jax implementation of robust heteroskedastic matrix factorisation. Robusta like the coffee bean, get it?
Installation
Easiest is from PyPI either with pip (CURRENTLY NOT ON PYPI YET)
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robusta_hmf-0.0.1.tar.gz.
File metadata
- Download URL: robusta_hmf-0.0.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30a7fed217519185d78bbfaea78bfb53d2de4bae8e3643820c7d6f1eb577d44e
|
|
| MD5 |
3b0287206f4600eb1acdf8edf12df34f
|
|
| BLAKE2b-256 |
807e4699799481664503ddda0c33eadc0a4f033b81393c805113ab80956321cb
|
Provenance
The following attestation bundles were made for robusta_hmf-0.0.1.tar.gz:
Publisher:
release.yml on TomHilder/robusta-hmf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robusta_hmf-0.0.1.tar.gz -
Subject digest:
30a7fed217519185d78bbfaea78bfb53d2de4bae8e3643820c7d6f1eb577d44e - Sigstore transparency entry: 618365128
- Sigstore integration time:
-
Permalink:
TomHilder/robusta-hmf@d31e6a6cf166a78d66fe1ad45cba391accfc5f5e -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/TomHilder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d31e6a6cf166a78d66fe1ad45cba391accfc5f5e -
Trigger Event:
push
-
Statement type:
File details
Details for the file robusta_hmf-0.0.1-py3-none-any.whl.
File metadata
- Download URL: robusta_hmf-0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4a78fe19abbe53dd0f50f6356ac6064e10f9bdb9fe0d5e8503512eefecac4a2
|
|
| MD5 |
8f2835bc9b7141dd88cbc80a16351f43
|
|
| BLAKE2b-256 |
58e8f63f9bdc7b083695cc668cd8e583576b41fc2f4a13668e50b2b3dcafffe2
|
Provenance
The following attestation bundles were made for robusta_hmf-0.0.1-py3-none-any.whl:
Publisher:
release.yml on TomHilder/robusta-hmf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robusta_hmf-0.0.1-py3-none-any.whl -
Subject digest:
f4a78fe19abbe53dd0f50f6356ac6064e10f9bdb9fe0d5e8503512eefecac4a2 - Sigstore transparency entry: 618365149
- Sigstore integration time:
-
Permalink:
TomHilder/robusta-hmf@d31e6a6cf166a78d66fe1ad45cba391accfc5f5e -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/TomHilder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d31e6a6cf166a78d66fe1ad45cba391accfc5f5e -
Trigger Event:
push
-
Statement type: