View source: R/confusion.matrix.negative.likelihood.ratio.simple.R
confusion.matrix.negative.likelihood.ratio | R Documentation |
Calculate Negative Likelihood Ratio, defined as FNR/TNR, for a given confusion matrix.
confusion.matrix.negative.likelihood.ratio(confusion.matrix)
confusion.matrix.negative.likelihood.ratio.simple(
false.negative = 0,
true.positive = 1,
count.positive = false.negative + true.positive,
true.negative = 0,
false.positive = 1,
count.negative = true.negative + false.positive,
true.negative.rate = confusion.matrix.true.negative.rate.simple(true.negative =
true.negative, count.negative = count.negative),
false.negative.rate = confusion.matrix.false.negative.rate.simple(false.negative =
false.negative, count.positive = count.positive)
)
confusion.matrix |
Matrix - confusion matrix. |
false.negative |
Scalar - Cases identified as false negative - optional if FNR specified |
true.positive |
Scalar - Cases identified as true positive - optional if FNR specified |
count.positive |
Scalar - Total cases identified as positive - optional if TNR specified. |
true.negative |
Scalar - Cases identified as true negative - optional if TNR specified |
false.positive |
Scalar - Cases identified as false positive - optional if TNR specified |
count.negative |
Scalar - Total cases identified as negative - optional if FNR specified. |
true.negative.rate |
Scalar - True Negative Rate (TNR) - optional if TNR parameters specified. |
false.negative.rate |
Scalar - False Negative Rate (FNR) - optional if FNR parameters specified. |
A scalar with computed value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.