Skip to content

Commit

Permalink
Quick test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
osanseviero committed Dec 25, 2023
1 parent 8ccf967 commit 24f11b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion metrics/confusion_matrix/confusion_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
>>> 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]])}
{'confusion_matrix': array([[1, 0, 1],
[0, 2, 0],
[1, 1, 0]], dtype=int64)}
"""


Expand Down

0 comments on commit 24f11b6

Please sign in to comment.