Overview
SismoNexo maps the instrumental earthquake catalog of Colombia's national seismological network and estimates, per zone and time horizon, the probability of recording at least one event above a magnitude threshold. It is an academic prototype for a postgraduate specialization in data analytics at EAM.
Problem
Seismic data in Colombia is public but hard to explore, and “prediction” claims are easy to make and impossible to back; the honest question is how much recent activity improves on historical frequency.
Research question
There is no validated method to anticipate the date, place and magnitude of an earthquake. The project asks something narrower: by zone and period, what is the expected rate of events, and does recent activity add information beyond the long-run frequency?
Data and provenance
The catalog comes from the official query forms of the Servicio Geológico Colombiano: the SEISAN era (1993–2018) and the SeisComP era (2018–2026). Administrative boundaries come from DANE. Every raw response is stored with a manifest: URL, query date, record count and SHA-256 hash.
Cleaning applies 13 audited rules and writes an audit file alongside the clean catalog, so every discarded record can be traced.
Zone-period table and models
Events are aggregated into a zone-period table with 24 variables, for five units of analysis — from a grid of roughly 50 km to municipalities and departments. Variables use only the past; the label uses only the future.
- Baseline rate with a smoothed Poisson prior.
- Logistic regression with class weighting.
- Poisson and negative binomial count models.
- Random forest and histogram gradient boosting.
- An ETAS-inspired rate with a recent-activity term.
- A hybrid that combines three of the above, fitted on validation data.
Validation, calibration and leakage
Each block tests on one year, validates on the two years before it and trains on everything earlier, with a gap equal to the forecast horizon. Isotonic calibration, decision threshold and hybrid weights are fitted on validation only. Accuracy is not reported; the metrics are PR-AUC, Brier score against the baseline, log-loss and calibration error.
The leakage detector recomputes variables with the catalog truncated at the origin and requires equality, compares scaler statistics, looks for repeated zone-period pairs across sets, verifies the temporal gap, counts test events with close neighbors just before the boundary, and searches for label-like columns.
Application
The pipeline and the interface communicate only through versioned files. The scientific result is computed once and the web app, a static site, cannot alter it. A FastAPI service and a PostGIS schema exist as the target architecture, but the deployed prototype does not depend on them.
The interface has twelve views and a story mode over an interactive map, explains each estimate with SHAP, permutation importance and similar past periods, and exports reports as PDF, CSV, PNG, GeoJSON and JSON.
Architecture
Technical decisions
- Two halves that only share files
- Separating the pipeline from the interface makes the result reproducible and versioned, and lets the site run without a backend.
- Chronological validation only
- Random splits would leak future activity into training. Walk-forward blocks with a horizon-sized gap mirror how a forecast would actually be used.
- Fixed probability bins for uncertainty
- Intervals by quantile produced meaningless ranges at high probabilities, so they were replaced by fixed bins with merging of sparse ones.
- Report where the models do not help
- By department, no model beats historical frequency, and for magnitude 5.0 and above the improvement is marginal. The application says so and defaults to the baseline in those cases.
Evidence
66,987
Events in the clean catalog (M ≥ 2.5, 1993–2026)
Source: README.md · dataset rsnc-2026.10.10-094f0852
45
Configurations trained and validated
Source: README.md · CHANGELOG.md
0.350
PR-AUC, 50 km grid, M ≥ 4.0, 30 days (baseline 0.169)
Source: README.md · walk-forward results
+19.8%
Brier score improvement over baseline, same configuration
Source: README.md · walk-forward results
0.613
PR-AUC by department, M ≥ 4.0 — no model beats the baseline
Source: README.md · walk-forward results
Limitations
- It is not prediction: it estimates frequencies by zone and period.
- For M ≥ 5.0 there are so few positive cases that differences between models are unreliable.
- The catalog is heterogeneous: the network changed systems in March 2018, and magnitudes were not homogenized to Mw.
- Aftershock sequences cross the test boundary; the leakage detector flags this as a warning in all 45 configurations.
- The evaluation is retrospective; there is no prospective evaluation yet.
- There is no exposure or vulnerability model: a high probability of activity does not imply damage.
- The API is not deployed; the public site is static and self-sufficient.
