Replies: 3 comments 3 replies
-
Hi, thanks for using MF! I created the starter notebooks for that competition, so let me check. My first hunch would be that the dropped ids have no sales at all during the insample period. I'll have a run with your notebook locally to verify. |
Beta Was this translation helpful? Give feedback.
-
Hi, the code errors on this line:
Could you make the example so that it runs until it gives the reconciliation error? I couldn't easily fix your code, and I am sure it's an easy fix for you. |
Beta Was this translation helpful? Give feedback.
-
Hi, The missing id's are those id's for which the model can't do the cross-validation as there's too little data to compute all the features. You can check it by running:
Using less lags will increase the set of unique id's in |
Beta Was this translation helpful? Give feedback.
-
Im attempting on using the Hierarchical Forecasting feature in nixtal when i ran across this problem:
Then i attempted to check the number of unique_ids for both the forecast df and insample prediction df and found that both are indeed different. The code i used to check is below:
the result for 'print(len(insample_mf_unique))' is 11864
and the result for 'print(len(yhat_test_unique))' is 15372
and df has 15372 unique_id's so for some reason the insample fitted values are dropping unique_id's for some reason.
My entire code is below:
The file i used for this code and uploaded below:
Uploading Phase 0 - Sales.csv…
Uploading Phase 0 - Price.csv…
Beta Was this translation helpful? Give feedback.
All reactions