-
Notifications
You must be signed in to change notification settings - Fork 852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SoftmaxRegression is not cloneable #372
Comments
@vanoudh I was able to reproduce this error with the current |
So it's documented somewhere, it looks like there are a few other estimators that also don't inherit from Classifiers:
Regressors:
|
Thanks for the head-up, will fix that! |
Thanks a lot. |
Thanks for the list, @jrbourbeau . I updated the existing |
Should be fixed now :) |
from sklearn.base import clone
from mlxtend.classifier import SoftmaxRegression
clf = SoftmaxRegression()
clfc = clone(clf)
-> "it does not seem to be a scikit-learn estimator as it does not implement a 'get_params' methods."
It seems that just deriving from BaseEstimator solves the issue but I am not sure.
The text was updated successfully, but these errors were encountered: