@@ -118,7 +118,7 @@ def test_set_pipeline_config():
118118 ])
119119def test_pipeline_get_budget (fit_dictionary_tabular , min_budget , max_budget , budget_type , expected ):
120120 BaseTask .__abstractmethods__ = set ()
121- estimator = BaseTask (task_type = 'tabular_classification' , ensemble_size = 0 )
121+ estimator = BaseTask (task_type = 'tabular_classification' )
122122
123123 # Fixture pipeline config
124124 default_pipeline_config = {
@@ -141,7 +141,7 @@ def test_pipeline_get_budget(fit_dictionary_tabular, min_budget, max_budget, bud
141141 smac_mock .return_value = smac
142142 estimator ._search (optimize_metric = 'accuracy' , dataset = dataset , tae_func = pipeline_fit ,
143143 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 ,
145145 total_walltime_limit = 20 , func_eval_time_limit_secs = 10 ,
146146 load_models = False )
147147 assert list (smac_mock .call_args )[1 ]['ta_kwargs' ]['pipeline_config' ] == default_pipeline_config
@@ -210,7 +210,6 @@ def test_init_ensemble_builder(backend):
210210 BaseTask .__abstractmethods__ = set ()
211211 estimator = BaseTask (
212212 backend = backend ,
213- ensemble_size = 0 ,
214213 )
215214
216215 # Setup pre-requisites normally set by search()
0 commit comments