Back to Simple models and useful baselines
Step 3 of 6· Investigate: Baseline comparisons
Shared AI lesson · Simple models and useful baselines
Investigate: Baseline comparisons
Compare training and validation errors for the majority, 3-neighbor and depth-2 tree models. Identify the improvement over the majority reference.
Loading this browser experiment…
More things to try · optional
- Select a validation case and trace its actual nearest neighbors. Change k from 1 to 15 and explain a changed prediction or stable vote.
- Switch the displayed map to the tree and increase depth from 1 to 4. Inspect its learned questions, training error and validation error.
- Flip three training labels. Compare k = 1 with k = 7 on the unchanged validation cases. Write a comparison note with one mistake and a next evidence request.
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: Baseline Nearest neighbors Decision tree Validation data