Created
September 22, 2020 10:12
-
-
Save abhishek-shrm/746374ebfe9f0fb3456b8a97e19f34dc 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
# Printing class distribution in percentage | |
for i in ['toxic','severe_toxic','obscene','threat','insult','identity_hate']: | |
print(df_train[i].value_counts(normalize=True)*100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment