Time-series-prediction icon indicating copy to clipboard operation
Time-series-prediction copied to clipboard

About transformer prediction results

Open dingchaoyue opened this issue 4 years ago • 7 comments

I hope to get your suggestions on how to solve the problem about transformer prediction. I used the transformer model in the code to predict the data and got the results shown in the following figure. The transformer predicted results are horizontal and cannot fit the original upward sloping data.

transformer

dingchaoyue avatar May 16 '20 04:05 dingchaoyue

Just a guess but looks like the transformer is trying to predict the trend-removed data?

sauradefy99 avatar May 17 '20 07:05 sauradefy99

May be so, thank you for your reply.

dingchaoyue avatar May 27 '20 06:05 dingchaoyue

I am also getting 'constant' values for predictions (ie no time variation,)anybody had any luck with a good prediction?

deshanej avatar Mar 01 '21 18:03 deshanej

hello, did you solved this problem?

helloworld-wu avatar Mar 17 '21 08:03 helloworld-wu

I am also getting 'constant' values for predictions (ie no time variation)

helloworld-wu avatar Mar 17 '21 08:03 helloworld-wu

Yes, increasing the number of epochs, and changing the input_sequence_length helped.

djph29 avatar Mar 18 '21 02:03 djph29

I have this same problem too.And increasing the number of epochs or changing the input_sequence_length doesn't work.

MyLinChi avatar Mar 27 '21 02:03 MyLinChi