Skip to main content

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.

Documentation at ReadTheDocs

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

sklearn_nominal-0.0.9.tar.gz (8.1 MB view details)

Uploaded Source

Built Distribution

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

sklearn_nominal-0.0.9-py3-none-any.whl (69.3 kB view details)

Uploaded Python 3

File details

Details for the file sklearn_nominal-0.0.9.tar.gz.

File metadata

  • Download URL: sklearn_nominal-0.0.9.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

Hashes for sklearn_nominal-0.0.9.tar.gz
Algorithm Hash digest
SHA256 f79cc6881f01a4c7f8f003c84e0bf5ecdef585ab1141a21c3c27d76096bc2626
MD5 62940763fd729b0c924dcc4e08989022
BLAKE2b-256 9c4de1139c49624a41c5e48ba607e9ba011862af1496b1f3c6d70c9e8c4755a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for sklearn_nominal-0.0.9.tar.gz:

Publisher: pipy_release.yml on facundoq/sklearn_nominal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sklearn_nominal-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: sklearn_nominal-0.0.9-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

Hashes for sklearn_nominal-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6de9086e1fda57b02c22799ad3cd81810477bdaead5deaa9732ecc5e82e5d69e
MD5 88fdb80779a930e89f9b28cef80194ff
BLAKE2b-256 9eed18d25ecef74a150e2959067a7b08bd29fb9cab08e0f7117e9b65b7422dc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for sklearn_nominal-0.0.9-py3-none-any.whl:

Publisher: pipy_release.yml on facundoq/sklearn_nominal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page