Regression Prediction of Smart Home Power Consumption Based on Machine Learning Algorithms
Abstract
With the acceleration of the global energy transition process and the wide popularization of smart homes, household electricity consumption data is showing high-frequency and multi-dimensional characteristics. Hourly electricity consumption prediction has gradually become a key technical link to support the load dispatching of smart grids and help users achieve energy-saving management. Machine learning algorithms, with their powerful nonlinear fitting capabilities and efficient feature learning abilities, provide effective solutions for temporal power consumption prediction. This paper proposes the HLOA-CNN-BIGRU regression algorithm. Firstly, correlation analysis and violin plot analysis are carried out. Then, through comparative experiments of multiple machine learning algorithms, it is found that the KELM-LSTM-Transformer algorithm shows significant advantages in all indicators: Its MSE is 0.002, which is much lower than the minimum value of 0.006 in other algorithms. The RMSE is 0.047, significantly lower than the minimum value of 0.075 in other algorithms. The MAE is 0.038, which is significantly better than the minimum value of 0.056 in other algorithms. The MAPE is 2.28%, which is lower than the minimum value of 3.49% in other algorithms. R² is 99.4%, which is higher than the maximum value of 98.7% in other algorithms. Among traditional algorithms, ExtraTrees has a relatively superior overall performance, with R² reaching 98.7%, RMSE 0.075, and MAPE 3.58%, outperforming algorithms such as AdBoost and Random Forest. The overall performance of GBDT is relatively weak, with R² being only 96.8%, and MSE, RMSE, MAE, and MAPE are all the highest among all traditional algorithms. The R² of CatBoost is 97.8%, and its various error indicators are also higher than those of algorithms such as ExtraTrees and AdBoost. Overall, the KELM-LSTM-Transformer algorithm comprehensively outperforms other compared machine learning algorithms in terms of prediction accuracy and fitting effect, with stronger performance, providing important technical support for the efficient operation of smart grids and the refined management of household energy.
References
- Beccali, M., et al. "Short-term prediction of household electricity consumption: Assessing weather sensitivity in a Mediterranean area." Renewable and Sustainable Energy Reviews 12.8 (2008): 2040-2065.
- Ramnath, Gaikwad Sachin, et al. "Household electricity consumption prediction using database combinations, ensemble and hybrid modeling techniques." Scientific Reports 14.1 (2024): 22891.
- Shen, Meng, et al. "Prediction of household electricity consumption and effectiveness of concerted intervention strategies based on occupant behaviour and personality traits." Renewable and Sustainable Energy Reviews 127 (2020): 109839.
- Xia, Zhong, et al. "Day-ahead electricity consumption prediction of individual household–capturing peak consumption pattern." IEEE Transactions on Smart Grid 15.3 (2023): 2971-2984.
- Cascone, Lucia, et al. "Predicting household electric power consumption using multi-step time series with convolutional LSTM." Big Data Research 31 (2023): 100360.
- Suresh, M., et al. "Household electricity power consumption prediction using CNN-GRU techniques." 2021 International Conference on System, Computation, Automation and Networking (ICSCAN). IEEE, 2021.
- Viegas, Joaquim L., Susana M. Vieira, and João MC Sousa. "Fuzzy clustering and prediction of electricity demand based on household characteristics." 2015 Conference of the International Fuzzy Systems Association and the European Society for Fuzzy Logic and Technology (IFSA-EUSFLAT-15). Atlantis Press, 2015.
- Selvam, N., et al. "Monitoring of Individual Household Electrical Appliances and Prediction of Energy Consumption Using Machine Learning." 2024 5th International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV). IEEE, 2024.
- Atef, Sara, Nourhan Ismail, and Amr B. Eltawil. "A new fuzzy logic based approach for optimal household appliance scheduling based on electricity price and load consumption prediction." Advances in Building Energy Research 16.2 (2022): 262-280.
- Zheng, Zhuang, Hainan Chen, and Xiaowei Luo. "Spatial granularity analysis on electricity consumption prediction using LSTM recurrent neural network." Energy Procedia 158 (2019): 2713-2718.