MLBazaar / BTB

A simple, extensible library for developing AutoML systems
https://mlbazaar.github.io/BTB/
MIT License
173 stars 41 forks source link

Pass Errors to the tuner #95

Open csala opened 6 years ago

csala commented 6 years ago

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:

micahjsmith commented 6 years ago

An "error" may also be conceptually equivalent to a score of -inf

csala commented 5 years ago

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

micahjsmith commented 5 years ago

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.