MicrolearnENPTES

Random Forest

Lesson 15 of 18 · DS.Micro

A single tree is unstable: changing a few rows changes the rules. A Random Forest trains many trees, each on a sample drawn with replacement and looking at a random subset of variables at each question.

The final prediction is the average of the trees. That is an ensemble.

Orange's Random Forest uses 10 trees by default and draws √(number of variables) candidates at each split, as here.

Put Tree and Random Forest in the same Test and Score with the wines.

Check that the forest beats the tree in CA.

Check yourself

Why does a forest usually beat a single tree?

The average of many different trees reduces variance

Do it in the browser: a real data science tool, a short mission and instant feedback. No install.

Start this lesson — free
← Logistic regressionOverfitting in practice →

All lessons · DS.Micro