Visualizing XGBoost Trees
XGBoost is a popular gradient-boosting library for building regression and classification models. The core of XGBoost is an ensemble of decision trees. In this post, we'll look at how to visualize and interpret individual trees from an XGBoost model.
Let's start by loading a simple sample dataset from sci-kit-learn - the diabetes dataset. This dataset has 13 features for predicting house prices.