Algorithm 1.
Pseudo code for predicting with UE (Pettersson and Falkman, 2020).
| Input: X, nrOfPredictions |
| Output: Ŷ, ŶSTD |
| 1: predictions = [] |
| 2: for i = 0 to nrOfPredictions do |
| 3: predictions[i] = network.predict(X) |
| 4: end for |
| 5: Ŷ, ŶSTD = mean(predictions), std(predictions) |
| 6: return Ŷ, ŶSTD |