Machine Learning Pills
Read post

Issue #138 - A Field Guide to Tree Models

A comprehensive tour of tree-based machine learning models for tabular data, covering the shared mechanics of all tree models and then walking through each major algorithm: Decision Trees (CART), Random Forest, Extra Trees, AdaBoost, Gradient Boosting, Histogram-based Gradient Boosting, XGBoost, LightGBM, and CatBoost. For each model, the post explains how it works, provides a minimal sklearn/library code snippet, and highlights the one property that distinguishes it from its neighbors. Key themes include the bagging vs. boosting taxonomy, bias-variance tradeoffs, and practical guidance on when to reach for each algorithm. The recommendation is to start with HistGradientBoostingClassifier for most tabular problems.

    #machine-learning#scikit#xgboost
Jul 30•15m read time•From mlpills.substack.com
Post cover image
Table of contents
What every tree has in commonThe base unit: a single decision treeTwo ways to combine treesBagging: grow deep trees in parallel and average themBoosting: grow shallow trees in sequence and add them upTrees for other jobsPicking one
144 Impressions
Machine Learning Pills's image
Machine Learning Pills

MLPills is a dedicated platform for machine learning enthusiasts, data scientists, and AI practition...

110 Followers

•

26 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard