roc_curve¶
- probly.metrics.roc_curve = <flextype.singledispatch.Flexdispatch object>¶
Compute receiver operating characteristic (ROC) curve.
- Parameters:
y_true – Binary ground-truth labels (0 or 1).
y_score – Predicted scores (higher means more likely positive).
- Returns:
False positive rates. tpr: True positive rates. thresholds: Decreasing score thresholds.
- Return type:
fpr