Cross-Validation Score
mediumTask
Use 5-fold cross-validation to evaluate a Random Forest classifier on the digits dataset.
Why It Matters
A single train/test split can give misleading results depending on how the data happens to be divided. Cross-validation provides a more robust estimate by training and testing on multiple different splits, giving you both a mean score and variance.
Instructions
- Examine the setup code and data
- Modify the code to solve the puzzle
- Click Run or press Ctrl+Enter to execute