Created
April 21, 2019 12:20
-
-
Save prateekjoshi565/a49ce71ece25fd4cdef42d22369d8b26 to your computer and use it in GitHub Desktop.
genre_traintest_split
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
# split dataset into training and validation set | |
xtrain, xval, ytrain, yval = train_test_split(movies_new['clean_plot'], y, test_size=0.2, random_state=9) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment