Downloads · 30 days
0
rakumar25/Disaster-Health-Needs-Estimator
Disaster-Health-Needs-Estimator is a tabular regression model from rakumar25. Use it for the tabular regression task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
DHNE estimates community-level health-supply needs after a disaster (diapers, menstrual products, insulin, inhalers, dialysis sessions, water, calories, and a power-dependent-care priority flag), with low/base/high un…
Downloads · 30 days
0
Access
Public
Updated Sep 10, 2026
Repo size
2.6 MB
Likes
1
Public
Click a slice to open those files.
.skops2.6 MB · 99%
From the Hugging Face model README
DHNE estimates community-level health-supply needs after a disaster (diapers, menstrual products, insulin, inhalers, dialysis sessions, water, calories, and a power-dependent-care priority flag), with low/base/high uncertainty bands. It is a hybrid: a machine-learning population impact model feeds a transparent, evidence-based needs translation engine.
artifacts/impact_model.skops) —
deliberately not joblib/pickle. Loading a pickle file executes arbitrary
code, which Hugging Face flags as unsafe for public model repos; skops is
pickle-free.incidentType, e.g. Hurricane/Flood/
Severe Storm/Tornado/Fire), duration, season; county demographics
(population, poverty, age structure, median home age), Social
Vulnerability Index, rurality.IndividualAssistanceHousingRegistrantsLargeDisasters), county FIPS
derived from each registrant's censusBlockId. A proxy for impact
(registration undercounts affected people; an explicit uptake factor
in src/pipeline.run corrects for this — currently a documented
assumption, not a fitted constant). This dataset only covers disasters
large enough to clear FEMA's size/privacy threshold, so the training set
is inherently biased toward larger, more damaging events.src/data_sources.py and scripts/build_training_table.py.scripts/build_training_table.py --min-year 2005 --max-year 2026 --max-disasters 8. Finding from building this: the IA registrant
microdata ("LargeDisasters") dataset is far smaller than its name suggests
— across ALL declared disasters from 2005–2026, only 8 disasters total
have any rows in it at all (probed every one; verified this isn't a bug —
see src/data_sources.probe_ia_registrant_totals's docstring). All 8 are
major hurricanes plus the February 2021 Texas severe ice storm/freeze.
The current shipped model is trained on 7 of those 8 (one, Hurricane
Irma's Puerto Rico declaration, has no matching ACS/RUCC/SVI county
features in this pass — PR isn't in this build's Census state-FIPS list)
→ 311 (disaster, county) rows spanning 2017, 2018, 2020, 2021, 273
distinct counties, hazard types Hurricane (182 rows) and Severe Ice Storm
(129 rows).scripts/build_training_table.py with a wider --min-year/--max-year
if FEMA adds more disasters to the underlying dataset over time (results
are cached in data/raw/, so reruns are cheap); Puerto Rico/territory
coverage would need src/data_sources.US_STATE_FIPS extended and ACS
variables re-verified for territory geographies.src/model.fit's year_col/
cutoff_year; the shipped run used the default 80th-percentile-year cutoff,
which came out to 2021 — train on 2017/2018/2020 (157 rows), test on 2021
(154 rows, entirely Hurricane Ida + the TX ice storm)). Current numbers
(artifacts/metrics.json):
README.md.config/needs_rates.yaml — audit and localize them.uptake_factor (registrants → truly-affected people) is an explicit,
visible assumption (default 2.0), not fitted against real affected-
population data. Calibrate against independent estimates (Red Cross
shelter counts, state after-action reports) before treating outputs as
more than directional.CountyRatios rather
than a per-county figure.empower_beneficiaries is a per-capita default, not a real county figure.Population-level planning aid only. Misuse as individual clinical guidance is explicitly out of scope. Designed to reduce inequity by surfacing needs in underserved areas, but should be paired with local knowledge and on-the-ground assessment.
import skops.io as sio
from src.pipeline import run, CountyRatios
path = "artifacts/impact_model.skops"
est = sio.load(path, trusted=sio.get_untrusted_types(file=path))
event = {
"county_population": 42000, "poverty_rate": 0.22, "pct_65plus": 0.21,
"pct_under5": 0.06, "median_home_year": 1978, "svi_score": 0.78,
"rucc_code": "rural", "hazard_type": "Flood",
"season": "summer", "duration_days": 9,
}
print(run(est, event, CountyRatios(rurality="rural", svi_quartile="q4_high"), horizon_days=7))
@software{kumar_dhne_2026,
author = {Kumar, Ravindra},
title = {Disaster Health Needs Estimator (DHNE)},
year = {2026},
url = {https://huggingface.co/<your-username>/dhne-impact-model}
}