Loading topic
fit/predict interface, and what features, labels, and train/test splits are. It explains the properties of rows-and-columns data that drive the model choices in the rest of the tutorial. Knowing these properties lets you predict which 6 min readfit, transform, predict). It also assumes you know why a train/validation split exists. Earlier chapters covered validation and leakage. Here you apply that discipline to the steps that run before the model.5 min readPipeline with a ColumnTransformer and run stratified cross-validation, as covered in the preprocessing and validation chapters. It also assumes you have a baseline score to compare against.5 min readcross_val_score on a scikit-learn pipeline. It builds on the baseline and fold setup from earlier chapters. Gradient-boosted trees are usually the strongest model family to try on5 min readPipeline, and run cross_val_score. It also assumes you have read the earlier chapters on validation, leakage, and gradient-boosted trees. Here the question is how to adjust hyperparameters and still report an honest score.6 min readPipeline, run cross_val_score, and read a ROC AUC value. It also assumes you have already set a baseline and tuned at least one model. Here the question is whether the model that scored highest is actually better, or only luckier or better treate5 min read