scikit_nominal: Tree, NaiveBayes, and Rule (PRISM,CN2,OneR) models with nominal features support#

Date: Apr 15, 2026 Version: 0.0.8

scikit_nominal logo

Useful links: Source Repository | Issues & Ideas | PyPi |

This is the documentation for scikit_nominal, a library that includes drop-in replacements for scikit-learn models and a few additional ones. Nonetheless, the models were designed with compliance with the scikit-learn API in mind. For example, the TreeClassifier model can be used as drop-in replacement for sklearn.tree.TreeClassifier without any code changes, and other models follow the fit, predict, etc, API of scikit-learn.

Getting started

How to install sklearn_nominal, load up a dataset and train/test your first model.

API reference

Detailed reference of our model’s API.