Skip to main content
Loading page…
Python Mastery
Chapter 44
Lesson 4 of 4
Evaluation & Tuning
Contents
Notes
Tutor
Concept
The Right Metric for the Right Task
Loading activity…
Previous
1 / 11
Continue
Contents
Notes
Discussion
Tutor
30 min
11 activities
0 of 11 done
In this lesson
1
The Right Metric for the Right Task
2
Computing Metrics and the Confusion Matrix
3
Cross-Validation — Beyond a Single Split
4
Bias-Variance Trade-off & Overfitting
5
GridSearchCV — Systematic Hyperparameter Search
6
GridSearchCV Leakage Gotcha
7
A Complete End-to-End Workflow
8
Diagnosing Overfitting
9
Metrics and Tuning Deep Check
10
Bias vs Variance Symptoms
11
Design Your Evaluation Strategy
Objectives
Learner can select and compute the appropriate evaluation metric for a given task
Learner can use cross-validation to get an honest estimate of model performance
Learner can tune hyperparameters with GridSearchCV and explain the bias-variance trade-off
Further reading
scikit-learn user guide
Chapter 44 · Machine Learning with scikit-learn
How Machine Learning Works
Classification & Regression
Preprocessing & Pipelines
Evaluation & Tuning
Previous: Preprocessing & Pipelines
Next: Tensors & Autograd