From 5c39c505cad74019db8257d34aa1a5bb314a5269 Mon Sep 17 00:00:00 2001 From: osanseviero Date: Mon, 25 Dec 2023 11:33:44 +0100 Subject: [PATCH] Fix whitespace --- 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 b118e067..5ea33038 100644 --- a/metrics/confusion_matrix/confusion_matrix.py +++ b/metrics/confusion_matrix/confusion_matrix.py @@ -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]][...])} """