Add stopping criteria to the scratch implementation
Open
hard
track: scratch
- Dominant language
- Jupyter Notebook
- Stars
- 0
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Extend the scratch decision tree to include max_depth and min_samples_split parameters to prevent infinite recursion and overfitting. Train models with two different depth limits and compare their train vs. test metrics.
Contributor guide
Research direction
Locate the scratch decision-tree implementation or notebook and read the model training flow first. Add the requested max_depth and min_samples_split controls, then train models with two depth limits and compare their train and test metrics. Done means recursion is bounded and the metric comparison is shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100