I have the following error message when using
UserWarning: Cannot refit estimator due to required data being missing (probably due to trials not completing). best_estimator will not be set”. I believe this happens because I am using the
time_budget_s parameter and not all trials complete within the budget. What is the best way to refit on the partial results?
I was hoping I could use the
cv_results_ attribute, but this appears to be empty. Is there a way to access completed trials?
Update: it looks like there were no completed trials, hence the error. When there are some, the classifier is refit as expected.