-
-
Save AI-MOO/a4013fdeb25eb7b26b85612580b7bbcb 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
# حساب تعداد ونسبة كل فعالية في مجموعة التدريب | |
df_activity_count = y_train.value_counts().to_frame(name = 'Counts') | |
df_activity_count['percentage %'] = y_train.value_counts(normalize=True).round(4) * 100 | |
df_activity_count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment