Skip to content

Commit b5c408b

Browse files
author
gmartinonQM
committed
fix typos
1 parent 40fa529 commit b5c408b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mapie/estimators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def predict(self, X: ArrayLike) -> np.ndarray:
571571
# (n_samples_train,) : self.residuals_
572572
# (n_alpha,) : alpha
573573
# (n_samples_test, n_alpha) : y_pred_low, y_pred_up
574-
# (n_samples_test, n_samples_train) :y_pred_multi, lower/upper_bounds
574+
# (n_samples_test, n_samples_train) : y_pred_multi, lower/upper_bounds
575575
n_alpha = len(alpha)
576576
y_pred = self.single_estimator_.predict(X)
577577
# At this point, y_pred is of shape (n_samples_test,)

mapie/tests/test_estimators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def test_prediction_ensemble(
404404
cv: Union[LeaveOneOut, KFold]
405405
) -> None:
406406
"""
407-
Test that predictions differs when ensemble is True/False,
407+
Test that predictions differ when ensemble is True/False,
408408
but not prediction intervals.
409409
"""
410410
mapie = MapieRegressor(method=method, cv=cv, ensemble=True)

0 commit comments

Comments
 (0)