We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e52d4 commit b724c35Copy full SHA for b724c35
mapie/conformity_scores/utils.py
@@ -151,7 +151,10 @@ def check_target(
151
or ``"score"`` or if type of target is not multi-class.
152
"""
153
check_classification_targets(y)
154
- if type_of_target(y) == "binary" and not isinstance(conformity_score, LACConformityScore):
+ if (
155
+ type_of_target(y) == "binary" and
156
+ not isinstance(conformity_score, LACConformityScore)
157
+ ):
158
raise ValueError(
159
"Invalid method for binary target. "
160
"Your target is not of type multiclass and "
0 commit comments