AttributeError: can't set attribute
It pointed out the error come from fit( ) method as
def fit(self, X, y=None):
self.best_estimator_ = None
--> self.best_score_ = -1
self.best_params_ = None
for possible_params in self.possible_params:
self.fit(X, y, possible_params)
if self.refit:
self.best_estimator = clone(self.estimator)
self.best_estimator_.set_params(**self.best_params_)
self.best_estimator_.fit(X, y)