Index Ai Academy
Glossary · Phase 3 · Machine learning

Random forest

Also written: random forests

Many decision trees trained on different samples, voting together.

A random forest adds a second source of difference. At each split, a tree may only consider a random handful of the features. Sometimes the dominant feature isn't on the list. The tree has to find the best question among the others. The trees end up asking different questions, so they disagree more usefully.

Try it now

Same data and depth. Compare one tree's jagged boxes with the smoother boundary from averaging 25.

Learn it properly

Random forests and boosting · Many weak models voting beat one strong one. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write