Description Usage Arguments Details References See Also Examples
Matthew's correlation coefficient (MCC) is given by
MCC = (TP \cdot TN - FP \cdot FN) / (√((TP + FP)(TP + FN)(TN + FP)(TN + FN)))
where TP denotes true positives, TN denotes true negatives, FP denotes false positives, and FN denotes false negatives.
1 |
tp |
True positives |
tn |
True negatives |
fp |
False positives |
fn |
False negatives |
It is considered to be better than F1 and Rand index (accuracy) for binary classification \insertCite@see @Chicco2017 for detailszostmod.
Chicco2017zostmod
Other classification scores: auc
,
bcr
, brier
,
dor
, dp
, err
,
et
, f1
, fai
,
fm
, gain
, gl
,
gm
, ignr
, jacc
,
kappa
, lr
, op
,
rand
, rt
, rus
,
sm
, ss
, tss
1 | mcc(tp = 45, fp = 15, fn = 25, tn = 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.