Skip to content

Commit c663210

Browse files
author
Beat Buesser
committed
Change self.preprocessing to self.preprocessing_operations
Signed-off-by: Beat Buesser <[email protected]>
1 parent 94cc074 commit c663210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

art/estimators/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def _apply_preprocessing(self, x, y, fit: bool) -> Tuple[Any, Any]:
293293
:return: Tuple of `x` and `y` after applying the defences and standardisation.
294294
:rtype: Format as expected by the `model`
295295
"""
296-
if self.preprocessing:
296+
if self.preprocessing_operations:
297297
for preprocess in self.preprocessing_operations:
298298
if fit:
299299
if preprocess.apply_fit:

0 commit comments

Comments
 (0)