Skip to main content

roc_auc

Function roc_auc 

Source
pub fn roc_auc(scores: &[f64], labels: &[usize]) -> f64
Expand description

Compute the ROC AUC (Area Under the Curve) for binary classification.

scores: predicted probabilities. labels: true binary labels.