Abstract
Due to the disparity between energy supply and demand, forecasting power consumption plays a crucial role in the global economy, especially during current turbulent times. Energy managers can enhance their power management and bring in energy efficiency with the use of machine learning models, which have gained widespread recognition for their accurate prediction. The author found random forest as the best-performing model for forecasting power generation based on the meteorological factors in his previous paper. On the basis of that, in this paper author has employed only tree-based algorithms and did a comparative analysis among them for predicting power consumption. We have used a publically available dataset of Tetouan city for our analysis and used a variety of evaluation metrics to gauge how well each model performs. Based on the experimentation, XGBoost came out as the best-performing model which performed equally well on both the training and test set.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Zhong H, Wang J, Jia H, Mu Y, Lv S (2019) Vector field-based support vector regression for building energy consumption prediction. Appl Energy 242:403–414
Lei R, Yin J (2022) Prediction method of energy consumption for high building based on LMBP neural network. Energy Rep 8:1236–1248
Moon J, Park S, Rho S, Hwang E (2022) Robust building energy consumption forecasting using an online learning approach with R ranger. J Build Eng 47:103851
Paudel S, Elmitri M, Couturier S, Nguyen PH, Kamphuis R, Lacarrière B, Le Corre O (2017) A relevant data selection method for energy consumption prediction of low energy building based on support vector machine. Energy Build 138:240–256
Liu Y, Chen H, Zhang L, Wu X, Wang X-J (2020) Energy consumption prediction and diagnosis of public buildings based on support vector machine learning: a case study in china. J Clean Prod 272:122542
Wong SL, Wan KK, Lam TN (2010) Artificial neural networks for energy analysis of office buildings with daylighting. Appl Energy 87(2):551–557
Aydinalp-Koksal M, Ugursal VI (2008) Comparison of neural network, conditional demand analysis, and engineering approaches for modeling end-use energy consumption in the residential sector. Appl Energy 85(4):271–296
Azadeh A, Ghaderi S, Sohrabkhani S (2008) Annual electricity consumption forecasting by neural network in high energy consuming industrial sectors. Energy Convers Manage 49(8):2272–2278
Amber K, Ahmad R, Aslam M, Kousar A, Usman M, Khan MS (2018) Intelligent techniques for forecasting electricity consumption of buildings. Energy 157:886–893
Ahmad MW, Mourshed M, Rezgui Y (2017) Trees vs. neurons: comparison between random forest and ANN for high-resolution prediction of building energy consumption. Energy Build 147:77–89
Salam A, El Hibaoui A (2018) Comparison of machine learning algorithms for the power consumption prediction:-case study of Tetouan city-. In: 2018 6th international renewable and sustainable energy conference (IRSEC). IEEE 2018, pp 1–5
Swain PH, Hauska H (1977) The decision tree classifier: design and potential. IEEE Trans Geosci Electron 15(3):142–147
Rawat DS, Padmanabh K (2021) Prediction of solar power in an IoT-enabled solar system in an academic campus of India, pp 419–431
Dua D, Graff C (2017) UCI machine learning repository. [Online]. Available: http://archive.ics.uci.edu/ml
Wang Z, Wang Y, Zeng R, Srinivasan RS, Ahrentzen S (2018) Random forest based hourly building energy prediction. Energy Build 171:11–25
Lu H, Ma X (2020) Hybrid decision tree-based machine learning models for short-term water quality prediction. Chemosphere 249:126169
Zogaan WA, Power consumption prediction using random forest model
Asvapoositkul S, Preece R (2021) Decision tree-based prediction model for small signal stability and generation-rescheduling preventive control. Electr Power Syst Res 196:107200
Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M, Duchesnay E (2011) Scikit-learn: machine learning in Python. J Mach Learn Res 12:2825–2830
Ma Z, Ye C, Li H, Ma W (2018) Applying support vector machines to predict building energy consumption in China. Energy Proc 152:780–786
Vinagre E, Pinto T, Ramos S, Vale Z, Corchado JM (2016) Electrical energy consumption forecast using support vector machines. In: 27th international workshop on database and expert systems applications (DEXA). IEEE 2016, pp 171–175
Ngo N-T, Truong TTH, Truong N-S, Pham A-D, Huynh N-T, Pham TM, Pham VHS (2022) Proposing a hybrid metaheuristic optimization algorithm and machine learning model for energy use forecast in non-residential buildings. Sci Rep 12(1):1–18
Jiang R, Tang W, Wu X, Fu W (2009) A random forest approach to the detection of epistatic interactions in case-control studies. BMC Bioinform 10(1):1–12
Genuer R, Poggi J-M, Tuleau-Malot C (2010) Variable selection using random forests. Pattern Recogn Lett 31(14):2225–2236
Freund Y, Schapire RE (1997) A decision-theoretic generalization of on-line learning and an application to boosting. J Comput Syst Sci 55(1):119–139
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Rawat, D.S., Premraj, D.M. (2023). Predicting Power Consumption Using Tree-Based Model. In: Devedzic, V., Agarwal, B., Gupta, M.K. (eds) Proceedings of the International Conference on Intelligent Computing, Communication and Information Security. ICICCIS 2022. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-99-1373-2_15
Download citation
DOI: https://doi.org/10.1007/978-981-99-1373-2_15
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-1372-5
Online ISBN: 978-981-99-1373-2
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)