AveragingMethodEnum enumeration constants are used to define the method used to calculate average performance scores (accuracy, precision, recall, and F-measure) for classifiers with more than 2 categories.

typedef enum {
} AveragingMethodEnum;


Name Description

The scores are calculated for each category separately, and then average over all the categories is taken.

Recommended when all categories contain roughly the same number of objects and should influence the resulting score equally.


The TP, TN, FP, and FN (true positive, true negative, false positive, and false negative) values for each category are added up, and the scores are calculated from the total values.

Recommended when one of the categories is significantly larger than the others, and the resulting score should be more sensitive to the performance on that category.

Used in


24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.