Open yoonhwang opened 6 years ago
I can confirm this issue, we have to compute these metrics by hand because of this bug.
Yes, Precision is in code computed as TP / ColumnSum(TP + FN) instead of TP / RowSum(TP + FP) and vice versa with Recall. (I personally solved the problem with rebuild)
What would you like to submit? (put an 'x' inside the bracket that applies)
Issue description
Precision and Recall numbers from GeneralConfusionMatrix seem to be flipped. See below for how I computed precision/recall numbers and compared them against GeneralConfusionMatrix's precision/recall numbers
Code: