confuse.multi-class-metrics
macro-avg-fmeasure
(macro-avg-fmeasure actual predicted)
(macro-avg-fmeasure actual predicted classes)
macro-avg-precision
(macro-avg-precision actual predicted)
(macro-avg-precision actual predicted classes)
returns the macro averaged precision, defined as the mean of precision for each class
macro-avg-recall
(macro-avg-recall actual predicted)
(macro-avg-recall actual predicted classes)
returns the macro averaged recall, defined as the mean of recall for each class
micro-avg-fmeasure
(micro-avg-fmeasure actual predicted)
(micro-avg-fmeasure actual predicted classes)
micro-avg-precision
(micro-avg-precision actual predicted)
(micro-avg-precision actual predicted classes)
returns the micro averaged precision, defined as the sum of true positives for all classes,
divided by the sum of true positives and false positives for all classes.
micro-avg-recall
(micro-avg-recall actual predicted)
(micro-avg-recall actual predicted classes)
returns the micro averaged recall, defined as the sum of true positives for all classes,
divided by the sum of true positives and false negatives for all classes