Skip to content

Commit 06ed896

Browse files
Apply suggestions from code review
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
1 parent 8955996 commit 06ed896

File tree

1 file changed

+1
-1
lines changed
  • autoPyTorch/pipeline/components/preprocessing/tabular_preprocessing/variance_thresholding

1 file changed

+1
-1
lines changed

autoPyTorch/pipeline/components/preprocessing/tabular_preprocessing/variance_thresholding/VarianceThreshold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def fit(self, X: Dict[str, Any], y: Optional[Any] = None) -> 'VarianceThreshold'
2727

2828
def transform(self, X: Dict[str, Any]) -> Dict[str, Any]:
2929
if self.preprocessor['numerical'] is None:
30-
raise ValueError("cant call transform on {} without fitting first."
30+
raise ValueError("cannot call transform on {} without fitting first."
3131
.format(self.__class__.__name__))
3232
X.update({'variance_threshold': self.preprocessor})
3333
return X

0 commit comments

Comments
 (0)