View source: R/confusion.matrix.positive.predictive.value.simple.R
confusion.matrix.positive.predictive.value | R Documentation |
Calculate Positive Predictive Value (also called Precision), defined as TP/(TP+FP), for a given confusion matrix.
confusion.matrix.positive.predictive.value(confusion.matrix)
confusion.matrix.precision(confusion.matrix)
confusion.matrix.positive.predictive.value.simple(
true.positive = 0,
false.positive = 1
)
confusion.matrix.precision.simple(true.positive = 0, false.positive = 1)
confusion.matrix |
Matrix - confusion matrix. |
true.positive |
Scalar - Cases identified as true positive |
false.positive |
Scalar - Cases identified as false positive |
A scalar with computed value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.