Skip to content

Commit 3d92b33

Browse files
authored
Update ValueError comment
1 parent 75cc13c commit 3d92b33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

art/metrics/verification_decisions_trees.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,10 @@ def verify(
204204
:return: A tuple of the average robustness bound and the verification error at `eps`.
205205
"""
206206
if np.min(x) < 0 or np.max(x) > 1:
207-
raise ValueError("There are features not in the range [0,1].")
207+
raise ValueError(
208+
"There are features not in the range [0, 1]. The current implementation only supports normalized input"
209+
"valuesfeatures in range [0 1]."
210+
)
208211

209212
self.x: np.ndarray = x
210213
self.y: np.ndarray = check_and_transform_label_format(

0 commit comments

Comments
 (0)