Random ForestEnsemble Learning
Ask one person to guess the number of laddoos in a big jar and they may be far off. Ask a hundred people and average their guesses: some guess too high, some too low, and the errors largely cancel. A team of models that vote (for a kind) or average (for a number) is called an ensemble, and building one is ensemble learning. Instead of one deep, overfitted tree, we train many weaker models and combine their answers.
Let's check the crowd's numbers with three helpers, each right with probability 0.6, each deciding alone. The majority is right when all three are right, or when exactly two are.
- All three right:
- Exactly two right: there are 3 ways to choose the one who is wrong, so
So the majority of three is right with probability
Note
This is the binomial distribution from Class 12. For a bigger crowd, add up the chances of every result in which more than half of the helpers are right — exactly what the chart above did for every crowd up to 101. In 1785 the French thinker Condorcet noticed that when each voter is right more than half of the time, and the voters decide on their own, this chance keeps climbing towards 1 as the crowd grows. It is called Condorcet's jury theorem.
Many Trees, One Answer
What does an ensemble use to make its final prediction?
What is a random forest?
A random forest is an