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
You can try this code.
from sklearn.model_selection import train_test_split
X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size = 0.25, random_state = 0)
老铁用的sklearn那个版本啊,我用的最新版的,没有 from sklearn.cross_validation import train_test_split 这个东西啊
The text was updated successfully, but these errors were encountered: