Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@frenzy2106
Created March 18, 2020 09:30
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 frenzy2106/2e7fc990577c83773a6f55b4aa9e0a9c to your computer and use it in GitHub Desktop.
Save frenzy2106/2e7fc990577c83773a6f55b4aa9e0a9c to your computer and use it in GitHub Desktop.
# Creating Validation Set
X_train,X_test,y_train,y_test = train_test_split(corpus_pad,y,test_size=0.2,random_state=101)
X_train.shape, X_test.shape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment