Chinese Simplified (简体中文)

AveragingMethodEnum

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 {
  AM_Macro,
  AM_Micro
} AveragingMethodEnum;
    

Elements

Name Description
AM_Macro

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.

AM_Micro

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

IValidationParams::AveragingMethod

7/3/2024 8:50:10 AM

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.