Skip to content

Commit

Permalink
UPD: add details in value error
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcordier authored Dec 20, 2023
1 parent 29dfbd8 commit ecc1d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapie/estimator/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _aggregate_with_mask(
):
raise ValueError(
"There should not be aggregation of predictions "
f"if cv is in '{self.no_agg_cv_}' "
f"if cv is in '{self.no_agg_cv_}', if cv >=2 "
f"or if method is in '{self.no_agg_methods_}'."
)
elif self.agg_function == "median":
Expand Down

0 comments on commit ecc1d79

Please sign in to comment.