Add comprehensive example demonstrating grid search for hyperparameter tuning with regularized regression models.
Background:
Grid search is a fundamental technique for hyperparameter optimization, but we currently lack an example showing how to use our grid_search_alpha() function for tuning regularization parameters.
Scope:
Create example demonstrating:
- Grid search basics with cross-validation
- Tuning alpha for Ridge regression
- Tuning alpha for Lasso regression
- Tuning alpha and l1_ratio for ElasticNet
- Interpreting GridSearchResult (best params, scores, indices)
- Comparing optimal vs. default hyperparameters
Deliverables:
Use Case:
Show practical workflow:
- Define parameter grid
- Run grid search with K-Fold CV
- Identify best parameters
- Retrain with optimal params
- Evaluate on test set
Labels: documentation, enhancement, model-selection
Add comprehensive example demonstrating grid search for hyperparameter tuning with regularized regression models.
Background:
Grid search is a fundamental technique for hyperparameter optimization, but we currently lack an example showing how to use our
grid_search_alpha()function for tuning regularization parameters.Scope:
Create example demonstrating:
Deliverables:
examples/grid_search_tuning.rsbook/src/examples/grid-search-tuning.mdUse Case:
Show practical workflow:
Labels: documentation, enhancement, model-selection