Last active
October 1, 2018 17:36
-
-
Save animesh-agarwal/0bfaaf1740fa3bb2a3be61f60f46c97a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.model_selection import train_test_split | |
X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size = 0.2, random_state=5) | |
print(X_train.shape) | |
print(X_test.shape) | |
print(Y_train.shape) | |
print(Y_test.shape) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment