Real-Time Earthquake Detection and Risk Classification using Machine Learning and Streamlit

Earthquakes pose a significant threat to human life and infrastructure worldwide, with approximately 500,000 detectable events occurring each year. Early detection and rapid risk assessment are critical for disaster mitigation and emergency response. Recent advances in machine learning (ML) have shown great promise in automating earthquake detection. However, most existing systems are not deployed as real-time web applications accessible to the public. In this paper, we present a real-time earthquake detection and risk classification system that leverages live data from the United States Geological Survey (USGS) API. Our system employs a Random Forest classifier trained on four key features: magnitude, depth, latitude, and longitude. The model classifies each earthquake into three risk categories — HIGH, MEDIUM, and LOW — with an associated confidence score and a risk score on a 0-100 scale. The system integrates live data streaming, interactive visualizations including world maps, magnitude distribution charts, and seismic waveform signals. Additionally, the application features country-wise filtering, depth and time range filters, satellite imagery, and an admin panel for data management. Experimental results demonstrate 100% classification accuracy on the test dataset, with magnitude identified as the most important feature. The system is publicly deployed as a web application, making it accessible for disaster monitoring and research applications. Future work includes integration of deep learning models for improved prediction accuracy and real-time alert broadcasting.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-10-16
DOI
https://doi.org/10.5281/zenodo.23410852
Primary Topic
Seismology and Earthquake Studies
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Real-Time Earthquake Detection and Risk Classification using Machine Learning and Streamlit

Dilkhush Kumar
Zenodo (CERN European Organization for Nuclear Research)
Seismology and Earthquake Studies
preprint

Real-Time Earthquake Detection and Risk Classification using Machine Learning and Streamlit

Dilkhush Kumar
preprint en

Abstract

Earthquakes pose a significant threat to human life and infrastructure worldwide, with approximately 500,000 detectable events occurring each year. Early detection and rapid risk assessment are critical for disaster mitigation and emergency response. Recent advances in machine learning (ML) have shown great promise in automating earthquake detection. However, most existing systems are not deployed as real-time web applications accessible to the public. In this paper, we present a real-time earthquake detection and risk classification system that leverages live data from the United States Geological Survey (USGS) API. Our system employs a Random Forest classifier trained on four key features: magnitude, depth, latitude, and longitude. The model classifies each earthquake into three risk categories — HIGH, MEDIUM, and LOW — with an associated confidence score and a risk score on a 0-100 scale. The system integrates live data streaming, interactive visualizations including world maps, magnitude distribution charts, and seismic waveform signals. Additionally, the application features country-wise filtering, depth and time range filters, satellite imagery, and an admin panel for data management. Experimental results demonstrate 100% classification accuracy on the test dataset, with magnitude identified as the most important feature. The system is publicly deployed as a web application, making it accessible for disaster monitoring and research applications. Future work includes integration of deep learning models for improved prediction accuracy and real-time alert broadcasting.

Zenodo (CERN European Organization for Nuclear Research)
Sustainable cities and communities
Seismology and Earthquake Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.