Description Usage Arguments Details See Also Examples
The geometric mean is given by
GM = √(TP / (TP + FN) \cdot TN / (TN + FP))
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 |
adj |
If TRUE calculate the adjusted mean, defaults to FALSE |
The adjusted geometric mean is given by
AGM = (GM + (TN / (TN + FP)) + (FP + TN)) / (1 + FP + TN) if TP / (TP + FN) > 0
and 0 otherwise, where TP again denotes true positives, TN true negatives, FP false positives, and FN false negatives.
Other classification scores: auc
,
bcr
, brier
,
dor
, dp
, err
,
et
, f1
, fai
,
fm
, gain
, gl
,
ignr
, jacc
,
kappa
, lr
, mcc
,
op
, rand
, rt
,
rus
, sm
, ss
,
tss
1 | gm(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.