Natural Disaster Prediction & Management
Machine Learning
Natural Disaster Prediction & Management is a Machine Learning project by Vaibhav Bansal built with Python, Flask, Google API,Machine Learning Algorithms, Deep Learning Methods.
Repository overview
Estimates, live data and alerting for earthquakes, tsunamis, floods, hurricanes and storms. Started as a VIT University capstone in 2020 (Flask 1, TensorFlow 1) and rebuilt in 2026 on FastAPI, scikit-learn, HTMX, Tailwind and Leaflet, with live feeds and a Claude-powered assistant. Outputs are statistical estimates and other organisations' live data. They are not operational forecasts or warnings. Earthquakes cannot be predicted: the earthquake page reports a historical hazard rate, and real-time alerts come from the USGS feed, not from a model.
Project features
- Home: A live 3D globe of this week's USGS earthquakes, with module cards
- Earthquake: Historical hazard for any place (rate and probability of M 6, 7, 8), the live USGS map, the week's strongest real earthquakes with one-click "Nearby help"
- Flood: River level 1, 3 and 6 hours ahead for one gauge, shown next to "no change"
- Tsunami, Hurricane, Storm: Small models with their held-out skill shown on the page
- Live: GDACS global alerts, a weather outlook for any place, and the real-event alert watcher
- Assistant: Plain-language questions answered with live tools and cited guidance (Claude key needed)
- Alerts: Hospitals and police near a place or epicentre, then alert your contacts by email or SMS, optionally in other languages
Documented architecture and workflow
This is the short map. Detail lives in code-walkthrough.md (backend), frontend.md (browser side), models.md (every model) and statistics.md (generated numbers). A FastAPI application that renders server-side Jinja2 pages, enhanced with HTMX. Models are trained once from the command line and loaded from disk at request time. Nothing trains, downloads or writes files inside a web request.
Technology
Python · Flask · Google API · Machine Learning Algorithms · Deep Learning Methods
Repository snapshot
Python · 4 stars · 0 forks · updated 2026-11-05T23:45:05Z
Demos and evidence
- 2020 demo video — documentation
- Code walkthrough — documentation
- code-walkthrough.md — documentation