Skip to content

Commit

Permalink
UPD: beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
Candice Moyet committed Jul 19, 2023
1 parent ffbdeee commit fac0252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapie/conformity_scores/residual_conformity_scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ def get_signed_conformity_scores(
if not self.prefit:
cal_indexes, train_indexes = self._fit_residual_estimator(
clone(self.residual_estimator_), X, y, y_pred, full_indexes,
random_state)
random_state
)
else:
cal_indexes = full_indexes
train_indexes = np.argwhere(np.isnan(y_pred)).reshape((-1,))
Expand Down

0 comments on commit fac0252

Please sign in to comment.