Aftershock Oracle
CSEF · 2026 Earth & Environmental Sciences (Track 2) (Junior Division)
Overview
Earthquakes may seem to be just tremors that make buildings rattle and trees shake, but they can be very dangerous. Even though they were only 8% of the disasters from 2000 to 2019, they accounted for 58% of total fatalities! My project relies on AI models to analyze earthquake data and understand aftershock behavior. I used historic earthquake data from USGS and tectonic plates information, including mainshock magnitude, location, depth, and distance to nearby faults, etc. Next, my model learned from these features and observed patterns. The original goal was to forecast the probability that at least one aftershock (Mag 2.5+) would occur within 30 days and 50 miles of a mainshock (Mag 6+). I then extended it to estimate the maximum aftershock magnitude, when aftershocks would strike, and where aftershocks were most likely to cluster. I wrote my code using PyCharm, a Python IDE. Next, I built and tested three machine learning models, and compared them based on metrics such as precision, recall, and AUC (accuracy). For my purpose, XGBoost performed best, reaching an accuracy of 0.82 on the test data. With this model, I was able to get an AUC of up to 85% when testing magnitude and probability. For location forecasting, I divided the region into a 50×50 grid and generated a probability heatmap. My model passed my criteria of 80% AUC, and it was proven to be a useful aftershock forecasting system. For time forecasting, I created time bins that predicted the number of aftershocks that would occur in a half-day period. My results were comparable to Omori’s Law, a widely accepted time-based frequency formula. My project showed that AI models can learn patterns from past earthquakes and provide insights into aftershock behavior, giving valuable forecasts on location, time, magnitude, and probability.
Competition history
- CSEF 2026
Related projects
ISEF · 2019
Predicting Earthquake Aftershocks with Machine Learning
CSEF · 2026
Physics-Anchored Short-Term Earthquake Hazard Characterization Using Large-Scale Seismic Data
ISEF · 2019
Tsunami Forecasting and Risk Analysis
CSEF · 2018
Shake! Shake! Shake!
CSEF · 2010
Soil and Structure Survival during Groundshaking
ISEF · 2025
Using Machine Learning Techniques to Forecast Major Earthquake Probabilities Along the San Andreas Fault System After a 100-Year Drought
ISEF · 2026
Physics-Anchored Short-Term Earthquake Hazard Characterization Using Large-Scale Seismic Data Waveform-Derived Sequence Information Improves Leakage-Safe Short-Term Regional Hazard Indicators Beyond Catalog-Only Baselines
ISEF · 2022
It's Flaming Out: Using Artificial Intelligence To Emulate Critical Aspects of Wildfire Growth
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects