Skip to content

Commit c6eff4c

Browse files
authored
Update autoPyTorch/pipeline/components/preprocessing/tabular_preprocessing/feature_preprocessing/Nystroem.py
1 parent 57d002a commit c6eff4c

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

autoPyTorch/pipeline/components/preprocessing/tabular_preprocessing/feature_preprocessing/Nystroem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def get_hyperparameter_search_space(
116116
if len(value_range) == 0:
117117
value_range = ["poly"]
118118

119-
if sorted(value_range) != sorted(list(score_func.value_range)):
119+
if sorted(value_range) != sorted(list(kernel.value_range)):
120120
warnings.warn(f"Given choices for `score_func` are not compatible with the dataset. "
121121
f"Updating choices to {value_range}")
122122

0 commit comments

Comments
 (0)