Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Wind speed prediction in some major cities in Africa using Linear Regression and Random Forest algorithms

Domain:

environment and energy
Creator:
TimFra
Publisher:
Nig
Host:
Globally, wind energy if properly harnessed, could serve as a source of energy generation in Africa. This study compared the performance of two Machine Learning (ML) algorithms (Linear regression and Random Forest) in predicting wind speed in five major cities in Africa (Yaoundé, Pretoria, Nairobi, Cairo and Abuja). Wind data were collected between January 1, 2000, and December 31, 2022, using the Solar Radiation Data Archive. The data preprocessing was carried out with 80% of the data used for training and 20% for validation. The performance of these ML algorithms was evaluated using Mean Square Error (MSE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE) and coefficient of determination (R2). The result shows that Nairobi (3.814795 m/s) closely followed by Cairo (3.606453 m/s) has the highest mean wind speed while Yaoundé (1.090512 m/s) has the lowest. Based on the performance metrics used, the two Machine Learning algorithms were competitive. Still, the Linear Regression (LR) algorithm outperformed the Random Forest Algorithm in predicting wind speed in all the selected major African cities. In Yaoundé (RMSE = 0.3892, MAE= 0.3001, MAPE =0.5030), Pretoria (RMSE=1.2339, MAE=0.9480, MAPE=0.7450) Nairobi (RMSE= 0.4223, MAE =0.6499, MAPE =0.1872), Nairobi (RMSE=0.6499, MAE=0.5171, MAPE =0.1872), Cairo (RMSE =1.0909, MAE =0.8544, MAPE =0.3541) and Abuja (RMSE = 0.70245, MAE =0.5441, MAPE= 0.4515) the Linear regression algorithms was found to outperformed Random Forest Regression. Therefore, the Linear regression algorithm is more reliable in predicting wind speed compared with the Random Forest regression.

Visit

doi.org

Licenses

https://creativecommons.org/licenses/by/4.0

Similar

Mapping flood zones using random forest and linear regression modelsRandom Forest Regression in Maize Yield Predictionraunakravi084/Algerian-Forest-Fire---Temperature-Prediction-using-Linear-Regressionpredator-mrd/ALGERIAN-FOREST-FIRES-PREDICTION-USING-LINEAR-REGRESSIONkhajuriakrishna18-maker/Algerian-Forest-Fire-Prediction-using-Linear-Regression-and-Regularization-TechniquesSentiment Analysis of Nigerian Opinions Using Logistic Regression and Random Forest Algorithms: A Comparative Study

Mapping flood zones using random forest and linear regression models

This is a code in the R language for mapping flood zones in the city of Toliara, located in

Random Forest Regression in Maize Yield Prediction

International audience Artificial Intelligence is the discipline of making computers

raunakravi084/Algerian-Forest-Fire---Temperature-Prediction-using-Linear-Regression

🔥 **Algerian Forest Fire - Temperature Prediction using Linear Regression** This project analyzes

predator-mrd/ALGERIAN-FOREST-FIRES-PREDICTION-USING-LINEAR-REGRESSION

# ALGERIAN FOREST FIRES PREDICTION - LINEAR REGRESSION PROJECT

khajuriakrishna18-maker/Algerian-Forest-Fire-Prediction-using-Linear-Regression-and-Regularization-Techniques

A machine learning project that predicts the Fire Weather Index (FWI) using the Algerian Forest Fire

Sentiment Analysis of Nigerian Opinions Using Logistic Regression and Random Forest Algorithms: A Comparative Study

International audience This study investigates the efficacy of Logistic Regression an