Skip to main content

A python project for prototype-based machine learning models

Project description

Prosemble

Python 3.11+ PyPI License: MIT CI Documentation

Description

This is a JAX-based Python toolbox for research and application of prototype-based machine learning methods and other interpretable models. All models are JIT-compiled and run on CPU, GPU and TPU. The focus of Prosemble is ease-of-use, extensibility and speed.

Installation

Prosemble can be installed using pip:

pip install prosemble

To install with JAX support:

pip install "prosemble[jax]"         # CPU
pip install "prosemble[jax-cuda12]"  # GPU (CUDA 12)

To install the development version:

git clone https://github.com/naotoo1/prosemble.git
cd prosemble
pip install -e ".[all]"

Documentation

The full documentation is available at prosemble.readthedocs.io.

To build locally:

cd sphinx-docs && make html

Examples

See the examples/ directory.

Development

Prosemble provides a reproducible development environment using devenv:

git clone https://github.com/naotoo1/prosemble.git
cd prosemble
devenv shell
uv sync --extra jax --extra dev
uv run pytest tests/ -x -q

Citation

@misc{Otoo_Prosemble_2022,
  author       = {Otoo, Nana Abeka},
  title        = {Prosemble},
  year         = {2022},
  publisher    = {GitHub},
  journal      = {GitHub repository},
  howpublished = {\url{https://github.com/naotoo1/Prosemble}},
}

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

prosemble-1.0.0.tar.gz (392.7 kB view details)

Uploaded Source

Built Distribution

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

prosemble-1.0.0-py2.py3-none-any.whl (219.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file prosemble-1.0.0.tar.gz.

File metadata

  • Download URL: prosemble-1.0.0.tar.gz
  • Upload date:
  • Size: 392.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for prosemble-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7b9721327ff6da2bb57018a9f08790e9544c1085236872b2d27be33ee7f94498
MD5 888f9b0fb0ff49e9a393e26317a53257
BLAKE2b-256 8a06ecea97f86e036f57669d388d49ac8d570d2b4fa9f90d232abc8c39e8cda5

See more details on using hashes here.

Provenance

The following attestation bundles were made for prosemble-1.0.0.tar.gz:

Publisher: release.yml on naotoo1/prosemble

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

File details

Details for the file prosemble-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: prosemble-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 219.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for prosemble-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e857cd3d728f2dcaad358c115745f83e7e2b3f7ba57fdf91dbb6f54eaf87612e
MD5 6ab196ae61bd5f75c52e8f0db9fb8cf3
BLAKE2b-256 885d9c344c10638fcb2d181b2ac68d170c90d57a2e02d4fd800ed477cbe1b5c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for prosemble-1.0.0-py2.py3-none-any.whl:

Publisher: release.yml on naotoo1/prosemble

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