delong_roc_variance
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_variance(ground_truth: ndarray, predictions: ndarray) Tuple[float, float][source]
Compute the ROC AUC and its DeLong variance for one score vector.
- Parameters:
ground_truth – Binary labels (0/1), both classes present.
predictions – Probability-of-class-1 scores aligned to the labels.
- Returns:
Tuple
(auc, delong_variance).