Closed Yard1 closed 4 years ago
last comment - could you add a quick unit test or two in test_gridsearch.py
and/or test_randomizedsearch
?
Looks good and will merge after above comments + a unit test. Thanks a bunch @Yard1 !
looks like a couple tests are failing - let me know if you run into any trouble fixing those!
@richardliaw everything aside one Mac job passes.
@Yard1 awesome!
Allows to use early stopping on sklearn Pipelines. The last step (almost always the estimator) will be treated to the same early stopping checks as non-Pipeline estimators.
TuneSearchCV
andTuneGridSearchCV
,pipeline_detection
(open to better name suggestions). If True, will handle early stopping if the estimator is a Pipeline._Trainable
child class,_PipelineTrainable
, handling early stopping for Pipelines.@richardliaw