Classification of Weather Conditions in Medan City: Application of the C4.5 Decision Tree Algorithm as a Prediction Accuracy Solution
DOI:
https://doi.org/10.59934/jaiea.v5i2.2128Keywords:
Weather, Decision trees, Classification, C4.5, AlgorithmAbstract
The Accurate weather predictions play an important role in supporting community activities and economic sectors, especially in cities with varied weather patterns like Medan. Erratic weather can have a significant impact on the transportation sector, agriculture and daily community activities. This research aims to develop a weather condition classification model using the Decision Tree C4.5 algorithm, which is known to be reliable in handling numerical and categorical data. The historical data used includes temperature, humidity, wind speed and rainfall, which are analyzed using the CRISP-DM approach, including the stages of business understanding, data preparation, modeling and evaluation. This model classifies weather into four categories: sunny, cloudy, drizzly, and rainy. Based on test results, the model succeeded in achieving an accuracy level of 100%, showing its reliability in predicting the weather in Medan. Apart from providing accurate weather information, this model is also able to support data-based decision making, such as transportation planning and risk mitigation in the agricultural sector. These findings show the great potential of using the C4.5 algorithm in analyzing and predicting weather in Indonesia, as well as being a practical solution for facing complex weather challenges. This research provides an important contribution in supporting the development of data-based weather prediction technology that can be implemented widely for the benefit of society and the industrial sector
Downloads
References
R. Fadhillah Arsitania, V. Dhana Reswari, H. Robertson Panggabean, J. Gajah Mada, K. Vitka City, and T. Ayu -Sekupang, “EKOSPHERE: Jurnal Ekonomi Pembangunan dan Manajemen Volume Analisis Klasifikasi Cuaca di Kota Batam Menggunakan Algoritma Metode Decision Tree C4.5.” [Online]. Available: https://ibnusinapublisher.org/index.php/EKOSPHERE
C. Algoritma and N. Bayes, “Perbandingan Metode Data Mining untuk Prediksi Curah Hujan dengan,” pp. 187–197, 2022.
A. Novandya and I. Oktria, “Penerapan Algoritma Klasifikasi Data Mining C4 . 5 Pada Dataset Cuaca Wilayah Bekasi,” vol. 7, pp. 11–17, 2017.
P. E. Putra, M. A. Amrullah, Y. H. Fauzi, and R. F. Saputri, “Penerapan Algoritma C4 . 5 untuk Klasifikasi Tingkat Korban Banjir di Indonesia,” vol. 3, no. c, pp. 1–7, 2025.
S. Raniprima, N. Cahyadi, and V. Monita, “Rainfall Prediction Using Random Forest and Decision Tree Algorithms,” J. Informatics Commun. Technol., vol. 6, no. 1, pp. 110–119, 2024, [Online]. Available: https://ejournal.akademitelkom.ac.id/j_ict/index.php/j_ict/article/view/253
D. Rahmalia and T. Herlambang, “Prediksi Cuaca Menggunakan Algoritma Particle Swarm Optimization-Neural Network (PSONN),” Semin. Nas. Mat. dan Apl., pp. 41–48, 2017.
V. I. Yani, A. Aradea, and H. Mubarok, “Optimasi Prakiraan Cuaca Menggunakan Metode Ensemble pada Naïve Bayes dan C4.5,” J. Tek. Inform. dan Sist. Inf., vol. 8, no. 3, pp. 607–619, 2022, doi: 10.28932/jutisi.v8i3.5455.
K. A. Cahyanto, F. P. B. Muhamad, and E. Mulyani, “Penerapan Dizcretize By Frequency Dalam Meningkatkan Akurasi Algoritma C4.5 Dalam Memprediksi Cuaca Pada Jalur Pantura Tegal-Pekalongan-Semarang,” JTT (Jurnal Teknol. Ter., vol. 5, no. 2, p. 78, 2019, doi: 10.31884/jtt.v5i2.195.
A. Luthfiarta, A. Febriyanto, H. Lestiawan, and W. Wicaksono, “Analisa Prakiraan Cuaca dengan Parameter Suhu, Kelembaban, Tekanan Udara, dan Kecepatan Angin Menggunakan Regresi Linear Berganda,” JOINS (Journal Inf. Syst., vol. 5, no. 1, pp. 10–17, 2020, doi: 10.33633/joins.v5i1.2760.
A. Fadholi, “Analisa Kondisi Atmosfer pada Kejadian Cuaca Ekstrem Hujan Es (Hail),” J. Ilmu Fis. Indones., vol. 1, no. 2, pp. 74–80, 2012.
Gössling, S., Neger, C., Steiger, R., & Bell, R. (2023). Weather, climate change, and transport: a review. Natural Hazards, 118(2), 1341-1360
Weaver, C. P., Lempert, R. J., Brown, C., Hall, J. A., Revell, D., & Sarewitz, D. (2013). Improving the contribution of climate model information to decision making: the value and demands of robust decision frameworks. Wiley Interdisciplinary Reviews: Climate Change, 4(1), 39-60.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.







