udacity / DSND_Term1

Contains files related to content and project of DSND

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing train test split module outdated (py1charityml jupyter notebook)

Jannis12324 opened this issue · comments

Importing the module with
from sklearn.cross_validation import train_test_split
does not work anymore.
from sklearn.model_selection import train_test_split
works.

I encountered the same issue and It's not yet solved.

Thanks, @Jannis12324
We have updated all occurrences of the deprecated from sklearn.cross_validation import train_test_split in this commit.