model.predict() should not require presence of "target"
When I try to do model.predict(df) and df does not contain the target, I get an error.
In predict mode, it shouldn't care if the "target" is present or not, so it's unclear if I'm doing something wrong, or if it's expected behavior.
Can you post your training = TimeSeriesDataSet( ) statement. Where did you include "target"?
I'm running into the same issue.
When I try to do
model.predict(df)anddfdoes not contain the target, I get an error. In predict mode, it shouldn't care if the "target" is present or not, so it's unclear if I'm doing something wrong, or if it's expected behavior.
Have you find a solution?
When I try to do
model.predict(df)anddfdoes not contain the target, I get an error. In predict mode, it shouldn't care if the "target" is present or not, so it's unclear if I'm doing something wrong, or if it's expected behavior.Have you find a solution?
I have switched to using the DARTS package which is very similar and seems more intuitive, and more responsive devs. https://github.com/unit8co/darts
Yes of course there is a work around where you insert a dummy target.
But I actually started using the DARTS package which seems more intuitive and the devs are more responsive.
On Sat, May 28 2022 at 12:54 AM, daniwxcode < @.*** > wrote:
When I try to do model.predict(df) and df does not contain the target, I get an error. In predict mode, it shouldn't care if the "target" is present or not, so it's unclear if I'm doing something wrong, or if it's expected behavior.
Have you find a solution?
— Reply to this email directly, view it on GitHub ( https://github.com/jdb78/pytorch-forecasting/issues/960#issuecomment-1140189224 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAEHK27P2CSETWVN6OINM63VMG7LNANCNFSM5TXKLDUQ ). You are receiving this because you authored the thread. Message ID: <jdb78/pytorch-forecasting/issues/960/1140189224 @ github. com>