Examples#
Notebooks that train a tree end to end, from loading the data to reading the rules. They are the notebooks of the Examples folder of the repository, run again at every build of this documentation.
A RuleTreeClassifier on the breast cancer data: rules, predictions, probabilities and the contributions of the features.
A RuleTreeRegressor on the diabetes data: rules, predictions and the contributions of the features.
A RuleTreeCluster on the breast cancer data, compared with the classes.
A classifier whose splits are distances from instances of the training set.
Pivot trees of depth 2 on tabular data, images, time series and texts, with their pivots.
A tree trained on the columns of a pandas DataFrame, with classes as strings, and its Graphviz source.