Input
ExecutionExecution trigger that begins Random Forest training
AI/ML/Classification
Fit/Train a Random Forest classifier: many Decision Trees, each grown on a bootstrapped sample of the rows and a random subset of the features, combined by majority vote. Far more robust to overfitting than a single tree, at the price of interpretability. Model size and fit time grow linearly with Ensemble Size, so a forest of 500 trees costs roughly 500x a single tree.
Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.
Execution trigger that begins Random Forest training
Choose which backend supplies the training data
Number of Decision Trees to grow. Both fit time and the size of the saved model scale linearly with this value.
Share of the training rows drawn (with replacement) for each tree. Must be greater than 0 and at most 1.
Share of the features offered to each tree. Must be at most 1. Leave at 0 for the textbook default of sqrt(feature count) features per tree.
Maximum depth of each tree. 0 or less means unlimited, which grows deeper trees and a larger model.
Minimum summed sample weight a node needs before it may be split. Without row weights this is simply the minimum number of samples.
Seed for the bootstrap and feature sampling. Fixing it makes the row and feature draws reproducible. Note that the base trees are not bit-exact across processes: linfa resolves modal-class ties in hash-map iteration order, which Rust re-randomizes on every run.
Activated once training completes
Thread-safe handle to the trained Random Forest classifier