From 5b470c23849fcb16ea0c6627d7f29af4f6396b35 Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Mon, 13 Feb 2023 17:03:05 +0100
Subject: [PATCH] [doc] Update the doctests to expect a float score.

---
 doc/guide.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/guide.rst b/doc/guide.rst
index 998ae54..d0d6b01 100644
--- a/doc/guide.rst
+++ b/doc/guide.rst
@@ -346,8 +346,8 @@ The snippet bellow shows how to:
    >>> # Probing
    >>> probe_data = np.array([[1.2, 0.1, 1.4], [0.5, 0.2, 0.3]])
    >>> score = isv_machine.score_using_array(model, probe_data)
-   >>> print(score)
-     [2.754]
+   >>> print(round(score, 3))
+     2.754
 
 
 
@@ -407,8 +407,8 @@ such session variability model.
 
    >>> probe_data = np.array([[1.2, 0.1, 1.4], [0.5, 0.2, 0.3]])
    >>> score = jfa_machine.score_using_array(model, probe_data)
-   >>> print(score)
-     [0.471]
+   >>> print(round(score, 3))
+     0.471
 
 
 
-- 
GitLab