gl: Gower and Legendre

Description Usage Arguments References See Also Examples

Description

The Gower and Legandre coefficient is given by

GL = (TP + TN) / (TP + TN + θ (FP + FN))

where TP denotes true positives, TN denotes true negatives, FP denotes false positives, FN denotes false negatives, and θ is a weighting parameter. In our implementation θ has a default value of 1, making it simple matching.

Usage

1
gl(tp, tn, fp, fn, theta = 1, ...)

Arguments

tp

True positives

tn

True negatives

fp

False positives

fn

False negatives

theta

The weighting parameter, defaults to 1

References

\insertRef

GowerLegendre1986zostmod

See Also

sm() ss() rt()

Other classification scores: auc, bcr, brier, dor, dp, err, et, f1, fai, fm, gain, gm, ignr, jacc, kappa, lr, mcc, op, rand, rt, rus, sm, ss, tss

Examples

1
g1(tp = 45, fp = 15, fn = 25, tn = 15)

EU-ECDC/HerpesZosterModel documentation built on July 7, 2019, 2:58 a.m.