Skip to main content

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 dask and batching support for SGD
    • 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.
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robusta_hmf-0.0.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robusta_hmf-0.0.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

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

Hashes for robusta_hmf-0.0.1.tar.gz
Algorithm Hash digest
SHA256 30a7fed217519185d78bbfaea78bfb53d2de4bae8e3643820c7d6f1eb577d44e
MD5 3b0287206f4600eb1acdf8edf12df34f
BLAKE2b-256 807e4699799481664503ddda0c33eadc0a4f033b81393c805113ab80956321cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for robusta_hmf-0.0.1.tar.gz:

Publisher: release.yml on TomHilder/robusta-hmf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for robusta_hmf-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4a78fe19abbe53dd0f50f6356ac6064e10f9bdb9fe0d5e8503512eefecac4a2
MD5 8f2835bc9b7141dd88cbc80a16351f43
BLAKE2b-256 58e8f63f9bdc7b083695cc668cd8e583576b41fc2f4a13668e50b2b3dcafffe2

See more details on using hashes here.

Provenance

The following attestation bundles were made for robusta_hmf-0.0.1-py3-none-any.whl:

Publisher: release.yml on TomHilder/robusta-hmf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page