Expand description
Decision trees and random forests.
See the book entry Decision trees and random forests.
Structs§
- Decision
Tree - A CART classification tree grown greedily by Gini impurity.
- Random
Forest - A random forest: many decorrelated decision trees, each grown on a bootstrap resample of the
data and restricted to a random subset of features at every split (default
√features), with predictions made by averaging the trees’ class probabilities. Averaging cancels the variance of the individual deep trees, so forests resist overfitting. The out-of-bag error (each tree scored on the samples it never saw) gives a free generalisation estimate.