Learn Before
Concept

Macro-average Precision

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 total number of classes. This can be summarized by 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 2026-06-14

Tags

Data Science

Related