solegalli / feature-selection-for-machine-learning

Code repository for the online course Feature Selection for Machine Learning

Home Page:https://www.courses.trainindata.com/p/feature-selection-for-machine-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

vonczege opened this issue · 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
allen.v.wass@gmail.com

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

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