Skip to content

Commit 5710a77

Browse files
authored
Merge pull request #4063 from behloolsabir/patch-1
Update ml-roc-pr.md
2 parents 3024f98 + d64871d commit 5710a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/python/ml-roc-pr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ precision, recall, thresholds = precision_recall_curve(y, y_score)
216216

217217
fig = px.area(
218218
x=recall, y=precision,
219-
title=f'Precision-Recall Curve (AUC={auc(fpr, tpr):.4f})',
219+
title=f'Precision-Recall Curve (AUC={auc(recall, precision):.4f})',
220220
labels=dict(x='Recall', y='Precision'),
221221
width=700, height=500
222222
)

0 commit comments

Comments
 (0)