This research explores the application of advanced technologies to enhance the precision, accessibility, and effectiveness of weather forecasts, presenting benefits to individuals, businesses, and communities. The research utilises data collected from IoT-enabled weather stations, employing appropriate IoT protocols for data acquisition. This data undergoes pre-processing and normalisation to facilitate further analysis. The primary objective is to monitor and predict weather changes, specifically focusing on the probability of rainfall in London. This is achieved through a detailed examination of various meteorological parameters such as temperature, humidity, wind speed, dew point, and wind gusts. Through feature engineering, critical predictors are identified and optimised by eliminating redundant elements, thus refining the model's efficiency. Key features such as temperature, humidity, wind speed, gusts, air pressure, and dew point are analysed alongside temporal variables like time of day, day of the week, and seasonal patterns. The weather conditions are classified into three categories: Cloudy, Fair, and Rain. The dataset spans from 2014 to 2023, with a 70% split for training and 30% reserved for testing. Upon evaluating 17 distinct classifiers, the Support Vector Machine (SVM) classifier emerged as the most effective, demonstrating an 88% recall, 70% precision, and a 78% F1-score. These findings highlight the potential of integrating machine learning with real-time weather monitoring to predict weather patterns accurately.
Keywords. Real Time Weather Monitoring; Iot; Machine Learning; Support Vector Machine; AI
References
Angra S. and Ahuja S., (2017) "Machine learning and its applications: A review," 2017 International Conference on Big Data Analytics and Computational Intelligence (ICBDAC), Chirala, Andhra Pradesh, India, 2017, pp. 57-60, doi: 10.1109/ICBDACI.2017.8070809
Balakrishnan, Sivakumar & Nanjundaswamy, Chikkamadaiah. (2021). Weather monitoring and forecasting system using IoT. Global Journal of Engineering and Technology Advances. 8. 008-016. 10.30574/gjeta.2021.8.2.0109.
Banara S., Singh T. and Chauhan A., (2022) "IoT Based Weather Monitoring System for Smart Cities: A Comprehensive Review," 2022 International Conference for Advancement in Technology (ICONAT), Goa, India, 2022, pp. 1 -6, doi: 10.1109/ICONAT53423.2022.9726106
Bansal A. and Singhrova A., (2021) "Performance Analysis of Supervised Machine Learning Algorithms for Diabetes and Breast Cancer Dataset," 2021 International Conference on Artificial Intelligence and Smart Systems (ICAIS), Coimbatore, India, 2021, pp. 137-143, doi: 10.1109/ICAIS50930.2021.9396043.
Bishop, Christopher M, (2006) Pattern recognition and machine learning, Springer, NY, USA
Burges, C. J. C. (1998). A tutorial on support vector machines for pattern recognition. Data Mining and Knowledge Discovery, 2:2, 121–167.
Garg Arnav and Pandey Himanshu, Rainfall Prediction using Machine Learning, International Journal of Innovative Science and Research Technology, 2019, 4(5), 56-58
Genuer R., Poggi J. M., Tuleau-Malot C., 2010. Variable selection using random forests. Pattern Recognition Letters. 31.: 2225–2236.
Javier Diez-Sierra, Manuel del Jesus, Long-term rainfall prediction using atmospheric synoptic patterns in semi-arid climates with statistical and machine learning methods, Journal of Hydrology, Volume 586, 2020, 124789, ISSN 0022 - 1694, https://doi.org/10.1016/j.jhydrol.2020.124789.
Kavin R., Lakshmi K., Rani S. S. and Rameshkumar K., "Weather Monitoring System using Internet of Things," 2020, 6th International Conference on Advanced Computing and Communication Systems (ICACCS), Coimbatore, India, 2020, pp. 26-29, doi: 10.1109/ICACCS48705.2020.9074332.
Keerthi, S., Shevade, C. B. S. K., & Murthy, K. R. K. (2000). A fast iterative nearest point algorithm for support vector machine classifier design. IEEE Trans. Neural Networks, 11(1), 124–136.
Kowar Manoj Kumar, Shrivastava Gyanesh, Karmakar Sanjeev, Guhathakurta Pulak , 2012, “Application of artificial neural networks in weather forecasting: A comprehensive literature Review”, International Journal of Computer Applications (0975 - 8887), Volume 51– No.18.
Kumar Rajesh, Decision Tree for the Weather Forecasting, International Journal of Computer Applications 2013, 76(2):31-34, DOI:10.5120/13220-0620
Langley P., Iba W. and Thompson K., “An analysis of Bayesian Classifiers”, in Proceedings of the Tenth National Conference on Artificial Intelligence, San Jose, CA, 1992
Liyew, C.M., Melese, H.A. Machine learning techniques to predict daily rainfall amount. Journal of Big Data 8, 153 (2021). https://doi.org/10.1186/s40537-021-00545-4.
Maalouf Maher, Logistic Regression in Data Analysis: An overview, International Journal of Data Analysis Techniques and Strategies, 2011, 3(3):281-299, DOI:10.1504/IJDATS.2011.041335
McIlveen, J. F. R. (J. F. Robin), 1992, Fundamentals of weather and climate, Pub: Chapman & Hall; New York, NY, USA: Van Nostrand Reinhold, Inc.
Medar R., Rajpurohit V. S. and Rashmi B., "Impact of Training and Testing Data Splits on Accuracy of Time Series Forecasting in Machine Learning," 2017 International Conference on Computing, Communication, Control and Automation (ICCUBEA), Pune, India, 2017, pp. 1-6, doi: 10.1109/ICCUBEA.2017.8463779.
Narasimharao M., Swain B., Nayak P. P. and Bhuyan S., "Developing and Evaluating a Machine Learning Based Diagnosis System for Diabetes Mellitus using Interpretable Techniques," 2023 International Conference in Advances in Power, Signal, and Information Technology (APSIT), Bhubaneswar, India, 2023, pp. 505-511, doi: 10.1109/APSIT58554.2023.10201753.
Paquin, A.L., Chaib-draa, B., Giguère, P., Stability analysis of stochastic gradient descent for homogeneous neural networks and linear classifiers, Neural Networks, Volume 164, 2023, Pages 382-394, ISSN 0893-6080, https://doi.org/10.1016/j.neunet.2023.04.028.
Parmar, A.; Mistree, K.; Sompura, M. Machine learning techniques for rainfall prediction: A review. In Proceedings of the International Conference on Innovations in information Embedded and Communication Systems, Coimbatore, India, 17 – 18 March 2017
Praba M. S. Bennet, Martin Antony John, Srivastava Siddharth, Rana Ajay , Weather Monitoring System and Rainfall Prediction Using SVM Algorithm International Journal of Research in Engineering, Science and Management, 1 (10),2018, pp. 745-750
Preetum Nakkiran et al. SGD on Neural Networks Learns Functions of Increasing Complexity (2019), 33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada.
Raihan, M.J., Khan, M.AM., Kee, SH. et al. Detection of the chronic kidney disease using XGBoost classifier and explaining the influence of the attributes on the model using SHAP. Sci Rep 13, 6263 (2023). https://doi.org/10.1038/s41598 -023-33525-0
Rok Blagus, Lara Lusa, Gradient boosting for high-dimensional prediction of rare events, Computational Statistics & Data Analysis, 2017, Vol. 113, pp.: 19-37, https://doi.org/10.1016/j.csda.2016.07.016.
Sadhukhan Mrinmoy, Dasgupta Sudakshina, Bhattacharya Indrajit, An Intelligent Weather Prediction System Based On IoT, 2021 Devices for Integrated Circuit (DevIC), 19-20 May, 2021, Kalyani, India
Sankarnarayan S, Prabhakar M, Satish S and Jain P , A Ramprasad and A Krishnan, Flood Prediction based on Weather Parameter using Deep Learning, Journal of Water & Climate Change, 2020, 11(4), pp. 1766 – 1783
Subia Salma, Ashwitha A, Hybrid CNN-LSTM Model: Rainfall Analysis and Prediction for Karnataka Region, Journal of Theoretical and Applied Information Technology, 2022. Vol.100. No 22: 6715-6727
Tang Y, Durand D. A tunable support vector machine assembly classifier for epileptic seizure detection. Expert Syst Appl. 2012 Mar 1;39(4):3925-3938. doi: 10.1016/j.eswa.2011.08.088. Epub 2011 Aug 30. PMID: 22563146; PMCID: PMC3341176.
Taunk K., De S., Verma S. and Swetapadma A., "A Brief Review of Nearest Neighbor Algorithm for Learning and Classification," 2019 International Conference on Intelligent Computing and Control Systems (ICCS), Madurai, India, 2019, pp. 1255-1260, doi: 10.1109/ICCS45141.2019.9065747.
Tharun VP, Prakash R, Devi SR, Prediction of Rainfall using Data Mining Techniques, in 2018 second international conference on inventive communication and Computational Techniques (ICCICCT), IEEE Explore, 2018, pp.1507-1512
TINA E. M., An Optimized Extremely Randomized Tree Model for Breast Cancer Classification, Journal of Theoretical and Applied Information Technology, 2022, Vol. 100(16), pp. 5234-5246
Verma Gaurav, Mittal Pranjul and Farheen Shaista, Real Time Weather Prediction System Using IOT and Machine Learning, Conference: 2020 6th International Conference on Signal Processing and Communication (ICSC), DOI:10.1109/ICSC48311.2020.9182766
Waqas, M.; Humphries, U.W.; Wangwongchai, A.; Dechpichai, P.; Ahmad, S. Potential of Artificial Intelligence -Based Techniques for Rainfall Forecasting in Thailand: A Comprehensive Review. Water 2023, 15, 2979. https://doi.org/10.3390/w15162979
Zhou, J., Shi J., Li G., Fine tuning support vector machines for short-term wind speed forecasting, Energy Conversion and Management, 2011, Vol. 2(4), PP.: 1990-1998, https://doi.org/10.1016/j.enconman.2010.11.007.
How to cite this article
Pandya, B., Al-Habaibeh, A., Rolleston, G., Farnsworth, M. and Bansal, D. (2024). 'The implementation of real-time weather forecasting system using internet of things and machine learning'. SET Proceedings, 21(4), pp. 391-400. https://doi.org/10.65582/set.2024.200