Weather forecast image classification based on KNN, CNN, and VGG19
Abstract
Image classification is an important technology in the field of computer vision, with the main objective of categorizing input images into different classes. It is used in many areas, such as weather forecasting. The significance of weather forecast image classification spans several areas, including enhancing weather forecast accuracy, aiding agriculture, optimizing the energy sector, ensuring transportation safety, and informing urban planning and construction. In this study, the author investigates the precision and efficiency of three machine learning algorithms—Convolutional Neural Network (CNN), K-Nearest Neighbor (KNN), and Visual Geometry Group 19 (VGG19)—in classifying weather forecast images. The research meticulously elucidates the methodologies underlying each algorithm, outlining their distinct architectures, training processes, and feature extraction mechanisms. The research highlights that the self-built CNN model excels in accuracy and efficiency, while VGG19 achieves higher accuracy (93%) with longer training time. In contrast, the KNN model shows shorter training time (32.50 seconds) with slightly lower accuracy (80%).
References
- Moura, T., Valente, A., Sousa, A. and Filipe, V. (2014). Traffic Sign Recognition for Autonomous Driving Robot. In 2014 IEEE International Conference on Autonomous Robot Systems and Competitions (ICARSC), Espinho, Portugal, 303-308.
- Hulaj, A., Shehu, A. and Bajrami, X. (2017). Support Vector Machine for the Classification of Images Captured by WMSN. In 2017 International Conference on Control, Artificial Intelligence, Robotics & Optimization (ICCAIRO), Prague, Czech Republic, 283-287.
- Cai, L., Gao, J. and Zhao, D. (2020). A review of the application of deep learning in medical image classification and segmentation. Annals of Translational Medicine, 8(11), 713.
- Hassan, A., Liu, F., Wang, F., et al. (2021). Secure image classification with deep neural networks for IoT applications. Journal of Ambient Intelligence and Humanized Computing, 12, 8319-8337.
- Cao, Y. and Yang, H. (2022). Weather Prediction using Cloud’s Images. In 2022 International Conference on Big Data, Information and Computer Network (BDICN), Sanya, China: IEEE, 820-823.
- An, J., Chen, Y. and Shin, H. (2018). Weather Classification using Convolutional Neural Networks. In 2018 International SoC Design Conference (ISOCC), Daegu, Korea (South): IEEE, 245-246.
- Elhoseiny, M., Huang, S. and Elgammal, A. (2015). Weather classification with deep convolutional neural networks. In 2015 IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada: IEEE, 3349-3353.
- Zou, Y., Wu, J., Chen, W. and Liu, Y. (2022). Weather image classification based on generative adversarial network and transfer learning. In Proceedings Volume 12165, International Conference on Intelligent Traffic Systems and Smart City (ITSSC 2021), paper 121651S.
- Młodzianowski, P. (2022). Weather Classification with Transfer Learning - InceptionV3, MobileNetV2 and ResNet50. In C. Biele, J. Kacprzyk, W. Kopeć, J.W. Owsiński, A. Romanowski, M. Sikorski (Eds.), Digital Interaction and Machine Intelligence. In Proceedings of MIDI 2021 (Lecture Notes in Networks and Systems, Vol. 440). Springer, Cham.
- Hapsari, Y. and Syamsuryadi. (2019). Weather Classification Based on Hybrid Cloud Image Using Principal Component Analysis (PCA) and Linear Discriminant Analysis (LDA). In 2nd Forum in Research, Science, and Technology, October 30-31, 2018, Horizon Ultima Hotel, Palembang, Indonesia (Vol. 1167). Journal of Physics: Conference Series. IOP Publishing Ltd.
- Asher117. (2019). Image reference: CSDN K-Nearest Neighbors Algorithm Principles. CSDN Blog. Retrieved on March 20, 2024, from https://blog.csdn.net/Asher117/article/details/96115458.
- Visual Geometry Group (VGG). (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. Retrieved from https://arxiv.org/abs/1409.1556.