-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
id column in the result of make_forecasting_frame have only (id, ?) as identifier #1077
Comments
I look through the source code, there is some hard coding part in it. I copy the function to my local computer and modify it to receive a id field, to replace the 'id' hard coding part, it works for me now. |
Hi @heib6xinyu As you already looked into the code, you have probably seen that the |
Yes roll time series is definitely more powerful, I just like the make forecasting frame for it automatically match the y, for some specific use cases (like my project with multiple time series and features), I just modify the make forecasting frame locally. So I can call it on a loop group by Id and feature, then concat the result. Definitely less efficient but easier for my lazy self lol. |
Oh oops I accidentally hit the open with my tiny cell phone screen, don't mind me. Sorry for the trouble |
The problem: make_forecasting_frame function provide frame and y with id column in the format of (id,1), (id,2) instead of like the documentation described (For identifying every subsequence, tsfresh uses the time stamp of the point that will be predicted together with the old identifier as “id”.)
You should be able to recreate my problem using the above code
As you can see, there are only (id, time), I have no way to see which product the data actually belongs to.
Anything else we need to know?: I would hope the result looks like (p001,1),...,(p003, 4), but I don't know how to.
Environment:
The text was updated successfully, but these errors were encountered: