We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48ab6d9 commit 90fc480Copy full SHA for 90fc480
tests/test_diagnostics.py
@@ -23,6 +23,7 @@ def diagnostic_data(tourism_df, hiers_grouped):
23
Y_df, S_df, tags = aggregate(df, hiers_grouped)
24
Y_df["y_model"] = Y_df["y"]
25
Y_hat_df = Y_df.groupby("unique_id").tail(4).copy()
26
+ ds_h = Y_hat_df["ds"].unique() # noqa: F841
27
Y_train_df = Y_df.query("~(ds in @ds_h)").copy()
28
29
# Add noise to base forecasts to make them incoherent
0 commit comments