What it does

A random forest uses many decision trees. Each tree votes, and the answer with the most votes wins.

Ensemble: A team of models • Voting: Picking the common result

How it works

  • Build many small decision trees.
  • Let each tree look at a slightly different part of the data.
  • Count the votes and choose the most popular answer.

Uses & Applications

  • A movie app can combine many small guesses to recommend a movie.
  • A bank can use many checks together to help spot risky transactions.
  • A doctor’s tool can combine many clues to help sort scans for review.
In short

It is like asking many friends for advice. One friend may be wrong, but a big group vote is often better.

Try it yourself

Let a team of trees vote

Several decision trees each see a different fruit basket. Each tree votes apple or berry.

Your turn

Change one setting at a time. Reset example puts everything back.

Inspect the forest vote

Step 1
Why this happens

Look closer at the numbers
Numbers used in this example