EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

Evaluasi Kinerja Algoritma Random Forest dan KNN untuk Prediksi Cuaca di Jakarta

Nurdin Wibowo, Wahyu Hardyanto, Alpon Sepriando, Djuniadi Djuniadi, Tri Nurmayati Nurmayati, Fakhrul Alam

Jurnal Pendidikan Matematika (Judika Education) · 30.06.2026 · 9 (3) · 567-578

DOI: 10.31539/wzj0r898 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Jurnal Pendidikan Matematika (Judika Education), online erschienen am 30.06.2026. Verfasst von Nurdin Wibowo und 5 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This study aims to compare the performance of Random Forest and K-Nearest Neighbors (KNN) algorithms in classifying daily weather categories at Kemayoran Meteorological Station, Jakarta. The data used were BMKG observation data from 2017 to 2023, with classification targets consisting of No Significant Weather, RA, TS, and TS,RA. The variables included temperature, rainfall, air pressure, humidity, wind speed, sunshine duration, wind direction, and month. The data were preprocessed and divided into training and testing sets using an 80:20 ratio. The results showed that Random Forest achieved an accuracy of 78% with a weighted average F1-score of 0.75, while KNN achieved an accuracy of 65% with a weighted average F1-score of 0.59. Random Forest performed better in classifying dominant weather categories, although both algorithms still had limitations in identifying minority categories, particularly TS. These findings indicate that Random Forest is more suitable for daily weather classification based on BMKG observation data in urban areas. Keywords: K-Nearest Neighbors; Random Forest; Weather Classification

Zitieren

APA

Wibowo, N., Hardyanto, W., Sepriando, A., Djuniadi, D., Nurmayati, T. N., & Alam, F. (2026). Evaluasi Kinerja Algoritma Random Forest dan KNN untuk Prediksi Cuaca di Jakarta. Jurnal Pendidikan Matematika (Judika Education), 9(3), 567-578. https://doi.org/10.31539/wzj0r898

Vancouver

Wibowo N, Hardyanto W, Sepriando A, Djuniadi D, Nurmayati TN, Alam F. Evaluasi Kinerja Algoritma Random Forest dan KNN untuk Prediksi Cuaca di Jakarta. Jurnal Pendidikan Matematika (Judika Education). 2026;9(3):567-578. doi:10.31539/wzj0r898

BibTeX
@article{Wibowo2026,
  author = {Wibowo, Nurdin and Hardyanto, Wahyu and Sepriando, Alpon and Djuniadi, Djuniadi and Nurmayati, Tri Nurmayati and Alam, Fakhrul},
  title = {Evaluasi Kinerja Algoritma Random Forest dan KNN untuk Prediksi Cuaca di Jakarta},
  journal = {Jurnal Pendidikan Matematika (Judika Education)},
  year = {2026},
  volume = {9},
  number = {3},
  pages = {567--578},
  doi = {10.31539/wzj0r898}
}
Kostenlos starten →