Skip to content

Instantly share code, notes, and snippets.

@Praveenk8051
Last active May 6, 2020 11:14
Show Gist options
  • Save Praveenk8051/ee9cf521390ced683c64633171e04d7e to your computer and use it in GitHub Desktop.
Save Praveenk8051/ee9cf521390ced683c64633171e04d7e to your computer and use it in GitHub Desktop.
Split the data MNIST
# 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