R/evaluate.R
evaluate_classification.Rd
Get performance metrics for classification predictions
evaluate_classification(predicted, actual)
predicted | Vector of predicted probabilities |
---|---|
actual | Vector of realized outcomes, must be 0/1 |
Numeric vector of scores with metric as names
#> AUPR AUROC #> 0.5694444 0.8333333