Created
July 18, 2020 17:26
-
-
Save saimadhu-polamuri/8301739390e1444a3a702210930d0424 to your computer and use it in GitHub Desktop.
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 data into train and test datasets | |
x_train, x_test, y_train, y_test = train_test_split( | |
data['text'], data['label'], test_size=0.33, random_state=7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment