Skip to content

Commit 9585a3b

Browse files
committed
reduce automlx time budget
1 parent 9e044e3 commit 9585a3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/operators/forecast/test_datasets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_load_datasets(model, dataset_name):
165165
if model == "autots":
166166
yaml_i["spec"]["model_kwargs"] = {"model_list": "superfast"}
167167
if model == "automlx":
168-
yaml_i["spec"]["model_kwargs"] = {"time_budget": 50}
168+
yaml_i["spec"]["model_kwargs"] = {"time_budget": 2}
169169

170170
forecast_yaml_filename = f"{tmpdirname}/forecast.yaml"
171171
# with open(f"{tmpdirname}/forecast.yaml", "w") as f:
@@ -218,7 +218,7 @@ def run_operator(
218218
if model == "autots":
219219
yaml_i["spec"]["model_kwargs"] = {"model_list": "superfast"}
220220
if model == "automlx":
221-
yaml_i["spec"]["model_kwargs"] = {"time_budget": 50}
221+
yaml_i["spec"]["model_kwargs"] = {"time_budget": 2}
222222

223223
forecast_yaml_filename = f"{tmpdirname}/forecast.yaml"
224224
with open(f"{tmpdirname}/forecast.yaml", "w") as f:

tests/operators/forecast/test_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def populate_yaml(
219219
if model == "autots":
220220
yaml_i["spec"]["model_kwargs"] = {"model_list": "superfast"}
221221
if model == "automlx":
222-
yaml_i["spec"]["model_kwargs"] = {"time_budget": 50}
222+
yaml_i["spec"]["model_kwargs"] = {"time_budget": 2}
223223

224224
return yaml_i, output_data_path
225225

0 commit comments

Comments
 (0)