From 8c7f87ac97d91c04833f8d623990c30a9e1872b2 Mon Sep 17 00:00:00 2001 From: osanseviero Date: Sat, 23 Dec 2023 19:13:55 +0100 Subject: [PATCH] Fix docstring --- metrics/confusion_matrix/confusion_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/confusion_matrix/confusion_matrix.py b/metrics/confusion_matrix/confusion_matrix.py index c3f642c7..f086aaa1 100644 --- a/metrics/confusion_matrix/confusion_matrix.py +++ b/metrics/confusion_matrix/confusion_matrix.py @@ -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]]} """