IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v17y2023i1p74-d1305510.html
   My bibliography  Save this article

Ensemble Machine Learning Approaches for Prediction of Türkiye’s Energy Demand

Author

Listed:
  • Merve Kayacı Çodur

    (Industrial Engineering Department, Faculty of Engineering and Architecture, Erzurum Technical University, 25200 Erzurum, Türkiye)

Abstract

Energy demand forecasting is a fundamental aspect of modern energy management. It impacts resource planning, economic stability, environmental sustainability, and energy security. This importance is making it critical for countries worldwide, particularly in cases like Türkiye, where the energy dependency ratio is notably high. The goal of this study is to propose ensemble machine learning methods such as boosting, bagging, blending, and stacking with hyperparameter tuning and k-fold cross-validation, and investigate the application of these methods for predicting Türkiye’s energy demand. This study utilizes population, GDP per capita, imports, and exports as input parameters based on historical data from 1979 to 2021 in Türkiye. Eleven combinations of all predictor variables were analyzed, and the best one was selected. It was observed that a very high correlation exists among population, GDP, imports, exports, and energy demand. In the first phase, the preliminary performance was investigated of 19 different machine learning algorithms using 5-fold cross-validation, and their performance was measured using five different metrics: MSE, RMSE, MAE, R-squared, and MAPE. Secondly, ensemble models were constructed by utilizing individual machine learning algorithms, and the performance of these ensemble models was compared, both with each other and the best-performing individual machine learning algorithm. The analysis of the results revealed that placing Ridge as the meta-learner and using ET, RF, and Ridge as the base learners in the stacking ensemble model yielded the highest R-squared value, which was 0.9882, indicating its superior performance. It is anticipated that the findings of this research can be applied globally and prove valuable for energy policy planning in any country. The results obtained not only highlight the accuracy and effectiveness of the predictive model but also underscore the broader implications of this study within the framework of the United Nations’ Sustainable Development Goals (SDGs).

Suggested Citation

  • Merve Kayacı Çodur, 2023. "Ensemble Machine Learning Approaches for Prediction of Türkiye’s Energy Demand," Energies, MDPI, vol. 17(1), pages 1-25, December.
  • Handle: RePEc:gam:jeners:v:17:y:2023:i:1:p:74-:d:1305510
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/17/1/74/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/17/1/74/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Kavaklioglu, Kadir, 2011. "Modeling and prediction of Turkey's electricity consumption using Support Vector Regression," Applied Energy, Elsevier, vol. 88(1), pages 368-375, January.
    2. Mason, Karl & Duggan, Jim & Howley, Enda, 2018. "Forecasting energy demand, wind generation and carbon dioxide emissions in Ireland using evolutionary neural networks," Energy, Elsevier, vol. 155(C), pages 705-720.
    3. Guevara, Esnil & Babonneau, Fréderic & Homem-de-Mello, Tito & Moret, Stefano, 2020. "A machine learning and distributionally robust optimization framework for strategic energy planning under uncertainty," Applied Energy, Elsevier, vol. 271(C).
    4. Kankal, Murat & AkpInar, Adem & Kömürcü, Murat Ihsan & Özsahin, Talat Sükrü, 2011. "Modeling and forecasting of Turkey's energy consumption using socio-economic and demographic variables," Applied Energy, Elsevier, vol. 88(5), pages 1927-1939, May.
    5. Singh, Sanjeet & Bansal, Pooja & Hosen, Mosharrof & Bansal, Sanjeev K., 2023. "Forecasting annual natural gas consumption in USA: Application of machine learning techniques- ANN and SVM," Resources Policy, Elsevier, vol. 80(C).
    6. Sözen, Adnan & Arcaklioglu, Erol & Özkaymak, Mehmet, 2005. "Turkey's net energy consumption," Applied Energy, Elsevier, vol. 81(2), pages 209-221, June.
    7. Sahraei, Mohammad Ali & Duman, Hakan & Çodur, Muhammed Yasin & Eyduran, Ecevit, 2021. "Prediction of transportation energy demand: Multivariate Adaptive Regression Splines," Energy, Elsevier, vol. 224(C).
    8. Hui Zou & Trevor Hastie, 2005. "Addendum: Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(5), pages 768-768, November.
    9. Hui Zou & Trevor Hastie, 2005. "Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(2), pages 301-320, April.
    10. Chaturvedi, Shobhit & Rajasekar, Elangovan & Natarajan, Sukumar & McCullen, Nick, 2022. "A comparative assessment of SARIMA, LSTM RNN and Fb Prophet models to forecast total and peak monthly energy demand for India," Energy Policy, Elsevier, vol. 168(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Hoxha, Julian & Çodur, Muhammed Yasin & Mustafaraj, Enea & Kanj, Hassan & El Masri, Ali, 2023. "Prediction of transportation energy demand in Türkiye using stacking ensemble models: Methodology and comparative analysis," Applied Energy, Elsevier, vol. 350(C).
    2. Shen, Meng & Lu, Yujie & Wei, Kua Harn & Cui, Qingbin, 2020. "Prediction of household electricity consumption and effectiveness of concerted intervention strategies based on occupant behaviour and personality traits," Renewable and Sustainable Energy Reviews, Elsevier, vol. 127(C).
    3. Mehmet Kayakuş, 2020. "The Estimation of Turkey's Energy Demand Through Artificial Neural Networks and Support Vector Regression Methods," Alphanumeric Journal, Bahadir Fatih Yildirim, vol. 8(2), pages 227-236, December.
    4. Yeo, In-Ae & Yee, Jurng-Jae, 2014. "A proposal for a site location planning model of environmentally friendly urban energy supply plants using an environment and energy geographical information system (E-GIS) database (DB) and an artifi," Applied Energy, Elsevier, vol. 119(C), pages 99-117.
    5. Akdi, Yılmaz & Gölveren, Elif & Okkaoğlu, Yasin, 2020. "Daily electrical energy consumption: Periodicity, harmonic regression method and forecasting," Energy, Elsevier, vol. 191(C).
    6. Debnath, Kumar Biswajit & Mourshed, Monjur, 2018. "Forecasting methods in energy planning models," Renewable and Sustainable Energy Reviews, Elsevier, vol. 88(C), pages 297-325.
    7. Tutz, Gerhard & Pößnecker, Wolfgang & Uhlmann, Lorenz, 2015. "Variable selection in general multinomial logit models," Computational Statistics & Data Analysis, Elsevier, vol. 82(C), pages 207-222.
    8. Oxana Babecka Kucharcukova & Jan Bruha, 2016. "Nowcasting the Czech Trade Balance," Working Papers 2016/11, Czech National Bank.
    9. Carstensen, Kai & Heinrich, Markus & Reif, Magnus & Wolters, Maik H., 2020. "Predicting ordinary and severe recessions with a three-state Markov-switching dynamic factor model," International Journal of Forecasting, Elsevier, vol. 36(3), pages 829-850.
    10. Hou-Tai Chang & Ping-Huai Wang & Wei-Fang Chen & Chen-Ju Lin, 2022. "Risk Assessment of Early Lung Cancer with LDCT and Health Examinations," IJERPH, MDPI, vol. 19(8), pages 1-12, April.
    11. Margherita Giuzio, 2017. "Genetic algorithm versus classical methods in sparse index tracking," Decisions in Economics and Finance, Springer;Associazione per la Matematica, vol. 40(1), pages 243-256, November.
    12. Nicolaj N. Mühlbach, 2020. "Tree-based Synthetic Control Methods: Consequences of moving the US Embassy," CREATES Research Papers 2020-04, Department of Economics and Business Economics, Aarhus University.
    13. Wang, Qiao & Zhou, Wei & Cheng, Yonggang & Ma, Gang & Chang, Xiaolin & Miao, Yu & Chen, E, 2018. "Regularized moving least-square method and regularized improved interpolating moving least-square method with nonsingular moment matrices," Applied Mathematics and Computation, Elsevier, vol. 325(C), pages 120-145.
    14. Dmitriy Drusvyatskiy & Adrian S. Lewis, 2018. "Error Bounds, Quadratic Growth, and Linear Convergence of Proximal Methods," Mathematics of Operations Research, INFORMS, vol. 43(3), pages 919-948, August.
    15. Mkhadri, Abdallah & Ouhourane, Mohamed, 2013. "An extended variable inclusion and shrinkage algorithm for correlated variables," Computational Statistics & Data Analysis, Elsevier, vol. 57(1), pages 631-644.
    16. Lucian Belascu & Alexandra Horobet & Georgiana Vrinceanu & Consuela Popescu, 2021. "Performance Dissimilarities in European Union Manufacturing: The Effect of Ownership and Technological Intensity," Sustainability, MDPI, vol. 13(18), pages 1-19, September.
    17. Candelon, B. & Hurlin, C. & Tokpavi, S., 2012. "Sampling error and double shrinkage estimation of minimum variance portfolios," Journal of Empirical Finance, Elsevier, vol. 19(4), pages 511-527.
    18. Susan Athey & Guido W. Imbens & Stefan Wager, 2018. "Approximate residual balancing: debiased inference of average treatment effects in high dimensions," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 80(4), pages 597-623, September.
    19. Andrea Carriero & Todd E. Clark & Massimiliano Marcellino, 2022. "Specification Choices in Quantile Regression for Empirical Macroeconomics," Working Papers 22-25, Federal Reserve Bank of Cleveland.
    20. Kim, Hyun Hak & Swanson, Norman R., 2018. "Mining big data using parsimonious factor, machine learning, variable selection and shrinkage methods," International Journal of Forecasting, Elsevier, vol. 34(2), pages 339-354.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:17:y:2023:i:1:p:74-:d:1305510. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.