MISSION 154

Cross Validation

Learn how to use K-Fold cross validation to perform more rigorous testing.

Objectives

  • Learn how cross-validation lets us more accurately understand model performance.
  • Learn the difference between holdout and k-fold cross validation.
  • Learn how to perform cross-valudation in scikit-learn.

Mission Outline

1. Introduction
2. Holdout Validation
3. K-Fold Cross Validation
4. First iteration
5. Function for training models
6. Performing K-Fold Cross Validation Using Scikit-Learn
7. Exploring Different K Values
8. Bias-Variance Tradeoff
9. Next steps
10. Takeaways

machine-learning-fundamentals

Course Info:

Beginner

The median completion time for this course is 7 hours. View Details

This course requires a premium subscription. This course includes five missions and one guided project.  It is the 17th course in the Data Scientist in Python path.

START LEARNING FREE

Take a Look Inside