LSTM-Neural-Network-for-Time-Series-Prediction icon indicating copy to clipboard operation
LSTM-Neural-Network-for-Time-Series-Prediction copied to clipboard

Cumulating prediction and normalization errors

Open ByteFan opened this issue 5 years ago • 3 comments

Hi,

Looking at the playback portion of your code you are cumulating natural NN error and normalization error.

Prior beeing append to the i+1 test widow, prediction result from rank i should be de-normalized according to rank i normative value then re-normalized according to rank i+1 normative value.

This error is stacking as long as the prediction moves to steps in the future from the last known real value.

ByteFan avatar Jan 31 '19 10:01 ByteFan

Hi,

Looking at the playback portion of your code you are cumulating natural NN error and normalization error.

Prior beeing append to the i+1 test widow, prediction result from rank i should be de-normalized according to rank i normative value then re-normalized according to rank i+1 normative value.

This error is stacking as long as the prediction moves to steps in the future from the last known real value.

Any suggestion for this issue? I

zhuchiheng avatar Feb 01 '19 15:02 zhuchiheng

No fix to suggest sorry. Just noticed the problem.

ByteFan avatar Feb 01 '19 16:02 ByteFan

prediction result from rank i Not only "prediction result from rank i " but also the whole new sequence of rank i+1 should be re-normalized based on the new 1st value in rank i+1 (and the new 1st valueshould be then 0)

chenhao-ai avatar Jun 22 '20 14:06 chenhao-ai