Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinkohli committed Jun 16, 2021
1 parent 2fa0913 commit 15064f5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ def get_hyperparameter_search_space(self,
default_value=default)
else:
# Truncated SVD requires n_features > n_components
if len(dataset_properties['numerical_columns']) if isinstance(
dataset_properties['numerical_columns'], List) else 0 == 1:
if len(numerical_columns) == 1:
del available_['TruncatedSVD']
preprocessor = CSH.CategoricalHyperparameter('__choice__',
list(available_.keys()),
Expand Down

0 comments on commit 15064f5

Please sign in to comment.