-
Notifications
You must be signed in to change notification settings - Fork 879
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
TypeError: got an unexpected keyword argument 'fit_params' #1117
Comments
I have the same issue with scikit-learn 1.6.2 downgrading to 1.4.2 solves the issue but instead i get a lot of warnings:
|
I have fixed a similar issue some time ago #1109 |
Downstream nix package has this issue as well, see this pr which links to the pytest log |
Potential patch which does it the same way @d-kleine did in #1109 Related test failures are resolved, but there are now some failing asserts |
Your github unit tests have scikit-learn pinned to 1.3.1, which is from sep21 2023, which I think is why they are not catching these float64 issues. |
Describe the bug
I am running the latest example of
mlxtend
StackingCVClassifier
andsklearn
(GridSearchCV
StackingCVClassifier: Stacking with cross-validation - mlxtend).If works normally with
sklearn 1-3.2
, but failed withsklearn 1.6.0
in the errorTypeError: got an unexpected keyword argument 'fit_params'
. I believe that it becausesklearn
has deprecated thefit_params
since version 1.4.Steps/Code to Reproduce
I tried to modify the code of
mlxtend/classifier/stacking_cv_classification.py", line 269
fromto
.
The code is working normally.
The text was updated successfully, but these errors were encountered: