The resampling pipeline

49 min

Block 18 — Professional pipelines

Objective : establish the mechanical reason a sampler cannot be a step in sklearn.pipeline.Pipeline and show with real tracebacks what happens when one is placed there anyway; price the fiction produced by resampling before splitting; build the correct object graph and tune the sampler jointly with the model; document every form of sampling_strategy and separate the cleaning samplers from the resamplers; instrument cross_val_score and prove the sampler never reached the validation fold; expose the hazards specific to grouped and time-ordered data; measure and repair the prior shift resampling causes; re-measure the sampler-free alternatives in pipeline form; and close with a reference construction and an audit.

Preview — the rest of the lesson is for enrolled readers.

Already enrolled with a code?

Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.

Sign inNo account yet? Create one
This lesson is part of the “Professional Scikit-learn Pipelines” module

The first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.

Are you a student on this course?

The code is tied to your account: sign in or create an account and it will be applied automatically when you come back.

No account yet? Create one