Extra models for scikit-learn w/ built-in support for nominal attributes
Project description
sklearn_nominal
Extra models for scikit-learn, including Decision/Regression Trees with support for nominal values
Exporting to svg/png/pdf
To export tree graphs to those formats, you need pygraphviz (and in the future, possibly other dependencies). To install those dependencies, use:
pip install sklearn_nominal[export]
Before that, make sure to install graphviz (with headers) and cairo. In Ubuntu 24.04:
sudo apt install libgraphviz-dev graphviz cairosvg
Developing sklearn_nominal
We use uv for project management.
First run
Install deps:
uv sync --dev --extra export
Install pre-commit hooks
uv run pre-commit install
uv tool install poethepoet
Running pre commit hooks
pre-commit run --all-files
Install PoeThePoet task runner
Running tests, linter, formatter
poe lint
poe format
poe test
Updating docs
poe docs
Running benchmarks
uv run benchmark/benchmark_openml.py
Publishing to pipy
Via github:
#(after pushing a version you want to publish)
git tag v[version]
git push --tags
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.3.tar.gz.
File metadata
- Download URL: sklearn_nominal-0.0.3.tar.gz
- Upload date:
- Size: 6.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72eb6ff228b24e76b1492353b61221dd84a3d5a952cdbb96d290a64781e598fb
|
|
| MD5 |
51d2bba02612d7e848acc19c08f2aba5
|
|
| BLAKE2b-256 |
628829d2373f1a00fd64d48d464fe7277ba3e5d68230191616d42813a0226610
|
Provenance
The following attestation bundles were made for sklearn_nominal-0.0.3.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.3.tar.gz -
Subject digest:
72eb6ff228b24e76b1492353b61221dd84a3d5a952cdbb96d290a64781e598fb - Sigstore transparency entry: 267757086
- Sigstore integration time:
-
Permalink:
facundoq/sklearn_nominal@1de85b934937d814baa20089da3a2930a788316e -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/facundoq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipy_release.yml@1de85b934937d814baa20089da3a2930a788316e -
Trigger Event:
push
-
Statement type:
File details
Details for the file sklearn_nominal-0.0.3-py3-none-any.whl.
File metadata
- Download URL: sklearn_nominal-0.0.3-py3-none-any.whl
- Upload date:
- Size: 52.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36b0981da20edce87142233b77c54f7b5f65eebf66512d3f3fcf3105cd3fe624
|
|
| MD5 |
98044f6c54101ad9c8fe49e3d360c907
|
|
| BLAKE2b-256 |
240a59a152775a824d403fe5b64f902933c03747f56c2910e4b67799aa994118
|
Provenance
The following attestation bundles were made for sklearn_nominal-0.0.3-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.3-py3-none-any.whl -
Subject digest:
36b0981da20edce87142233b77c54f7b5f65eebf66512d3f3fcf3105cd3fe624 - Sigstore transparency entry: 267757089
- Sigstore integration time:
-
Permalink:
facundoq/sklearn_nominal@1de85b934937d814baa20089da3a2930a788316e -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/facundoq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipy_release.yml@1de85b934937d814baa20089da3a2930a788316e -
Trigger Event:
push
-
Statement type: