View source: R/EvaluationSummary.R
| computeAuprc | R Documentation |
Compute the area under the Precision-Recall curve
computeAuprc(prediction)
prediction |
A prediction object as generated using the
|
Computes the area under the Precision-Recall curve for the predicted scores, given the true observed outcomes.
A numeric value containing the AUPRC
prediction <- data.frame(
value = c(0.1, 0.2, 0.3, 0.4, 0.5),
outcomeCount = c(0, 1, 0, 1, 1))
computeAuprc(prediction)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.