Hello again,
Let's modify your example a little bit. Suppose a sentence contains aspect categories a and b and your system returns a and c. Then it correctly predicted a (true positive), failed to predict b (false negative) and falsely predicted c (false positive). True negatives are irrelevant.
Precision is defined as true_positives/(true_positives+false_positives)
Recall is defined as true_positives/(true_positives+false_negatives)
F1-measure is defined as the harmonic mean of precision and recall, i.e. F1 = (precision*recall)/(precision+recall)
Dne sobota 16. dubna 2016 14:33:27 UTC+2 Nouman Dilawar napsal(a):