Stop 05 · Machine Learning FundamentalsTopics · 11/12
Train/Test Split
Part of the AI Engineer Roadmap
In short
Holding out a portion of your data to evaluate a model on examples it never trained on — the basic safeguard against fooling yourself with an overfit model.
How to learn this
- 1Practice `train_test_split` and understand the effect of the split ratio.
- 2Learn stratified splitting for classification tasks with imbalanced classes.
- 3Understand why you must never evaluate on data the model has seen during training.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.