Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
  • Loading branch information
ravinkohli and nabenabe0928 authored Feb 8, 2022
1 parent 8955996 commit 06ed896
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def fit(self, X: Dict[str, Any], y: Optional[Any] = None) -> 'VarianceThreshold'

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

0 comments on commit 06ed896

Please sign in to comment.