Description Usage Arguments Details Value Examples
View source: R/classifierTesting.R
Computes the Positive Predictive Value (PPV) or precision of a classifier, by using recorded data vs data predicted by a classifier.
1 | ppv(pred, truth)
|
pred |
A logical (T=positive, F=negative) or numeric (1=positive, 0=negative) vector of positives and negatives provided by the classifier. |
truth |
A logical (T=positive, F=negative) or numeric (1=positive, 0=negative) vector of positives and negatives measured. |
Equation used is # True Positives / (# True Positives + # False Positives).
A value from 0 (low PPV) to 1 (high PPV).
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.