Machine learning tutorial - Warning wit sklearn

by: Clearscreen101, 7 years ago


Hi All

Just as a mention the below warning has shown up running the program as supplied in Practical Machine Learning Tutorial with Python Introduction - Regression - Training and Testing -

Warning (from warnings module):
  File "C:UserssvandykAppDataLocalProgramsPythonPython36libsite-packagessklearncross_validation.py", line 44
    "This module will be removed in 0.20.", DeprecationWarning)
DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.


Regards



You must be logged in to post. Please login or register an account.



Is it just the cross_validation that's been tweaked? Most of the time, if you want those errors to go away, someone has posted a fix in the comments if the youtube videos. I also try to update the text-based versions as it happens, but it's hard to keep up with changes.

This one might be new, I can't say I've heard of the model_selection module before.

-Harrison 7 years ago

You must be logged in to post. Please login or register an account.