How to calculate prediction intervals with LSTM's deterministic prediction?

10 次查看(过去 30 天)
How to calculate prediction interval/ predictive density with LSTM time series point forecast data?

回答(1 个)

Aneela
Aneela 2024-4-23,6:47
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

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by