Skip to content

Instantly share code, notes, and snippets.

@anice1
Created January 23, 2022 13:47
Show Gist options
  • Save anice1/b4b6f75aa569949fea984d25234d8435 to your computer and use it in GitHub Desktop.
Save anice1/b4b6f75aa569949fea984d25234d8435 to your computer and use it in GitHub Desktop.
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? 😉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment