Table 24 “Shunyi” data flow in N-beats model (ML).

From: Air quality prediction based on factor analysis combined with Transformer and CNN-BILSTM-ATTENTION models

Step

Input shape

Output shape

Input data

(Batchsize, 10)

(Batchsize, 10)

Block (trend/seasonality)

(Batchsize, 10)

(Batchsize, 10)

Backcast output

(Batchsize, 10)

(Batchsize, 10)

Forecast output

(Batchsize, 10)

(Batchsize, 2)