Back to Classical Machine Learning
Step 3 of 6· Investigate: Training versus checking
Classical Machine Learning · Lesson 1 of 3 in this module
Investigate: Training versus checking
Does a closer fit to practice dots help on other dots?
Predict: If the curve bends more, will both error scores always get smaller?
Start here: Leave Regularization at 0. Compare Polynomial degree 1, 4 and 11. Higher degrees let the curve bend more. Compare training and validation error.
Experiment guide
- Try Regularization 0.10. This discourages large curve weights. Use the validation examples to choose a setting.
- Write your choice before using Freeze and evaluate test set. If you already opened that test, say so. It is no longer a new surprise.
What to look for: Training examples help fit the curve. Validation examples help choose settings. The final test is for a choice you have already fixed.
Try these steps in the experiment.
Write a prediction · optional
Loading this browser experiment…
More things to try · optional
- Compare polynomial degrees 1, 4, and 11 with regularization at zero. Check both losses, not just how neatly the line fits the circles.
- Try regularization at 0.10. It discourages large nonconstant coefficients. Which validation result would you choose?
- Freeze your choice and evaluate the test set. If you reopen tuning, the lab reminds you that this test set is no longer unseen.
Notes, help and related ideas
My notes and reflection
Compare with your prediction
Compare your result with your prediction. Explain a mismatch, then change one condition and try a new case.
Loading your journal…
Your prediction, observation and next question
Prerequisites and related ideas
Key terms: Generalization Overfitting Inductive bias Validation data