Skip to content

Commit

Permalink
Update ARIMA search space params.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxjohn committed Apr 24, 2022
1 parent 53f54fa commit f5480d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hyperts/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def make_experiment(train_data,
mode='stats',
max_trials=3,
eval_size=0.2,
cv=False,
cv=True,
num_folds=3,
ensemble_size=10,
target=None,
Expand Down Expand Up @@ -86,7 +86,7 @@ def make_experiment(train_data,
Target feature name for training, which must be one of the train_data columns for classification[str],
regression[str] or unvariate forecast task [list]. For multivariate forecast task, it is multiple columns
of training data.
ensemble_size: 'int' or None, default None.
ensemble_size: 'int' or None, default 10.
The number of estimator to ensemble. During the AutoML process, a lot of models will be generated with different
preprocessing pipelines, different models, and different hyperparameters. Usually selecting some of the models
that perform well to ensemble can obtain better generalization ability than just selecting the single best model.
Expand Down
7 changes: 3 additions & 4 deletions hyperts/framework/search_space/macro_search_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,11 @@ def default_prophet_fit_kwargs(self):
def default_arima_init_kwargs(self):
return {
'p': Choice([0, 1, 2]),
'd': Choice([0, 1, 2]),
'd': Choice([0, 1]),
'q': Choice([0, 1, 2]),
'trend': Choice(['n', 'c', 't', 'ct']),
'seasonal_order': Choice([(1, 0, 0), (1, 0, 1), (1, 0, 1),
(1, 0, 2), (0, 2, 1), (0, 1, 2),
(2, 0, 1), (2, 0, 2), (0, 1, 1)]),
'seasonal_order': Choice([(1, 0, 0), (1, 0, 1), (1, 1, 1),
(0, 1, 2), (2, 0, 1), (0, 1, 1)]),
# 'period_offset': Choice([0, 0, 0, 0, 0, 0, 1, -1, 2, -2]),
'y_scale': Choice(['min_max']*8 + ['max_abs']*1 + ['z_scale']*1)
}
Expand Down

0 comments on commit f5480d7

Please sign in to comment.