evalml.model_understanding.
graph_roc_curve
Generate and display a Receiver Operating Characteristic (ROC) plot for binary and multiclass classification 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. Note this should a one dimensional array with the predicted probability for the “true” label in the binary case.
custom_class_labels (list or None) – If not None, custom labels for classes. Default None.
title_addition (str or None) – if not None, append to plot title. Default None.
plotly.Figure representing the ROC plot generated