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
{{ message }}
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
@arembridge Is code failed or it gave Deprecation warning? sklearn.cross_validation was deprecated in version 0.18 and as you said new version has sklearn.model_selection.
Starting from sklearn v0.20, the package sklearn.cross_validation is now deprecated. If you're using sklearn's newer version, please change this line of code:
from: from sklearn.cross_validation import ShuffleSplit
to: from sklearn.model_selection import ShuffleSplit
https://github.com/udacity/machine-learning/blob/master/projects/boston_housing/boston_housing.ipynb
The below line of code in udacity/machine-learning/boston_housing.ipynb failed for me:
I believe it should be:
This is also the case in https://github.com/udacity/machine-learning/blob/master/projects/visuals.py. I believe the following line:
should be
The text was updated successfully, but these errors were encountered: