Skip to content

Find new cases to fail in test_inference #794

Merged
merged 3 commits into from
Jul 13, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions tests/test_models/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ def _test_forecast_out_sample_suffix(ts, model, transforms):
(HoltWintersModel(), []),
(SimpleExpSmoothingModel(), []),
(MovingAverageModel(window=3), []),
(NaiveModel(), []),
(NaiveModel(lag=3), []),
(SeasonalMovingAverageModel(), []),
(BATSModel(), []),
(TBATSModel(), []),
(BATSModel(use_trend=True), []),
(TBATSModel(use_trend=True), []),
],
)
def test_forecast_in_sample_full(model, transforms, example_tsds):
Expand Down Expand Up @@ -183,10 +183,10 @@ def test_forecast_in_sample_full_failed(model, transforms, example_tsds):
(HoltWintersModel(), []),
(SimpleExpSmoothingModel(), []),
(MovingAverageModel(window=3), []),
(NaiveModel(), []),
(NaiveModel(lag=3), []),
(SeasonalMovingAverageModel(), []),
(BATSModel(), []),
(TBATSModel(), []),
(BATSModel(use_trend=True), []),
(TBATSModel(use_trend=True), []),
],
)
def test_forecast_in_sample_suffix(model, transforms, example_tsds):
Expand Down Expand Up @@ -246,9 +246,9 @@ def test_forecast_in_sample_suffix_failed(model, transforms, example_tsds):
(SimpleExpSmoothingModel(), []),
(MovingAverageModel(window=3), []),
(SeasonalMovingAverageModel(), []),
(NaiveModel(), []),
(BATSModel(), []),
(TBATSModel(), []),
(NaiveModel(lag=3), []),
(BATSModel(use_trend=True), []),
(TBATSModel(use_trend=True), []),
],
)
def test_forecast_out_sample_prefix(model, transforms, example_tsds):
Expand Down Expand Up @@ -305,9 +305,6 @@ def test_forecast_out_sample_prefix_failed(model, transforms, example_tsds):
(HoltModel(), []),
(HoltWintersModel(), []),
(SimpleExpSmoothingModel(), []),
(NaiveModel(), []),
(BATSModel(), []),
(TBATSModel(), []),
(
TFTModel(max_epochs=1, learning_rate=[0.01]),
[
Expand Down Expand Up @@ -335,6 +332,9 @@ def test_forecast_out_sample_suffix(model, transforms, example_tsds):
(AutoARIMAModel(), []),
(MovingAverageModel(window=3), []),
(SeasonalMovingAverageModel(), []),
(NaiveModel(lag=3), []),
(BATSModel(use_trend=True), []),
(TBATSModel(use_trend=True), []),
(
DeepARModel(max_epochs=5, learning_rate=[0.01]),
[
Expand Down