Skip to content

Commit 9ffb70b

Browse files
author
Thibault Cordier
committed
FIX: correction of the upper bound for the asymmetric score in exemple
1 parent 9a39886 commit 9ffb70b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/regression/2-advanced-analysis/plot_coverage_validity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def exact_coverage_fct(delta):
490490

491491

492492
def exact_coverage_asym_fct(delta):
493-
new_n = n_calib_array//2
493+
new_n = n_calib_array//2-1
494494
return np.ceil((new_n+1)*delta)/(new_n+1)
495495

496496

0 commit comments

Comments
 (0)