How do we know whether a Machine Learning model will perform well on data it has never seen before?
It starts with how we split, validate and use our data.
In this practical class, we break down Training, Validation and Test Sets and implement the model-development process using Python.
You will learn how to:
• Create Train, Validation and Test Sets
• Apply K-Fold and Stratified K-Fold Cross-Validation
• Tune model hyperparameters
• Use GridSearchCV for systematic model selection
• Build preprocessing pipelines
• Identify and prevent data leakage
We also explore why random splitting is not always appropriate, particularly when working with time-series or grouped data.
The goal is not simply to train a model. It is to build an evaluation process that gives us confidence in how the model will perform on unseen data.
Subscribe to The Infinite Actuary for practical classes in Data Science, Machine Learning, Actuarial Science, Analytics and Risk.
Topics covered:
Train-Test Split | Validation Set | Test Set | Cross-Validation | K-Fold | Stratified K-Fold | GridSearchCV | Data Leakage | Machine Learning Pipelines
#TheInfiniteActuary #DataScience #MachineLearning #Python #DataAnalytics #LearnDataScience #CrossValidation #ModelTraining