When to use it
Use for evaluating threshold-independent probability scoring classifiers.
Required Inputs
- True binary labels (0/1)
- Predicted probability scores
Compute Receiver Operating Characteristic (ROC) curve coordinates, Area Under Curve (AUC-ROC), Gini coefficient, and DeLong confidence intervals.
Run this test live in StatLab npm i @statlab/coreUse for evaluating threshold-independent probability scoring classifiers.
AUC = ∫ TPR(t) d(FPR(t)) = P(Score_positive > Score_negative)
from sklearn.metrics import roc_auc_score
auc = roc_auc_score(y_true, y_scores)
print(f"AUC={auc:.4f}")
library(pROC)
roc_obj <- roc(y_true, y_scores)
auc(roc_obj)
import { rocMetrics } from '@statlab/core';
const res = rocMetrics(yTrue, yScores);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.