Skip to content

Commit f5480d7

Browse files
committed
Update ARIMA search space params.
1 parent 53f54fa commit f5480d7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

hyperts/experiment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def make_experiment(train_data,
2222
mode='stats',
2323
max_trials=3,
2424
eval_size=0.2,
25-
cv=False,
25+
cv=True,
2626
num_folds=3,
2727
ensemble_size=10,
2828
target=None,
@@ -86,7 +86,7 @@ def make_experiment(train_data,
8686
Target feature name for training, which must be one of the train_data columns for classification[str],
8787
regression[str] or unvariate forecast task [list]. For multivariate forecast task, it is multiple columns
8888
of training data.
89-
ensemble_size: 'int' or None, default None.
89+
ensemble_size: 'int' or None, default 10.
9090
The number of estimator to ensemble. During the AutoML process, a lot of models will be generated with different
9191
preprocessing pipelines, different models, and different hyperparameters. Usually selecting some of the models
9292
that perform well to ensemble can obtain better generalization ability than just selecting the single best model.

hyperts/framework/search_space/macro_search_space.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,11 @@ def default_prophet_fit_kwargs(self):
242242
def default_arima_init_kwargs(self):
243243
return {
244244
'p': Choice([0, 1, 2]),
245-
'd': Choice([0, 1, 2]),
245+
'd': Choice([0, 1]),
246246
'q': Choice([0, 1, 2]),
247247
'trend': Choice(['n', 'c', 't', 'ct']),
248-
'seasonal_order': Choice([(1, 0, 0), (1, 0, 1), (1, 0, 1),
249-
(1, 0, 2), (0, 2, 1), (0, 1, 2),
250-
(2, 0, 1), (2, 0, 2), (0, 1, 1)]),
248+
'seasonal_order': Choice([(1, 0, 0), (1, 0, 1), (1, 1, 1),
249+
(0, 1, 2), (2, 0, 1), (0, 1, 1)]),
251250
# 'period_offset': Choice([0, 0, 0, 0, 0, 0, 1, -1, 2, -2]),
252251
'y_scale': Choice(['min_max']*8 + ['max_abs']*1 + ['z_scale']*1)
253252
}

0 commit comments

Comments
 (0)