Analysis Application of the Random Forest Algorithm in Weather Forecast Classification

Authors

  • Deny Saputra Saputra Universitas Muhammadiyah Pontianak
  • Menur Wahyu Pangestika
  • Barry Ceasar Octariadi

DOI:

https://doi.org/10.37859/coscitech.v6i3.10846
Keywords: Random Forest;, Weather Classification;, CRISP-DM Random Forest;, Klasifikasi Cuaca;, CRISP-DM

Abstract

Weather plays an important role in various aspects of life, such as agriculture and transportation. However, weather prediction remains challenging because it is influenced by many complex factors. Extreme weather events, such as storms and floods, can cause significant losses, making accurate weather forecast classification systems essential. This study applies the Random Forest algorithm to improve prediction accuracy and optimizes it using Grid Search Cross Validation. The method used is CRISP-DM, consisting of six main stages. The data were obtained from the Meteorological, Climatological, and Geophysical Agency (BMKG), containing features such as temperature, humidity, wind speed, cloud cover, visibility, and wind direction, with the labels Weather Condition and Region Name serving as indicators of the classified weather category and location. The final evaluation uses a confusion matrix, yielding an accuracy of 98.84% on the training data and 95.33% on the testing data, demonstrating stable performance and strong generalization capability.

Downloads

Download data is not yet available.

References

A. M. Siregar, “Klasifikasi Untuk Prediksi Cuaca Menggunakan Esemble Learning,” PETIR, vol. 13, no. 2, pp. 138–147, Sep. 2020, doi: 10.33322/petir.v13i2.998.

A. Zulfiani and C. Fauzi, “Penerapan Algorimta Backpropagation Untuk Prakiraan Cuaca Harian Dibandingkan Dengan Support Vector Machine dan Logistic Regression,” JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 7, no. 3, pp. 1–9, Jul. 2023, doi: 10.30865/mib.v7i3.6173.

M. Ciszynski and K. Chrominski, “Applying machine learning techniques in weather forecast modeling,” in Procedia Computer Science, Elsevier B.V., 2024, pp. 4133–4141. doi: 10.1016/j.procs.2024.09.252.

Y. Rawie and M. S. Rofii, “Analisis kebijakan bantuan internasional bencana alam dalam dinamika ketahanan nasional dengan pendekatan Delphi,” Journal of National Paradigm-Based Resilience Strategy, vol. 1, no. 1, Feb. 2024, doi: 10.61511/napbres.v1i1.2024.653.

R. Risanti, “ANALISIS MODEL PREDIKSI CUACA MENGGUNAKAN SUPPORT VECTOR MACHINE, GRADIENT BOOSTING, RANDOM FOREST, DAN DECISION TREE,” Jakarta Timur, Jan. 2024, pp. 1–10. doi: 10.21009/03.1201.FA18.

T. Fawwaz, F. Ihsan, I. Ramadhan, D. R. Akbar, and E. Ismanto, “Perbandingan Model Machine Learning Untuk Klasifikasi Deteksi Penyakit Jantung,” vol. 6, no. 2, p. 203, 2025, [Online]. Available: http://ejurnal.umri.ac.id/index.php/coscitech/index

Munaldi. S.kom., M.kom, Algoritma Random Forest dan XGBoost Menggunakan Python. Banyumas: PT. GANESHA KREASI SEMESTA, 2025.

A. S. A. Yuda, M. D. A. Rosady, N. I. Faisal, and E. Ismanto, “Analisis Kinerja Algoritma K-Nearest Neighbors (KNN) dan Random Forest untuk Klasifikasi Kondisi Cuaca,” Jurnal Computer Science and Information Technology (CoSciTech), vol. 6, no. 2, p. 338, 2024, [Online]. Available: http://ejurnal.umri.ac.id/index.php/coscitech/index

F. Sulianta, Buku Dasar Data Mining from AtoZ-Feri SLN, no. January. Bandung: ResearchGate, 2024. [Online]. Available: https://www.researchgate.net/publication/377018853%0ABuku

Nur Cholifah Sastya dan and Isna Nugraha, “Penerapan Metode CRISP-DM dalam Menganalisis Data untuk Menentukan Customer Behavior di MeatSolution,” Kota Surabaya, Jawa Timur, Oct. 2023. [Online]. Available: http://ejournal.unis.ac.id/index.php/UNISTEK

Downloads

Published

2025-12-31

How to Cite

Saputra, D., Pangestika, M. W., & Octariadi, B. C. (2025). Analysis Application of the Random Forest Algorithm in Weather Forecast Classification. Jurnal CoSciTech (Computer Science and Information Technology), 6(3), 625–633. https://doi.org/10.37859/coscitech.v6i3.10846