Performance Analysis of Machine Learning Techniques in Predicting Maize Crop Yield: Case Study of Kayonza District—Rwanda
Open Access
- 1 June 2026
- journal article
- research article
- Published by MDPI AG in Algorithms
- Vol. 19 (6) , 448
Abstract
Climate change presents significant challenges to agriculture worldwide, leading to food insecurity and impacting rural livelihoods. Maize farming is especially vulnerable to extreme weather, such as heavy rainfall, high temperatures, soil acidity, humidity, and poor irrigation, which reduce crop yields and raise concerns about food security. The study aimed to develop a reliable and accurate machine learning method to predict maize crop yields using historical climate data to facilitate decision-making. This allows farmers and agronomists to forecast maize production based on past data for adaptation. A dataset from Meteo Rwanda and maize yield data from the Kayonza district, Rwanda, were used for training and testing. The weather data included annual mean temperature, maximum temperature, minimum temperature, rainfall, and soil temperature over the past thirteen years. The data were analyzed using machine learning techniques such as Random Forest regressor, Extreme Boost regressor, Gradient, Support Vector Machine, and LASSO (Least Absolute Shrinkage and Selection Operator). The results show that developing a high-yield crop depends on predicting and integrating climate variables, especially temperature and rainfall. Overall, Random Forest, Support Vector Machine, and Extreme Boost outperformed LASSO, with R2 values of 0.957, 0.955, and 0.953, compared to 0.256 for LASSO.Keywords
All Related Versions
This publication has 32 references indexed in Scilit:
- A comparative study of machine learning models in predicting crop yieldDiscover Agriculture, 2025
- Maize and soybean yield prediction using machine learning methods: a systematic literature reviewDiscover Agriculture, 2025
- Crop yield prediction in agriculture: A comprehensive review of machine learning and deep learning approaches, with insights for future research and sustainabilityHeliyon, 2024
- Crop Classification and Yield Prediction Using Robust Machine Learning Models for Agricultural SustainabilityIEEE Access, 2024
- Climate Change Impact on Agricultural Land Suitability: An Interpretable Machine Learning-Based Eurasia Case StudyIEEE Access, 2024
- The Deep Learning ResNet101 and Ensemble XGBoost Algorithm with Hyperparameters Optimization Accurately Predict the Lung CancerApplied Artificial Intelligence, 2023
- Support Vector Machine in Precision Agriculture: A reviewComputers and Electronics in Agriculture, 2021
- Emerging Trends in Machine Learning to Predict Crop Yield and Study Its Influential Factors: A SurveyArchives of Computational Methods in Engineering, 2021
- Weather Forecasting Using Ensemble of Spatial-Temporal Attention Network and Multi-Layer PerceptronAsia-Pacific Journal of Atmospheric Sciences, 2020
- Climate Change Impacts on Agriculture across Africa2017