Description Usage Arguments Value Examples
View source: R/evaluate_prediction_auc.R
Calculate area under the curve for ROC and PR curves.
1 2 | evaluate_prediction_auc(predicted_values, true_values, min_resolution = 1000,
plot = T, fdr_threshold = 0.05)
|
predicted_values |
Vector of continuous-valued prediction scores. Assumes that positive prediction scores correspond to 1 outcome in the true values. |
true_values |
Vector of logical or binary values of ground truth |
A data.frame of containing the AUROC, AUPRC, and F1 measure
1 2 3 | true_values <- sample(0:1, 1000, replace=T)
predicted_values <- rnorm(1000)
evaluate_prediction_auc(predicted_values, true_values)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.