evalml.model_understanding.
roc_curve
Given labels and classifier predicted probabilities, compute and return the data representing a Receiver Operating Characteristic (ROC) curve. Works with binary or multiclass problems.
y_true (pd.Series or np.array) – True labels.
y_pred_proba (pd.Series or np.array) – Predictions from a classifier, before thresholding has been applied.
fpr_rate: False positive rate.
tpr_rate: True positive rate.
threshold: Threshold values used to produce each pair of true/false positive rates.
auc_score: The area under the ROC curve.
list(dict)