Currently estimator objects are passed via the config parameter (as is the data). However, in some cases this can lead to unexpected errors when creating the search space with Hyperopt.
By passing the estimators via the object store we circumvent this problem.
After the next release we might want to use tune.with_parameters() to avoid passing anything other than the search space via the config parameter, see https://github.com/ray-project/ray/pull/14532
Currently estimator objects are passed via the
config
parameter (as is the data). However, in some cases this can lead to unexpected errors when creating the search space with Hyperopt.By passing the estimators via the object store we circumvent this problem.
After the next release we might want to use
tune.with_parameters()
to avoid passing anything other than the search space via the config parameter, see https://github.com/ray-project/ray/pull/14532Closes https://github.com/ray-project/tune-sklearn/issues/186