Overview
A random forest trains many decision trees on bootstrapped data and randomized feature choices. Predictions are aggregated by voting or averaging, reducing variance compared with a single tree.
Builds an ensemble of decision trees trained on random samples and feature subsets.
Compact metadata for implementation and discovery.
A random forest trains many decision trees on bootstrapped data and randomized feature choices. Predictions are aggregated by voting or averaging, reducing variance compared with a single tree.
Quick facts
Runtime and memory behavior at a glance.
Best
O(t n d log n)
Average
O(t n d log n)
Worst
O(t n^2 d)
Space
O(t n)
prediction = majority_vote(tree_1(x), tree_2(x), ..., tree_n(x))Combines individual tree predictions into one ensemble prediction.
Show several trees voting into one final prediction.
Random forests are strong baselines, but validation design still controls whether the result is trustworthy.
What each reference supports for this entry.
Good next jumps from the relationship graph, ranked for useful discovery.
Machine Learning · Core
Extra Trees is a randomized tree ensemble closely related to random forests but randomizes split thresholds more aggressively.
Compare with thisMachine Learning · Core
Random forests average independently trained trees, while boosting trains trees sequentially.
Compare with thisA random forest is an ensemble of decision trees.
Random forests average independently trained trees, while boosting trains trees sequentially.