Accuracy is not a good metric to use when you have class imbalance. The problem here is that an accuracy of 99% sounds like a great result, whereas your model performs very poorly. The goal of the F1 score is to combine the precision and recall metrics into a single metric. the F1 score has been designed to work well on imbalanced data.
-
Notifications
You must be signed in to change notification settings - Fork 0
Neha489/Classification
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
F1 score for imbalance data
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published