Loading topic
XGBClassifier with the scikit-learn API, as in the previous chapter. It also assumes you know what a train/validation split is and have an intuitive grasp of overfitting. XGBoost has dozens of parameters, but a handful do most of the work.2 min readXGBClassifier, read a train/validation split, and know what log loss measures. Boosting keeps fitting residuals, so given enough rounds it can memorize noise. Training loss keeps falling while validation loss turns upward. The tools below limit how much each t2 min readXGBClassifier, know what n_estimators and learning_rate do, and understand a train/validation split. Boosting keeps adding trees, and each tree lowers the training loss. Validation loss behaves differently. It falls, flattens, and then rises as the model s2 min readXGBClassifier with the scikit-learn API and know what early stopping does. The native API is the interface the scikit-learn wrapper is built on. It gives you direct control over data containers, parameters, and the training loop.2 min readDMatrix, xgb.train), early stopping on a validation set, and k-fold cross-validation as an idea. You should also be comfortable reading log loss and AUC.2 min readXGBClassifier and know what a split in a tree is. It covers how XGBoost handles missing entries and how it splits on categorical columns without one-hot encoding.2 min readXGBClassifier, you know log loss, AUC and precision/recall, and you have read the chapters on gradients and hessians.2 min readXGBClassifier or a native Booster, and that you know what eta, max_depth, subsample and early stopping do. Here you will combine them into an order of work that avoids wasted searches.2 min readXGBClassifier with the scikit-learn API and know what a Booster is. You will learn how to save a trained model, load it back, and avoid the usual problems when you move a model between machines or library versions.2 min readXGBClassifier or call xgb.train, and that you know the tree_method parameter exists. It covers what to change when the data stops fitting comfortably in time or memory.2 min read