Lecture 4: Preprocessing, pipelines, and column transformers

Preprocessing, pipelines, and column transformers

Slides

Download slides as PDF

View slides in full screen

Course notes

DSCI 571 course notes

Outline

  • Imputation, scaling, and categorical encoding
  • Transformers and predictive estimators
  • Pipelines and preprocessing within cross-validation
  • ColumnTransformer: numeric, categorical, and ordinal branches
  • Cross-validating the complete prediction pipeline