Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
osanseviero committed Dec 23, 2023
1 parent 3f973ad commit 8c7f87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/confusion_matrix/confusion_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
>>> confusion_matrix_metric = evaluate.load("confusion_matrix")
>>> results = confusion_matrix_metric.compute(references=[0, 1, 2, 0, 1, 2], predictions=[0, 1, 1, 2, 1, 0])
>>> print(results)
{'confusion_matrix': [[1, 0, 1], [0, 2, 0], [1, 0, 1]]}
{'confusion_matrix': [[1, 0, 1], [0, 2, 0], [1, 1, 0]]}
"""


Expand Down

0 comments on commit 8c7f87a

Please sign in to comment.