Last active
June 10, 2020 11:12
-
-
Save alabrashJr/0da63d6dda60d89449216458da1c2ad2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
train, test = train_test_split(data, random_state=42, test_size=0.30, shuffle=True) | |
train_text = train['TurkishStemmer'].values.astype('U') | |
test_text = test['TurkishStemmer'].values.astype('U') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment