feature-selection-for-machine-learning icon indicating copy to clipboard operation
feature-selection-for-machine-learning copied to clipboard

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

Open vonczege opened this issue 1 year ago • 1 comments

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.

vonczege avatar Apr 16 '24 00:04 vonczege

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

solegalli avatar Apr 16 '24 04:04 solegalli