Skip to content

Commit 5b43642

Browse files
committed
Fix bullet point lists.
1 parent 6cf7058 commit 5b43642

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,12 @@ def sin_with_controlled_noise(
191191
# :func:`~mapie.metrics.regression_ssc_score` and :func:`~mapie.metrics.hsic`.
192192
#
193193
# - SSC (Size Stratified Coverage): This measures the maximum violation
194-
# of coverage by grouping intervals by width and computing coverage for
195-
# each group. An adaptive method has a maximum violation close to the global
196-
# coverage. Among the four methods, CV+ performs the best.
197-
#
198-
# HSIC (Hilbert-Schmidt Independence Criterion): This computes the
199-
# correlation between coverage and interval size. A value of 0 indicates
200-
# independence between the two.
194+
# of coverage by grouping intervals by width and computing coverage for
195+
# each group. An adaptive method has a maximum violation close to the global
196+
# coverage. Among the four methods, CV+ performs the best.
197+
# - HSIC (Hilbert-Schmidt Independence Criterion): This computes the
198+
# correlation between coverage and interval size. A value of 0 indicates
199+
# independence between the two.
201200
#
202201
# It's important to note that CV+ with the absolute residual score
203202
# calculates constant intervals, which are not adaptive. Therefore,

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@
124124
plt.show()
125125

126126
##############################################################################
127-
# The symmetric intervals (``symmetric_correction=True``) use a combined set of residuals
128-
# for both bounds, while the asymmetric intervals (``symmetric_correction=False``)
129-
# use distinct residuals for each bound, allowing for more flexible and
130-
# accurate intervals that reflect the heteroscedastic nature of the data.
131-
# The resulting effective coverages demonstrate the theoretical guarantee of
132-
# the target coverage level ``confidence_level``.
127+
# The symmetric intervals (``symmetric_correction=True``) use a combined set of
128+
# residuals for both bounds, while the asymmetric intervals
129+
# (``symmetric_correction=False``) use distinct residuals for each bound,
130+
# allowing for more flexible and accurate intervals that reflect the
131+
# heteroscedastic nature of the data. The resulting effective coverages
132+
# demonstrate the theoretical guarantee of the target coverage level
133+
# ``confidence_level``.

0 commit comments

Comments
 (0)