G-Tech : Jurnal Teknologi Terapan
Vol 9 No 2 (2025): G-Tech, Vol. 9 No. 2 April 2025

Comparison of Machine Learning Classification Methods for Weather Prediction: A Performance Analysis

Darmawan, Zakha Maisat Eka (Unknown)
Dianta, Ashafidz Fauzan (Unknown)
Fathoni, Kholid (Unknown)
Rachmawati, Oktavia Citra Resmi (Unknown)
Apriandy, Kevin Ilham (Unknown)



Article Info

Publish Date
04 Apr 2025

Abstract

Weather classification is crucial in various sectors, including agriculture, transportation, and disaster management. Accurate weather prediction can help mitigate risks and improve decision-making in these fields. However, classifying weather conditions remains challenging due to the complex and dynamic nature of meteorological data. This study aims to compare different machine learning classification methods to determine the most effective model for weather classification. The research employs a structured methodology consisting of seven key steps: literature study, data understanding, exploratory data analysis, data preparation, modeling, evaluation, and hyperparameter tuning. The study used Decision Tree, Random Forest, Support Vector Machine, K-Nearest Neighbors, Gradient Boosting, AdaBoost, and Extra Trees to identify the best-performing classifier. Model evaluation was conducted using accuracy, precision, recall, and F1-score. The results indicate that Gradient Boosting achieved the highest performance, surpassing other models with an accuracy of 90.15%. To optimize the model further, hyperparameter tuning was conducted using GridSearchCV, and feature selection was done using SelectKBest. This process resulted in an improved accuracy of 90.22%, demonstrating the effectiveness of model optimization.

Copyrights © 2025






Journal Info

Abbrev

g-tech

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Energy Engineering

Description

Jurnal G-Tech bertujuan untuk mempublikasikan hasil penelitian asli dan review hasil penelitian tentang teknologi dan terapan pada ruang lingkup keteknikan meliputi teknik mesin, teknik elektro, teknik informatika, sistem informasi, agroteknologi, ...