Algorithm 1RCSNet training algorithm | |
Require:Input: Xall =(X1, X2,⋯,XN) e RN×T, Parameters | |
Ensure:To predict final result sets yfinal=(y1final , y2final,⋯yNfinal), The target result is xtarget=(x1target , x2target,⋯xNtarget) | |
1: | whileInput series is not finished (i < N) do |
2: | linear_predict ← ARIMA(xi) |
3: | non_linear ← xtarget- linear_predict |
4: | ifnon_linear component exists then |
5: | Input ← non linear |
6: | hidden_state ← encoder (Input) |
7: | decode state ← decoder (hidden state) |
8: | To generate: non_linear_predict |
9: | end if |
10: | combine_prediction: |
linear_predict and non_linear_predict intermediate results to Fully connected layer to get yfinal series | |
11: | To minimize the loss of Σ (yifmal – xitarget) |
12: | update Parameters to decrease the loss |
13: | i ← i + 1 |
14: | end while |
1: | |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | To generate: |
9: | |
10: | combine_prediction: |
| |
11: | To minimize the loss of Σ ( |
12: | update Parameters to decrease the loss |
13: | |
14: | |
Sharing content requires targeting cookies to be enabled. Please update your cookie preferences to use this feature.