Prediksi Magnitudo Gempa Indonesia Menggunakan Machine Learning Berbasis Data Seismik
Abstract
Indonesia is one of the world's most seismically active regions, making earthquake magnitude prediction an important component of disaster mitigation. This study compares several machine learning regression algorithms for predicting earthquake magnitude using Indonesian seismic data collected from the United States Geological Survey (USGS) during 2016–2023. The dataset contains 17,331 earthquake records consisting of spatial, measurement-quality, and temporal attributes. The research process included data preprocessing, feature engineering, model training, and evaluation using the Coefficient of Determination (R²), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE). Four regression algorithms were evaluated: Linear Regression, Support Vector Regression, Random Forest Regression, and Gradient Boosting Regression. Experimental results show that Random Forest Regression achieved the best performance with an R² of 0.767, MAE of 0.123, and RMSE of 0.179, followed by Gradient Boosting Regression with an R² of 0.746. Feature importance analysis indicates that magError, depthError, depth, and gap are the most influential variables in earthquake magnitude prediction. These findings demonstrate that ensemble learning provides accurate prediction performance while offering meaningful interpretation of influential seismic parameters for disaster mitigation systems
References
A. Prasetio, M. Makmun, and M. N. Dwi, “Analisis Gempa Bumi Di Indonesia Dengan Metode Clustering,” Bulletin of Information Technology (BIT), vol. 4, no. 2, pp. 338–343, 2023, doi: 10.47065/bit.v3i1.
W. Ustyannie, E. Setyaningsih, and C. Iswahyudi, “Optimization of software defects prediction in imbalanced class using a combination of resampling methods with support vector machine and logistic regression,” Jurnal Infotel, vol. 13, no. 4, pp. 176–184, 2021, doi: 10.20895/infotel.v13i4.726.
S. T. Hamidou and A. Mehdi, “Enhancing IDS performance through a comparative analysis of Random Forest, XGBoost, and Deep Neural Networks,” Machine Learning with Applications, vol. 22, p. 100738, Dec. 2025, doi: 10.1016/j.mlwa.2025.100738.
D. T. Murdiansyah, “Prediksi Stroke Menggunakan Extreme Gradient Boosting,” JIKO (Jurnal Informatika dan Komputer), vol. 8, no. 2, p. 419, Sep. 2024, doi: 10.26798/jiko.v8i2.1295.
K. Alkanan, Y. Zhong, X. Luo, and R. Dong, “Advanced multimodal biometric authentication for IoT-enabled smart home security: Integrating deep learning-based face recognition with behavioral patterns,” Kuwait Journal of Science, vol. 53, no. 2, Apr. 2026, doi: 10.1016/j.kjs.2026.100548.
A. Syaifuddin and T. Prabowo, “Optimasi Akurasi Model Prediksi Magnitudo Gempa Bumi dengan Integrasi Clustering DBSCAN pada Ensemble Learning (Random Forest & XGBoost),” TIN: Terapan Informatika Nusantara, vol. 5, no. 7, pp. 422–429, Dec. 2024, doi: 10.47065/tin.v5i7.6522.
A. Belenguer, J. A. Pascual, and J. Navaridas, “GöwFed: A novel federated network intrusion detection system,” Journal of Network and Computer Applications, vol. 217, Aug. 2023, doi: 10.1016/j.jnca.2023.103653.
S. S. Shafin, “An explainable feature selection framework for web phishing detection with machine learning,” Data Science and Management, vol. 8, no. 2, pp. 127–136, Jun. 2025, doi: 10.1016/j.dsm.2024.08.004.
A. K. Rai et al., “Gold prospectivity mapping in the eastern part of Mahakoshal Fold Belt, India: A comparative study of Random Forest and XGBoost leveraging knowledge-guided feature engineering,” Geosystems and Geoenvironment, vol. 5, no. 3, Aug. 2026, doi: 10.1016/j.geogeo.2026.100532.
M. Lin, D. Zhang, Q. He, J. Zhao, and Y. Yang, “VQ-Transformer: Lightweight IoT intrusion detection enhanced by optimal transport knowledge distillation,” Ain Shams Engineering Journal, vol. 17, no. 4, Apr. 2026, doi: 10.1016/j.asej.2026.104105.
A. Heriyansyah, H. A. Rohayani, and M. Jambi, “Analisis Prediksi Gempa Bumi Menggunakan Algoritma Decision Tree C4.5: Studi Literatur”.
R. C. Pereira, P. H. Abreu, P. P. Rodrigues, and M. A. T. Figueiredo, “Imputation of data Missing Not at Random: Artificial generation and benchmark analysis,” Expert Syst. Appl., vol. 249, Sep. 2024, doi: 10.1016/j.eswa.2024.123654.
Y. Guo and T. E. Holy, “Recovering Missing Features in Nonnegative Matrix Factorization via Generalized Singular Value Decomposition,” iScience, p. 114708, Feb. 2026, doi: 10.1016/j.isci.2026.114708.
Abdullah-All-Tanvir, I. Ali Khandokar, A. K. M. Muzahidul Islam, S. Islam, and S. Shatabda, “A gradient boosting classifier for purchase intention prediction of online shoppers,” Heliyon, vol. 9, no. 4, Apr. 2023, doi: 10.1016/j.heliyon.2023.e15163.
M. A. Umar, Z. Chen, K. Shuaib, and Y. Liu, “Effects of feature selection and normalization on network intrusion detection,” Data Science and Management, vol. 8, no. 1, pp. 23–39, Mar. 2025, doi: 10.1016/j.dsm.2024.08.001.
M. T. Rahman, S. D. Dipto, I. J. June, A. Momin, and M. R. Al Mamun, “Machine Learning-based Disease Classification in Tomato (Solanum lycopersicum) Plants,” Jurnal Keteknikan Pertanian Tropis dan Biosistem, vol. 12, no. 3, pp. 151–160, Dec. 2024, doi: 10.21776/ub.jkptb.2024.012.03.01.
R. R. Oprasto, J. Wang, A. F. O. Pasaribu, S. Setiawansyah, R. Aryanti, and Sumanto, “An Entropy-Assisted COBRA Framework to Support Complex Bounded Rationality in Employee Recruitment,” Bulletin of Computer Science Research, vol. 5, no. 3, pp. 207–218, Apr. 2025, doi: 10.47065/bulletincsr.v5i3.505.
A. Kumar, S. Bhushan, R. Pokhrel, A. I. Al-Omari, A. R. A. Alanzi, and S. S. Alshqaq, “Imputation of missing data for domain mean estimation using simple random sampling,” Kuwait Journal of Science, vol. 52, no. 4, pp. 1–10, Oct. 2025, doi: 10.1016/j.kjs.2025.100461.
M. Fikri, R. Herteno, R. A. Nugroho, S. W. Saputro, and F. Abadi, “Multi-Criteria Decision Making Dalam Seleksi Fitur Ensemble Untuk Prediksi Cacat Perangkat Lunak Multi-Criteria Decision Making In Ensemble Feature Selection,” vol. 12, no. 6, pp. 1385–1394, 2025.
F. Ariska, V. Sihombing, and I. Irmayani, “Student Graduation Predictions Using Comparison of C5.0 Algorithm With Linear Regression,” SinkrOn, vol. 7, no. 1, pp. 256–266, Feb. 2022, doi: 10.33395/sinkron.v7i1.11261.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Prediksi Magnitudo Gempa Indonesia Menggunakan Machine Learning Berbasis Data Seismik
Pages: 12-22
Copyright (c) 2026 Farizi Ilham, Halili Maar, Dimas Lendesi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).

