Skip to content

Instantly share code, notes, and snippets.

View anice1's full-sized avatar
🏠

Ac Nice anice1

🏠
View GitHub Profile
@anice1
anice1 / gist:b4b6f75aa569949fea984d25234d8435
Created January 23, 2022 13:47
Not Every Metric is Useful
When working with imbalanced data, judging your model's performance using accuracy is like pouring diesel on a burning flame, if not careful you too might burn. Avoid accuracy! Please use F1-score, However, depending on your problem definition you call settle for high precision or recall.
Note: You can't have high recall and precision at same time. You can only have either of both.
I’d like to know what your answer is as well? 😉