Estimating Residential Natural Gas Demand and Consumption: A Hybrid Ensemble Machine Learning Approach
DOI:
https://doi.org/10.26740/vubeta.v2i3.40135Keywords:
Estimation, Natural gas, Hybrid, Ensemble, Machine learningAbstract
The routine use of natural gas, particularly in residential settings, has been integral to human activities for many decades. This study proposes a hybrid ensemble regression machine learning model for forecasting residential natural gas demand. Accurate demand prediction is essential for efficient energy management and resource planning. The proposed approach integrates multiple regression algorithms including K-Nearest Neighbors (KNN), Support Vector Regression (SVR), Decision Tree Regression (DTR), and Linear Regression (LR) to leverage the strengths of each model and enhance overall predictive performance. The ensemble method operates in two phases: training individual regression models on the dataset, followed by aggregating their predictions. Model performance is evaluated using metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), coefficient of determination (R²), and prediction accuracy, and is benchmarked against individual models. Cross-validation techniques were applied to ensure the robustness of the results. Experimental consequences demonstrate that the hybrid ensemble approach consistently outperforms standalone models by capturing diverse patterns and relationships within the data.
References
[1] Y. Li, Y. He, & M. Zhang, "Prediction of Chinese Energy Structure Based on Convolutional Neural Network‐Long Short‐Term Memory (CNN‐LSTM)", Energy Science & Engineering, vol. 8, no. 8, pp. 2680-2689, 2020. https://doi.org/10.1002/ese3.698
[2] S. Ahmed, S. Madanian, and F. Mirza, “Prediction of Natural Gas Consumption in Bahçe ş ehir Using Machine Learning Prediction of Natural Gas Consumption in Bahçe ş ehir Using Machine Learning Models,” ACIS 2020 Proceedings, 2021. https://aisel.aisnet.org/acis2020/12
[3] O. Laib, M. Khadir, & L. Mihaylova, "Toward Efficient Energy Systems Based on Natural Gas Consumption Prediction with LSTM Recurrent Neural Networks", Energy, vol. 177, pp. 530-542, 2019. https://doi.org/10.1016/j.energy.2019.04.075
[4] L. Chen and J. Zhang, "A Forecast Model of City Natural Gas Daily Load Based on Data Mining", Scientific Programming, vol. 2022, pp. 1-14, 2022. https://doi.org/10.1155/2022/1562544
[5] Ö. Beyca, B. Ervural, E. Tatoğlu, P. Özuyar, & S. Zaim, "Using Machine Learning Tools for Forecasting Natural Gas Consumption in the Province of Istanbul", Energy Economics, vol. 80, pp. 937-949, 2019. https://doi.org/10.1016/j.eneco.2019.03.006
[6] D. Then, C. Spalthoff, J. Bauer, T. Kneiske, & M. Braun, "Impact of Natural Gas Distribution Network Structure and Operator Strategies on Grid Economy in Face of Decreasing Demand", Energies, vol. 13, no. 3, pp. 664, 2020. https://doi.org/10.3390/en13030664
[7] N. Tian, B. Shao, G. Bian, H. Zeng, X. Li, & W. Zhao, "Application of Forecasting Strategies and Techniques to Natural Gas Consumption: A Comprehensive Review and Comparative Study", Engineering Applications of Artificial Intelligence, vol. 129, pp. 107644, 2024. https://doi.org/10.1016/j.engappai.2023.107644
[8] T. Le, M. Vo, B. Vo, E. Hwang, S. Rho, & S. Baik, "Improving Electric Energy Consumption Prediction Using CNN and Bi-LSTM", Applied Sciences, vol. 9, no. 20, pp. 4237, 2019. https://doi.org/10.3390/app9204237
[9] A. Mehbodniya, I. Alam, S. Pande, R. Neware, K. Rane, M. Shabaz et al., "Financial Fraud Detection in Healthcare Using Machine Learning and Deep Learning Techniques", Security and Communication Networks, vol. 2021, pp. 1-8, 2021. https://doi.org/10.1155/2021/9293877
[10] M. S. U. Miah, J. Sulaiman, M. I. Islam, M. Masuduzzaman et al., "Predicting Short Term Energy Demand in Smart Grid: A Deep Learning Approach for Integrating Renewable Energy Sources in Line with SDGs 7, 9, and 13," ResearchGate Preprint, 2023. https://doi.org/10.48550/arXiv.2304.03997
[11] A. Hajikhani and A. Suominen, "Mapping the Sustainable Development Goals (SDGs) in Science, Technology and Innovation: Application of Machine Learning in SDG-Oriented Artefact Detection", Scientometrics, vol. 127, no. 11, pp. 6661-6693, 2022. https://doi.org/10.1007/s11192-022-04358-x
[12] F. Shaikh and D. Rao, "Prediction of Cancer Disease using Machine Learning Approach", Materials Today: Proceedings, vol. 50, pp. 40-47, 2022. https://doi.org/10.1016/j.matpr.2021.03.625
[13] M. Su, Z. Zhang, Y. Zhu, D. Zha, & W. Wen, "Data Driven Natural Gas Spot Price Prediction Models Using Machine Learning Methods", Energies, vol. 12, no. 9, pp. 1680, 2019. https://doi.org/10.3390/en12091680
[14] K. Yin and S. Htay, "Prediction of Natural Gas Final Consumption using Artificial Neural Networks", 2020 International Conference on Advanced Information Technologies (ICAIT), pp. 224-229, 2020. https://doi.org/10.1109/icait51105.2020.9261813
[15] X. Liu, G. Hou, & L. Yang, "Dynamic Combined Optimal Scheduling of Electric Energy and Natural Gas Energy Consumption in Data Center", Discrete Dynamics in Nature and Society, vol. 2022, no. 1, 2022. https://doi.org/10.1155/2022/3917170
[16] A. Abubakar, M. Ajuji, & I. Yahya, "DeepFMD: Computational Analysis for Malaria Detection in Blood-Smear Images Using Deep-Learning Features", Applied System Innovation, vol. 4, no. 4, pp. 82, 2021. https://doi.org/10.3390/asi4040082
[17] D. Šebalj, J. Mesarić, & D. Dujak, "Analysis of Methods and Techniques for Prediction of Natural Gas Consumption", Journal of Information and Organizational Sciences, vol. 43, no. 1, pp. 99-117, 2019. https://doi.org/10.31341/jios.43.1.6
[18] M. Sharma, B. Raj, B. Ramamurthy, & R. Bhaskar, "Credit Card Fraud Detection Using Deep Learning Based on Auto-Encoder", ITM Web of Conferences, vol. 50, pp. 01001, 2022. https://doi.org/10.1051/itmconf/20225001001
[19] M. Shapi, N. Ramli, & L. Awalin, "Energy Consumption Prediction by Using Machine Learning for Smart Building: Case Study in Malaysia", Developments in the Built Environment, vol. 5, pp. 100037, 2021. https://doi.org/10.1016/j.dibe.2020.100037
[20] F. Gao and X. Shao, "Forecasting Annual Natural Gas Consumption via the Application of a Novel Hybrid Model", Environmental Science and Pollution Research, vol. 28, no. 17, pp. 21411-21424, 2021. https://doi.org/10.1007/s11356-020-12275-w
[21] L. Lok, V. Hameed, & M. Rana, "Hybrid Machine Learning Approach for Anomaly Detection", Indonesian Journal of Electrical Engineering and Computer Science, vol. 27, no. 2, pp. 1016, 2022. https://doi.org/10.11591/ijeecs.v27.i2.pp1016-1024
[22] J. Jouhar, A. Pratap, N. Tijo, & M. Mony, "Fake News Detection using Python and Machine Learning", Procedia Computer Science, vol. 233, pp. 763-771, 2024. https://doi.org/10.1016/j.procs.2024.03.265
[23] J. Li, Y. Guo, X. Zhang, & Z. Fu, "Using Hybrid Machine Learning Methods to Predict and Improve the Energy Consumption Efficiency in Oil and Gas Fields", Mobile Information Systems, vol. 2021, pp. 1-7, 2021. https://doi.org/10.1155/2021/5729630
[24] S. Nabavi, A. Aslani, M. Zaidan, M. Zandi, S. Mohammadi, & N. Motlagh, "Machine Learning Modeling for Energy Consumption of Residential and Commercial Sectors", Energies, vol. 13, no. 19, pp. 5171, 2020. https://doi.org/10.3390/en13195171
[25] T. Srinivas, A. Madhusudhan, J. Dhanraj, R. Sekaran, N. Mostafaeipour, N. Mostafaeipour et al., "Novel Based Ensemble Machine Learning Classifiers for Detecting Breast Cancer", Mathematical Problems in Engineering, vol. 2022, pp. 1-16, 2022. https://doi.org/10.1155/2022/9619102
[26] S. Yang, J. Wu, Y. Du, Y. He, & X. Chen, "Ensemble Learning for Short-Term Traffic Prediction Based on Gradient Boosting Machine", Journal of Sensors, vol. 2017, pp. 1-15, 2017. https://doi.org/10.1155/2017/7074143
[27] Y. Hendrawan and O. Chekuri, "Exploring Supervised Learning Methods for Predicting Cuisines from Their Ingredients", Vokasi Unesa Bulletin of Engineering, Technology and Applied Science, vol. 2, no. 1, pp. 67-76, 2025. https://doi.org/10.26740/vubeta.v2i1.34153
[28] D. Batra, N. Diwan, U. Upadhyay, J. Kalra, T. Sharma, A. Sharma et al., "RecipeDB: A Resource for Exploring Recipes", Database, vol. 2020, 2020. https://doi.org/10.1093/database/baaa077
[29] M. Atzeni, S. Dhuliawala, K. Murugesan, and M. Sachan, "Case-based Reasoning for Better Generalization in Textual Reinforcement Learning," Arxiv Preprint, 2021. https://doi.org/10.48550/arXiv.2110.08470
[30] E. Y. Hamedani and N. S. Aybat, "A Primal-Dual Algorithm with Line Search for General Convex-Concave Saddle Point Problems," Arxiv Preprint, vol. 31, no. 2, pp. 1299–1329, 2021. https://doi.org/10.48550/arXiv.1803.01401
[31] A. Abubakar, M. Ajuji, & I. Yahya, "Comparison of Deep Transfer Learning Techniques in Human Skin Burns Discrimination", Applied System Innovation, vol. 3, no. 2, pp. 20, 2020. https://doi.org/10.3390/asi3020020
[32] A. Abubakar and H. Ugail, "Discrimination of Human Skin Burns Using Machine Learning", Advances in Intelligent Systems and Computing, pp. 641-647, 2019. https://doi.org/10.1007/978-3-030-22871-2_43
[33] M. Ajuji, A. A. Lamido, M. Jungudo, and A. J. Kawu, "Hybrid Ensemble Machine Learning Approach for Cancer Prediction," BIMA Journal of Science and Technology, vol. 8, no. 1b, pp. 206–217, 2024. https://doi.org/10.56892/bima.v8i1.627
[34] M. Applalanaidu and G. Kumaravelan, "A Review of Machine Learning Approaches in Plant Leaf Disease Detection and Classification", 2021 Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV), pp. 716-724, 2021. https://doi.org/10.1109/icicv50876.2021.9388488
[35] P. Trivedi, Y. Narayan, V. Ravi, P. Kumar, P. Kaur, K. Tabianan et al., "Plant Leaf Disease Detection and Classification Using Segmentation Encoder Techniques", The Open Agriculture Journal, vol. 18, no. 1, 2024. https://doi.org/10.2174/0118743315321139240627092707
[36] D. Caballero-Ramirez, Y. Báez-López, J. Limón-Romero, G. Tortorella, & D. Tlapa, "An Assessment of Human Inspection and Deep Learning for Defect Identification in Floral Wreaths", Horticulturae, vol. 9, no. 11, pp. 1213, 2023. https://doi.org/10.3390/horticulturae9111213
[37] C. Cevallos, H. Pönce, E. Moya-Albor, & J. Brieva, "Vision-Based Analysis on Leaves of Tomato Crops for Classifying Nutrient Deficiency using Convolutional Neural Networks", 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1-7, 2020. https://doi.org/10.1109/ijcnn48605.2020.9207615
[38] J. Pan, X. Qiao, C. Zhang, B. Li, L. Li, G. Li et al., "Stacking Ensemble Learning-Assisted Simulation of Plasma-Catalyzed CO2 Reforming of Methane", Electronics, vol. 14, no. 7, pp. 1329, 2025. https://doi.org/10.3390/electronics14071329
[39] B. Shi, W. Xiao, L. Zhang, T. Wang, Y. Jiang, J. Shang et al., "Multi-Objective Optimization Method for Power Transformer Design Based on Surrogate Modeling and Hybrid Heuristic Algorithm", Electronics, vol. 14, no. 6, pp. 1198, 2025. https://doi.org/10.3390/electronics14061198
[40] S. Tayebati and K. Cho, "Machine Learning Framework for Hybrid Clad Characteristics Modeling in Metal Additive Manufacturing", Journal of Manufacturing and Materials Processing, vol. 9, no. 2, pp. 49, 2025. https://doi.org/10.3390/jmmp9020049
[41] A. Mohsenimanesh and E. Entchev, "Charging Strategies for Electric Vehicles Using a Machine Learning Load Forecasting Approach for Residential Buildings in Canada", Applied Sciences, vol. 14, no. 23, pp. 11389, 2024. https://doi.org/10.3390/app142311389
[42] M. Belkin and P. Niyogi, "Laplacian Eigenmaps for Dimensionality Reduction and Data Representation", Neural Computation, vol. 15, no. 6, pp. 1373-1396, 2003. https://doi.org/10.1162/089976603321780317
[43] A. Mostafa and H. Mahmoud, "Review of Data Mining Concept and its Techniques", International Journal of Academic Research in Business and Social Sciences, vol. 12, no. 6, 2022. https://doi.org/10.6007/ijarbss/v12-i6/13135
[44] D. Li, Z. Qi, Y. Zhou, & M. Elchalakani, "Machine Learning Applications in Building Energy Systems: Review and Prospects", Buildings, vol. 15, no. 4, pp. 648, 2025. https://doi.org/10.3390/buildings15040648
[45] J. Ji, H. Yu, X. Wang, & X. Xu, "Machine Learning Application in Building Energy Consumption Prediction: A Comprehensive Review", Journal of Building Engineering, vol. 104, pp. 112295, 2025. https://doi.org/10.1016/j.jobe.2025.112295
[46] I. Mienye and Y. Sun, "A Survey of Ensemble Learning: Concepts, Algorithms, Applications, and Prospects", IEEE Access, vol. 10, pp. 99129-99149, 2022. https://doi.org/10.1109/access.2022.3207287
[47] J. Liu, S. Wang, N. Wei, X. Chen, H. Xie, & J. Wang, "Natural Gas Consumption Forecasting: A Discussion on Forecasting History and Future Challenges", Journal of Natural Gas Science and Engineering, vol. 90, pp. 103930, 2021. https://doi.org/10.1016/j.jngse.2021.103930
[48] H. Sayegh, A. Leconte, G. Fraisse, É. Wurtz, & S. Rouchier, "Multi Objective Optimization of Detailed Building Models with Typical Short Sequences Considering Sequential and Adaptive Methods", Engineering Applications of Artificial Intelligence, vol. 118, pp. 105645, 2023. https://doi.org/10.1016/j.engappai.2022.105645
[49] H. Yang, M. Ran, H. Feng, & D. Hou, "K-PCD: A New Clustering Algorithm for Building Energy Consumption Time Series Analysis and Predicting Model Accuracy Improvement", Applied Energy, vol. 377, pp. 124584, 2025. https://doi.org/10.1016/j.apenergy.2024.124584
[50] Y. Qi, W. Hu, Y. Dong, Y. Fan, L. Dong, & M. Xiao, "Optimal Configuration of Concentrating Solar Power in Multienergy Power Systems with An Improved Variational Autoencoder", Applied Energy, vol. 274, pp. 115124, 2020. https://doi.org/10.1016/j.apenergy.2020.115124
[51] D. Gao, Y. Zhi, X. Rong, & X. Yang, "Mismatch Analysis of Rooftop Photovoltaics Supply and Farmhouse Load: Data Dimensionality Reduction and Explicable Load Pattern Mining via Hybrid Deep Learning", Applied Energy, vol. 377, pp. 124520, 2025. https://doi.org/10.1016/j.apenergy.2024.124520
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Mohammed Ajuji

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Abstract views: 107
,
PDF Downloads: 62







