You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the hmeq_train.py code for the registery_py_model example, some users will find that the current Python code utilizes a scikit-learn method that has been deprecated. Specifically on line 66, the get_feature_names() method was deprecated in version 1.2 of scikit-learn.
I believe a simple solution for the code would be a try/except block as follows:
In the hmeq_train.py code for the
registery_py_model
example, some users will find that the current Python code utilizes a scikit-learn method that has been deprecated. Specifically on line 66, theget_feature_names()
method was deprecated in version 1.2 of scikit-learn.I believe a simple solution for the code would be a try/except block as follows:
Or to explicitly validate the scikit-learn version:
The text was updated successfully, but these errors were encountered: