Skip to content

Instantly share code, notes, and snippets.

@sid321axn
Created August 19, 2020 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sid321axn/e36feccd0de304d3a6697091ada519bc to your computer and use it in GitHub Desktop.
Save sid321axn/e36feccd0de304d3a6697091ada519bc to your computer and use it in GitHub Desktop.
X_train, X_test, y_train, y_test = train_test_split(X, y, stratify=y, test_size=0.2,shuffle=True, random_state=5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment