Closed Filco306 closed 3 years ago
Hmm, the first few optimization steps of hyperopt are going to be random (to get a good idea of the loss landscape). After 20 or 30 steps, you should see optimization -- so maybe set n_trials to 100?
Ah, I see, that might be it then! I will try and get back to you. Thank you!
Hello,
First of all, thank you for a nice repository. I am trying to use your package for some experiments of mine, namely using
TuneSearchCV
in one of the experiments.I have built a custom sklearn estimator with its custom scoring function.
My code:
As I understand it, the scoring is based on my scoring function, so the
score
-function is a pre-defined function I have built returning a loss for which lower is better. First, it seemed it was not optimizing, so I tried changing it to return negative values of the same loss function, and it returns the exact same results (except that they are negative). In other words, it seems as ifhyperopt
is not optimizing at all.Would you know what the problem is? Can it have to do with the fact that I only use one single split?
Thanks!