Diagnosis and estimation of the sugarcane fields yield using support vector machine and random forest algorithm (A case study: Dehkhoda Sugarcane Agro-industry Company)

Document Type : Applicable

Authors

1 MSc., Biosystems engineering Dept., Faculty of Agriculture, Shahid Chamran University of Ahvaz, Ahvaz, Iran

2 Associate Professor, Biosystems engineering Dept., Faculty of Agriculture, Shahid Chamran University of Ahvaz, Ahvaz, Iran

Abstract
Introduction

Sugarcane is cultivated on 135,000 hectares of agricultural land in Khuzestan Province. In some of the farms of Sugarcane and By Products Development Company, an average of 125 tons per hectare is harvested annually, which indicates the favorable potential of Khuzestan province for sugarcane cultivation. In recent years, sugarcane production yield per unit area has decreased. Therefore, extensive studies are needed in this field to investigate the causes of the decline in sugarcane yields and provide solutions to improve crop yield. Sugarcane yield is affected by various parameters; given that simultaneous examination of the effects of management, water, soil, and climate on sugarcane plants is not possible in the field method; therefore, modeling is a solution to this problem. Data mining and machine learning tools can analyze data and identify factors affecting product performance. The purpose of this research is to identify problems and estimate the performance of sugarcane farms in Dehkhoda Agro-Industry using the support vector machine and random forest algorithms.

Materials and Methods

To collect data and information, statistics from Sugarcane and By Products Development Company and the Dehkhoda Sugarcane Agro-Industry Company in the 2019-2023 crop years were used, as well as field data collection and measurement. The data used includes 2032 records, which consist of four categories of datasets: meteorological data, crop data, soil data, and farm management data. The variables studied in the two algorithms of support vector machine and random forest include: crop variety, harvest month, nitrogen chemical fertilizer, phosphorus chemical fertilizer, plant age (first crop or ratoon), number of times the field is irrigated during the growing season, ratio of the field's sprayed area (ratio of the sprayed area to the total field area), soil texture, soil electrical conductivity, amount of water consumption per hectare, drainage rate, field management (production management), length of the growing season, field area, sugarcane yield, and climatic variables. The indicators used to evaluate the accuracy of the model included: root mean square error, average absolute value of error, and correlation coefficient. Python software version 3.12.4 was used for modeling. In this study, 70% of the data, which includes 1626 samples, were selected for the training set and 30% of the data, which includes 406 samples, were selected for the testing set.

Results and Discussion

The scores of the support vector machine and random forest models, considering sugarcane yield as the target variable in two training and testing datasets, were 84.5 and 85.6 percent on the testing data, respectively, and 86.9 and 87.1 percent on the training data, respectively. In the experimental phase, the performance of the random forest model was significant with a correlation coefficient (R2) of 0.92, a mean absolute error (MAE) of 0.34, and a root mean square error (RMSE) of 62.81. In this study, various metrics and methods were used to evaluate the accuracy of the models and their stability and reliability in dealing with new data. The constructed models were evaluated using data cross-validation, confusion matrix, performance characteristic curve, and sensitivity accuracy curve. For sugarcane yield prediction, the accuracy of the hybrid classifier with soft voting on training and test data was 93% and 89%, respectively. The accuracy-frequency for the sugarcane yield prediction model using random forest model was 96%, which is a significant achievement in this research. This high accuracy indicates that the model was able to well identify and model the complex and nonlinear patterns present in sugarcane data. Also, this high accuracy indicates that the input variables selected for the model had high predictive power. The obtained random forest output curve shows that the random forest algorithm has also been able to perform acceptable in predicting sugarcane yield. The upward trend and then stabilization of the curve indicates that the model has converged well and reached the optimal point.

Conclusion

The results showed significant success in using machine learning techniques to predict the performance of sugarcane fields. The 97% accuracy of the random forest model, confirmed by 10-layer cross-validation, indicates that this model can be used as a reliable tool in sugarcane plantation management. Complementary results from the vector machine algorithm also confirm these findings. The balanced distribution of data in the box plot, good performance in the confusion matrix, and favorable ROC curve all indicate that these models can play an important role in sugarcane plantation management decisions. These results also show that using the random forest technique in agriculture can help improve productivity and better resource management.

Keywords

Subjects

  1. Abbas, F., Afzaal, H., Farooque, A.A. and Tang, S. .2020. Crop yield prediction through proximal sensing and machine learning algorithms. Agronomy, 10 (7): 1046. https://doi.org/10.3390/agronomy10071046
  2. Batool, D., Shahbaz, M., Shahzad Asif, H., Shaukat, K., Alam, T. M., Hameed, I. A., and Luo, S. 2022. A Hybrid Approach to Tea Crop Yield Prediction Using Simulation Models and Machine Learning. Plants, 11 (15): 1925.‏ https://doi.org/10.3390/plants11151925
  3. Ed-Daoudi, R., Alaoui, A., Ettaki, B. and Zerouaoui, J. 2023. Improving Crop Yield Predictions in Morocco Using Machine Learning Algorithms. Journal of Ecological Engineering, 24 (6)‏: 392-400. https://doi.org/10.12911/22998993/162769
  4. Fegade, T. K., and Pawar, B. V. 2020. Crop prediction using artificial neural network and support vector machine. In Data Management, Analytics and Innovation: Proceedings of ICDMAI 2019, 2: 311-324. https://doi.org/10.1007/978-981-13-9364-8_23
  5. Ghaffari, H. and Amerikhah, H. 2023. Simulation of daily suspended sediment in the Rud Zard River using different machine learning techniques. Agricultural Engineering, 46 (1): 102-119. (In Persian with English abstract)
  6. Hafezi, N., Bahrami, H., Sheikh Davoudi, M.J. and Alavi, S.A. 2021. Hybrid artificial neural network with metaheuristic algorithms in sugarcane yield prediction. Iranian Journal of Biosystem Engineering, 51 (3): 515-526. (In Persian with English abstract)
  7. Han, J., Kamber, M., and Pei, J. 2019. Data mining: concepts and techniques, 3rd Niaze danesh. Tehran. (In Persian)
  8. Jafarian, Z. and Kargar, M. 2017. Comparison of Random Forest (RF) and Boosted Regression Tree (BRT) models in predicting the presence of dominant rangeland species in the rangelands of Pulur, Mazandaran. Applied Ecology, 6 (1): 41-55. (In Persian with English abstract)
  9. Jeong, J.H., Resop, J.P., Mueller, N.D., Fleisher, D.H., Yun, K., Butler, E.E., Timlin, D.J., Shim, K.M., Gerber, J.S., Reddy, V.R. and Kim, S.H. 2016. Random forests for global and regional crop yield predictions. PLoS One, 11 (6): 0156571. https://doi.org/10.1371/journal.pone.0156571
  10. Jhajharia, K., Mathur, P., Jain, S., and Nijhawan, S. 2023. Crop yield prediction using machine learning and deep learning techniques. Procedia Computer Science, 218: 406-417. https://doi.org/10.1016/j.procs.2023.01.023
  11. Kavoosi-Givshad, M., Khashaei-Siouki, A. and Behdani, M.A. 2021. The effectiveness of support vector machine models and gene expression programming in predicting saffron crop yield. Saffron Research, 8 (2): 343-358. (In Persian with English abstract)
  12. Kavzoglu, T., and Colkesen, I. 2009. A kernel functions analysis for support vector machines for land cover classification, International Journal of Applied Earth Observation and Geoformation, 11: 352-359. https://doi.org/10.1016/j.jag.2009.06.002
  13. Kuradusenge, M., Hitimana, E., Hanyurwimfura, D., Rukundo, P., Mtonga, K., Mukasine, A., and Uwamahoro, A. 2023. Crop yield prediction using machine learning models: case of Irish potato and maize. Agriculture, 13 (1): 225. https://doi.org/10.3390/agriculture13010225
  14. Lee Sunmin Kim, J. C., Jung, H. S., Lee, M. J., and Lee, S. 2017. Spatial prediction of flood susceptibility using random-forest and boosted-tree models in Seoul metropolitan city, Korea. Geomatics, Natural Hazards and Risk, 8: 1185–1203. https://doi.org/10.1080/19475705.2017.1308971
  15. Mahajan, J., Banal, K., and Mahajan, S. 2021. Estimation of crop production using machine learning techniques: a case study of J&K. International Journal of Information Technology, 13 (4): 1441-1448. https://doi.org/10.1007/s41870-021-00653-7
  16. Medar, R.A., Rajpurohit, V.S. and Ambekar, A.M. 2019. Sugarcane Crop Yield Forecasting Model Using Supervised Machine Learning. International Journal of Intelligent Systems and Applications, 11 (8): 11-20. https://doi.org/10.5815/ijisa.2019.08.02
  17. Monjezi, N. 2023. Sugarcane Technology and Mechanization in Iran. Shahid Chamran University of Ahvaz Publications, 792 p. (In Persian with English abstract)
  18. Monjezi, N., Zaki Dizji, H., Sheikh Davoudi, M. J., Marzban, A. and Shamili, M. 2017. Application of fuzzy GERT method in scheduling sugarcane production operations. Agricultural Engineering, 40 (1): 125-139. (In Persian with English abstract) https://doi.org/10.22055/agen.2017.1308
  19. Nader nejad, F., Imani, D. M. and Rasouli, M.R. 2022. Presenting a data-driven model for predicting sugar yield from sugarcane. Journal of Agricultural Machinery, 12 (4): 558-543. (In Persian with English abstract) https://doi.org/10.22067/jam.2021.69805.1034
  20. Panigrahi, B., Kathala, K. C. R., and 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. https://doi.org/10.1016/j.procs.2023.01.241
  21. Ramesh, D., and Vardhan, B. V. 2013. Data mining techniques and applications to agricultural yield data. International Journal of Advanced Research in Computer and Communication Engineering, 2: 3477-3480.
  22. Rezaei, M., Aghamohammadi Zanjirabad, H., Azizi, Z., Vafainejad, A. and Behzadi, S. 2023. Identification of agricultural land types in the Abbas Plain using time series analysis of Sentinel 2 satellite images. Sustainability, Development and Environment, 4 (4): 1-13. (In Persian with English abstract) https://doi.org/10.22034/jsde.2023.846486
  23. Samadzadegan, F. and Hassani, H. 2012. Determining optimal support vector machines in hyperspectral image classification based on genetic algorithm. Journal of Information and Communication Technology, 13: 9-24. (In Persian with English abstract) https://doi.org/10.4028/www.scientific.net/KEM.500.792
  24. Sarijaloo, F. B., Porta, M., Taslimi, B., and Pardalos, P. M. 2021. Yield performance estimation of corn hybrids using machine learning algorithms. Artificial Intelligence in Agriculture, 5: 82-89.‏
  25. Scholkopf, B. and Smola, A. J. 2000. Statistical learning and kernel methods. Cambridge, MA: MIT Press, pp: 29.
  26. Yamparla, R., Shaik, H. S., Guntaka, N. S. P., Marri, P., and Nallamothu, S. 2022. Crop yield prediction using random forest algorithm. In 2022 7th International Conference on Communication and Electronics Systems (ICCES), 1538-1543. https://doi.org/10.1109/ICCES54183.2022.9835756
  27. Zaki Dizaji, H. and Monjezi, N. 2018. Evaluation of waste sources during the sugarcane production process and providing solutions to reduce waste. Journal of Agricultural Machinery, 8 (1): 63-73. (In Persian with English abstract) https://doi.org/10.22067/jam.v8i1.59027
  28. Zaki-Dizaji, H., Monjezi, N. and Sheikh Davoudi, M.J. 2018. Investigating factors affecting sugarcane production yield with the aim of increasing production using a data mining approach. Iranian Journal of Biosystem Engineering, 49 (3): 501-511. (In Persian with English abstract)
  29. Zaki Dizaji, H. Bahrami, H. Monjezi, N. and Sheikh Davoudi, M.J. 2019. Modeling variables affecting sugarcane yield using 0.05C and QUEST decision tree algorithms. Journal of Agricultural Machinery, 9 (18): 469-484. (In Persian with English abstract) https://doi.org/10.22067/jam.v9i2.69712