evalml.pipelines.roc_curve¶
-
evalml.pipelines.
roc_curve
(y_true, y_pred_proba)[source]¶ Receiver Operating Characteristic score for binary classification.
- Parameters
y_true (pd.Series or np.array) – true binary labels.
y_pred_proba (pd.Series or np.array) – predictions from a binary classifier, before thresholding has been applied.
- Returns
false positive rates, true positive rates, and threshold values used to produce each pair of true/false positive rates.
- Return type
(np.array, np.array, np.array)