sklearn_nominal
Extra models for scikit-learn, including Tree, PRISM, CN2, OneR and ZeroR Classifiers and Regressors with support for nominal values.
Colab Quickstart
Check our classification models notebook and regression models notebook to see samples of sklearn_nominal models in action with simple datasets.
Installation
To use sklearn_nominal in your project, you can install it from pypi (no conda-forge support yet):
Using pip:
pip install sklearn_nominal
Using uv:
uv add sklearn_nominal
Installation with support for svg/png/pdf export for Tree models
To export tree graphs to those formats, you need pygraphviz (and in the future, possibly other dependencies). Regrettably, pygraphviz does not include its own binaries for grpahviz. Therefore, make sure to install graphviz (with headers) and cairo. In Ubuntu 24.04, that can be achieved with:
sudo apt install libgraphviz-dev
Then use the export extras version of sklearn_nominal installing:
pip install "sklearn_nominal[export]"
Metadata
Release files for sklearn-nominal 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sklearn_nominal-0.0.11.tar.gz | 8.1 MB | With provenance | Details for sklearn_nominal-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sklearn_nominal-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for sklearn_nominal-0.0.11-py3-none-any.whl |
Total release size: 8.1 MB
Release files / sklearn_nominal-0.0.11.tar.gz
| Download URL | sklearn_nominal-0.0.11.tar.gz |
|---|---|
| Size | 8.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f59511abb394af6afba85383b8d7dee18a17a69a710c7cf9bf98f0804fa060d1
|
|
BLAKE2b-256 checksum How to use checksums |
eb61ba64aa2d8dcc38788b304adca7a1bc03e35ef5783790048114b30ce1a5fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 13, 2026.
Transparency logRelease files / sklearn_nominal-0.0.11-py3-none-any.whl
| Download URL | sklearn_nominal-0.0.11-py3-none-any.whl |
|---|---|
| Size | 69.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bc2bad16da480b088a60877d6c0e0a45d606bc0d1d32bc70efaf438ea4263de
|
|
BLAKE2b-256 checksum How to use checksums |
641bc09fb214e5d602f5d802e010e15f7e6b43a843d74905146db1cca3113fb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 13, 2026.
Transparency logSecurity for sklearn-nominal 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for sklearn_nominal-0.0.11.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.