Naman Goel
02/28/2025, 8:34 AMOlivier
02/28/2025, 10:39 AMspec = [["country"], ["country", "region"], ["country", "cluster"], ["country", "store"], ["country", "region", "cluster", "store"]]
In non-strict hierarchical structures like these, it's likely that you end up with small inconsistencies. I'd try out multiple reconcilers and see what works best for your use case.Naman Goel
02/28/2025, 10:58 AMOlivier
02/28/2025, 2:03 PMNaman Goel
03/01/2025, 5:07 PMNaman Goel
03/03/2025, 1:42 PMOlivier
03/03/2025, 2:15 PMdtw
too, but I'd start with the (much) faster default, which is euclidean
Naman Goel
03/04/2025, 8:26 AMNaman Goel
03/04/2025, 8:26 AMOlivier
03/04/2025, 8:33 AMY_hat_df = fcst.forecast(df=Y_train_df, h=group.horizon, fitted=True)
Y_fitted_df = fcst.forecast_fitted_values()
Y_rec_df = hrec.reconcile(Y_hat_df=Y_hat_df, Y_df=Y_fitted_df, S=S_df, tags=tags)
We'll soon make a new release that this fix is no longer required and the doc works as expected.Naman Goel
03/04/2025, 10:33 AMNaman Goel
03/04/2025, 10:37 AMOlivier
03/04/2025, 2:08 PM