Skip to content
Kudos AI

Trees, Bagging, and Random Forests

Recursive binary splitting, why Gini beats accuracy as a criterion, and how deliberately handicapping each tree improves the ensemble.

IntermediateModule 430 min · 140 XP
Two splits scored side by side: misclassification returns the same number for both, and only Gini sees the pure node that makes one of them better.

This is a premium lesson

Sign in and enrol to read the full lesson, run the code, take the quiz, and earn XP toward the path badge.