# Stride-TCN for Energy Consumption Forecasting and Its Optimization
## 4 Experiments
### Experimental Results and Comparison
#### 4.2.2 Results and Analysis
\begin{table}
\begin{tabular}{c c c c c c c c c c c c c c c c c} \hline \hline \multirow{2}{*}{**Method**} & \multicolumn{6}{c}{**Time Prediction**} \\ \cline{2-13}  & \multicolumn{2}{c}{**1 h**} & \multicolumn{2}{c}{**12 h**} & \multicolumn{2}{c}{**24 h**} & \multicolumn{2}{c}{**36 h**} & \multicolumn{2}{c}{**48 h**} & \multicolumn{2}{c}{**60 h**} & \multicolumn{2}{c}{**72 h**} & \multicolumn{2}{c}{**84 h**} \\ \cline{2-13}  & **MSE** & **MAE** & **MSE** & **MAE** & **MSE** & **MAE** & **MSE** & **MAE** & **MSE** & **MAE** & **MSE** & **MAE** & **MSE** & **MAE** & **MSE** & **MAE** \\ \hline LSTM & 0.0056 & 0.0517 & 0.0081 & 0.0656 & 0.0083 & 0.066 & 0.0085 & 0.08673 & 0.0086 & 0.0679 & 0.0091 & 0.0714 & 0.0089 & 0.0964 & 0.039 & 0.0711 \\ GRU & 0.0065 & 0.0569 & 0.0079 & 0.0657 & 0.0082 & 0.068 & 0.0083 & 0.0687 & 0.0085 & 0.0693 & 0.0085 & 0.0696 & 0.0086 & 0.0074 & 0.009 & 0.0732 \\ TCN & 0.0052 & 0.0496 & 0.0082 & 0.0058 & 0.0057 & 0.0087 & 0.0089 & 0.0089 & 0.0089 & 0.0063 & 0.0095 & 0.0724 & 0.0091 & 0.0712 & 0.009 & 0.0715 \\ Heuristic-stride-TCN & 0.0104 & 0.0798 & 0.0115 & 0.0863 & 0.0116 & 0.0871 & 0.0116 & 0.0873 & 0.0116 & 0.0874 & 0.0116 & 0.087 & 0.0116 & 0.0871 & 0.0117 & 0.0874 \\ \hline \multicolumn{13}{c}{Strict-TCN} \\ \hline
2 layers & 0.0063 & 0.0598 & 0.0088 & 0.0687 & 0.0089 & 0.0725 & 0.0088 & 0.0707 & 0.0099 & 0.0727 & 0.0093 & 0.0741 & 0.0093 & 0.0726 & 0.0093 & 0.0743 \\
3 layers & 0.0055 & 0.0503 & 0.0086 & 0.0707 & 0.0088 & 0.072 & 0.0099 & 0.0736 & 0.009 & 0.0726 & 0.009 & 0.0732 & 0.0093 & 0.0757 & 0.0096 & 0.078 \\
4 layers & 0.0054 & 0.0508 & 0.0101 & 0.0808 & 0.0104 & 0.0789 & 0.0094 & 0.073 & 0.0096 & 0.0751 & 0.0093 & 0.0754 & 0.0101 & 0.0808 & 0.0097 & 0.0777 \\ \hline \hline \end{tabular}
\end{table} 
Table 7: Performance (MSE and MAE) of all models on the Household dataset. \begin{table}
\begin{tabular}{c c c c c c c c c} \hline \hline \multicolumn{1}{c}{**Model**} & \multicolumn{6}{c}{**Time Prediction**} \\ \hline  & **1 h** & **12 h** & **24 h** & **36 h** & **48 h** & **60 h** & **72 h** & **84 h** \\ \hline LSTM & 372,351 & 374,012 & 375,824 & 377,636 & 379,448 & 381,260 & 383,072 & 384,884 \\ GRU & 103,747 & 104,462 & 105,242 & 106,022 & 106,082 & 107,582 & 108,362 & 109,142 \\ TCN & 23,681 & 1,495,436 & 269,144 & 646,052 & 647,600 & 1,501,628 & 659,696 & 11,716 \\ Heuristic-stride-TCN & 3521 & 3884 & 4280 & 467e & 50/2 & 5468 & 5864 & 6260 \\ \hline \multicolumn{13}{c}{Strict-TCN} \\ \hline
2 layers & 2081 & 30,540 & 31,320 & 32,100 & 32,880 & 9692 & 34,440 & 3492 \\
3 layers & 58,817 & 59,532 & 60,312 & 61,092 & 61,872 & 62,652 & 63,432 & 64,212 \\
4 layers & 87,899 & 1268 & 89,304 & 23,556 & 1992 & 91,644 & 180 \begin{table}
\begin{tabular}{c c c c c c c c c} \hline \hline \multicolumn{1}{c}{**Model**} & \multicolumn{6}{c}{**Time Prediction**} \\ \hline  & **1 h** & **12 h** & **24 h** & **36 h** & **48 h** & **60 h** & **72 h** & **84 h** \\ \hline LSTM & 372,351 & 374,012 & 375,824 & 377,636 & 379,448 & 381,260 & 383,072 & 384,884 \\ GRU & 103,747 & 104,462 & 105,242 & 106,022 & 106,802 & 107,582 & 108,362 & 109,142 \\ TCN & 6433 & 88,652 & 1,037,720 & 580,004 & 353,968 & 355,516 & 587,270 & 589,268 \\ Heuristic-stride-TCN & 3521 & 3884 & 4280 & 4676 & 5072 & 5468 & 5864 & 6260 \\ \hline \hline \end{tabular}
\end{table} 
Table 10: Models’ complexity in Spain dataset (dataset 2), demonstrated by the number of parameters. \begin{table} \begin{tabular}{c c c c c c c c} \hline \hline \multicolumn{1}{c}{**Model**} & \multicolumn{6}{c}{**Time Prediction**} \\ \hline  & **1 h** & **12 h** & **24 h** & **36 h** & **48 h** & **60 h** & **72 h** & **84 h** \\ \hline LSTM & 372,351 & 374,012 & 375,824 & 377,636 & 379,448 & 381,260 & 383,072 & 384,884 \\ GRU & 103,747 & 104,462 & 105,242 & 106,022 & 106,802 & 107,582 & 108,362 & 109,142 \\ TCN & 6433 & 88,652 & 1,037,720 & 580,004 & 353,968 & 355,516 & 587,270 & 589,268 \\ Heuristic-stride-TCN & 3521 & 3884 & 4280 & 4676 & 5072 & 5468 & 5864 & 6260 \\ \hline \hline \end{tabular}