Created
March 6, 2019 18:58
-
-
Save prateekjoshi565/9713b49b6f9685789ec8aee594c61f84 to your computer and use it in GitHub Desktop.
split data elmo
This file contains 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 | |
xtrain, xvalid, ytrain, yvalid = train_test_split(elmo_train_new, | |
train['label'], | |
random_state=42, | |
test_size=0.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment