`from sklearn.cross_validation import train_test_split` deprecated
from sklearn.cross_validation import train_test_split
is deprecated,
it should be:
from sklearn.model_selection import train_test_split
2
votes

from sklearn.cross_validation import train_test_split
is deprecated,
it should be:
from sklearn.model_selection import train_test_split