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
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