Learn Before
Concept

Macro-average Precision

Recall that the formula for precision is Pr=TP/(TP+FP)Pr = TP / (TP + FP). To compute the macro-average precision of a multi-class classification, compute PrPr for each class, add them together, and then divide by the number of classes. We can summarize this as the following formula:

macro-average precision = (i=1nPri)/n(\sum_{i=1}^nPr_i) / n, where PriPr_i is the precision of the iith class and there are nn classes.

0

1

Updated 2021-01-29

Tags

Data Science

Related