Skip to content

Commit 3387b39

Browse files
Revert changes other than URL fix
1 parent 12d1e02 commit 3387b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapie/risk_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _check_delta(self, delta: Optional[float]):
269269
if (not isinstance(delta, float)) and (delta is not None):
270270
raise ValueError(
271271
"Invalid delta. "
272-
"delta must be a float, not a {type(delta)}"
272+
f"delta must be a float, not a {type(delta)}"
273273
)
274274
if (self.method == "rcps") or (self.method == "ltt"):
275275
if delta is None:
@@ -579,7 +579,7 @@ def fit(
579579
self,
580580
X: ArrayLike,
581581
y: ArrayLike,
582-
conformalize_size: Optional[float] = .3,
582+
conformalize_size: Optional[float] = .3
583583
) -> PrecisionRecallController:
584584
"""
585585
Fit the base estimator or use the fitted base estimator.

0 commit comments

Comments
 (0)