-
Notifications
You must be signed in to change notification settings - Fork 51
This TuneGridSearchCV instance is not fitted yet. #107
Comments
I think this is an issue with the parameters set. -- min_samples_split must be greater than 1. Can you fix that and see if it works? That being said, this error message is not very informative at all, and we'll add a better error message for this. To answer your question, tune-sklearn should work with any sklearn estimator (it can do everything that GridSearchCV or RandomSearchCV can do); it only requires the estimator to have partial_fit or warm_start when you want to do early stopping. |
Thank you very much for your answer and help me find out the mistakes! |
Great! Glad it works now. I'm assuming you have a gpu on the machine you ran this on right? |
Yes, there are two GPUs on my laptop. Is it necessary to configure it when I use that param? |
By default, tune-sklearn doesn't use gpu during training, so yes. It should work with n_jobs and use_gpu, so we'll take a look at this. |
Closing this as we have seemed to address this issue! |
I have a question,:Does Tune_sklearn only support estimators with 'partial_fit' or 'warm_start' attributes?
When I use the Randomforestclassifier as an estimator, the program always reports an error:
This TuneGridSearchCV instance is not fitted yet.
Code:
The text was updated successfully, but these errors were encountered: