Table 2.
The optimization process for the Bayesian LSTM networks.
Step | Optimization Process |
---|---|
0 | Set the scale parameter as . |
1 | Sample the random variable as . |
2 | Set the initial value of the optimized parameters . |
3 | Sample all the parameters as . |
4 | Set the cost function as . |
5 | Calculate the gradient by the mean with the training data D as . |
6 | Calculate the gradient by the standard deviation with the training data D as . |
7 | Update the parameters as the following: . |