Skip to content
StackDecode
AI & ML Atlas
Machine LearningalgorithmInteractive simulation

Extra Trees

A random forest that also picks split thresholds at random.

The idea

Extremely Randomised Trees skip the search for the best threshold and draw one at random for each candidate feature, keeping the best of those. They usually use the whole dataset rather than bootstrap samples. The extra randomness lowers variance and speeds up training.

Watch it run

This is a real computation, not a drawing. Pause, step, change the settings, or try new random data.

  • class 0
  • class 1

A forest is many different trees voting. Each one sees a random resample of the data.

1/13

Background colour is the forest vote; stronger shade means more agreement.

Step by step

  1. 1Grow many trees on the full training set.
  2. 2At each node choose random features and random thresholds.
  3. 3Keep the best of those random splits.
  4. 4Average or vote across trees.

Where it is used

Fast, noisy-data alternative to random forests.

Watch out for

Can be slightly more biased than a random forest.

Related