scikit-hyperband
scikit-hyperband copied to clipboard
Issue with scikit-learn 0.21
self.fit_params
is deprecated in scikit-learn 0.21.0 ( https://github.com/scikit-learn/scikit-learn/commit/#13519 ). scikit-optimize also has the similar issue and you can read more in this page.
When I run this,
model = lgb.LGBMClassifier()
param_dist = {
'max_depth': [3, 5,10]
}
search = HyperbandSearchCV(model, param_dist,
resource_param='n_estimators',
scoring='roc_auc')
I got the error like this.
TypeError: __init__() got an unexpected keyword argument 'fit_params'