User guide#
The guides explain how to use RuleTree, from the objects a tree is made of to writing new stumps. Their examples run as they are, and print what is shown under them. To install RuleTree and train a first tree, start from Getting started.
Trees, nodes, stumps, transformers and splitters.
The available stumps, which one to use and how to combine them.
Tabular data, time series and images, alone or together.
Rules, drawings, nodes, leaves and contributions of the features.
partial_fit, update_statistics and the cache of the stumps.
What to_dict saves and how from_dict rebuilds a tree.
Gradient boosting, XGBoost and explainable boosting of RuleTrees.
Metrics of predictions, clusters, size of the trees and fairness.
Evaluating all the candidate splits together and changing their gain.
New transformers, splitters and stumps.