Preprint
Article

This version is not peer-reviewed.

Performance Analysis of Machine Learning Techniques in Predicting Maize Crop Yield: Case Study of Kayonza District—Rwanda

Submitted:

23 January 2026

Posted:

26 January 2026

You are already at the latest version

Abstract
Climate change poses significant challenges to agricultural practices worldwide, affecting crop yields, food insecurity, and rural livelihoods. Maize crop farming is particularly vulnerable due to extreme weather conditions such as high rainfall, high temperature, soil acidity, humidity and unproper irrigation affecting crop yield and consider to be a source of hunger and food security concern. The aim of the study was to propose a reliable and accurate machine learning techniques to be used in the prediction of maize crop yield using historical climate and soil data for informed planning. This enables farmers, agronomists and decision makers to forecast maize crop yield based on historical data for adaptation. To come up with a comprehensive prediction model, historical dataset from Meteo Rwanda and Maize crop yield from Kayonza district-Rwanda were used in the training and testing. Weather data considered in this study were annual mean temperature, annual maximum temperature, annual minimum temperature, annual rainfall, soil temperature for the past thirteen years. The data collected were analyzed using Random Forest regressor, Extreme Boost regressor Gradient, support vector machine and least absolute shrinkage and least absolute shrinkage and selection ( LASSO) machine learning techniques. The results shows that random forest perform better compared to other models with an accuracy of R² 0.957, support vector machine 0.957, XGBoost regressor 0.953, LASSO 0.256 and can be recommended for prediction of maize crop yield. The random forest regressor will be adapted in design and development of prototype to improve farming decision making.
Keywords: 
;  ;  ;  ;  

1. Introduction

The world population is expected to reach 9.8 billion in 2050; the necessity to keep the ecosystem equilibrium is paramount for the wellbeing of communities, one fact that could affect that equilibrium state is climate degradation which directly affect human nature and be the cause of hunger, malnutrition, deforestation, water scarcity, soil deterioration. Studies revealed that the improper distribution of rainfall, variability of temperature, humidity, soil acidity, inaccurate information on weather forecast, unavailability of information on mitigation and adaptation strategies related to the climate change will decrease globally the productivity of maize crop at a rate of 3.8 % in 2090. The African continent will be also affected and a decrease of maize productivity is expected to be 5% and wheat by 17% [1]. In the context of Rwanda, agriculture sector has been affected by the adverse of climate change and affect people lives; through meteorological data observed, the variability of rainfall in Rwanda is predicted to increase from 5% to 10%, this variation will directly affect people lives and associated disasters can be observed such as floods, landslides which at the end affect Rwandan economy. Rwanda has pledged to combat the negative impacts of climate change through various initiatives such as the Paris Agreement [2], the Green Growth and Climate Resilience Strategy (GGCRS) [3], and the United Nations Framework Convention on Climate Change (UNFCCC). These commitments have been integrated into the Rwanda National Strategies for Transformation (NST2) for the five years government planning. According to the census conducted by the National Institute of Statistics of Rwanda in 2022, 63% of household do crop farming and Maize crop represent 56% of crop production after beans [2]. As per the crop intensification program [3] initiated by the Government of Rwanda in 2018, Maize crop is selected as suitable crop to cultivate in Kayonza district; however, in 2008 maize yield losses at a rate of 37% in Eastern province and 26% in southern province. In 2017, more than 3000 families in the Eastern province including Kayonza district faced hunger due to prolonged drought [4]. The study contributed in the resilience of climate variability in maize farming. This implied the monitoring of weather parameters mainly temperature variability and precipitation fluctuation considered as the major dominant factors influencing maize yields, other variables like solar radiation, humidity and soil temperature management also play a significant role. To analyze the trends in maize productivity vis- a vis to the climatic parameters’ variation; Meteo-Rwanda stations namely RWINKWAVU and KAWANGIRE based at Kayonza district were used. Data related to temperature, precipitation, humidity, soil temperature and solar radiation were collected and utilized in the proposed prediction models. Figure 5 and 6 provides trends of temperature and rainfall variability for the past forty years and Figure 9 provides maize crop productivity for the period of 2011 to 2024 from Kayonza district.
The aim of this study is to exploit machine learning techniques for the prediction of maize crop yield based on historical meteorological data. The proposed models will enable farmers, decision makers to take decision based on reliable and accurate. The area considered in this study is Kayonza district, Rwanda. Meteorological dataset for past thirteen years. Variables taken into account in this research are rainfall, temperature and soil temperature. Maize crop production, seasonal annual reports from National Institute of Statistics of Rwanda were also considered in this study. This paper is organized as follows: Section 2 provide information related to the methodology; It comprises data collection, data processing. Section 3 is the discussion and Section 4 the conclusion.

3. Materials and Methods

3.1. Study Area

The research was carried in Kayonza district, one among seven districts composed the Eastern province of the Republic of Rwanda. The district covers a surface of 1935 km2 and it has 236.26 habitat per km2. The total population of the district as per the year 2022 is 457,156. The district is composed of twelve administrative sectors; seven were considered in the study considering that they are equipped with sub stations of meteorology facilities where data being collected for analysis. Agricultural land use predominates an important space in Kayonza district where it extends generally in Eastern part of the district. It is covered by the natural features including wetlands, lakes, and their buffers as well as Akagera national park with its buffer zone. Figure 1 indicates the map of the Republic of Rwanda indicating the area of study, Figure 2 shows natural features and Figure 3 indicate land use distribution.
The total land area reserved for agriculture is 93,685.41 Ha including livestock (57.71%). The agricultural land covers only 61,149.45 Ha providing 37.6% of the total district land use.

3.2. Methodology

Optimization of factors such as, climate and weather conditions, soil quality and nutrient management, seed variety and genetics, agronomic practices, pest and diseases management, irrigation and water management, harvesting practices, social economic and policy factors can lead to the substantial improvement for maize productivity.
This section highlights the methodology used in the process of collecting data, this includes meteorological and maize crop harvest. Meteorological data considered in this study are temperature and rainfall which are considered among factors affecting maize crop production. The period considered for meteorological parameters data is from 1980. In this study, the period considered for harvest of maize crop is from 2011. To ensure the integrity, accuracy and Genuity of data; sources were from the district agronomist, seasonal reports from the National Institute of Statistics of Rwanda and from Rwanda meteorology agency. To collect information on the rate of maize production; a survey questionnaire was addressed to the district agronomist for the collection of information related to the change of climate and its effect to maize productivity in the area. A survey questionnaire was also addressed to the Ministry of Agriculture and Animal Resources to collect information on strategies for the adaptation of climate variability vis a vis to agricultural practices. To collect meteorological data, a formal request was made to Meteo Rwanda and a dataset of daily temperature, mean temperature, annual temperature, daily rainfall, monthly rainfall and annual rainfall were provided for analysis. Figure 4 below indicates the process flow for the data analysis.

3.2.1. Data Collection and Analysis

Rainfall

Maize has a relatively high-water requirement, especially during the vegetative and reproductive stages. In general, the total water requirement for the entire growing season ranges from 500 to 800 mm, depending on the climate and growing season length. Moisture stress during the silking and grain-filling stages can severely reduce yield. Excessive rainfall or waterlogging can also be detrimental, as maize is susceptible to root diseases in saturated soil conditions [68,69]. Daily rainfall depicted in Figure 5 provides discrepancies in rainfall distribution for the area under study where the minimum daily rainfall ranged between 20mm and 150 mm, this directly affect the expected maize productivity.
Analysis of Meteo-Rwanda data related to the rainfall, and data for annual maize productivity in the period of 2011 to 2023 revealed a worrying variability in the annual mean rainfall, from which the mean annual rainfall reached 473 mm; the lowest being 564 mm and the highest 1037mm, with a pronounced effects on the maize agriculture and productivity for the region.

Temperature

Weather data were collected from stations situated in the Kayonza district from 1981. This provides the foundational information necessary to analyze the impact of weather patterns in agricultural practices and to develop effective strategies for adaptation to climate change in the context of Rwanda, with a specific focus on the agricultural landscape of Kayonza district. Data collected from Meteo-Rwanda indicated a drastic fluctuation in the annual mean temperature and annual mean rainfall, with associated negative impact on the crop productivity. Weather data collected were treated and gives details on daily rainfall at the seven sectors which are Kabarondo, Gahini, Mwiri, Mukarange, Rwinkwavu, Ndego and Murundi. Figure 6 show a trend of variation of daily rainfall for the seven sectors under study; the range of rainfall for the seven sectors under study ranged between 20 mm to 150 mm and NTEGO is the most affected. Data from meteo-Rwanda was analyzed and the findings revealed an increase in the annual mean temperature by 2.1 ⁰C from 2011 to 2023, the lowest being 19.94 ⁰C and highest 22.04 ⁰C putting a worrying pressure to the maize agriculture in the pilot area of the study.
Maize requires warm temperatures for germination, growth, and development. In general, the optimum temperature for maize growth ranges between 20°C and 30°C. Temperatures below 10°C or above 35°C can adversely affect growth and yield, but this can differ due to the overall soil quality and the nutrients content. Extreme high temperatures (above 40°C) during pollination and grain-filling stages can lead to significant yield losses [68,69]. Figure 6 highlight the trend of annual mean temperature for the district.

Soil Temperature

Soil temperature management help to maximize maize productivity by ensuring healthy germination, root development and nutrient uptake throughout the growing process. The optimum soil temperature ranging between 20-30°C is the best for maize seeds germination bellow which germination fails or slow down leading to poor stand establishment; and above which young seed can be damaged leading to the poor plant establishment. Maize roots development requires a moderate climate, as cold soil temperature slows the root growth and limits the plant’s ability to access water and nutrient [72]. Figure 7 mentions the trend of maize yields relative to the annual mean soil temperature recorded at 10cm. Meteo-Rwanda data related to the soil temperature, in the period of 2011 to 2023 mentioned a slight variability in the annual mean soil temperature by 2.18 °C; the lowest being 21.21 °C and the highest 23.39 °C. The figure mentions a correlation of soil temperature recorded at 10 cm of land deep vis – a- vis to the annual maize yields estimated in ton per ha. Other factors to consider are solar radiation shading and humidity as, maize typically grow in regions with abundant sunlight, and it is sensitive to variations in solar radiation. Insufficient solar radiation leads to the poor growth, delays maturity, and reduces yields [68,70].

Maize Crop Data

In this study, as per the crop intensification program established by the Government of Rwanda, maize is mostly cultivated in Eastern part of the country, especially in Kayonza district, However, the effect of climate variability continuously affects maize crop rate production and be the source of hunger. Figure 8 provides details on maize crop productivity for the period of 2011 to 2024.

3.2.2. Machine Learning Models

Empirical evidence from prior research underscores the pivotal role of machine learning as a decision-support mechanism for crop yield prediction and weather forecasting. In this study, four models are proposed; this includes Random Forest Regressor, XBoost regressor, Support vector machine and LASSO. The selection of these algorithms was informed by the numerical characteristics of the target variable, as opposed to categorical outputs, and the scale of the dataset under consideration.

Random Forest Regression Model

The Random Forest Regression algorithm was employed to compute metrics for annual temperature, mean temperature, and cumulative annual rainfall. As an ensemble learning method, Random Forest is particularly suited for the prediction of meteorological variables and crop yield due to its capacity to handle nonlinear relationships and high-dimensional datasets. The model operates by constructing a multitude of decision trees, each trained on a bootstrap sample of the dataset, while a random subset of predictor variables is considered at each split. This dual randomization—both in sampling and feature selection—ensures model diversity and reduces the risk of overfitting. Figure 9 gives an overview of the Random Forest regression model.

Extreme Gradient Boosting

Extreme gradient boosting method builds trees sequentially, where each new tree corrects the error of previous trees. The model is highly optimized and regularized for better performance. The input features enter the first decision tree, the residual errors from the first tree are computed; a new tree is trained to predict these residuals and repeat for multiple trees and summing predictions to get the final yield. Figure 10 shows detail of the model.

Support Vector Machine

The support vector machine regression fil a function within a tolerance that predicts the target variables. It uses Kernel functions to handle non-linear data. The input features are mapped into a high dimensional space via a kernel and identify a hyperplane that best predicts yield within a tolerance margin; the outputs predicted yield for the given input. Figure 11 shows the diagram process with clarity.

Least Absolute Shrinkage and Selection Operator

The model is a linear regression which shrinks less important feature coefficients to zero. The input features are weighted by coefficients learned from training; predictions are linear combination of input features and coefficients and the regularization reduces overfitting by penalizing large coefficients. Figure 12 provides details of the proposed model.

3.2.3. Evaluation Metric

The performance of the predictive models was evaluated using standard metrics, such as Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and Coefficient of Determination (R-squared).
The formula for the mean absolute error is
M A E = 1 n i = 1 n | y i y ^ 1 |
where: n is the number of data points; yi is the actual (observed) value for the i-th data point and y ^ 1 is the predicted value for the i-th data point.
Root Mean Squared error (RMSE) provides the root mean square difference between the anticipated and real value.
R M S E = 1 n i = 1 n y i y ^ 1 2
Where: where: n is the number of data points; yi is the actual (observed) value for the i-th data point and y ^ 1 is the predicted value for the i-th data point.
Coefficient of determination (R2): statistical measures that examine the variance in dependent variables in regression models
R 2 = 1 Σ ( y i y ^ i ) 2 Σ ( y i y ¯ ) 2
where yi are the observed values, y ^ i are the predicted values and y s ¯ the mean of the observed values.

4. Results

4.1. Prediction Results

As provided in section 4; the proposed models were evaluated based on the three metrics; the Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and Coefficient of Determination (R-squared). The results presented in Table 1 expressed that Random Forest possess a coefficient of determination R² of 0.957, support vector machine R² is 0.955, Extreme Boost with R² 0.953 and LASSO with R² of 0.253. as per the results, Random Forest achieved the highest R² and consider the most accurate for maize crop prediction. Extreme Boost machine is slightly less accurate compare to the random forest but still competitive. The support vector machine performed well but lacks feature importance insights. LASSO shows poor performance due to the non-linear relationship in the data.
Parameters considered in this prediction processes were maize crop production for the year 2011 to 2024, annual mean temperature, annual maximum temperature, annual minimum temperature, annual rainfall and soil temperature for the mentioned years.
The maize yield prediction was determined based on climatic and soil features using multiple proposed machine learning models. Graphical visual representation describes the predicted crop yield vis a vis to the actual yield. figures below highlight the performance of Random Forest prediction model, Extreme Boost regressor, support vector machine and LASSO where a comparison graph depicts the predicted crop yield versa actual yield.
Graphical representation in figure 13, figure 14 and figure 16 presents similarities where points are clustered closely to the diagonal line, this re-affirm the high performance of random forest, support vector machine and Extreme boost machines learning models. Points indicated above the diagonal line simply indicate occasional overestimation and can be tolerate as minor bias. However figure 15 shows a large number of points above and under the diagonal line, this indicates that a large number of crop yield is both underestimated and overestimated, the performance is not viable and cannot be trusted, this imply that the model is not viable and not advised for linear regression model.
Figure 13. Graphical visual prediction of Random Forest model.
Figure 13. Graphical visual prediction of Random Forest model.
Preprints 195718 g013
Figure 14. Graphical visual prediction of XBoost prediction model.
Figure 14. Graphical visual prediction of XBoost prediction model.
Preprints 195718 g014
Figure 15. Graphical visual of LASSO Prediction model.
Figure 15. Graphical visual of LASSO Prediction model.
Preprints 195718 g015
Figure 16. Graphical visual prediction of SVM model.
Figure 16. Graphical visual prediction of SVM model.
Preprints 195718 g016

4.2. Variable Importance

Based on the proposed models, among other contributors; climatic variables and maize crop yield play a key role in the determination of workable prediction models. From the proposed models only Random Forest and extreme gradient booster provide importance features.

4.2.1. Random Forest Feature Importance

Features contributed in the performance of Random Forest machine learning model are annual mean temperature, annual maximum temperature, annual minimum temperature, annual rainfall and soil temperature. Table 2 and figure 17 shows proportion of important contributors of the model; annual rainfall contributes at 0.444 followed by the annual mean temperature with a contribution of 0.276, soil temperature has no significance contribution to the model.
Figure 17. contribution of features importance of RF model.
Figure 17. contribution of features importance of RF model.
Preprints 195718 g017

4.2.2. Extreme Gradient Boost Regressor

For this proposed model, among other parameters that had influences in the performance of prediction model; annual rainfall has the highest impact on maize yield, it has a value of 0.388 followed by the annual mean temperature. Soil temperature has minimum influence of 0.043 as presented in Table 3 and figure 18.
Figure 18. Contribution of features importance of XGBoost Model.
Figure 18. Contribution of features importance of XGBoost Model.
Preprints 195718 g018

4.2.3. Comparative Analysis of the Proposed Machine Learning Models

Performance of the proposed machine learning for the prediction of maize crop has been evaluated using R². Based on the dataset and results indicated in figure 19, it shows that Random Forest is the best machine learning techniques to recommend in the prediction of maize crop yield; it provides R² value of 0.957 compared to support vector machine, XGBoost model, and LASSO which has respectively R² values of 0.955, 0.953 and 0.256.
Figure 19. Performance evaluation of MLM.
Figure 19. Performance evaluation of MLM.
Preprints 195718 g019

5. Conclusions

This study highlighted the impact of climate change in maize crop yield production; the change in temperature, rainfall and soil temperature has a direct impact in the expected productivity especially in maize crop production. The study tested Random Forest, support vector machine, Extreme gradient Boost regressor and LASSO using historical meteorological dataset and maize crop yield from Kayonza district- Rwanda. The performance of the predictive models was evaluated using standard metrics, such as Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and Coefficient of Determination (R-squared). Through performance analysis; Random Forest performed better compared to other models with accuracy of R² value of 0.957; However, several challenges and research gaps exist, including the lack of large-scale dataset, limited consideration on meteorological variables where only temperature, rainfall and soil temperature were considered; only maize crop was considered in the stydy. For the future work, an IoT monitoring component is planned to be developed and deployed where Random Forest machine learning techniques will be tested to ensure timely and accurate information not limited to agriculture practitioner, policy makers and researchers.

Acknowledgments

We thank the African center of Excellence in Internet of Things (ACEIoT), University of Rwanda to provide conducive platform to perform this research. This work was not funded from any organization.

Abbreviations

MAE Mean Absolute Error
RMSE Root Mean Squared Error
RF Random Forest
SVM Support vector machine
LASSO Least absolute shrinkage and least absolute shrinkage and selection
XGBoost Extreme Boost regressor
AI Artificial Intelligence
ML Machine learning

References

  1. V. Shevchenko et al.: Climate Change Impact on Agricultural Land Suitability Digital , 2024; Object Identifier. [CrossRef]
  2. World Bank and CIAT, “Climate-Smart Agriculture in Rwanda. CSA Country Profiles for Africa, Asia, and Latin America and the Caribbean Series.,” pp. 1–16, 2015.
  3. Y. P. Perevedentsev and A. A. Vasil’ev, “Climate Change and Its Impact on Agriculture,” Russ. Meteorol. Hydrol., vol. 48, no. 9, pp. 739–744, 2023. [CrossRef]
  4. L. Pereira, Climate Change Impacts on Agriculture across Africa. 2017. [CrossRef]
  5. B. O. B. et al., “Evidence of Climate Change Impacts on Agriculture and Food Security in Nigeria,” Int. J. Agric. For., vol. 2, no. 2, pp. 49–55, 2012. [CrossRef]
  6. Rutenberg, A. Gwagwa, and M. Omino, “Use and Impact of Artificial Intelligence on Climate Change Adaptation in Africa,” in African Handbook of Climate Change Adaptation: With 610 Figures and 361 Tables, Springer International Publishing, 2021, pp. 1107–1126. [CrossRef]
  7. V. Karimi, E. Karami, and M. Keshavarz, “Climate change and agriculture: Impacts and adaptive responses in Iran,” J. Integr. Agric., vol. 17, no. 1, pp. 1–15, 2018. [CrossRef]
  8. K. Kumar, B. Murimi, and I. Romalice, “IoT Based Farmers’ Smart Technology, Case Study: Rwanda Meteorology Agency, Kayonza District,” Int. J. Comput. Trends Technol., vol. 67, no. 9, pp. 1–6, Sep. 2019. [CrossRef]
  9. H. Afreen and I. S. Bajwa, “An IoT-Based Real-Time Intelligent Monitoring and Notification System of Cold Storage,” IEEE Access, vol. 9, pp. 38236–38253, 2021. [CrossRef]
  10. M. Kuradusenge et al., “Crop Yield Prediction Using Machine Learning Models: Case of Irish Potato and Maize,” Agric., vol. 13, no. 1, Jan. 2023. [CrossRef]
  11. M. Pyingkodi, K. Thenmozhi, M. Karthikeyan, T. Kalpana, S. Palarimath, and G. B. A. Kumar, “IoT based Soil Nutrients Analysis and Monitoring System for Smart Agriculture,” in 3rd International Conference on Electronics and Sustainable Communication Systems, ICESC 2022 - Proceedings, Institute of Electrical and Electronics Engineers Inc., 2022, pp. 489–494. [CrossRef]
  12. Y. Rahut, R. Afreen, and D. Kamini, “Smart weather monitoring and real time alert system using IoT,” Int. Res. J. Eng. Technol., vol. 848, 2008, [Online]. Available: www.irjet.net.
  13. P. Sharma and S. Prakash, “Real Time Weather Monitoring System Using Iot,” ITM Web Conf., vol. 40, p. 01006, 2021. [CrossRef]
  14. R. K. Kodali, S. C. Rajanarayanan, and L. Boppana, “IoT based weather monitoring and notification system for greenhouses,” in Proceedings of the 11th International Conference on Advanced Computing, ICoAC 2019, Institute of Electrical and Electronics Engineers Inc., Dec. 2019, pp. 342–345. [CrossRef]
  15. Kumar and P. Savaridassan, “Monitoring and accelerating plant growth using IoT and Hydroponics,” in 2023 International Conference on Computer Communication and Informatics, ICCCI 2023, Institute of Electrical and Electronics Engineers Inc., 2023. [CrossRef]
  16. G. Menon and M. Prabhakar, “Smart Agriculture Monitoring Rover for Small-Scale Farms in Rural Areas using IoT,” in Proceedings of the 2021 IEEE International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems, ICSES 2021, Institute of Electrical and Electronics Engineers Inc., 2021. [CrossRef]
  17. V. Sirisha and G. Sahitya, “Smart irrigation system for the reinforcement of Precision agriculture using prediction algorithm: SVR based smart irrigation,” in Proceedings of the 6th International Conference on Inventive Computation Technologies, ICICT 2021, Institute of Electrical and Electronics Engineers Inc., Jan. 2021, pp. 1059–1066. [CrossRef]
  18. P. Mishra and R. K. Somkunwar, “Smart Irrigation with Water Level Indicators Using Logistic Regression,” in 2023 4th International Conference for Emerging Technology, INCET 2023, Institute of Electrical and Electronics Engineers Inc., 2023. [CrossRef]
  19. Shivanshu, P. Nagwanshi, and A. Chauhan, “Smart Real Time Weather Forecasting System,” in Proceedings - 2021 3rd International Conference on Advances in Computing, Communication Control and Networking, ICAC3N 2021, Institute of Electrical and Electronics Engineers Inc., 2021, pp. 558–562. [CrossRef]
  20. Balakrishnan Sivakumar and Chikkamadaiah Nanjundaswamy, “Weather monitoring and forecasting system using IoT,” Glob. J. Eng. Technol. Adv., vol. 8, no. 2, pp. 008–016, Aug. 2021. [CrossRef]
  21. U. J. L. dos Santos, G. Pessin, C. A. da Costa, and R. da Rosa Righi, “AgriPrediction: A proactive internet of things model to anticipate problems and improve production in agricultural crops,” Comput. Electron. Agric., vol. 161, pp. 202–213, Jun. 2019. [CrossRef]
  22. “IOT BASED SMART WEATHER MONITORING SYSTEM,” Int. Res. J. Mod. Eng. Technol. Sci., Apr. 2023. [CrossRef]
  23. T. Ara, Bhagappa, J. Ambareen, S. Venkatesan, M. Geetha, and A. Bhuvanesh, “An energy efficient selection of cluster head and disease prediction in IoT based smart agriculture using a hybrid artificial neural network model,” Meas. Sensors, vol. 32, p. 101074, Apr. 2024. [CrossRef]
  24. B. M. H. Z. Siti NurFatin Muharan, “Development of Smart Weather Reporting System Based on Blynk Application for Agriculture,” 2022.
  25. F. K. Shaikh, M. A. Memon, N. A. Mahoto, S. Zeadally, and J. Nebhen, “Artificial Intelligence Best Practices in Smart Agriculture,” IEEE Micro, vol. 42, no. 1, pp. 17–24, 2022. [CrossRef]
  26. N. Jean Pierre et al., “AI Based Real-Time Weather Condition Prediction with Optimized Agricultural Resources.” [Online]. Available: www.ajpojournals.org.
  27. M. Javaid, A. Haleem, I. H. Khan, and R. Suman, “Understanding the potential applications of Artificial Intelligence in Agriculture Sector,” Adv. Agrochem, vol. 2, no. 1, pp. 15–30, Mar. 2023. [CrossRef]
  28. H. Ashraf and M. T. Akanbi, “Tensorgate Journal of Sustainable Technology and Infrastructure for Developing Countries 64 Sustainable Agriculture in the Digital Age: Crop Management and Yield Forecasting with IoT, Cloud, and AI.” [Online]. Available: https://orcid.org/0000-0002-2419-4626.
  29. D. K. Singh, R. Sobti, A. Jain, P. K. Malik, and D. N. Le, “LoRa based intelligent soil and weather condition monitoring with internet of things for precision agriculture in smart cities,” IET Commun., vol. 16, no. 5, pp. 604–618, Mar. 2022. [CrossRef]
  30. P. Majumdar, S. Mitra, and D. Bhattacharya, “IoT for Promoting Agriculture 4.0: a Review from the Perspective of Weather Monitoring, Yield Prediction, Security of WSN Protocols, and Hardware Cost Analysis,” Journal of Biosystems Engineering, vol. 46, no. 4. Springer Science and Business Media Deutschland GmbH, pp. 440–461, Dec. 01, 2021. [CrossRef]
  31. L. O. Colombo-Mendoza, M. A. Paredes-Valverde, M. D. P. Salas-Zárate, and R. Valencia-García, “Internet of Things-Driven Data Mining for Smart Crop Production Prediction in the Peasant Farming Domain,” Appl. Sci., vol. 12, no. 4, Feb. 2022. [CrossRef]
  32. R. M. G PG Student, A. Professor, and G. L. Assistant Professor, “Environment Change Prediction to Adapt Climate-Smart Agriculture Using Big Data Analytics Chetan Balaji,” 2015.
  33. M. Jagatheesan and G. Janaki, “Weather Monitoring System using IoT for Smart Farming,” ECS Trans., vol. 107, no. 1, pp. 17439–17445, Apr. 2022. [CrossRef]
  34. M. Satish, Prakash, S. M. Babu, P. P. Kumar, S. Devi, and K. P. Reddy, “Artificial Intelligence (AI) and the Prediction of Climate Change Impacts,” in 5th IEEE International Conference on Cybernetics, Cognition and Machine Learning Applications, ICCCMLA 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 660–664. [CrossRef]
  35. T. Dhar, B. S. Rawat, S. Pandev, V. Pachouri, and A. Kathuria, “Artificial Intelligence in Contending Climate Change to Achieve Environmental Justice,” in Proceedings - 2023 3rd International Conference on Pervasive Computing and Social Networking, ICPCSN 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 502–506. [CrossRef]
  36. Ahmad Pandow, K. Ali Ganai, and G. Hussain, A Review on AI-powered Advancements in Climate Finance and its Impact.
  37. N. Duklan, S. Ghildiyal, H. Maheshwari, K. Joshi, S. Kumar, and Umang, “Artificial Intelligence in Adherence of Climate Change Estimation: Opportunities and Challenges,” in 2023 4th International Conference on Electronics and Sustainable Communication Systems, ICESC 2023 - Proceedings, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 1102–1107. [CrossRef]
  38. M. Algarni, “Deploying Artificial Intelligence for Optimized Flood Forecasting and Mitigation,” in Proceedings of IEEE/ACS International Conference on Computer Systems and Applications, AICCSA, IEEE Computer Society, 2023. [CrossRef]
  39. S. Elghamrawy, “An AI-Based Prediction Model for Climate Change Effects on Crop production using IoT,” in 2023 International Telecommunications Conference, ITC-Egypt 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 497–503. [CrossRef]
  40. Rehman, S. Tariq, A. Farrakh, M. Ahmad, and M. S. Javeid, “A Systematic Review of Machine Learning and Artificial Intelligence Methods to Tackle Climate Change Impacts,” in 2nd International Conference on Business Analytics for Technology and Security, ICBATS 2023, Institute of Electrical and Electronics Engineers Inc., 2023. [CrossRef]
  41. N. Mahankale, S. Gore, D. Jadhav, G. S. P. S. Dhindsa, P. Kulkarni, and K. G. Kulkarni, “AI-based spatial analysis of crop yield and its relationship with weather variables using satellite agrometeorology,” in Proceedings of 3rd International Conference on Advanced Computing Technologies and Applications, ICACTA 2023, Institute of Electrical and Electronics Engineers Inc., 2023. [CrossRef]
  42. J. Jāmiʻat Fīlādilfiyā (Amman, Jāmiʻah al-Hāshimīyah (Jordan), and IEEE Communications Society., An Interactive Predictive System for Weather Forecasting.
  43. S. Joshi, M. Sharma, D. Kaushal, A. Misra, P. Gupta, and S. Gopal, “Optimizing Productivity and Efficiency in Agriculture through the Integration of Digital Technologies: A Smart Agriculture Perspective,” in 9th International Conference on Smart Computing and Communications: Intelligent Technologies and Applications, ICSCC 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 119–125. [CrossRef]
  44. Ullah, M. Fayaz, M. Aman, and D. Kim, “Toward Autonomous Farming - A Novel Scheme Based on Learning to Prediction and Optimization for Smart Greenhouse Environment Control,” IEEE Internet Things J., vol. 9, no. 24, pp. 25300–25323, Dec. 2022. [CrossRef]
  45. N. Sylvѐre and R. Jean D’amour, “Updates on Modern Agricultural Technologies Adoption and Its Impacts on the Improvement of Agricultural Activities in Rwanda: A Review,” 2020. [Online]. Available: www.ijisrt.com.
  46. R. SISODIA and R. Sharma, “Bibliometric Analysis of Peer-Reviewed Literature on Stress Factors Affecting Agricultural Productivity,” Curr. Agric. Res. J., vol. 10, no. 3, pp. 170–180, Jan. 2023. [CrossRef]
  47. J. Liu, W. Jiang, H. Han, M. He, and W. Gu, “Satellite Internet of Things for Smart Agriculture Applications: A Case Study of Computer Vision,” in Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks workshops, IEEE Computer Society, 2023, pp. 66–71. [CrossRef]
  48. X. Li, Y. Sun, and Z. Yang, “UAVs-Based Smart Agriculture IoT Systems: An Application-Oriented Design,” in 2023 6th International Symposium on Autonomous Systems, ISAS 2023, Institute of Electrical and Electronics Engineers Inc., 2023. [CrossRef]
  49. R. Marini, E. Testi, C. Buratti, A. Giorgetti, and R. Verdone, “A Sensing-without-Sensors System for Soil Moisture Estimation,” in 2021 IEEE International Workshop on Metrology for Agriculture and Forestry, MetroAgriFor 2021 - Proceedings, Institute of Electrical and Electronics Engineers Inc., 2021, pp. 192–196. [CrossRef]
  50. M. Alsmirat et al., Remote Sensing Data: Useful Way for the Precision Agriculture.
  51. F. K. Shaikh, S. Karim, S. Zeadally, and J. Nebhen, “Recent Trends in Internet-of-Things-Enabled Sensor Technologies for Smart Agriculture,” IEEE Internet of Things Journal, vol. 9, no. 23. Institute of Electrical and Electronics Engineers Inc., pp. 23583–23598, Dec. 01, 2022. [CrossRef]
  52. M. Mehedi, M. S. Hanif, M. Bilal, M. T. Vellingiri, and T. Palaniswamy, “Remote Sensing and Decision Support System Applications in Precision Agriculture: Challenges and Possibilities,” IEEE Access, vol. 12, pp. 44786–44798, 2024. [CrossRef]
  53. N. Victor et al., “Remote Sensing for Agriculture in the Era of Industry 5.0-A Survey,” IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens., vol. 17, pp. 5920–5945, 2024. [CrossRef]
  54. S. Arjune and V. Srinivasa Kumar, “Smart Agriculture adoption based on Farmer’s Perspective,” in International Interdisciplinary Humanitarian Conference for Sustainability, IIHC 2022 - Proceedings, Institute of Electrical and Electronics Engineers Inc., 2022, pp. 376–379. [CrossRef]
  55. S. Taylor’s University (Subang Jaya, IEEE Consumer Electronics Society. Malaysia Chapter, and Institute of Electrical and Electronics Engineers, Smart Agriculture Management System with Remote Sensing Technology for Corn.
  56. M. Hasan, K. N. W. Uddin, A. Sayeed, and T. Tasneem, “Smart Agriculture Robotic System Based on Internet of Things to Boost Crop Production,” in International Conference on Robotics, Electrical and Signal Processing Techniques, 2021, pp. 157–162. [CrossRef]
  57. IEEE Computer Society. Malaysia Chapter and Institute of Electrical and Electronics Engineers, Smart Agriculture Using Internet of Things.
  58. S. Rosewick, F. Schorlemer, and F. Kunemund, “System Architecture for a Wireless Sensor Network for Sustainable Agriculture, Forestry and Green Spaces in Smart Cities,” in Proceedings of the IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications, IDAACS, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 181–186. [CrossRef]
  59. F. Liu and X. Yan, “The application of Machine Learning and IOT in Smart Agriculture,” in Proceedings - 2022 Global Conference on Robotics, Artificial Intelligence and Information Technology, GCRAIT 2022, Institute of Electrical and Electronics Engineers Inc., 2022, pp. 50–53. [CrossRef]
  60. R. Vaddi, M. A. Kumar, and L. N. P. Boggavarapu, “A survey on electromagnetic radiation based remote sensing applications to agriculture,” in Proceedings of the 3rd International Conference on Intelligent Sustainable Systems, ICISS 2020, Institute of Electrical and Electronics Engineers Inc., Dec. 2020, pp. 1197–1202. [CrossRef]
  61. Y. Alebele et al., “Estimation of Crop Yield from Combined Optical and SAR Imagery Using Gaussian Kernel Regression,” IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens., vol. 14, pp. 10520–10534, 2021. [CrossRef]
  62. SCAD Institute of Technology, IEEE Electron Devices Society, and Institute of Electrical and Electronics Engineers, Internet of Things Application for Implementation of Smart Agriculture System.
  63. S. Bouarourou, A. Zannou, A. Boulaalam, and E. H. Nfaoui, “IoT Based Smart Agriculture Monitoring System with Predictive Analysis,” in 2022 2nd International Conference on Innovative Research in Applied Science, Engineering and Technology, IRASET 2022, Institute of Electrical and Electronics Engineers Inc., 2022. [CrossRef]
  64. K. Kamalesh Kumar, V. V. Khairnar, and B. V. Kadam, “LoRa-based Novel System for Smart Agriculture,” in 2nd International Conference on Wireless, Antenna and Microwave Symposium, WAMS 2023, Institute of Electrical and Electronics Engineers Inc., 2023. [CrossRef]
  65. R. Vijay, Y. V. Priya, P. C. Reddy, S. Monisha, and V. Ramasamy, “A IoT based Smart Auto Irrigation system,” in 2023 International Conference on Computer Communication and Informatics, ICCCI 2023, Institute of Electrical and Electronics Engineers Inc., 2023. [CrossRef]
  66. S. Mishra, S. Nayak, and R. Yadav, “An Energy Efficient LoRa-based Multi-Sensor IoT Network for Smart Sensor Agriculture System,” in 2023 IEEE Topical Conference on Wireless Sensors and Sensor Networks, WiSNeT 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 28–31. [CrossRef]
  67. S. K. Niranjan, K.L.S. Gogte Institute of Technology, Institute of Electrical and Electronics Engineers. Bangalore Section., and Institute of Electrical and Electronics Engineers, Remote Sensing Technology and Applications in Agriculture.
  68. N. Zhang, Y. Qu, Z. Song, Y. Chen, and J. Jiang, “Responses and sensitivities of maize phenology to climate change from 1971 to 2020 in Henan Province, China,” PLoS One, vol. 17, no. 1 1, Jan. 2022. [CrossRef]
  69. H. A. Dwamena, K. Tawiah, and A. S. Akuoko Kodua, “The Effect of Rainfall, Temperature, and Relative Humidity on the Yield of Cassava, Yam, and Maize in the Ashanti Region of Ghana,” Int. J. Agron., vol. 2022, 2022. [CrossRef]
  70. Z. Wei et al., “An Increase in Solar Radiation in the Late Growth Period of Maize Alleviates the Adverse Effects of Climate Warming on the Growth and Development of Maize,” Agronomy, vol. 13, no. 5, May 2023. [CrossRef]
  71. Y. Li et al., “Weather Forecasting Using Ensemble of Spatial-Temporal Attention Network and Multi-Layer Perceptron,” Asia-Pacific J. Atmos. Sci., vol. 57, no. 3, pp. 533–546, 2021. [CrossRef]
  72. EAOS Data Analytics;" Soil Temperature for Optimal Crop Growth and Development",at https://eos.com › Blog.
Figure 1. Map of the Republic of Rwanda with a blue arrow indicating area of study.
Figure 1. Map of the Republic of Rwanda with a blue arrow indicating area of study.
Preprints 195718 g001
Figure 2. Land zoning distribution of Kayonza district.
Figure 2. Land zoning distribution of Kayonza district.
Preprints 195718 g002
Figure 3. Land use distribution of the district per Ha.
Figure 3. Land use distribution of the district per Ha.
Preprints 195718 g003
Figure 4. Meteorological data collection process and data analysis.
Figure 4. Meteorological data collection process and data analysis.
Preprints 195718 g004
Figure 5. Trend of daily rainfall in the area under study in Kayonza sector.
Figure 5. Trend of daily rainfall in the area under study in Kayonza sector.
Preprints 195718 g005
Figure 6. Annual mean temperature.
Figure 6. Annual mean temperature.
Preprints 195718 g006
Figure 7. Annual Soil temperature.
Figure 7. Annual Soil temperature.
Preprints 195718 g007
Figure 8. Maize production of the district from 2011 to 2024.
Figure 8. Maize production of the district from 2011 to 2024.
Preprints 195718 g008
Figure 9. Random forest model.
Figure 9. Random forest model.
Preprints 195718 g009
Figure 10. Block diagram of XBoost gradient.
Figure 10. Block diagram of XBoost gradient.
Preprints 195718 g010
Figure 11. SVM block diagram concept.
Figure 11. SVM block diagram concept.
Preprints 195718 g011
Figure 12. LASSO diagram concept.
Figure 12. LASSO diagram concept.
Preprints 195718 g012
Table 1. Model performance.
Table 1. Model performance.
Model MAE (t/ha) RMSE (t/ha)
Random Forest 0.957 1.018 1.279
SVM 0.955 1.047 1.311
XGBoost 0.953 1.058 1.334
LASSO 0.256 4.026 5.302
Table 2. Proportion of features importance.
Table 2. Proportion of features importance.
Feature Importance
annual_mean_temp 0.276
annual_max_temp 0.126
annual_min_temp 0.151
annual_rainfall 0.444
soil_temp 0.003
Table 3. contribution of features importance of XGBoost Model.
Table 3. contribution of features importance of XGBoost Model.
Feature Importance
annual_mean_temp 0.299
annual_max_temp 0.155
annual_min_temp 0.116
annual_rainfall 0.388
soil_temp 0.043
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated