Skip to main content
. 2015 Sep 29;16:314. doi: 10.1186/s12859-015-0731-9

Table 2.

Performance measures for multi-class classifiers. t p i, t n i, f p i and f n i are, in turn, tp, tn, fp and fn for class i [59]. The multi-class MCC is calculated taking into account all the entries of the confusion matrix C K×K involving all K classes [60]. The ij-th entry (c ij) is the number of examples of the true class i that have been assigned to the class j by the classifier

Measure Formula
Accuracy i=1Ktpi+tnitpi+fni+fpi+tniK
MCC k,l,m=1KCkkCmlClkCkmk=1Kl=1KClkf,g=1fkKCgfk=1Kl=1KCklf,g=1fkKCfg