Chapter 2: Decision Trees in Depth
In this chapter, you will gain proficiency with decision trees, the primary machine learning algorithm from which XGBoost models are built. You will also gain first-hand experience in the science and art of hyperparameter fine-tuning. Since decision trees are the foundation of XGBoost models, the skills that you learn in this chapter are essential to building robust XGBoost models going forward.
In this chapter, you will build and evaluate decision tree classifiers and decision tree regressors, visualize and analyze decision trees in terms of variance and bias, and fine-tune decision tree hyperparameters. In addition, you will apply decision trees to a case study that predicts heart disease in patients.
This ...
Get Hands-On Gradient Boosting with XGBoost and scikit-learn 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.