Open Access


Wind Power Prediction Based on Machine Learning and Deep Learning Models

Zahraa Tarek1, Mahmoud Y. Shams2,*, Ahmed M. Elshewey3, El-Sayed M. El-kenawy4,5, Abdelhameed Ibrahim6, Abdelaziz A. Abdelhamid7,8, Mohamed A. El-dosuky1,9
1 Faculty of Computers and Information, Computer Science Department, Mansoura University, Mansoura, 35561, Egypt
2 Faculty of Artificial Intelligence, Kafrelsheikh University, Kafrelsheikh, 33511, Egypt
3 Faculty of Computers and Information, Computer Science Department, Suez University, Suez, Egypt
4 Department of Communications and Electronics, Delta Higher Institute of Engineering and Technology, Mansoura, 35111, Egypt
5 Faculty of Artificial Intelligence, Delta University for Science and Technology, Mansoura, 35712, Egypt
6 Computer Engineering and Control Systems Department, Faculty of Engineering, Mansoura University, Mansoura, 35516, Egypt
7 Department of Computer Science, Faculty of Computer and Information Sciences, Ain Shams University, Cairo, 11566, Egypt
8 Department of Computer Science, College of Computing and Information Technology, Shaqra University, 11961, Saudi Arabia
9 Department of Computer Science, Arab East Colleges, Riyadh, 13544, Saudi Arabia
* Corresponding Author: Mahmoud Y. Shams. Email:

Computers, Materials & Continua 2023, 74(1), 715-732.

Received 21 May 2022; Accepted 23 June 2022; Issue published 22 September 2022


Wind power is one of the sustainable ways to generate renewable energy. In recent years, some countries have set renewables to meet future energy needs, with the primary goal of reducing emissions and promoting sustainable growth, primarily the use of wind and solar power. To achieve the prediction of wind power generation, several deep and machine learning models are constructed in this article as base models. These regression models are Deep neural network (DNN), k-nearest neighbor (KNN) regressor, long short-term memory (LSTM), averaging model, random forest (RF) regressor, bagging regressor, and gradient boosting (GB) regressor. In addition, data cleaning and data preprocessing were performed to the data. The dataset used in this study includes 4 features and 50530 instances. To accurately predict the wind power values, we propose in this paper a new optimization technique based on stochastic fractal search and particle swarm optimization (SFS-PSO) to optimize the parameters of LSTM network. Five evaluation criteria were utilized to estimate the efficiency of the regression models, namely, mean absolute error (MAE), Nash Sutcliffe Efficiency (NSE), mean square error (MSE), coefficient of determination (R2), root mean squared error (RMSE). The experimental results illustrated that the proposed optimization of LSTM using SFS-PSO model achieved the best results with R2 equals 99.99% in predicting the wind power values.


Prediction of wind power; data preprocessing; performance evaluation

Cite This Article

Z. Tarek, M. Y. Shams, A. M. Elshewey, E. M. El-kenawy, A. Ibrahim et al., "Wind power prediction based on machine learning and deep learning models," Computers, Materials & Continua, vol. 74, no.1, pp. 715–732, 2023.

This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 304


  • 191


  • 2


Share Link

WeChat scan