Predictive Modeling of Seismic Events: A Comparative Analysis Of K-Nearest Neighbors and Random Forest Algorithms
DOI:
https://doi.org/10.54097/cjyajb25Keywords:
Seismic Data Prediction, Data Visualization, Machine Learning Algorithms (KNN and Random Forest).Abstract
This study processes and predicts seismic data using data visualization approaches, K-nearest neighbors (KNN) and the random forest (RF) algorithms. The analysis's dataset includes a number of variables connected to earthquakes. The primary goal is to devise a forecast algorithm capable of accurately categorizing seismic events, data visualization tools are utilized to gain insights into the dataset, producing informative charts that depict the distribution and correlations among different variables. This visual evaluation aids in pinpointing anomalies or trends, facilitating a deeper understanding of the data's characteristics and guiding decisions during the modeling phase. Subsequently, the KNN method classifies earthquake occurrences based on their attributes, predicting the class label by considering the characteristics of its nearest neighbors. Additionally, Accurate classification of seismic events is enhanced by using RF, an ensemble learning technique that combines many decision trees to produce predictions. To optimize outcomes, the study adjusts the random forest model's hyperparameters through cross-validation. The study compares the performance of KNN and RF using a confusion matrix. The confusion matrix shows a thorough insight of categorization performance, which provides a comprehensive view of categorization efficacy. This assessment underscores the models' precision and effectiveness in classifying seismic events.
Downloads
References
Chen J, Tang H, Ge J, Pan Y. Rapid Assessment of Building Damage Using Multi-Source Data: A Case Study of April 2015 Nepal Earthquake. Remote Sensing. 2022; 14(6):1358.
Harirchian E, Kumari V, Jadhav K, Rasulzade S, Lahmer T, Raj Das R. A Synthesized Study Based on Machine Learning Approaches for Rapid Classifying Earthquake Damage Grades to RC Buildings. Applied Sciences. 2021, 11(16):7540.
K. Chaurasia, S. Kanse, A. Yewale, V. K. Singh, B. Sharma and B. R. Dattu, Predicting Damage to Buildings Caused by Earthquakes Using Machine Learning Techniques, 2019 IEEE 9th International Conference on Advanced Computing (IACC), Tiruchirappalli, India. 2019, pp.81-86.
Shigefuji, M., Takai, N., Bijukchhen, S. et al. Strong ground motion data of the 2015 Gorkha Nepal earthquake sequence in the Kathmandu Valley. Sci Data. 2022, 9, 513.
C. C. Prediction of Heart Disease using Different KNN Classifier, 2021 5th International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India. 2021, pp. 1186-1194.
N. H. Othman, K. Y. Lee, A. R. M. Radzol, W. Mansor and U. R. M. Rashid, Classification of Salivary Adulterated NS1 SERS Spectra Using PCA-Cosine-KNN, 2019 International Conference on Intelligent Informatics and Biomedical Sciences (ICIIBMS), Shanghai, China. 2019, pp.159-163.
A. N. V. K. Swarupa, V. H. Sree, S. Nookambika, Y. K. S. Kishore and U. R. Teja, Disease Prediction: Smart Disease Prediction System using Random Forest Algorithm, 2021 IEEE International Conference on Intelligent Systems, Smart and Green Technologies (ICISSGT), Visakhapatnam, India. 2021, pp.48-51.
S. U. Raj, M. Veera Manikanta, P. S. Sai Harsitha and M. Judith Leo, Vacant Parking Lot Detection System Using Random Forest Classification, 2019 3rd International Conference on Computing Methodologies and Communication (ICCMC), Erode, India. 2019, pp.454-458.
Kohavi, R., and Provost, F. Glossary of terms. Machine Learning. 1998, 30(2-3), 271-274.
Powers, D. M. Evaluation: from precision, recall and F-measure to ROC, informedness, markedness & correlation. Journal of Machine Learning Technologies. 2011, 2(1), 37-63.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Highlights in Science, Engineering and Technology

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







