ray-project / tune-sklearn

A drop-in replacement for Scikit-Learn’s GridSearchCV / RandomizedSearchCV -- but with cutting edge hyperparameter tuning techniques.
https://docs.ray.io/en/master/tune/api_docs/sklearn.html
Apache License 2.0
465 stars 52 forks source link

Warm start errors #106

Closed inventormc closed 4 years ago

inventormc commented 4 years ago

Explicitly error when users try to set parameters that can't be set with early stopping (n_estimators for ensemble warm starting and max_iter for iteration warm starting).

richardliaw commented 4 years ago

What's the diff between this and #105 ?

inventormc commented 4 years ago

What's the diff between this and #105 ?

This was supposed to only handle the errors for warm start, but I had to take commits from #105 since this relies on the enum changes in that pr.