Created
March 27, 2021 10:18
-
-
Save AyishaR/cdee030ff65c40154d8d16c81e42a508 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
# Splitting into train and val set -- 90-10 split | |
train_df, val_df = train_test_split(df, test_size = 0.1) | |
print("Number of samples in...") | |
print("Training set: ", len(train_df)) | |
print("Validation set: ", len(val_df)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment