evalml.model_understanding.graph_precision_recall_curve(y_true, y_pred_proba, title_addition=None)[source]

Generate and display a precision-recall plot.

  • y_true (ww.DataColumn, pd.Series or np.ndarray) – True binary labels.

  • y_pred_proba (ww.DataColumn, pd.Series or np.ndarray) – Predictions from a binary classifier, before thresholding has been applied. Note this should be the predicted probability for the “true” label.

  • title_addition (str or None) – If not None, append to plot title. Default None.


plotly.Figure representing the precision-recall plot generated