Day of week and public holidays presented as categorical variables were also controlled in the models. Seasonality and long-term trends were controlled using a natural cubic spline of time with 7 degrees of freedom per year, a common choice for time-series studies38. In the second stage, we ...
Based on the above analysis, this work selected basic features for the model, such as historical loads, temperatures, seasons, weekdays, and holidays, each of which required a different preprocessing method. Categorical features such as seasons, weekdays, and holidays are processed using a one-hot...