Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
osanseviero committed Dec 25, 2023
1 parent 5f67f5e commit 5c39c50
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 @@ -39,7 +39,7 @@
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: +ELLIPSIS +NORMALIZE_WHITESPACE
>>> print(results) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
{'confusion_matrix': array([[1, 0, 1], [0, 2, 0], [1, 1, 0]][...])}
"""

Expand Down

0 comments on commit 5c39c50

Please sign in to comment.