auc_confidence_interval

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

auc_confidence_interval(y_true: ndarray, scores: ndarray, alpha: float = 0.95) → AucConfidenceInterval[source]

Compute the ROC AUC and its DeLong confidence interval.

Parameters:
  • y_true – Binary ground-truth labels (0/1), both classes present.

  • scores – Probability-of-class-1 scores aligned to y_true.

  • alpha – Confidence level, e.g. 0.95.

Returns:

The AUC and its (lower, upper) confidence bounds.