API reference#

The classes and functions of RuleTree, grouped by what they are for. The user guide explains how to use them together; each page here lists the parameters, attributes and methods of one object.

Trees

The trees: classification, regression, clustering, and their nodes.

Trees
Stumps

The stumps of classification and regression, ready to be given to a tree.

Stumps
Transformers and splitters

The two parts that stumps are made of.

Transformers and splitters
Base classes

The interfaces to write new trees, stumps, transformers and splitters.

Base classes
Ensembles

Boosting of RuleTrees.

Ensembles
Evaluation

Metrics of predictions, clusters, size of the trees and fairness.

Evaluation
Utilities

Exceptions, constants and helper functions.

Utilities