- Use Dropout in the LSTM layers not just during training but also during prediction for randomness.
- Make multiple predictions for the same input data with dropout enabled.
- The multiple distributions for each time step form an empirical distribution that can be used as Predictive Density.
- The variance in these predictions can be used to estimate the Prediction Interval.
How to calculate prediction intervals with LSTM's deterministic prediction?
7 views (last 30 days)
Show older comments
How to calculate prediction interval/ predictive density with LSTM time series point forecast data?
0 Comments
Answers (1)
Aneela
on 23 Apr 2024
Hi Israt Fatema,
Monte Carlo Dropout technique can be used to estimate prediction intervals and predictive density for LSTM.
Refer to the following MathWorks documentation for more information on Dropout layer:. https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.dropoutlayer.html
0 Comments
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!