1
$\begingroup$

Hyperparameter optimization via grid search returns a value of a chosen metric for each set of hyperparameters in the grid.

Would it make sense to fit the values of the metric (target variable) using as predictors the hyperparameters?

After fit, one could use the regression to estimate the metric for values of the hyperparameters that are not in the the grid search.

$\endgroup$
3
  • $\begingroup$ I badly want to see someone do this and read their thoughts on the pros and cons. However, one issue I see is that, when you model the metric, why not tweak hyperparameters in that model and model the grid search of that model, and then model the grid search of the model of the model, etc? It seems really easy to fall in a rabbit hole and lose sight of what you really want to model. $\endgroup$
    – Dave
    May 30, 2020 at 13:11
  • $\begingroup$ @Dave, I believe that going down that rabbit hole is not an issue if there is nothing that prevent doing the first step. However, that would mean trying to save time on the grid search by adding more grid searches to the problem. The first step is meant to identify the maximum of the metric. After that, one can do a finer grid search on the original model around that maximum. $\endgroup$
    – Newbie
    May 30, 2020 at 13:51
  • 1
    $\begingroup$ related: stats.stackexchange.com/questions/193306/… $\endgroup$
    – Sycorax
    May 30, 2020 at 15:45

1 Answer 1

1
$\begingroup$

A similar but not the same approach is Bayesian HPO, where a probabilistic model is fit over the HPs (based on their validation performance) and new prospectively good HPs are guessed. So, treating your model as a black-box with HPs as inputs and validation performance as output is not an entirely new thing. Also bear in mind that, in general, extrapolation is not the strongest asset of ML algorithms.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.