Cover
Vol. 25 No. 2 (2025)

Published: December 31, 2025

Pages: 114-119

Original Article

Early Prediction of Tomato Diseases in Iraqi Agriculture using AI-Based Temperature and Humidity Data: A Random Forest Approach

Abstract

Plants and agriculture are important in Iraq and the world because they are among the essential basics of life; their importance lies in several fields, such as industry and food. Plant diseases are the first direct influence on plant production and the Iraqi economy. The primary contribution of this work is developing an efficient early warning system for tomato plant diseases based on readily available environmental data, demonstrating the usefulness of machine learning methods in real agricultural environments. This research investigates the use of artificial intelligence (AI) for the early prediction of tomato diseases in Iraqi agriculture, based on temperature and humidity data collected from Salah al-Din Governorate. Two major diseases were studied: Tomato Yellow Leaf Curl Virus (TYLCV) and late blight. The data were pre-processed and used to train predictive models, including linear regression and Random Forest Regressor (RFR). Results show that RFR outperformed linear regression, achieving a lower Root Mean Square Error (RMSE) of 0.053852 and a Mean Absolute Error (MAE) of 0.45000, indicating its superior accuracy in predicting disease occurrences.

References

  1. M. Abdaki, A. Al-Iraqi, and R. M. Faisal, "Predicting long-term climate changes in Iraq," IOP Conference Series: Earth and Environmental Science, vol. 779, no. 1, p. 012053, 2021. https://doi.org/10.1088/1755-1315/779/1/012053
  2. K. G. Liakos, P. Busato, D. Moshou, S. Pearson, and D. Bochtis, "Machine learning in agriculture: A review," Sensors, vol. 18, no. 8, p. 2674, 2018. https://doi.org/10.3390/s18082674
  3. M. Lapidot, O. Lachman, U. Zelinger, and A. D. Friedman, "Development of a scale for evaluation of Tomato yellow leaf curl virus resistance level in tomato plants," Phytopathology, vol. 96, no. 12, pp. 1404-1408, 2006. https://doi.org/10.1094/PHYTO-96-1404
  4. D. C. Erwin and O. K. Ribeiro, Phytophthora diseases worldwide. St. Paul, MN, USA: American Phytopathological Society, 1996, p. 562.
  5. P. Delfani, P. D. S. S. V, S. S. S. S, and R. S. S. S, "Integrative approaches in modern agriculture: IoT, ML and AI for disease forecasting amidst climate change," Precision Agriculture, pp. 1-25, 2024. https://doi.org/10.1007/s11119-024-10164-7
  6. G. Fenu and F. M. Malloci, "Artificial intelligence technique in crop disease forecasting: A case study on potato late blight prediction," in Proceedings of the 12th KES International Conference on Intelligent Decision Technologies (KES-IDT 2020), Singapore, 2020, pp. 79-89. https://doi.org/10.1007/978-981-15-5925-9_7
  7. D. Mishra and D. Deepa, "Automation and integration of growth monitoring in plants (with disease prediction) and crop prediction," Materials Today: Proceedings, vol. 43, pp. 3922-3927, 2021. https://doi.org/10.1016/j.matpr.2021.01.973
  8. S. A. Wagle and R. Harikrishnan, "Prediction of tomato plant disease with meteorological condition and artificial intelligence," ECS Transactions, vol. 107, no. 1, p. 20377, 2022. https://doi.org/10.1149/10701.20377ecst
  9. G. R. Babu, M. Gokuldhev, and P. S. Brahmanandam, "Integrating IoT for soil monitoring and hybrid machine learning in predicting tomato crop disease in a typical South India station," Sensors, vol. 24, no. 19, p. 6177, 2024. https://doi.org/10.3390/s24196177
  10. R. R. Patil, S. Kumar, and R. Rani, "Comparison of artificial intelligence algorithms in plant disease prediction," Revue d'Intelligence Artificielle, vol. 36, no. 2, pp. 307-314, 2022. https://doi.org/10.18280/ria.360202
  11. D. Joshi, T. P. S. S. S, and A. K. S. S. S, "AI-based machine learning and multiple linear regression approach to simulate the effect of weather on the crop age at first appearance of potato late blight (Phytophthora infestans (Mont.) de Bary) disease," Potato Research, pp. 1-24, 2024. https://doi.org/10.1007/s11540-024-09795-0
  12. D.-H. Jung, T. S. S. S, S. H. S. S, and J. W. S. S, "A deep learning model to predict evapotranspiration and relative humidity for moisture control in tomato greenhouses," Agronomy, vol. 12, no. 9, p. 2169, 2022. https://doi.org/10.3390/agronomy12092169
  13. D. C. Montgomery, E. A. Peck, and G. G. Vining, Introduction to linear regression analysis, 6th ed. Hoboken, NJ, USA: John Wiley & Sons, 2021.
  14. B. A. Goldstein, E. C. Polley, and F. B. S. Briggs, "Random forests for genetic association studies," Statistical Applications in Genetics and Molecular Biology, vol. 10, no. 1, Article 32, 2011. https://doi.org/10.2202/1544-6115.1691