Skip to content

Commit

Permalink
FIX linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gmartinonQM committed Jul 28, 2023
1 parent 47f3685 commit 6bf32ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapie/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bf32ef

Please sign in to comment.