Pengaruh Optimasi Hyperparameter Random Forest terhadap Akurasi Prediksi Magnitudo Gempa Bumi Berdasarkan Hasil Klasterisasi DBSCAN

Authors

  • Rizky Dwi Prasetyo Universitas Islam Nahdlatul Ulama Jepara
  • Nadia Anissa Maori Universitas Islam Nahdlatul Ulama Jepara
  • Akhmad Khanif Zyen Universitas Islam Nahdlatul Ulama Jepara

DOI:

https://doi.org/10.35870/jtik.v10i1.5555

Keywords:

Earthquake, DBSCAN, Random Forest, Magnitude Prediction, Machine Learning, Hyperparameter Tuning

Abstract

Indonesia is a country with high seismic activity due to its location at the convergence of three major tectonic plates. This condition creates a strong need for earthquake pattern analysis and magnitude prediction to support disaster mitigation. This study aims to cluster earthquake data using the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm and to predict earthquake magnitude using the Random Forest algorithm optimized through hyperparameter tuning. The Indonesian earthquake dataset was obtained from Kaggle with a total of 92,887 valid entries. The DBSCAN clustering results revealed several active seismic zones, particularly in Sumatra, Java, Sulawesi, and Papua. The comparison of R² between the Baseline Random Forest and the Tuned Random Forest shows a significant improvement after the parameter tuning process. The Tuned Random Forest model achieves an R² value of 0.478, which is higher than the Baseline Random Forest's 0.442. This indicates that the tuned model is better able to explain the variance in the data and provides more accurate predictions.

Downloads

Download data is not yet available.

Author Biographies

  • Rizky Dwi Prasetyo, Universitas Islam Nahdlatul Ulama Jepara

    Program Studi Tekni Informatika, Fakultas Sains dan Teknologi, Universitas Islam Nahdlatul Ulama Jepara, Kota Jepara, Provinsi Jawa Tengah, Indonesia.

  • Nadia Anissa Maori, Universitas Islam Nahdlatul Ulama Jepara

    Program Studi Tekni Informatika, Fakultas Sains dan Teknologi, Universitas Islam Nahdlatul Ulama Jepara, Kota Jepara, Provinsi Jawa Tengah, Indonesia.

  • Akhmad Khanif Zyen, Universitas Islam Nahdlatul Ulama Jepara

    Program Studi Tekni Informatika, Fakultas Sains dan Teknologi, Universitas Islam Nahdlatul Ulama Jepara, Kota Jepara, Provinsi Jawa Tengah, Indonesia.

References

Budiman, K., & Ifriza, Y. N. (2021). Analysis of earthquake forecasting using random forest. Journal of soft computing exploration, 2(2), 153-162. https://doi.org/10.52465/joscex.v2i2.51.

Chai, T., & Draxler, R. R. (2014). Root mean square error (RMSE) or mean absolute error (MAE)? – Arguments against avoiding RMSE in the literature. Geoscientific Model Development, 7(3), 1247–1250.

Draper, N. R., & Smith, H. (1998). Applied regression analysis (3rd ed.). Wiley-Interscience.

Fansyuri, M., Putra, R. T. S., Salsabila, A. A., Ramadhan, F., & Fiqih, M. (2025). Analisis data gempa di Indonesia menggunakan algoritma Naive Bayes. JRIIN: Jurnal Riset Informatika dan Inovasi, 2(10), 1914–1916.

Hafid, H., & Hidayat, R. (2025). Implementation of DBSCAN for Earthquake Clustering in Indonesia with Potential Surface Damage. Journal of Mathematics, Computations and Statistics, 8(1), 124-133.

Han, J., Kamber, M., & Pei, J. (2022). Data mining: Concepts and techniques (4th ed.). Morgan Kaufmann.

Hutagaol, R. M. A., Lana, V. T., Dzunnurain, Z. A., & Kurniawan, R. (2024, September). Penerapan Machine Learning dalam Prediksi Klasifikasi Big Data Kedalaman Gempa Bumi di Indonesia Tahun 2015-2024. In PROSIDING SEMINAR NASIONAL SAINS DATA (Vol. 4, No. 1, pp. 42-51).

James, G., Witten, D., Hastie, T., & Tibshirani, R. (2021). An introduction to statistical learning: With applications in R (2nd ed.). Springer.

Maulita, I., & Wahid, A. (2024). Prediksi Magnitudo Gempa Menggunakan Random Forest, Support Vector Regression, XGBoost, LightGBM, dan Multi-Layer Perceptron Berdasarkan Data Kedalaman dan Geolokasi (Predicting Earthquake Magnitude Using Random Forest, Support Vector Regression, XGBoost, LightGBM, and Multi-Layer Perceptron Based on Depth and Geolocation Data). Jurnal Pendidikan Dan Teknologi Indonesia, 4, 221-232.

Narastu, R. S., Pratama, R. F., & Suryani, D. (2023). Analisis eksplorasi data gempa bumi di Indonesia menggunakan data BMKG. Jurnal Sistem dan Sains Riset (JSSR, 4(3), 45–55.

Oktaviarini, K. N., Wahyuni, E. D., & Permata Sari, R. (2024). Transformasi data statistik menjadi visual interaktif menggunakan Streamlit: Studi kasus BPS Kota Mojokerto. Jurnal Kridatama Sains dan Teknologi, 6(2), 123–132.

Pamungkas, T. D., Firdaus, R. A., Rohmah, N. A., Rizki, R., & Affriani, A. R. Analisis Spasial Rencana Tata Ruang Wilayah Berbasis Kerentanan Gempa Bumi (Studi Kasus: Kecamatan Cisarua Kabupaten Bandung Barat). JGISE: Journal of Geospatial Information Science and Engineering, 7(2), 161-170. https://doi.org/10.22146/jgise.101944.

PRATAMA, M. A. W. R. (2021). The Influence of Using Up Sampling Method in Predicting Patients' Disease Types using a Combination of Natural Language Processing, Naive Bayes Algorithm, XGBoost and Support Vector Machine (Doctoral dissertation, Universitas Mercu Buana Jakarta).

Pratiwi, A. P., & Arum, P. R. (2025). Implementasi Algoritma Random Forest untuk Mengklasifikasikan Data Gempa Bumi di Indonesia. EIGEN MATHEMATICS JOURNAL, 8(1), 25-33. https://doi.org/10.29303/emj.v8i1.185.

Rahayu, T., & Purwoko, A. (2020). Pendekatan Empiris untuk Estimasi Kerugian Ekonomi dan Dampak Kerusakan Lingkungan akibat Gempabumi di Deli Serdang. Kumpulan Artikel Karya Ilmiah Fakultas Ilmu Komputer, 2, 58-62.

Rahman, R. R. A., & Wijayanto, A. W. (2021). Pengelompokan data gempa bumi menggunakan algoritma DBSCAN. Jurnal Meteorologi dan Geofisika, 22(1), 31–38.

Rahman, S., Sembiring, A., Siregar, D., Prahmana, I. G., Puspadini, R., & Zen, M. (2023). Python: Dasar Dan Pemrograman Berorientasi Objek. Penerbit Tahta Media.

Sulandari, W., Wati, R. K., & Pratiwi, H. (2024). Penerapan algoritma Density-Based Spatial Clustering of Applications with Noise (DBSCAN) dan Self-Organizing Map (SOM) untuk clustering data gempa bumi di Indonesia. Statistika, 14(1), 45–55.

Syaifuddin, A., & Prabowo, T. (2024). Optimasi Akurasi Model Prediksi Magnitudo Gempa Bumi dengan Integrasi Clustering DBSCAN pada Ensemble Learning (Random Forest & XGBoost).

Tantyoko, H., Sari, D. K., & Wijaya, A. R. (2023). Prediksi potensial gempa bumi Indonesia menggunakan metode Random Forest dan feature selection. Jurnal IDEALIS, 6(3), 1587–1597.

Downloads

Published

2026-01-01

Issue

Section

Computer & Communication Science

How to Cite

Prasetyo, R. D., Maori, N. A., & Zyen, A. K. (2026). Pengaruh Optimasi Hyperparameter Random Forest terhadap Akurasi Prediksi Magnitudo Gempa Bumi Berdasarkan Hasil Klasterisasi DBSCAN. Jurnal JTIK (Jurnal Teknologi Informasi Dan Komunikasi), 10(1), 405-415. https://doi.org/10.35870/jtik.v10i1.5555

Similar Articles

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)