Random Forests and Extra-Trees

Leo Breiman and Adele Cutler have originally devised the idea at the core of the Random Forests algorithms, and the name of the algorithm remains today a trademark of theirs (though the algorithm is open source). Random Forests are implemented in scikit-learn as RandomForestClassifier / RandomForestRegressor.

Random Forests works in a similar way as bagging, also devised by Leo Breiman, but it operates only using binary split decision trees, which are left to grow to their extremes. Moreover, it samples the cases to be used in each of its models using bootstrapping. And, as the tree is grown, at each split of a branch, the set of variables to be considered for the split is drawn randomly, too. In the end, that's ...

Get Python Data Science Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.