You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def set_params(self, **kwargs):
"""Set the given input parameters in the estimator.
"""
for k in kwargs:
self.__setattr__(k, kwargs[k])
Should be this:
def set_params(self, **kwargs):
"""Set the given input parameters in the estimator.
"""
for k in kwargs:
self.__setattr__(k, kwargs[k])
return self
I actually think you can probably just delete the set_params method as there is no need to overwrite it (but guessing I'm wrong given the sklearn developers involved in parsimony!)
The text was updated successfully, but these errors were encountered:
Currently this:
Should be this:
I actually think you can probably just delete the set_params method as there is no need to overwrite it (but guessing I'm wrong given the sklearn developers involved in parsimony!)
The text was updated successfully, but these errors were encountered: