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:

   Inputnon linear

6:

   hidden_stateencoder (Input)

7:

   decode statedecoder (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:

ii + 1

14:

end while

or Create an Account

Close Modal
Close Modal