Skip to content

Commit

Permalink
FIX: LINTING
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentblot28 committed Dec 19, 2024
1 parent bda687a commit 06bc0e1
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions mapie/future/calibrators/ccp/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,12 +344,16 @@ def fit(
calibrator_optim_objective, self.init_value_,
args=(
np.vstack(
[cs_features[not_nan_index, :],
cs_features[not_nan_index[0], :]]
[
cs_features[not_nan_index, :],
cs_features[not_nan_index[0], :]
]
),
np.hstack(
[conformity_scores_calib[not_nan_index],
[conformity_scores_calib[not_nan_index[0]]]]
[
conformity_scores_calib[not_nan_index],
conformity_scores_calib[not_nan_index[0]]
]
),
q,
self.reg_param,
Expand All @@ -362,12 +366,16 @@ def fit(
calibrator_optim_objective, self.init_value_,
args=(
np.vstack(
[cs_features[not_nan_index, :],
cs_features[not_nan_index[0], :]]
[
cs_features[not_nan_index, :],
cs_features[not_nan_index[0], :]
]
),
np.hstack(
- [conformity_scores_calib[not_nan_index],
- [conformity_scores_calib[not_nan_index[0]]]]
- [
conformity_scores_calib[not_nan_index],
conformity_scores_calib[not_nan_index[0]]
]
),
q,
self.reg_param,
Expand Down

0 comments on commit 06bc0e1

Please sign in to comment.