IoT-Enabled Machine Learning Framework for Precision Agriculture: Achieving Near-Perfect Crop Yield Prediction in Pakistan's Diverse Agro-Climatic Zones
DOI:
https://doi.org/10.21015/vtcs.v13i2.2310Abstract
This study introduces an integrated IoT-based framework for machine learning of agricultural crop yield prediction without rivaling in the accuracy levels. After an intensive survey of 16 machine learning algorithms on multiyear data from the principle agricultural zones of Pakistan, we show that ensemble models are capable of achieving close to perfect prediction accuracy. The Random Forest method had excellent performance with R² = 0.99, RMSE = 538.37 kg/ha and MAPE = 0.2944% which are a new benchmark in the field of agricultural yield prediction. Analysis of 400 agricultural records across seven districts showed evident outperformance of the tree-based ensemble methods against conventional ones. The proposed end-to-end framework integrates IoT sensor networks and cutting-edge ML models to monitor in real-time, and with high accuracy, the yields of major crops viz. wheat, cotton, sugarcane and rice. Here, we present an important leapfrogging in precision agriculture technology development that provides disruptive potential to the agricultural planning, resource allocation and food security improvement of developing countries by fusing IoT and machine learning.
References
Food and Agriculture Organization, The State of Food and Agriculture 2023. Rome, Italy: FAO, 2023.
World Bank, Pakistan Agricultural Sector Review. Washington, DC, USA: World Bank Publications, 2023.
Pakistan Council of Research in Water Resources, Water Resources Assessment of Pakistan. Islamabad, Pakistan: PCRWR Publications, 2023.
M. S. Farooq, S. Riaz, A. Abid, K. Abid, and M. A. Naeem, “A survey on the role of IoT in agriculture for the implementation of smart farming,” IEEE Access, vol. 8, pp. 156237–156271, 2020.
T. van Klompenburg, A. Kassahun, and C. Catal, “Crop yield prediction using machine learning: A systematic literature review,” Computers and Electronics in Agriculture, vol. 177, p. 105709, 2020.
I. Ahmad and U. Saeed, “Applications of machine learning in agriculture: A review of literature,” Journal of Agricultural Informatics, vol. 12, no. 1, pp. 1–15, 2021.
G. Mohyuddin et al., “Evaluation of machine learning approaches for precision farming in smart agriculture systems: A comprehensive review,” IEEE Access, vol. 12, pp. 60155–60184, 2024.
S. M. Ali, B. Das, and D. Kumar, “Machine learning-based crop recommendation system for local farmers of Pakistan,” Revista Geintec–Gestão Inovação e Tecnologias, vol. 11, no. 4, pp. 5735–5746, 2021.
B. Das et al., “Linear regression-based crop suggestive system for local Pakistani farmers,” in Proc. Global Conf. on Wireless and Optical Technologies (GCWOT), 2023, pp. 1–6.
S. Karim et al., “Artificial intelligence in sustainable smart agriculture: Concepts, applications, and challenges,” VAWKUM Transactions on Computer Sciences, vol. 13, no. 1, pp. 307–342, 2025.
Pakistan Bureau of Statistics, Agricultural Statistics of Pakistan. Islamabad, Pakistan: Government of Pakistan, 2023.
M. A. Rahu et al., “Toward design of Internet of Things and machine learning-enabled frameworks for analysis and prediction of water quality,” IEEE Access, 2023.
M. A. Rahu et al., “An IoT and machine learning solution for monitoring agricultural water quality: A robust framework,” Mehran University Research Journal of Engineering and Technology, vol. 43, no. 1, pp. 192–205, 2024.
M. A. Rahu et al., “Water quality monitoring and assessment for efficient water resource management through Internet of Things and machine learning approaches for agricultural irrigation,” Water Resources Management, 2024.
M. A. Rahu, “Transforming farming with technology: A smart novel agriculture framework and infrastructure,” Sukkur IBA Journal of Computing and Mathematical Sciences, vol. 8, no. 2, pp. 53–69, 2024.
G. M. Jatoi et al., “Water quality monitoring in agriculture: Applications, challenges, and future prospects with IoT and machine learning,” Journal of Applied Engineering & Technology (JAET), vol. 7, no. 2, pp. 46–54, 2023.
S. M. A. Shah et al., “Innovative machine learning solutions: Investigating algorithms and applications,” Journal of Applied Engineering & Technology (JAET), vol. 8, no. 1, pp. 32–51, 2024.
M. C. Vuran, A. Salam, R. Wong, and S. Irmak, “Internet of Things in agriculture: A survey,” IEEE Internet of Things Journal, vol. 5, no. 5, pp. 3750–3763, 2018.
A. Crane-Droesch, “Machine learning methods for crop yield prediction and climate change impact assessment in agriculture,” Environmental Research Letters, vol. 13, no. 11, p. 114003, 2018.
S. Khaki and L. Wang, “Crop yield prediction using deep neural networks,” Frontiers in Plant Science, vol. 10, p. 621, 2019.
Downloads
Published
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-By) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This work is licensed under a Creative Commons Attribution License CC BY