Cross-Validation Lab
Lets code cross-validation in this lab.
We'll cover the following
- Goal
- Brief refresher
- Step 1: Load the data
- Step 2: Find out which parameters are tunable
- Step 3: Set up a grid of parameter configurations
- Step 4: Set up cross-validation
- Step 5: Train the model with cross validation and parameter grid
- Step 6 (optional): Plot the accuracy of the models
- Step 7: Apply the model to the test set
- Conclusion
Get hands-on with 1400+ tech skills courses.