Skip to content

Commit 2751521

Browse files
committed
FIX: typing
1 parent d870bb8 commit 2751521

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mapie/tests/test_common.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ def __init__(self) -> None:
254254

255255
def get_signed_conformity_scores(
256256
self, y: ArrayLike, y_pred: ArrayLike, **kwargs
257-
) -> NDArray:
257+
) -> None:
258258
pass
259259

260260
def get_estimation_distribution(
261261
self, y_pred: ArrayLike, conformity_scores: ArrayLike, **kwargs
262-
) -> NDArray:
262+
) -> None:
263263
"""
264264
A positive constant is added to the sum between predictions and
265265
conformity scores to make the estimated distribution
@@ -269,12 +269,12 @@ def get_estimation_distribution(
269269

270270
def get_conformity_scores(
271271
self, y: ArrayLike, y_pred: ArrayLike, **kwargs
272-
) -> NDArray:
272+
) -> None:
273273
pass
274274

275275
def predict_set(
276-
self, y_pred: ArrayLike, alpha: float, **kwargs
277-
) -> Tuple[NDArray, NDArray]:
276+
self, X: NDArray, alpha_np: NDArray, **kwargs
277+
) -> None:
278278
pass
279279

280280
dcs = DummyConformityScore()

0 commit comments

Comments
 (0)