oliverguhr / transformer-time-series-prediction

proof of concept for a transformer-based time series prediction model
MIT License
1.28k stars 242 forks source link

is it possible to predict the turning point of time series? #30

Open yuchengzh opened 1 month ago

yuchengzh commented 1 month ago

thanks for your great work! I have tried your single-step script to train and test for a certain time series dataset. However, I noticed that although the predicted curve is close to the ground truth by mean squared error, it seems always falls behind in predicting turning point of the curve. For example, if the actual turning point appears at time point 10, my predicted turning point will probably appear at time point 11 or 12, seems unable to predict that turning point at the actual time point. did you run into the same issue by any chance? do you have any suggestions?

oliverguhr commented 1 month ago

Interesting question, I see multiple options here:

Let me know what worked for you :)

Best, Oliver