Analisis Klaster Daerah Rawan Gempa di Indonesia Menggunakan K-Means dan DBSCAN Berbasis Data Historis BMKG
DOI:
https://doi.org/10.38204/tematik.v12i1.2369Keywords:
Clustering, K-means, DBSCAN, Earthquake, Spatial, Seismic, Risk MappingAbstract
Indonesia is one of the countries with the highest levels of seismic activity in the world because it is located at the meeting point of three major plates. The high potential for earthquakes requires a data-based approach to map vulnerable areas more accurately. This study aims to group earthquake-prone areas in Indonesia using the K-Means and DBSCAN clustering algorithms. The dataset used includes spatial data (latitude, longitude) and seismic data (magnitude, depth, phasecount, azimuth_gap) obtained from the BMKG earthquake catalog for the period 2008–2025. The study begins with the data preprocessing stage, which includes data cleaning, type conversion, feature selection, missing value imputation, outlier detection and removal, and normalization. Furthermore, the clustering algorithm is applied in three main scenarios, namely spatial data, seismic data, and a combination of spatial and seismic data. Evaluation using Silhouette Score and Davies-Bouldin Index (DBI) metrics shows that the K-Means algorithm provides better cluster separation, with a DBI value of 1.2551 in the combined scenario, while the DBSCAN algorithm tends to form only one dominant cluster and is sensitive to the presence of outliers. The final result of this study produces a map of earthquake-prone areas in Indonesia, which are divided into several clusters with different risk characteristics. The cluster with the highest concentration includes areas such as western Sumatra, the southern coast of Java, and parts of Maluku and Papua, which have historically been recorded as having higher earthquake frequency and magnitude. Meanwhile, other clusters covering areas such as Kalimantan and parts of Sulawesi show lower seismic activity intensity.
Downloads
References
F. F. Susanta, C. Pratama, T. Aditya, A. F. Khomaini, and H. W. K. Abdillah, “Geovisual Analytics of Spatio-Temporal Earthquake Data in Indonesia,” JGISE J. Geospatial Inf. Sci. Eng., vol. 2, no. 2, Dec. 2019, doi: 10.22146/jgise.51131.
“This Final Report for the MDRID013 emergency appeal operation reflects the overall context of the disasters, the operational strategy, the overall achievements (in numbers), National Society Development and coordination components, the PMI branch construction projects, and findings from the CVA lessons learned and findings and recommendations from the Final Evaluation. Indonesia: 2018 Earthquakes and Tsunamis.” [Online]. Available: http://www.ifrc.org/docs/appeals/Active/MDRID013.pdf
“The National Medium-Term Development Plan For 2020-2024 Narration Republic Of Indonesia.”
M. Bariklana and A. Fauzan, “Implementation Of The DBSCAN Method For Cluster Mapping Of Earthquake Spread Location,” Barekeng J. Ilmu Mat. dan Terap., vol. 17, no. 2, pp. 0867–0878, Jun. 2023, doi: 10.30598/barekengvol17iss2pp0867-0878.
I. M. Rajagukguk, B. K. Lukito, A. A. Santoso Gunawan, and M. E. Syahputra, “Optimizing Earthquake Forecast Through Clustering: K-Means and DBSCAN Approaches,” in Proceedings - 2024 International Conference on Information Technology and Computing, ICITCOM 2024, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 224–229. doi: 10.1109/ICITCOM62788.2024.10762556.
N. F. Saragih, Y. Y. Pratiwi, I. K. Jaya, I. M. Sarkis, H. H. Arrizal, and M. Sinambela, “Clustering Earthquakes in West Java Using Machine Learning Algorithm,” in 2023 IEEE International Conference of Computer Science and Information Technology: The Role of Artificial Intelligence Technology in Human and Computer Interactions in the Industrial Era 5.0, ICOSNIKOM 2023, Institute of Electrical and Electronics Engineers Inc., 2023. doi: 10.1109/ICoSNIKOM60230.2023.10364541.
A. Zamani, M. R. Sorbi, and A. A. Safavi, “Application of neural network and ANFIS model for earthquake occurrence in Iran,” Earth Sci. Informatics, vol. 6, no. 2, pp. 71–85, Jun. 2013, doi: 10.1007/s12145-013-0112-8.
G. Kristianto Anver and Y. J. Prasetyo, “Analysis of Earthquake Intensity on Java Island Using K-Means Clustering and GeoMap,” Indones. J. Soc. Technol., vol. 6, no. 1, p. 469, 2025, [Online]. Available: http://jist.publikasiindonesia.id/
D. H. Natawidjaja, “Updating active fault maps and sliprates along the Sumatran Fault Zone, Indonesia,” in IOP Conference Series: Earth and Environmental Science, Institute of Physics Publishing, Feb. 2018. doi: 10.1088/1755-1315/118/1/012001.
J. S. Mufti and A. Dhini, “Comparative Analysis of Centroid-Based and Density-Based Clustering for Indonesian Earthquake Data,” in International Conference on Computer, Control, Informatics and its Applications, IC3INA, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 464–467. doi: 10.1109/IC3INA64086.2024.10732579.
M. Sinambela, E. Darnila, I. K. Jaya, I. M. Sarkis, and A. Rikki, “Cluster Analysis and Seismicity of The Samosir Using Machine Learning Approach,” in 2023 8th International Conference on Informatics and Computing, ICIC 2023, Institute of Electrical and Electronics Engineers Inc., 2023. doi: 10.1109/ICIC60109.2023.10381924.
R. Alom, A. Mazumdar, R. Kr Prasad, G. Basumatary, and B. Baruah, “Analysis of Seismic Data Using Partition-Based Clustering Techniques,” in 2022 IEEE Global Conference on Computing, Power and Communication Technologies, GlobConPT 2022, Institute of Electrical and Electronics Engineers Inc., 2022. doi: 10.1109/GlobConPT57482.2022.9938362.
H. H. Arrizal, M. Sinambela, Widodo, S. P. Adi, and H. T. Frianto, “Spatial Cluster Analysis of Land Seismicity in the Northem Part of Sumatra Using the K-Medoids Algorithm,” in Proceeding - International Conference on Information Technology and Computing 2023, ICITCOM 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 181–185. doi: 10.1109/ICITCOM60176.2023.10442535.
S. W. Ginting, R. S. Hartati, M. Sudarma, and I. B. A. Swamardika, “Clustering of Earthquake and Volcanic Eruption Trauma Survivor Groups using K-Means Algorithm,” in ICSGTEIS 2021 - 2021 International Conference on Smart-Green Technology in Electrical and Information Systems: Advancing Smart and Green Technologies Toward Society 5.0, Proceedings, Institute of Electrical and Electronics Engineers Inc., 2021, pp. 69–73. doi: 10.1109/ICSGTEIS53426.2021.9650357.
D. K. Wijaya, R. Widjaya, A. Kurniawan, and Diana, “Using Time Series Analysis to Predict Earthquake,” in 2024 International Conference on Artificial Intelligence, Blockchain, Cloud Computing, and Data Analytics, ICoABCD 2024, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 25–30. doi: 10.1109/ICoABCD63526.2024.10704296.
H. Pratiwi, S. S. Handajani, I. Susanto, S. Sangadji, R. Meilawati, and I. S. Khairunnisa, “Hierarchical clustering algorithm for analyzing risk of earthquake on sumatra island,” in International Conference on Electrical, Computer, Communications and Mechatronics Engineering, ICECCME 2021, Institute of Electrical and Electronics Engineers Inc., Oct. 2021. doi: 10.1109/ICECCME52200.2021.9590890.
M. Sinambela, H. H. Arrizal, E. Darnila, Munawar, M. R. Nugraha, and A. Widodo, “Clustering Analysis of Earthquake Based on K-Means, DBSCAN, and Fuzzy C-Means in North Sumatra,” in Proceedings - 2024 International Conference on Information Technology and Computing, ICITCOM 2024, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 242–247. doi: 10.1109/ICITCOM62788.2024.10762334.
S. Gopal, K. Patro, and K. Kumar Sahu, “Normalization: A Preprocessing Stage.” [Online]. Available: www.kiplinger.com,
A. M. Ikotun, A. E. Ezugwu, L. Abualigah, B. Abuhaija, and J. Heming, “K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data,” Inf. Sci. (Ny)., vol. 622, pp. 178–210, Apr. 2023, doi: 10.1016/j.ins.2022.11.139.
A. Jaeger and D. Banks, “Cluster analysis: A modern statistical review,” May 01, 2023, John Wiley and Sons Inc. doi: 10.1002/wics.1597.
M. Suyal and S. Sharma, “A Review on Analysis of K-Means Clustering Machine Learning Algorithm based on Unsupervised Learning,” J. Artif. Intell. Syst., vol. 6, no. 1, pp. 85–95, 2024, doi: 10.33969/ais.2024060106.
M. Ester, H.-P. Kriegel, J. Sander, and X. Xu, “A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise,” 1996. [Online]. Available: www.aaai.org
J. ¨ O. Sander and M. Ester, “Density-Based Clustering in Spatial Databases: The Algorithm GDBSCAN and Its Applications,” 1998.
A. E. Ezugwu et al., “A comprehensive survey of clustering algorithms: State-of-the-art machine learning applications, taxonomy, challenges, and future research prospects,” Apr. 01, 2022, Elsevier Ltd. doi: 10.1016/j.engappai.2022.104743.