@@ -118,7 +118,7 @@ def test_set_pipeline_config():
118
118
])
119
119
def test_pipeline_get_budget (fit_dictionary_tabular , min_budget , max_budget , budget_type , expected ):
120
120
BaseTask .__abstractmethods__ = set ()
121
- estimator = BaseTask (task_type = 'tabular_classification' , ensemble_size = 0 )
121
+ estimator = BaseTask (task_type = 'tabular_classification' )
122
122
123
123
# Fixture pipeline config
124
124
default_pipeline_config = {
@@ -141,7 +141,7 @@ def test_pipeline_get_budget(fit_dictionary_tabular, min_budget, max_budget, bud
141
141
smac_mock .return_value = smac
142
142
estimator ._search (optimize_metric = 'accuracy' , dataset = dataset , tae_func = pipeline_fit ,
143
143
min_budget = min_budget , max_budget = max_budget , budget_type = budget_type ,
144
- enable_traditional_pipeline = False ,
144
+ ensemble_size = 0 , enable_traditional_pipeline = False ,
145
145
total_walltime_limit = 20 , func_eval_time_limit_secs = 10 ,
146
146
load_models = False )
147
147
assert list (smac_mock .call_args )[1 ]['ta_kwargs' ]['pipeline_config' ] == default_pipeline_config
@@ -167,7 +167,6 @@ def test_init_ensemble_builder(backend):
167
167
BaseTask .__abstractmethods__ = set ()
168
168
estimator = BaseTask (
169
169
backend = backend ,
170
- ensemble_size = 0 ,
171
170
)
172
171
173
172
# Setup pre-requisites normally set by search()
0 commit comments