Skip to main content

Role of Machine Learning in Weather Related Event Predictions for a Smart City

  • Chapter
  • First Online:
Machine Intelligence and Data Analytics for Sustainable Future Smart Cities

Abstract

Weather related event prediction is always a fascinating problem for scientists due to its importance in different sectors of life. This chapter has used machine learning algorithms to predict events like rainfall, thunderstorm, and fog in a large metropolitan city. The study proposed here has particularly focused on the long-term event predictions which is currently missing in the state of the artwork. Different machine learning algorithms mainly Random Forest, Gradient Boosting Classifier, Logistic Regression, and others were used to learn the model. Five years of meteorological data was used for this purpose. Different algorithms showed accuracy more than 90%, among which Random Forest outperformed the other algorithms by achieving the highest accuracy.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kim, J. Y. (2018). Damages from extreme weather mount as climate warms—world bank report.2018.

    Google Scholar 

  2. Dawn News. (2020). https://www.dawn.com/news/1576736.

  3. Sze, V., Chen, Y.-H., Emer, J., Suleiman, A., & Zhang, Z. (2017). Hardware for machine learning: Challenges and opportunities. In IEEE Custom Integrated Circuits Conference (CICC). IEEE. pp. 1–8.

    Google Scholar 

  4. Ghassemi, M., Naumann, T., Schulam, P., Beam, and A. L., & Ranganath, R. (2018). Opportunities in machine learning for healthcare, arXiv preprint arXiv:1806.00388.

  5. Ganguli, I., Gordon, W. J., Lupo, C., Sands-Lincoln, M., George, J., Jackson, G., Rhee, K., & Bates, D. W. (2020). Machine learning and the pursuit of high-value health care. NEJM Catalyst Innovations in Care Delivery, 1(6).

    Google Scholar 

  6. Ahmed, C. M., Umer, M. A., Liyakkathali, B. S. S. B., Jilani, M. T., & Zhou, J., Machine learning for cps security: Applications, challenges and recommendations. In Machine Intelligence and Big Data Analytics for Cybersecurity Applications. Springer, pp. 397–421.

    Google Scholar 

  7. Umer, M. A., Mathur, A., Junejo, K. N., & Adepu, S. (2017). Integrating design and data centric approaches to generate invariants for distributed attack detection. In Proceedings of the 2017 Workshop on Cyber-Physical Systems Security and Privacy. ACM, pp. 131–136.

    Google Scholar 

  8. Lessmann, S., Haupt, J., Coussement, K., & De Bock, K. W. (2019). Targeting customers for profit: An ensemble learning framework to support marketing decision-making. Information Sciences.

    Google Scholar 

  9. Driving the world’s most accurate weather forecasts (2018). https://www.ibm.com/blogs/think/2016/12/accurate-weather-forecasts/.

  10. Deep thunder. (2018). http://www-03.ibm.com/ibm/history/ibm100/us/en/icons/deepthunder/.

  11. Peng, X., Deng, D., Wen, J., Xiong, L., Feng, S., & Wang, B. (2016). A very short term wind power forecasting approach based on numerical weather prediction and error correction method. In 2016 China International Conference on Electricity Distribution (CICED). IEEE, pp. 1–4.

    Google Scholar 

  12. Fang, S., & Chiang, H.-D. (2016). Improving supervised wind power forecasting models using extended numerical weather variables and unlabelled data. IET Renewable Power Generation, 10(10), 1616–1624.

    Article  Google Scholar 

  13. Naresh, E., Kumar, B. V., & Shankar, S. P. et al. (2020). Impact of machine learning in bioinformatics research. In Statistical Modelling and Machine Learning Principles for Bioinformatics Techniques, Tools, and Applications. Springer, pp. 41–62.

    Google Scholar 

  14. Mshir, S., & Kaya, M. (2020). Signature recognition using machine learning. In 8th International Symposium on Digital Forensics and Security (ISDFS). IEEE, pp. 1–4.

    Google Scholar 

  15. Athiraja, A., & Vijayakumar, P. (2020). Banana disease diagnosis using computer vision and machine learning methods. Journal of Ambient Intelligence and Humanized Computing, 1–20.

    Google Scholar 

  16. Umer, M. A., Mathur, A., Junejo, K. N., & Adepu, S., A method of generating invariants for distributed attack detection, and apparatus thereof, Oct. 1 2020, US Patent App. 16/754,732.

    Google Scholar 

  17. Umer, M. A., Mathur, A., Junejo, K. N., & Adepu, S. (2020). Generating invariants using design and data-centric approaches for distributed attack detection. International Journal of Critical Infrastructure Protection, 28, 100341.

    Google Scholar 

  18. Rasouli, K., Hsieh, W. W., & Cannon, A. J. (2012). Daily streamflow forecasting by machine learning methods with weather and climate inputs. Journal of Hydrology, 414, 284–293.

    Article  Google Scholar 

  19. Weisheimer, A. (2013). If you cannot predict the weather next month, how can you predict climate for the coming decade? 2013, Univ. Oxford.

    Google Scholar 

  20. Wagner, A. L., Keusch, F., Yan, T., & Clarke, P. J. (2016). The impact of weather on summer and winter exercise behaviors. Journal of Sport and Health Science.

    Google Scholar 

  21. Kosky, B. (2019). Rain at the cricket world cup: How the tournament has fallen foul to the weather. 2019, sky News, p. Cricket News.

    Google Scholar 

  22. Kusiak, A., Zheng, H., & Song, Z. (2009). Wind farm power prediction: A data-mining approach. Wind Energy: An International Journal for Progress and Applications in Wind Power Conversion Technology, 12(3), 275–293.

    Article  Google Scholar 

  23. Zafarani, R., Eftekharnejad, S., & Patel, U. (2018). Assessing the utility of weather data for photovoltaic power prediction, arXiv preprint arXiv:1802.03913.

  24. Dolara, A., Grimaccia, F., Leva, S., Mussetta, M., & Ogliari, E. (2018). Comparison of training approaches for photovoltaic forecasts by means of machine learning. Applied Sciences, 8(2), 228.

    Article  Google Scholar 

  25. 2019–2020 Australian Bushfires. (2019). https://disasterphilanthropy.org/disaster/2019-australian-wildfires/

  26. Cortez, P., & Morais, A. D. J. R. (2007). A data mining approach to predict forest fires using meteorological data.

    Google Scholar 

  27. Dutta, P. S., Tahbilder, H., et al. (2014). Prediction of rainfall using data mining technique over Assam. IJCSE, 5(2), 85–90.

    Google Scholar 

  28. Olaiya, F., & Adeyemo, A. B. (2012). Application of data mining techniques in weather prediction and climate change studies. International Journal of Information Engineering and Electronic Business, 4(1), 51.

    Article  Google Scholar 

  29. Taksande, A. A., & Mohod, P. (2015). Applications of data mining in weather forecasting using frequent pattern growth algorithm. International Journal of Science and Research.

    Google Scholar 

  30. Pohar, M., Blas, M., & Turk, S. (2004). Comparison of logistic regression and linear discriminant analysis: A simulation study. Metodoloski zvezki, 1(1), 143.

    Google Scholar 

  31. Freund, Y., Schapire, R., & Abe, N. (1999). A short introduction to boosting. Journal-Japanese Society For Artificial Intelligence, 14(771–780), 1612.

    Google Scholar 

  32. Wilkinson, L. (2004). Classification and regression trees. Systat, 11, 35–56.

    Google Scholar 

  33. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32.

    Article  Google Scholar 

  34. Horton, P., & Nakai, K. (1997). Better prediction of protein cellular localization sites with the it k nearest neighbors classifier. In ISMB, vol. 5, pp. 147–152.

    Google Scholar 

  35. Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297.

    MATH  Google Scholar 

  36. Weather underground. weather data. (2017). https://www.wunderground.com/weather/pk/karachi.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammad Azmi Umer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Umer, M.A., Jilani, M.T., Junejo, K.N., Naz, S.A., D’Silva, C.W. (2021). Role of Machine Learning in Weather Related Event Predictions for a Smart City. In: Ghosh, U., Maleh, Y., Alazab, M., Pathan, AS.K. (eds) Machine Intelligence and Data Analytics for Sustainable Future Smart Cities. Studies in Computational Intelligence, vol 971. Springer, Cham. https://doi.org/10.1007/978-3-030-72065-0_4

Download citation

Publish with us

Policies and ethics