Skip to content

Commit

Permalink
update self.estimators_
Browse files Browse the repository at this point in the history
  • Loading branch information
qroa committed Dec 16, 2024
1 parent dc4fc26 commit 406b500
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mapie/regression/quantile_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,7 @@ def prefit_estimators(

estimator = cast(List, self.estimator)
self._check_prefit_params(estimator)

for i, est in enumerate(estimator):
self.estimators_.append(est)
self.estimators_ = list(estimator)
self.single_estimator_ = self.estimators_[2]

X_calib, y_calib = indexable(X, y)
Expand Down

0 comments on commit 406b500

Please sign in to comment.