Skip to content

Commit 5d344a0

Browse files
Update Doctest for precision_recall_curve.py (#2850) (#2852)
* In accordance with the Update of Scikit-Learn with version 1.1.1
1 parent d2020e4 commit 5d344a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ignite/contrib/metrics/precision_recall_curve.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def sigmoid_output_transform(output):
6565
6666
.. testoutput::
6767
68-
Precision [1.0, 1.0, 1.0]
69-
Recall [1.0, 0.5, 0.0]
70-
Thresholds [0.7109, 0.9997]
68+
Precision [0.5, 0.6667, 1.0, 1.0, 1.0]
69+
Recall [1.0, 1.0, 1.0, 0.5, 0.0]
70+
Thresholds [0.0474, 0.5987, 0.7109, 0.9997]
7171
7272
"""
7373

0 commit comments

Comments
 (0)