Skip to content

Commit

Permalink
fix: fix test_interval_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
d.a.bunin committed Jun 16, 2023
1 parent f07b8e7 commit a5ee7d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pipeline/test_hierarchical_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,9 @@ def test_interval_metrics(product_level_constant_hierarchical_ts, metric_type, r
results, _, _ = pipeline.backtest(
ts=ts,
metrics=[metric],
n_folds=2,
n_folds=1,
aggregate_metrics=True,
forecast_params={"prediction_interval": True, "n_folds": 1},
forecast_params={"prediction_interval": True, "n_folds": 2},
)
np.testing.assert_allclose(results[metric.name], answer)

Expand Down

0 comments on commit a5ee7d8

Please sign in to comment.