Skip to content

Commit d7b4847

Browse files
author
Thibault Cordier
committed
UPD: change interval to set
1 parent c3d9025 commit d7b4847

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

mapie/conformity_scores/classification.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_predictions(
6868
6969
alpha_np: NDArray of shape (n_alpha,)
7070
NDArray of floats between ``0`` and ``1``, represents the
71-
uncertainty of the confidence interval.
71+
uncertainty of the confidence set.
7272
7373
estimator: EnsembleClassifier
7474
Estimator that is fitted to predict y from X.
@@ -99,7 +99,7 @@ def get_conformity_score_quantiles(
9999
100100
alpha_np: NDArray of shape (n_alpha,)
101101
NDArray of floats between 0 and 1, representing the uncertainty
102-
of the confidence interval.
102+
of the confidence set.
103103
104104
estimator: EnsembleClassifier
105105
Estimator that is fitted to predict y from X.
@@ -135,7 +135,7 @@ def get_prediction_sets(
135135
136136
alpha_np: NDArray of shape (n_alpha,)
137137
NDArray of floats between 0 and 1, representing the uncertainty
138-
of the confidence interval.
138+
of the confidence set.
139139
140140
estimator: EnsembleClassifier
141141
Estimator that is fitted to predict y from X.
@@ -165,7 +165,7 @@ def get_sets(
165165
166166
alpha_np: NDArray of shape (n_alpha,)
167167
NDArray of floats between 0 and 1, representing the uncertainty
168-
of the confidence interval.
168+
of the confidence set.
169169
170170
estimator: EnsembleClassifier
171171
Estimator that is fitted to predict y from X.

mapie/conformity_scores/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_quantile(
114114
115115
alpha_np: NDArray of shape (n_alpha,)
116116
NDArray of floats between ``0`` and ``1``, represents the
117-
uncertainty of the confidence interval.
117+
uncertainty of the confidence set.
118118
119119
axis: int
120120
The axis from which to compute the quantile.
@@ -128,7 +128,7 @@ def get_quantile(
128128
By default ``False``.
129129
130130
unbounded: bool
131-
Boolean specifying whether infinite prediction intervals
131+
Boolean specifying whether infinite prediction sets
132132
could be produced (when alpha_np is greater than or equal to 1.).
133133
134134
By default ``False``.

0 commit comments

Comments
 (0)