ERPP-RMTPP icon indicating copy to clipboard operation
ERPP-RMTPP copied to clipboard

The calculation of precision and recall

Open slowlyswimming opened this issue 3 years ago • 1 comments

In funcion clf_metric in util.py, it seems that the calculation of precision and recall is reversed? if gold_count[i] != 0: prec += match_count / gold_count[i] pcnt += 1 if pred_count[i] != 0: recall += match_count / pred_count[i] rcnt += 1 Precision = true positive / predicted condition positive Recall = true positive / condition positive

slowlyswimming avatar Oct 14 '20 09:10 slowlyswimming

hahaha ,i think so.

lbq8942 avatar Oct 20 '22 11:10 lbq8942