Skip to content

Commit

Permalink
UPD: message in user warning
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Blot <[email protected]>
  • Loading branch information
thibaultcordier and vincentblot28 authored Dec 20, 2023
1 parent ed9f831 commit c2df197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapie/regression/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def predict(
if optimize_beta and self.method != 'enbpi':
raise UserWarning(
"Beta optimisation should only be used for "
"the method='enbpi'."
"method='enbpi'."
)

n = len(self.conformity_scores_)
Expand Down

0 comments on commit c2df197

Please sign in to comment.