Skip to content

Commit 90fc480

Browse files
committed
add_ds_h
1 parent 48ab6d9 commit 90fc480

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_diagnostics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def diagnostic_data(tourism_df, hiers_grouped):
2323
Y_df, S_df, tags = aggregate(df, hiers_grouped)
2424
Y_df["y_model"] = Y_df["y"]
2525
Y_hat_df = Y_df.groupby("unique_id").tail(4).copy()
26+
ds_h = Y_hat_df["ds"].unique() # noqa: F841
2627
Y_train_df = Y_df.query("~(ds in @ds_h)").copy()
2728

2829
# Add noise to base forecasts to make them incoherent

0 commit comments

Comments
 (0)