Back to portfolio

2026Case study

Bhoomi Drishti

AI Landslide Early-Warning Platform · Smart India Hackathon 2026

A landslide early-warning platform for 74 regions across 20 Indian states. Rainfall, terrain and soil signals go in; a calibrated risk score, a per-feature explanation and a routed alert come out. The gradient-boosted ensemble is written from scratch in NumPy, and every panel states whether the data behind it is live, demo or simulated.

Bhoomi Drishti dashboard showing a topographic terrain map of India with landslide risk zones, risk score gauges and rainfall charts.

The problem

Build a landslide early-warning system for Indian terrain with no sensor hardware of any kind — and make its output trustworthy enough to act on.

Measured results

ROC AUC
0.8254
98.3% of the measured 0.8397 noise ceiling
PR AUC
0.5245
the honest headline at an 11.08% positive rate
Brier score
0.0681
lower is better; measures probability quality
Calibration error
0.0093
expected calibration error (ECE)
Regions
74
across 20 Indian states
Labelled rows
24,000
2,660 positives — 11.08%

Constraints that shaped it

  • 100% software. No Arduino, no Raspberry Pi, no physical sensor.
  • Must monitor, predict, explain, warn and respond — not just score.
  • No random numbers anywhere in the prediction path.
  • Demo data must never be presentable as real data.

Why the model is hand-written

The prediction path had to be inspectable line by line, and it had to be free of any hidden stochastic step. Rather than pull in a library and argue about what its defaults were doing, I implemented the gradient-boosted tree ensemble in NumPy inside an ml/ package: histogram splits, a fixed feature order of 16 columns, and a deterministic traversal.

The cost is speed. The return is that when the system says a region is at risk 79.2, I can walk from that number back through every split that produced it, and nothing in that walk depends on a seed.

The split was the hardest decision

The dataset has 24,000 rows drawn from 74 regions. A random split puts rows from the same hillside on both sides of the train/test boundary, and the model quietly learns the region instead of the physics. The score goes up and the system gets worse.

So the split is grouped by region — 16,880 train, 3,560 validation, 3,560 test, with no region appearing in more than one split. That change cost several points of apparent accuracy and is the single reason the reported number means anything: it is measured on terrain the model has never seen.

Knowing when to stop tuning

Before optimising, I estimated the irreducible error on this data and got a ceiling of 0.8397 ROC AUC. The final model reaches 0.8254, which is 98.3% of what is achievable here. That framing changed the work: the remaining 0.014 is label noise, not a hyperparameter I had not found yet, and time was better spent on calibration and explanation than on chasing it.

Calibration over discrimination

The output feeds alert thresholds at 60 and 80. A model that ranks correctly but is systematically overconfident makes those thresholds arbitrary, so probability quality mattered more than ranking quality. Expected calibration error landed at 0.0093 and the Brier score at 0.0681. With an 11.08% positive rate, PR AUC of 0.5245 is the more honest headline than ROC AUC.

The smoke test is the check I actually trust: dry conditions score 1.9 (very low), a normal monsoon 30.4 (low), heavy rain 79.2 (high), extreme rain 86.1 (critical). The ordering and the spacing both behave the way a warning system should.

Saying what it is not

Two features could easily be mistaken for something they are not, so both say so in the interface: the image screening is a heuristic screen and states that it is not a trained network, and the terrain basemap states that it is not a satellite pass. Every panel carries a LIVE, DEMO, SIMULATED or MIXED badge, driven from one function so a surface cannot silently lose its label.

What this does not show

Every number above has a boundary. These are the ones worth knowing before you read too much into them.

  • Built for Smart India Hackathon 2026. It is not deployed and has no users.
  • The image screening is a heuristic screen, not a trained network — it says so in the UI.
  • The terrain basemap is a map tile layer, not a satellite pass — it says so in the UI.
  • Scores are measured on held-out regions, not on live incident data.

What it does

  • Calibrated risk scoring across six horizons (0–72h)
  • Gradient-boosted tree ensemble implemented from scratch in NumPy
  • Region-grouped train/validation/test split — no region in two splits
  • Per-prediction feature attribution, so a score can be argued with
  • Threshold-based alert routing at risk 60 (warning) and 80 (critical)
  • Leaflet terrain map with explicit non-satellite labelling
  • 35 FastAPI routes over a 10-table SQLAlchemy schema
  • Every data surface badged LIVE, DEMO, SIMULATED or MIXED

Built with