Is there anything similar to scikit-learn GridSearchCV, refit = True?
Meaning that, when k-fold CV is performed, is all of the data fitted one final time before giving a score on an unseen data.
tpot.score(X_test, y_test)
For now, tpot don't have this refit function. But there is a workaround for it via the codes below:
best_pipeline = tpot.fitted_pipeline_
best_pipeline.fit(X_test, y_test)
best_pipeline.score(X_test, y_test)
Most helpful comment
For now, tpot don't have this
refitfunction. But there is a workaround for it via the codes below: