Skip to main content

auc_from_predictions

Function auc_from_predictions 

Source
pub fn auc_from_predictions(
    observed: &[f64],
    predicted_mean: &[f64],
) -> Result<f64, String>
Expand description

Tie-aware Mann-Whitney AUC. Observations greater than 0.5 are the positive class, matching the package’s binomial response convention.