Comparative Analysis of Earthquake Prediction with SVM, Naïve Bayes, and K-Means Models
Comparative Analysis of Earthquake Prediction with SVM, Naïve Bayes, and K-Means Models
DOI:
https://doi.org/10.47709/cnahpc.v7i1.5085Keywords:
Earthquake, Earthquake Prediction, Support Vector Machine, Naïve Bayes, K-Means, BMKGAbstract
Earthquakes are natural disasters with significant impacts on people and the environment, so effective methods for prediction are needed to improve preparedness and risk mitigation. This study analyzes the performance of three algorithms Support Vector Machine (SVM), Naïve Bayes, and K-Means in predicting earthquakes in Indonesia using a dataset containing 4,645 historical data from BMKG processed through preprocessing, data separation, analysis, and performance evaluation with RapidMiner tools. The results show that SVM has the best performance with 99.87% accuracy, 99.83% precision, and 95.61% recall, making it highly relevant for earthquake prediction. Naïve Bayes achieved 90.31% accuracy and 95.08% recall, but the low precision (57.24%) shows the limitations of this model. K-Means successfully clusters earthquakes into two categories: small (3,661 data) and large (55 data) earthquakes, with a Davies-Bouldin Index value of 0.579, reflecting good clustering quality. Based on these results, SVM is recommended as a superior earthquake prediction model, while Naïve Bayes and K-Means are more suitable for additional analysis. This approach confirms the potential of machine learning algorithms in supporting future earthquake risk mitigation.
Downloads
References
Afriansyah, M., Saputra, J., Sa’adati, Y., & Valian Yoga Pudya Ardhana. (2023). Optimasi Algoritma Naive Bayes Untuk Klasifikasi Buah Apel Berdasarkan Fitur Warna RGB. Bulletin of Computer Science Research, 3(3), 242–249. https://doi.org/10.47065/bulletincsr.v3i3.251
Dara Taqa Assajidah Jusli, R. K. (2024). Journal of Computer Networks , Architecture and High Performance Computing Sentiment Analysis of Starlink on Twitter Using Support Vector Machine Algorithm Journal of Computer Networks , Architecture and High Performance Computing. 6(3), 1321–1332. Retrieved from https://jurnal.itscience.org/index.php/CNAPC/article/view/4739/3572
Dinata, R. K., Safwandi, S., Hasdyna, N., & Azizah, N. (2020). Analisis K-Means Clustering pada Data Sepeda Motor. INFORMAL: Informatics Journal, 5(1), 10. https://doi.org/10.19184/isj.v5i1.17071
Informatika, M. T., Forest, R., Network, N., Machine, S. V., & Bayes, N. (2023). KLASIFIKASI TSUNAMI GEMPA BUMI DENGAN TEKNIK STACKING ENSEMBLE MACHINE LEARNING. JIP (Jurnal Informatika Polinema), 10. Retrieved from https://jurnal.polinema.ac.id/index.php/jip/article/view/5655/3941
Isyfa Rhamdani, A., & Jamaludin, H. (2023). Pengelompokan Wilayah Menurut Kekuatan Gempa Bumi Menggunakan Clustering. Jurnal Media Pratama, 17(2), 149–158.
Kurniawan, R., Halim, A., & Melisa, H. (2023). Prediksi Hasil Panen Pertanian Salak di Daerah Tapanuli Selatan Menggunakan Algoritma SVM (Support Vector Machine). KLIK: Kajian Ilmiah Informatika Dan Komputer, 4(2), 903–912. https://doi.org/10.30865/klik.v4i2.1246
Laia, F., Duha, T., Laia, M., Huda, A. K., & Jasuma, A. (2023). Klasifikasi Data Gempa Bumi di Pulau Sumatera Menggunakan Algoritma Naïve Bayes. Jurnal Informatika, 2(1), 23–27. https://doi.org/10.57094/ji.v2i1.840
Lydia Diffani Siregar, Arif Susilo, A. T. W. (2024). Determining Superior Classes Based on Academic Grades at SMK Karya Pembaharuan with the K-Means Clustering Method. Journal of Computer Networks, Architecture and High Performance Computing Volume, 6(3), 1006–1013.
Maharani, R., Hutagaol, A., Lana, V. T., Azzahra, Z., & Kurniawan, R. (2024). Penerapan Machine Learning dalam Prediksi Klasifikasi Big Data Kedalaman Gempa Bumi di Indonesia Tahun 2015-2024. 2024(Senada), 42–51.
Nurhalizah, A. A., Cahyana, Y., & Rahmat. (2024). Model Prediksi Kekuatan Gempa Dengan Menggunakan Algoritma Linear Regression Dan Support Vector Regression (Studi Kasus BMKG). V(2), 41. Retrieved from https://www.kaggle.com/datasets/kekavigi/earthquakes-in-ndonesia.
Nurmaulida, I., Sunge, A. S., & Zy, A. T. (2023). Penggunaan Naïve Bayes dalam Implementasi Prediksi Tingkat Curah Hujan. Jurnal Ilmiah Mahasiswa Pendidikan Sejarah, 8(3), 3149–3157. https://doi.org/https://doi.org/10.24815/jimps. .v8i3.26402
Prasetio, A., Effendi, M. M., & Dwi M, M. N. (2023). Analisis Gempa Bumi Di Indonesia Dengan Metode Clustering. Bulletin of Information Technology (BIT), 4(3), 338–343. https://doi.org/10.47065/bit.v4i3.820
Rosina Senista Tiwe Rani, K. Y. (2024). Analisis Prediksi Gempa Bumi di Nusa Tenggara Timur dengan Metode Naïve Bayes dan K-Means Clustering. Seminar Nasional Sistem Informasi (SENASIF) Fakultas Teknologi Informasi Universitas Merdeka Malang, 8, 4632–4643. Retrieved from https://jurnalfti.unmer.ac.id/index.php/senasif/article/view/555
Rozikin, Z., Turmudi Zy, A., & Kamalia, A. Z. (2023). Prediksi Ketebalan Powder Coating Menggunakan Algoritma SVM Dan Naïve Bayes. Bulletin of Information Technology (BIT), 4(2), 226–231. https://doi.org/10.47065/bit.v4i2.687
Somantri, O., Purwaningrum, S., & Riyanto, R. (2022). Model Support Vektor Machine (Svm) Berdasarkan Parameter Windows Untuk Prediksi Kekuatan Gempa Bumi. JTT (Jurnal Teknologi Terapan), 8(1), 17. https://doi.org/10.31884/jtt.v8i1.352
Utami, E., & Khotimah, A. C. (2022). Comparison Naïve Bayes Classifier, K-Nearest Neighbor and Support Vector Machine in the Classification of Individual on Twitter Account. Jurnal Teknik Informatika (JUTIF), 3(3). Retrieved from https://doi.org/10.20884/1.jutif.2022.3.3.254
Wahyu Pratama, R., Herry Chrisnanto, Y., & Gunawan, G. (2024). Klasifikasi Efek Kerusakan Gempa Bumi Berdasarkan Skala Modified Mercalli Intensity Menggunakan Algoritma Multiclass Support Vector Machine. JATI (Jurnal Mahasiswa Teknik Informatika), 8(2), 1739–1745. https://doi.org/10.36040/jati.v8i2.9211
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Ahmad Fadhiil Muttaqin, Aswan Supriyadi Sunge, Ahmad Turmudi Zy

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











