| Algorithm 3 Dynamic Learning |
|
Input: : bandwidth slice, S: list of local smoothing algorithms, : hybrid smoothed LSTM algorithm, k: list of hybrid Smoothed LSTM algorithms (6 in this case), Output: : statistically significant smoothed LSTM algorithm, E: Forecast Error Process 01: begin 02: ; 03: for all time steps do 04: ; 05: if Change is detected = true then//using Anderson–Darling 06: Stop forecasting at 07: smooth in using algorithms in S //algorithm 3 08: for ink 09: Build new hybrid LSTM models ( //algorithm 2 10: E Calculate Forecast error of using 11: k 12: Find in k the significant with Min(E) 13: If is significantly better than //(old-Existed forecast algorithm) then 14: replace by else if 15: keep 16: endif 17: endif 18: Loop |