Cross Validation to select Hyperparameters¶
Definition¶
Instead of using cross validation to evaluate a model, we can also use it to find the best hyperparameters as well. This is called Internal Cross Validation.
The idea is that: if there are m possible hyperparameters, then we evaluate m different models to see which hyperparameter setting results in the best performance.
{ width="500" }