Function rustlearn::metrics::roc_auc_score
[−]
[src]
pub fn roc_auc_score(y_true: &Array, y_hat: &Array) -> Result<f32, &'static str>
Compute the ROC AUC score for a binary classification problem.
Failures
Will fail if inputs are illegal:
- inputs are of unequal length
- both classes are not represented in the input
- inputs are empty