MATLAB LSTM chickenpox example is the only working case

Hi,
I'm studying LSTM networks forecasting, looking at the chickenpox example on MATLAB website, I've learned how to perform a multistep forecasting of time series.
I applied those concepts to a simple sin function time history and it worked, then I used another time history, similar to the chickenpox cases one, give by MATLAB and the forecasting didn't worked.
Even modifying the lstm layer properties or the training options. I tried also to modify the architecture. It simply doesn't work.
The "predicting" is working properly but "forecasting" is only working on that specific time series given for the example.
I attach the test time history I'm trying to forecast, the result is a line or at maximum a sinusoidal shape, not reproducing all the peaks of the original time history.

1 Comment

Hi, how does your data looks like? Is it similar as the chicken pox example where it is just one row with multiple columns ?

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 25 Mar 2020

Commented:

on 27 Sep 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!