Skip to main content

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}},
}

Download files

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

Source Distribution

prosemble-2.4.0.tar.gz (578.5 kB view details)

Uploaded Source

Built Distribution

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

prosemble-2.4.0-py2.py3-none-any.whl (519.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: prosemble-2.4.0.tar.gz
  • Upload date:
  • Size: 578.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for prosemble-2.4.0.tar.gz
Algorithm Hash digest
SHA256 246d81029a6d2165bd49ae7df7713ee08100a6361a89f7590004ab373f7b5e34
MD5 a1b5fcef9a8802f6159765462123de9c
BLAKE2b-256 86e5926f569f4df583ed7535196c5f91726d97470a439319cb7f367ed0f3de47

See more details on using hashes here.

Provenance

The following attestation bundles were made for prosemble-2.4.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-2.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: prosemble-2.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 519.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for prosemble-2.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 59b3693baa9aa432bfbc9b6ff299bab529369363761e846253e57f2f7053a5e9
MD5 84d6299f96990ca11350958decbaefbe
BLAKE2b-256 467c45b042546ccd48950b29c504407df21bb1c6c404581a42ab336849e7c787

See more details on using hashes here.

Provenance

The following attestation bundles were made for prosemble-2.4.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.

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 files

2.3.0

2 files

2.2.0

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page