Model Training and Evaluation
Section progress0%
Video lesson
This video comes with the full course
Timestamps (11) · Corrections (2)
Corrections to this recording
A selected model needs a separate final assessment
At 34:42Comparing candidates on the evaluation set makes that set part of model selection. A fresh held-out dataset is needed to assess the selected model without reusing the scores that helped choose it.
A pipeline’s final estimator need not transform data
At 12:19Intermediate preprocessing steps implement fit and transform. The final XGBClassifier implements fit and prediction methods; it does not need transform to work as the pipeline’s final step.