View source: R/confusion.matrix.bookmaker.informedness.simple.R
confusion.matrix.bookmaker.informedness | R Documentation |
Calculate Bookmaker Informedness, defined as TPR+TNR-1, for a given confusion matrix.
confusion.matrix.bookmaker.informedness(confusion.matrix)
confusion.matrix.bookmaker.informedness.simple(
true.positive = 0,
false.negative = 1,
count.positive = true.positive + false.negative,
false.positive = 0,
true.negative = 1,
count.negative = false.positive + true.negative,
true.positive.rate = confusion.matrix.true.positive.rate.simple(true.positive =
true.positive, count.positive = count.positive),
true.negative.rate = confusion.matrix.true.negative.rate.simple(true.negative =
true.negative, count.negative = count.negative)
)
confusion.matrix |
Matrix - confusion matrix. |
true.positive |
Scalar - Cases identified as true positive |
false.negative |
Scalar - Cases identified as false negative |
count.positive |
Scalar - Total cases identified as positive - optional if first four parameters are used. |
false.positive |
Scalar - Cases identified as false positive |
true.negative |
Scalar - Cases identified as true negative |
count.negative |
Scalar - Total cases identified as negative - optional if first four parameters are used. |
true.positive.rate |
Scalar - True positive rate, overrides other parameters used to calculate TPR. |
true.negative.rate |
Scalar - True negative rate, overrides other parameters used to calculate TNR. |
A scalar with computed value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.