Open csala opened 6 years ago
An "error" may also be conceptually equivalent to a score of -inf
The problem that we have with this is that -inf
is not supported as a score value by (at least some of) our tuners :-(
The closest thing right now is to pass a big negative constant value, but it feels like a very feeble workaround
We should make a reproducible example of the tuner crashing when given a score of -inf
. See if this can be addressed. Otherwise, look into other sentinel values for "telling" the tuner that the parameters were bad.
Sometimes there are some hyperparameter combinations that provoke errors, so we know that those are bad values, but we don't have any score to pass to the tuner.
Should we implement a way to pass these errors to the tuners that allows them to figure out which hyperparameter values provoke them?
This is a possible implementation:
None
as the score, which means that score could not be computed for those hyperparameter values.None
when fitting the current estimators.None
or not, and use the predictions from this classifier to discard suggested hyperparameters duringpropose
.