So I have the following code-
params = {'n_estimators': [1000, 2000], 'max_depth': [10, 20], 'min_samples_split': [2, 3],
'learning_rate': [0.1, 0.05, 0.01], 'loss': ('ls', 'huber', 'lad', 'quantile'), 'verbose': [1]}
gbr = ensemble.GradientBoostingRegressor()
clf = GridSearchCV(gbr, params)
And, although I don't think I've given it much to contemplate, it's taking FOREVER to determine the best parameters. After watching for a couple hours I've seen great instances (verbose:[1]
) and wish to stop it from continuing. I don't want to have to come back to this in the morning and hope that it's finished. I want to finish it now without losing the hours of tuning in the process.
Is there a safe way I can stop the tuning and still have the best result?