We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d1e02 commit 3387b39Copy full SHA for 3387b39
mapie/risk_control.py
@@ -269,7 +269,7 @@ def _check_delta(self, delta: Optional[float]):
269
if (not isinstance(delta, float)) and (delta is not None):
270
raise ValueError(
271
"Invalid delta. "
272
- "delta must be a float, not a {type(delta)}"
+ f"delta must be a float, not a {type(delta)}"
273
)
274
if (self.method == "rcps") or (self.method == "ltt"):
275
if delta is None:
@@ -579,7 +579,7 @@ def fit(
579
self,
580
X: ArrayLike,
581
y: ArrayLike,
582
- conformalize_size: Optional[float] = .3,
+ conformalize_size: Optional[float] = .3
583
) -> PrecisionRecallController:
584
"""
585
Fit the base estimator or use the fitted base estimator.
0 commit comments