depictr.roc_curve_plot#

depictr.roc_curve_plot(y_true, y_score, title=None)#

ROC curve with the area under the curve (AUC) annotated.

Parameters:
  • y_true (array-like) – Binary outcomes (0/1).

  • y_score (array-like) – Predicted scores or probabilities for the positive class.

  • title (str, optional)

Return type:

plotnine.ggplot