delong_roc_ci
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.
- delong_roc_ci(ground_truth: ndarray, predictions: ndarray, alpha: float = 0.95) Tuple[float, ndarray][source]
Compute the ROC AUC and its DeLong confidence interval.
- Parameters:
ground_truth – Binary labels (0/1), both classes present.
predictions – Probability-of-class-1 scores aligned to the labels.
alpha – Confidence level, e.g.
0.95.
- Returns:
Tuple
(auc, ci)whereciis the(lower, upper)bound, clipped at 1.0.