Comparative Analysis of Machine Learning Models for Predicting Rice Yield: Insights from Agricultural Inputs and Practices in Rwanda

Cyprien Mugemangango

University of Rwanda

Joseph Nzabanita

University of Rwanda

Dieudonne Ndaruhuye Muhoza

University of Rwanda

Nathan Cahill

Rochester Insitute of Technology

DOI: https://doi.org/10.36956/rwae.v5i4.1247

Received: 17 August 2024 | Revised: 18 September 2024 | Accepted: 23 September 2024 | Published Online: 15 November 2024

Copyright © 2024 Cyprien Mugemangango, Joseph Nzabanita, Dieudonne Ndaruhuye Muhoza, Nathan Cahill. Published by Nan Yang Academy of Sciences Pte. Ltd.

Creative Commons LicenseThis is an open access article under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License.


Abstract

Food security is a global challenge, especially in developing countries like Rwanda. With a growing population and limited agricultural land, Rwanda struggles to meet increasing food demands. Rice is a staple food crop in Rwanda, playing a crucial role in the country’s food security. However, factors like climate variability, soil nutrient management, and limited access to high-quality inputs hinder rice yield optimization. This paper investigates the most effective machine learning model for predicting rice crop yield in Rwanda, using agricultural inputs and practices. The study used secondary datasets from the National Institute of Statistics of Rwanda (NISR) for rice yield prediction. Eight supervised machine learning algorithms were used, including Linear Regression, Random Forest, Gradient Boosting, Support Vector Machine, Artificial Neural Network, eXtreme Gradient Boosting Tree, and AdaBoost. The models were evaluated based on their accuracy in predicting rice yields, with RMSE, MAE, and Relative Error as primary metrics. The feature importance analysis was also conducted to identify significant factors influencing yield predictions. The study’s findings revealed that the Adaptive Boosting Tree model outperformed the other machine learning models in predicting rice yield. This model achieved RMSE, MAE and Relative Error of 0.69, 0.46 and 12.4%, respectively, indicating a high level of predictive accuracy. The feature importance analysis further highlighted the key factors that contributed to rice yield predictions, with the quantity of inorganic fertilizer, degree of erosion, season, and seed type emerging as the most influential variables. The study demonstrates the effectiveness of machine learning models, particularly the Adaptive Boosting Tree, in improving rice yield predictions and highlighting the crucial role of agricultural inputs like fertilizer and seed type, in influencing crop yields. The output from this study will help the farmers and stakeholders to make data-driven decisions about resource use and crop management.

Keywords: Agricultural Inputs; Agricultural Practices; Machine Learning; Artiϐicial Intelligence; Precision Farming


References

[1] NISR, 2023. Gross Domestic Product (GDP), Third Quarter 2023. Available from: https://www.statistics.gov.rw/publication/gdp-national-accounts-fourth-quarter-2023#:~:text=In%20the%20fourth%20quarter%20of,estimated%20at%20Frw%204%2C500%20billion (cited 11 March 2024).

[2] MINAGRI, 2023. Rwanda's Agriculture Sector Transformation Journey over the Last 29 Years. 4 July, 2023. Available from: https://www.minagri.gov.rw/updates/news-details/rwandas-agriculture-sector-transformation-journey-over-the-last-29-years (cited 11 March 2024).

[3] MINAGRI, 2023. Strategic Plan for Agriculture Transformation 2018–24. June, 2018. Available from: https://www.minagri.gov.rw/fileadmin/user_upload/Minagri/Publications/Policies_and_strategies/PSTA4__Rwanda_Strategic_Plan_for_Agriculture_Transformation_2018.pdf (cited 11 March 2024).

[4] Imasiku, K., Ntagwirumugara, E., 2020. An impact analysis of population growth on energy‐water‐food‐land nexus for ecological sustainable development in Rwanda. Food and Energy Security. 9(1), e185.

[5] NISR, 2022. Comprehensive Food Security and Vulnerability Analysis. October, 2021. Available from: https://www.statistics.gov.rw/publication/comprehensive-food-security-and-vulnerability-analysis2022 (cited 11 March 2024).

[6] Liliane, T.N., Charles, M.S., 2020. Factors affecting yield of crops. Agronomy-Climate Change & Food Security. 9.

[7] MINAGRI, RWANDA, 2021. National Rice Development Strategy (2021–2030). July 2021. Available from: https://riceforafrica.net/wp-content/uploads/2021/09/rwanda_nrds2.pdf (cited 11 March 2024).

[8] Benos, L., Tagarakis, A.C., Dolias G., et al., 2021. Machine learning in agriculture: A comprehensive updated review. Sensors. 21(11), 3758.

[9] Jiya, E.A., Illiyasu, U., Akinyemi, M., 2023. Rice yield forecasting: A comparative analysis of multiple machine learning algorithms. Journal of Information Systems and Informatics. 5(2), 785–799.

[10] Li, N., Zhao, Y., Han, J., et al., 2024. Impacts of future climate change on rice yield based on crop model simulation—A meta-analysis. Science of The Total Environment. 949, 175038.

[11] Zhou, S., Xu, L., Chen, N., 2023. Rice yield prediction in hubei province based on deep learning and the effect of spatial heterogeneity. Remote Sensing. 15(5), 1361.

[12] Satpathi, A., Setiya, P., Das, B., et al., 2023. Comparative analysis of statistical and machine learning techniques for rice yield forecasting for Chhattisgarh, India. Sustainability. 15(3), 2786.

[13] Elbasi, E., Zaki, C., Topcu, A.E., et al., 2023. Crop prediction model using machine learning algorithms. Applied Sciences. 13(16), 9288.

[14] Nigam, A., Garg, S., Agrawal, A.,et al., 2019. Crop yield prediction using machine learning algorithms. In Proceedings of the 2019 Fifth International Conference on Image Information Processing (ICIIP); November 2019; Shimla, India; pp. 125–130.

[15] P. S., M.G., R., B., 2019. Performance evaluation of best feature subsets for crop yield prediction using machine learning algorithms. Applied Artificial Intelligence. 33(7), 621–642.

[16] Kang, Y., Ozdogan, M., Zhu, X., et al., 2020. Comparative assessment of environmental variables and machine learning algorithms for maize yield prediction in the US Midwest. Environmental Research Letters. 15(6), 064005.

[17] Kuradusenge, M., Hitimana, E., Hanyurwimfura, D., et al., 2023. Crop yield prediction using machine learning models: case of Irish potato and maize. Agriculture. 13(1), 225.

[18] Kumar Gajula, A., Singamsetty, J., Dodda, V.C., et al., 2021. Prediction of crop and yield in agriculture using machine learning technique. In Proceedings of the 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT); July 2021; Chennai, India; pp. 1–5.

[19] Panigrahi, B., Kathala, K.C.R., Sujatha, M., 2023. A machine learning-based comparative approach to predict the crop yield using supervised learning with regression models. Procedia Computer Science. 218, 2684–2693.

[20] Chan, J.Y.L., Leow, S.M.H., Bea, K.T., et al., 2022. Mitigating the multicollinearity problem and its machine learning approach: A review. Mathematics. 10(8), 1283.

[21] Futakuchi, K., Senthilkumar, K., Arouna, A., et al., 2021.History and progress in genetic improvement for enhancing rice yield in sub-Saharan Africa. Field Crops Research. 267, 108159.

[22] Gopal, P.M., Bhargavi, R., 2019. A novel approach for efficient crop yield prediction. Computers and Electronics in Agriculture. 165, 104968.

[23] Shastry, A., Sanjay, H.A., Bhanusree, E., 2017. Prediction of crop yield using regression techniques. International Journal of Soft Computing. 12(2), 96–102.

[24] Jeong, J.H., Resop, J.P., Mueller, N.D., et al., 2016. Random forests for global and regional crop yield predictions. PloS One. 11(6), e0156571.

[25] Suresh, N., Ramesh, N.V.K., Inthiyaz, S., et al., 2021. Crop yield prediction using random forest algorithm. In Proceedings of the 2021 7th international conference on advanced computing and communication systems (ICACCS); 19–20 March 2021; Coimbatore, India; Volume 1, pp. 279–282.

[26] Moraye, K., Pavate, A., Nikam, S., et al., 2021. Crop yield prediction using random forest algorithm for major cities in Maharashtra State. International Journal of Innovative Research in Computer Science & Technology (IJIRCST). 9(2), 40–44.

[27] Keerthana, M., Meghana, K.J.M., Pravallika, S., et al., 2021. An ensemble algorithm for crop yield prediction. In Proceedings of the 2021 Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV); 4–6 February 2021; Tirunelveli, India; pp. 963–970.

[28] Ravi, R., Baranidharan, B., 2020. Crop yield prediction using XG Boost Algorithm. International Journal of Recent Technology and Engineering (IJRTE). 8(5), 3516–3520.

[29] Mariadass, D.A., Moung, E.G., Sufian, M.M., et al., 2022. EXtreme gradient boosting (XGBoost) regressor and shapley additive explanation for crop yield prediction in agriculture. In Proceedings of the 2022 12th International Conference on Computer and Knowledge Engineering (ICCKE); 17–18 November 2022; Mashhad, Iran; pp. 219–224.

[30] Mallikarjuna Rao, G.S., Dangeti, S., Amiripalli, S.S., 2022. An efficient modeling based on XGBoost and SVM algorithms to predict crop yield. In Advances in Data Science and Management: Proceedings of ICDSM 2021; 13 February 2022. Springer Nature Singapore: Singapore. pp. 565–574.

[31] Huber, F., Yushchenko, A., Stratmann, B., et al., 2022. Extreme gradient boosting for yield estimation compared with deep learning approaches. Computers and Electronics in Agriculture. 202, 107346.

[32] Jeevaganesh, R., Harish, D., Priya, B., 2022. A machine learning-based approach for crop yield prediction and fertilizer recommendation. In Proceedings of the 2022 6th International conference on trends in electronics and informatics (ICOEI); 28–30 April 2022; Tirunelveli, India; pp. 1330–1334.

[33] Bondre, D.A., Mahagaonkar, S., 2019. Prediction of crop yield and fertilizer recommendation using machine learning algorithms. International Journal of Engineering Applied Sciences and Technology. 4(5), 371–376.

[34] Dahikar, S.S., Rode, S.V., 2014. Agricultural crop yield prediction using artificial neural network approach. International Journal of Innovative Research in Electrical, Electronics, Instrumentation and Control Engineering. 2(1), 683–686.

[35] Ramesh, D., Vardhan, B.V., 2015. Analysis of crop yield prediction using data mining techniques. International Journal of Research in Engineering and Technology. 4(1), 47–473.

[36] Gandhi, N., Petkar, O., Armstrong, L.J., 2016. Rice crop yield prediction using artificial neural networks. In Proceedings of the 2016 IEEE Technological Innovations in ICT for Agriculture and Rural Development (TIAR); 15–16 July 2016; Chennai, India; pp. 105–110.

[37] Kat, C.J., Els, P.S., 2012. Validation metric based on relative error. Mathematical and Computer Modelling of Dynamical Systems. 18(5), 487–520.

Online ISSN: 2737-4785, Print ISSN: 2737-4777, Published by Nan Yang Academy of Sciences Pte. Ltd.