Journal of Machine and Computing

Implementation of the Internet of Things for early Floods in Agricultural Land using Dimensionality Reduction Technique and Ensemble ML

Journal of Machine and Computing

Received On : 02 June 2023

Revised On : 25 August 2023

Accepted On : 20 September 2023

Published On : 26 September 2023

Volume 03, Issue 04

Pages : 591-600


Due to human activities like global warming, pollution, ozone depletion, deforestation, etc., the frequency and severity of natural disasters have increased in recent years. Unlike many other types of natural disasters, floods may be anticipated and warned about in advance. This work presents a flood monitoring and alarm system enabled by a smart device. A microcontroller (Arduino) is included, and its support for detection and indication makes it useful for keeping tabs on and managing the gadget. The device uses its own sensors to take readings of its immediate surroundings, then uploads that data to the cloud and notifies a central administrator of the impending flood. When admin discovers a crisis situation based on the data it has collected, it quickly sends out alerts to those in the local vicinity of any places that are likely to be flooded. Using an Android app, it alerts the user's screen. The project's end goal is to develop an application that swiftly disseminates flood warning information to rural agricultural communities. Scaled principal component analysis (SPCA) is used to filter out extraneous data, and an ensemble machine learning technique is used to make flood predictions. The tests are performed on a dataset that is being collected in real-time and analysed in terms of a number of different parameters. In this research, we propose a strategy for long-term agricultural output through the mitigation of flood risk.


Flood, Monitoring System, Ensemble Machine Learning, Scaled Principal Component Analysis, Microcontroller.

  1. G. S, D. T, and A. Haldorai, “A Supervised Machine Learning Model for Tool Condition Monitoring in Smart Manufacturing,” Defence Science Journal, vol. 72, no. 5, pp. 712–720, Nov. 2022, doi: 10.14429/dsj.72.17533.
  2. Munawar, H.S.; Hammad, A.; Ullah, F.; Ali, T.H. After the flood: A novel application of image processing and machine learning for post-flood disaster management. In Proceedings of the 2nd International Conference on Sustainable Development in Civil Engineering (ICSDC 2019), Jamshoro, Pakistan, 5–7 December 2019.
  3. G. Lenderink and E. van Meijgaard, “Increase in hourly precipitation extremes beyond expectations from temperature changes,” Nature Geoscience, vol. 1, no. 8, pp. 511–514, Jul. 2008, doi: 10.1038/ngeo262.
  4. S. T. Ashley and W. S. Ashley, “Flood Fatalities in the United States,” Journal of Applied Meteorology and Climatology, vol. 47, no. 3, pp. 805–818, Mar. 2008, doi: 10.1175/2007jamc1611.1.
  5. M. Ptak and K. Konarzewski, “Numerical Technologies for Vulnerable Road User Safety Enhancement,” Advances in Intelligent Systems and Computing, pp. 355–364, 2015, doi: 10.1007/978-3-319-16528-8_33.
  6. C. D. F. van Ree, M. A. Van, K. Heilemann, M. W. Morris, P. Royet, and C. Zevenbergen, “FloodProBE: technologies for improved safety of the built environment in relation to flood events,” Environmental Science & Policy, vol. 14, no. 7, pp. 874–883, Nov. 2011, doi: 10.1016/j.envsci.2011.03.010.
  7. Arrighi, M. Pregnolato, R. J. Dawson, and F. Castelli, “Preparedness against mobility disruption by floods,” Science of The Total Environment, vol. 654, pp. 1010–1022, Mar. 2019, doi: 10.1016/j.scitotenv.2018.11.191.
  8. Guha-Sapir, D.; Below, R.; Hoyois, P. EM-DAT: International Disaster Database; Université Catholique de Louvain: Brussels, Belgium, 2015.
  9. S. Qayyum, F. Ullah, F. Al-Turjman, and M. Mojtahedi, “Managing smart cities through six sigma DMADICV method: A review-based conceptual framework,” Sustainable Cities and Society, vol. 72, p. 103022, Sep. 2021, doi: 10.1016/j.scs.2021.103022.
  10. R. Sankaranarayanan, K. S. Umadevi, N. Bhavani, B. M. Jos, A. Haldorai, and D. V. Babu, “Cluster-based attacks prevention algorithm for autonomous vehicles using machine learning algorithms,” Computers and Electrical Engineering, vol. 101, p. 108088, Jul. 2022, doi: 10.1016/j.compeleceng.2022.108088.
  11. F. Ullah, S. Qayyum, M. J. Thaheem, F. Al-Turjman, and S. M. E. Sepasgozar, “Risk management in sustainable smart cities governance: A TOE framework,” Technological Forecasting and Social Change, vol. 167, p. 120743, Jun. 2021, doi: 10.1016/j.techfore.2021.120743.
  12. H. S. Munawar, S. Qayyum, F. Ullah, and S. Sepasgozar, “Big Data and Its Applications in Smart Real Estate and the Disaster Management Life Cycle: A Systematic Analysis,” Big Data and Cognitive Computing, vol. 4, no. 2, p. 4, Mar. 2020, doi: 10.3390/bdcc4020004.
  13. M. Peng, S. Garg, X. Wang, A. Bradai, H. Lin, and M. S. Hossain, “Learning-Based IoT Data Aggregation for Disaster Scenarios,” IEEE Access, vol. 8, pp. 128490–128497, 2020, doi: 10.1109/access.2020.3008289.
  14. M. Khalaf et al., “IoT-Enabled Flood Severity Prediction via Ensemble Machine Learning Models,” IEEE Access, vol. 8, pp. 70375–70386, 2020, doi: 10.1109/access.2020.2986090.
  15. P. Pandey and R. Litoriya, “Elderly care through unusual behavior detection: A disaster management approach using IoT and intelligence,” IBM Journal of Research and Development, vol. 64, no. 1/2, pp. 15:1-15:11, Jan. 2020, doi: 10.1147/jrd.2019.2947018.
  16. S. Miau and W.-H. Hung, “River Flooding Forecasting and Anomaly Detection Based on Deep Learning,” IEEE Access, vol. 8, pp. 198384–198402, 2020, doi: 10.1109/access.2020.3034875.
  17. S. Khan, K. Muhammad, S. Mumtaz, S. W. Baik, and V. H. C. de Albuquerque, “Energy-Efficient Deep CNN for Smoke Detection in Foggy IoT Environment,” IEEE Internet of Things Journal, vol. 6, no. 6, pp. 9237–9245, Dec. 2019, doi: 10.1109/jiot.2019.2896120.
  18. P. Bo, S. Fenzhen, and M. Yunshan, “A Cloud and Cloud Shadow Detection Method Based on Fuzzy c-Means Algorithm,” IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, vol. 13, pp. 1714–1727, 2020, doi: 10.1109/jstars.2020.2987844.
  19. K. Khuen and A. Zourmand, “Fuzzy Logic-Based Flood Detection System Using Lora Technology,” 2020 16th IEEE International Colloquium on Signal Processing & Its Applications (CSPA), Feb. 2020, doi: 10.1109/cspa48992.2020.9068698.
  20. K. Vinothini and S. Jayanthy, “IoT Based Flood Detection and Notification System using Decision Tree Algorithm,” 2019 International Conference on Intelligent Computing and Control Systems (ICCS), May 2019, doi: 10.1109/iccs45141.2019.9065799.
  21. S. Rani, G. N. Jayalakshmi, and V. P. Baligar, “Low Cost IoT based Flood Monitoring System Using Machine Learning and Neural Networks: Flood Alerting and Rainfall Prediction,” 2020 2nd International Conference on Innovative Mechanisms for Industry Applications (ICIMIA), Mar. 2020, doi: 10.1109/icimia48430.2020.9074928.
  22. M. Ahmadlou et al., “Flood susceptibility mapping and assessment using a novel deep learning model combining multilayer perceptron and autoencoder neural networks,” Journal of Flood Risk Management, vol. 14, no. 1, Dec. 2020, doi: 10.1111/jfr3.12683.
  23. X. Guan, Y. Zang, Y. Meng, Y. Liu, H. Lv, and D. Yan, “Study on spatiotemporal distribution characteristics of flood and drought disaster impacts on agriculture in China,” International Journal of Disaster Risk Reduction, vol. 64, p. 102504, Oct. 2021, doi: 10.1016/j.ijdrr.2021.102504.
  24. H. S. Munawar, F. Ullah, S. Qayyum, and A. Heravi, “Application of Deep Learning on UAV-Based Aerial Images for Flood Detection,” Smart Cities, vol. 4, no. 3, pp. 1220–1243, Sep. 2021, doi: 10.3390/smartcities4030065.
  25. E. Jenifer, A. Aparna, N. Sudha, and A. Kumar, “AgriFloodNet: a dual patch CNN architecture for mapping flooded agricultural lands via bi-temporal multi-sensor images,” Geocarto International, vol. 37, no. 26, pp. 13618–13637, Jun. 2022, doi: 10.1080/10106049.2022.2082549.
  26. H. A. Zurqani, A. Al-Bukhari, A. O. Aldaikh, K. I. Elfadli, and A. A. Bataw, “Geospatial Mapping and Analysis of the 2019 Flood Disaster Extent and Impact in the City of Ghat in Southwestern Libya Using Google Earth Engine and Deep Learning Technique,” Environmental Applications of Remote Sensing and GIS in Libya, pp. 205–226, 2022, doi: 10.1007/978-3-030-97810-5_10.
  27. S. Fahad, F. Su, S. U. Khan, M. R. Naeem, and K. Wei, “Implementing a novel deep learning technique for rainfall forecasting via climatic variables: An approach via hierarchical clustering analysis,” Science of The Total Environment, vol. 854, p. 158760, Jan. 2023, doi: 10.1016/j.scitotenv.2022.158760.
  28. R. Subha, A. Haldorai, and A. Ramu, “An Optimal Approach to Enhance Context Aware Description Administration Service for Cloud Robots in a Deep Learning Environment,” Wireless Personal Communications, vol. 117, no. 4, pp. 3343–3358, Feb. 2021, doi: 10.1007/s11277-021-08073-3.
  29. Lavigne et al., “Instrumental lahar monitoring at Merapi Volcano, Central Java, Indonesia,” Journal of Volcanology and Geothermal Research, vol. 100, no. 1–4, pp. 457–478, Jul. 2000, doi: 10.1016/s0377-0273(00)00151-7.
  30. Suwarno, A. Ma’arif, N. Maharani Raharja, A. Nurjanah, J. Ikhsan, and D. Mutiarin, “IoT-based Lava Flood Early Warning System with Rainfall Intensity Monitoring and Disaster Communication Technology,” Emerging Science Journal, vol. 4, pp. 154–166, Dec. 2021, doi: 10.28991/esj-2021-sp1-011.


We would like to thank Reviewers for taking the time and effort necessary to review the manuscript. We sincerely appreciate all valuable comments and suggestions, which helped us to improve the quality of the manuscript


No funding was received to assist with the preparation of this manuscript.

Ethics declarations

Conflict of interest

The authors have no conflicts of interest to declare that are relevant to the content of this article.

Availability of data and materials

No data available for above study.

Author information


All authors have equal contribution in the paper and all authors have read and agreed to the published version of the manuscript.

Corresponding author

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution NoDerivs is a more restrictive license. It allows you to redistribute the material commercially or non-commercially but the user cannot make any changes whatsoever to the original, i.e. no derivatives of the original work. To view a copy of this license, visit

Cite this article

Murali Dhar M S, Kishore Kumar A, Rajakumar B, Poonguzhali P K, Hemakesavulu O and Mahaveerakannan R, “Implementation of the Internet of Things for early Floods in Agricultural Land using Dimensionality Reduction Technique and Ensemble ML”, Journal of Machine and Computing, vol.3, no.4, pp. 591-600, October 2023. doi: 10.53759/7669/jmc202303050.


© 2023 Murali Dhar M S, Kishore Kumar A, Rajakumar B, Poonguzhali P K, Hemakesavulu O and Mahaveerakannan R. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.