A python project for prototype-based machine learning models
Project description
Prosemble
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
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 prosemble-2.1.2.tar.gz.
File metadata
- Download URL: prosemble-2.1.2.tar.gz
- Upload date:
- Size: 509.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c74f2c14dacbf8fb1faa339f235e59e477988e45fa30e93ae022d03adc1a5657
|
|
| MD5 |
f248ec847ef8aba4dd06932d4e6ee917
|
|
| BLAKE2b-256 |
fb7b6cd061a1dfa12c3cc38ab64e65668fe939f9c2b0353cc29693963cc6b268
|
Provenance
The following attestation bundles were made for prosemble-2.1.2.tar.gz:
Publisher:
release.yml on naotoo1/prosemble
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prosemble-2.1.2.tar.gz -
Subject digest:
c74f2c14dacbf8fb1faa339f235e59e477988e45fa30e93ae022d03adc1a5657 - Sigstore transparency entry: 1609117551
- Sigstore integration time:
-
Permalink:
naotoo1/prosemble@bcc1a3968b5a69755714a0a7d2ecc39bfa257e76 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/naotoo1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bcc1a3968b5a69755714a0a7d2ecc39bfa257e76 -
Trigger Event:
push
-
Statement type:
File details
Details for the file prosemble-2.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: prosemble-2.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 403.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b75e5ba6537318e3f8e7b376a637154ced950dfcf4ab9a224408784a0e22bb82
|
|
| MD5 |
cb44f3e4fbfe5c53f842af31c1ba0429
|
|
| BLAKE2b-256 |
ddbeec0d01325e9aca5fba31fbfc6bf75c62eb4a574b6a9f32787c0daea29b8a
|
Provenance
The following attestation bundles were made for prosemble-2.1.2-py2.py3-none-any.whl:
Publisher:
release.yml on naotoo1/prosemble
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prosemble-2.1.2-py2.py3-none-any.whl -
Subject digest:
b75e5ba6537318e3f8e7b376a637154ced950dfcf4ab9a224408784a0e22bb82 - Sigstore transparency entry: 1609117652
- Sigstore integration time:
-
Permalink:
naotoo1/prosemble@bcc1a3968b5a69755714a0a7d2ecc39bfa257e76 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/naotoo1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bcc1a3968b5a69755714a0a7d2ecc39bfa257e76 -
Trigger Event:
push
-
Statement type: