File tree 1 file changed +4
-2
lines changed
autoPyTorch/pipeline/components/preprocessing/tabular_preprocessing/coalescer
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def get_hyperparameter_search_space(self,
65
65
raise ValueError ("no coalescer found, please add a coalescer" )
66
66
67
67
if default is None :
68
- defaults = ['MinorityCoalescer ' , 'NoCoalescer ' ]
68
+ defaults = ['NoCoalescer ' , 'MinorityCoalescer ' ]
69
69
for default_ in defaults :
70
70
if default_ in available_preprocessors :
71
71
if include is not None and default_ not in include :
@@ -111,8 +111,10 @@ def get_hyperparameter_search_space(self,
111
111
112
112
# add only child hyperparameters of early_preprocessor choices
113
113
for name in preprocessor .choices :
114
+ updates = self ._get_search_space_updates (prefix = name )
114
115
preprocessor_configuration_space = available_preprocessors [name ].\
115
- get_hyperparameter_search_space (dataset_properties )
116
+ get_hyperparameter_search_space (dataset_properties ,
117
+ ** updates )
116
118
parent_hyperparameter = {'parent' : preprocessor , 'value' : name }
117
119
cs .add_configuration_space (name , preprocessor_configuration_space ,
118
120
parent_hyperparameter = parent_hyperparameter )
You can’t perform that action at this time.
0 commit comments