Last active
May 6, 2020 11:14
-
-
Save Praveenk8051/ee9cf521390ced683c64633171e04d7e to your computer and use it in GitHub Desktop.
Split the data MNIST
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
# random seed | |
random_seed = 3 | |
# Split | |
X_train, X_val, Y_train, Y_val = train_test_split(X_train, Y_train, test_size = 0.2, random_state=random_seed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment