Skip to content

Tutorials

Step-by-step tutorials for common real-world scenarios. Each tutorial is self-contained and includes a baseline comparison, runnable code, visualizations, and practical notes.

These go deeper than the Examples section — every tutorial covers the full workflow from raw data to a tuned, evaluated model.

Gradient Boosting Libraries

TutorialWhat it covers
Tune XGBoost9-parameter XGBoost search, adaptive schedules, feature importance, 3-way comparison
Tune LightGBM9-parameter LightGBM search, num_leaves/max_depth interaction, parameter scatter plots
Tune CatBoost7-parameter CatBoost search, bagging_temperature, border_count, GPU tip

Feature Selection

TutorialWhat it covers
Comprehensive Feature Selection3-stage workflow: select on 50 features, retune on selected subset, validate with a second estimator

Imbalanced Data

TutorialWhat it covers
Imbalanced Classification95/5 imbalance, class_weight as search param, balanced_accuracy scoring, confusion matrices

Outlier Detection

TutorialWhat it covers
Isolation ForestCustom scorer from score_samples, 4-param search, anomaly contour plots, ROC curve

See Also

  • Examples — shorter end-to-end examples for common use cases
  • User Guide — decision guide for choosing a search method
  • API Reference — full parameter documentation

Released under the MIT License.