-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing documentation regarding Independent multi-time series forecasting and exogenous features #531
Comments
After reading the source code, I figured that the drawing is representing what is happening under the hood. I still do not know how to prepare my data in that case. |
Hi @valentin-fngr, We will try to improve the documentation in the next release for better clarity. |
Hello @valentin-fngr Thanks for opening the issue. If I understand you correctly, your problem is that you want to add a different exogenous variable per series. Could you give us some information about your use case? We have this feature in the backlog, but the only use case that comes to my mind that needs this is for example modeling a time series by countries and you need a different vacation indicator for each of them. As for the documentation, yes, you are right, this is what happens under the hood. Please see the updated user guide at the following link, where I have added a new section on exogenous variables: https://skforecast.org/latest/user_guides/independent-multi-time-series-forecasting It is important to know that the dataframe that One column for each target variable (item_1, item_2 and item_3) and additionals with the exogenous variables. Please, let us know your thoughts on this 😄 |
Do you have any workaround regarding my specific problem ? |
Hi @valentin-fngr, We are always open to new ideas. If you have any suggestions, we would be happy to discuss them with you. |
So, I cam with a work around which is not exactly what I want but it somehow yields interesting results so I might as well share it. I create pivot tables for both the targets and the features. This is in the case of a multi-series approach :
So basically this allows me to stack, for each timestamp, all features for each time series. |
Hi,
in your code example : Independent multi-time series forecasting.
You are providing a very good tutorial on how to learn from independent multi time series, BUT, you do not provide any indication on how to provide exogenous features ?
There is drawing which confuses me a lot, as I do not know I am supposed to process my dataframe that way or you are just showing what is happening behind the hood :
I have the following columns :
id : the id of my time series
X1 - X800 : a list of 800 features
y : my target
What dataframe format is backtesting_forecaster_multiseries expecting ?
The given dataset used in the example and the drawing above do not align.
Thank you very much
The text was updated successfully, but these errors were encountered: