Extra models for scikit-learn w/ built-in support for nominal attributes
Project description
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]"
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
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 sklearn_nominal-0.0.8.tar.gz.
File metadata
- Download URL: sklearn_nominal-0.0.8.tar.gz
- Upload date:
- Size: 8.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
171cb23585c5c7ae97f1becd913c504f4c29f3c9b7f0bb00987e50a919998bb3
|
|
| MD5 |
119cf47062fb588380ebd9c854b7ee27
|
|
| BLAKE2b-256 |
c541541d6df2be2809e06e4e22dea0e9f5167cc3aba1f82c2e0d446821d8c27e
|
Provenance
The following attestation bundles were made for sklearn_nominal-0.0.8.tar.gz:
Publisher:
pipy_release.yml on facundoq/sklearn_nominal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sklearn_nominal-0.0.8.tar.gz -
Subject digest:
171cb23585c5c7ae97f1becd913c504f4c29f3c9b7f0bb00987e50a919998bb3 - Sigstore transparency entry: 1295473446
- Sigstore integration time:
-
Permalink:
facundoq/sklearn_nominal@50ee6e46a456ee1fc9154348665431ae5a07833a -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/facundoq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipy_release.yml@50ee6e46a456ee1fc9154348665431ae5a07833a -
Trigger Event:
push
-
Statement type:
File details
Details for the file sklearn_nominal-0.0.8-py3-none-any.whl.
File metadata
- Download URL: sklearn_nominal-0.0.8-py3-none-any.whl
- Upload date:
- Size: 69.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c44a1557c4b167cb8ed4ff3b1babe07b0b81cb385ae8a18e13531bb44327e749
|
|
| MD5 |
35e5593166863ea9a34a9b0c2f0c6645
|
|
| BLAKE2b-256 |
8a6cf06ce8a43b7c51e0adb2309941df2073498d6b85254872463f23ad822d07
|
Provenance
The following attestation bundles were made for sklearn_nominal-0.0.8-py3-none-any.whl:
Publisher:
pipy_release.yml on facundoq/sklearn_nominal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sklearn_nominal-0.0.8-py3-none-any.whl -
Subject digest:
c44a1557c4b167cb8ed4ff3b1babe07b0b81cb385ae8a18e13531bb44327e749 - Sigstore transparency entry: 1295473543
- Sigstore integration time:
-
Permalink:
facundoq/sklearn_nominal@50ee6e46a456ee1fc9154348665431ae5a07833a -
Branch / Tag:
refs/tags/v0.0.8 - Owner: https://github.com/facundoq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipy_release.yml@50ee6e46a456ee1fc9154348665431ae5a07833a -
Trigger Event:
push
-
Statement type: