How to calculate prediction intervals with LSTM's deterministic prediction?
Show older comments
How to calculate prediction interval/ predictive density with LSTM time series point forecast data?
Answers (1)
Aneela
on 23 Apr 2024
0 votes
Hi Israt Fatema,
Monte Carlo Dropout technique can be used to estimate prediction intervals and predictive density for LSTM.
- 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.
Refer to the following MathWorks documentation for more information on Dropout layer:. https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.dropoutlayer.html
Categories
Find more on Deep Learning Toolbox 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!