From 6bf32ef68d2ad5646a1d7cbda901b2e9df77cdc9 Mon Sep 17 00:00:00 2001 From: gmartinonQM Date: Fri, 28 Jul 2023 14:20:14 +0200 Subject: [PATCH] FIX linting --- mapie/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapie/metrics.py b/mapie/metrics.py index 838b5337f..01b6b3b49 100644 --- a/mapie/metrics.py +++ b/mapie/metrics.py @@ -1267,7 +1267,7 @@ def spiegelhalter_statistic(y_true: NDArray, y_score: NDArray) -> float: ) denominator = np.sqrt( np.sum( - (1 - 2 * y_score)** 2 * y_score * (1 - y_score) + (1 - 2 * y_score) ** 2 * y_score * (1 - y_score) ) ) sp_stat = numerator/denominator