Precision Recall for each row #658
Unanswered
sachinruk
asked this question in
Classification
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, just wanted to ask which metric I should as I think "macro" and "micro" version of precision/ recall doesn't fall under this definition.
So what I want happening is for a given row suppose that the true labels are
["a", "b", "c"]
and my algorithm proposes["a", "e"]
. So what I'm expecting is for precision to say 50% (as out of the proposed labels, only half is correct, and recall to be 33%. The behaviour I would like to see is that this precision/ recall averaged across all rows to give final metric.Do I need to write a custom metric for this, or is there a name for what I'm looking for? This discussion on macro vs micro is talking about precision/ recall for each label, which is not what I want I want.
This is the behaviour I'm expecting:
Beta Was this translation helpful? Give feedback.
All reactions