Skip to content
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

Feature Selection in Machine Learning with Python: sklearn\model_selection\_validation.py:73: FutureWarning: fit_params is deprecated #9

Open
vonczege opened this issue Apr 16, 2024 · 1 comment

Comments

@vonczege
Copy link

In Chapter Six (wrapper methods, exhaustive search) of the text noted above, the code on page 106 (efs = EFS(estimator=RandomRorestClassifier...) spawns the error below (quite a few times since it is evaluating a lot models). The code still works and the results are good bit it is a lot of warnings...

Likely an easy change. Or, if the warning can be suppressed, let me know how.

I am enjoying the book and using the product!

Thanks!

Allen
[email protected]

sklearn\model_selection_validation.py:73: FutureWarning: fit_params is deprecated and will be removed in version 1.6. Pass parameters via params instead.

@solegalli
Copy link
Owner

Thank you! I'll leave the issue open till I update the book, hopefully in the next few months!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants