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
For folks using SciKit Learn version 0.20.3 the Cross Validation function from (ds-cheatsheets/Python/Datacamp/scikit-learn.pdf) should be from sklearn.model_selection.cross_validate if I'm not mistaken. I was running a linear regression algorithm using sklearn v0.20.3 and the sklearn.cross_validation.cross_val_score was not recognized but the aforementioned function was and my program ran with no issues.
Perhaps I am wrong, just a friendly addition to the cheatsheet :P
The text was updated successfully, but these errors were encountered:
For folks using SciKit Learn version 0.20.3 the Cross Validation function from (ds-cheatsheets/Python/Datacamp/scikit-learn.pdf) should be from sklearn.model_selection.cross_validate if I'm not mistaken. I was running a linear regression algorithm using sklearn v0.20.3 and the sklearn.cross_validation.cross_val_score was not recognized but the aforementioned function was and my program ran with no issues.
Perhaps I am wrong, just a friendly addition to the cheatsheet :P
The text was updated successfully, but these errors were encountered: