Skip to content

Commit

Permalink
Return to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
osanseviero committed Dec 25, 2023
1 parent 8677ebb commit 8ccf967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/confusion_matrix/confusion_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
Example 1-A simple example
>>> 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) # doctest: +NORMALIZE_WHITESPACE
{'confusion_matrix': array([[1, 0, 1], [0, 2, 0], [1, 1, 0]])}
>>> print(results) # doctest: +NORMALIZE_WHITESPACE
{'confusion_matrix': array([[1, 0, 1], [0, 2, 0], [1, 1, 0]])}
"""


Expand Down

0 comments on commit 8ccf967

Please sign in to comment.