Downloads · 30 days
11
24% of all-time downloads
BJyotibrat/hyvioq-v1.0.0
hyvioq-v1.0.0 is a machine learning model from BJyotibrat. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for xgboost. The card lists the license as gpl-3.0.
hyvioq-v1.0.0 is an XGBoost regression model that estimates flood probability from 20 environmental, infrastructure, climate, population, and disaster-preparedness factors. It is the first released model checkpoint fr…
Downloads · 30 days
11
24% of all-time downloads
All-time downloads
45
Public
Repo size
2.5 MB
Likes
1
Public
Click a slice to open those files.
.json3.5 MB · 59%
From the Hugging Face model README
hyvioq-v1.0.0 is an XGBoost regression model that estimates flood probability from 20 environmental, infrastructure, climate, population, and disaster-preparedness factors. It is the first released model checkpoint from hyvioq, an ongoing flood-prediction project that also includes a companion mobile application.
The model outputs a continuous FloodProbability value in the approximate range 0–1, interpretable as an estimated probability of flooding under the given input conditions.
This model was independently developed and trained by Bindupautra Jyotibrat.
hyvioq-v1.0.0 is trained on a large tabular flood-risk dataset and learns the relationship between 20 numerical risk factors and the target variable FloodProbability.
It is intended as a research and demonstration model for flood-risk estimation, not as a substitute for official flood forecasting systems, hydrological models, emergency-management systems, or professional risk assessments.
app.py in the repository (local script, no hosted demo at this time)The model accepts 20 numerical features, each on a scale of approximately 1–10:
| # | Feature | # | Feature |
|---|---|---|---|
| 1 | MonsoonIntensity | 11 | IneffectiveDisasterPreparedness |
| 2 | TopographyDrainage | 12 | DrainageSystems |
| 3 | RiverManagement | 13 | CoastalVulnerability |
| 4 | Deforestation | 14 | Landslides |
| 5 | Urbanization | 15 | Watersheds |
| 6 | ClimateChange | 16 | DeterioratingInfrastructure |
| 7 | DamsQuality | 17 | PopulationScore |
| 8 | Siltation | 18 | WetlandLoss |
| 9 | AgriculturalPractices | 19 | InadequatePlanning |
| 10 | Encroachments | 20 | PoliticalFactors |
Target: FloodProbability
The model may be integrated into research prototypes, educational applications, data-analysis pipelines, environmental-risk dashboards, or experimental decision-support systems — including as one component of the broader hyvioq mobile app. Any downstream application should clearly communicate that predictions are model estimates, not authoritative flood warnings.
This model should not be used as the sole basis for:
The model does not ingest real-time rainfall, river-level, weather-radar, satellite, hydrological, or sensor data, so its predictions should not be treated as real-time forecasts.
pip install -r requirements.txt
import xgboost as xgb
model = xgb.XGBRegressor()
model.load_model("flood_model.json")
import pandas as pd
input_data = pd.DataFrame([{
"MonsoonIntensity": 5,
"TopographyDrainage": 6,
"RiverManagement": 5,
"Deforestation": 4,
"Urbanization": 6,
"ClimateChange": 5,
"DamsQuality": 6,
"Siltation": 4,
"AgriculturalPractices": 5,
"Encroachments": 4,
"IneffectiveDisasterPreparedness": 5,
"DrainageSystems": 6,
"CoastalVulnerability": 4,
"Landslides": 3,
"Watersheds": 5,
"DeterioratingInfrastructure": 4,
"PopulationScore": 5,
"WetlandLoss": 4,
"InadequatePlanning": 5,
"PoliticalFactors": 4
}])
prediction = model.predict(input_data)[0]
print(f"Flood Probability: {prediction:.4f} ({prediction * 100:.2f}%)")
Alternatively, run the provided app.py for a local inference interface.
Below is an example console session showing values entered for each feature and the resulting prediction and risk level:

(Replace path/to/inference-example.png with the image path once it's added to the repository, e.g. assets/inference-example.png.)
The model was trained on the Flood Prediction Dataset, hosted on Kaggle under the CC0 1.0 Universal (Public Domain) license, downloaded via the Kaggle API. train.csv (1,117,957 samples) was used for training and flood.csv for evaluation.
Note: The Kaggle listing notes the dataset has no verifiable external source and is re-uploaded for educational and research purposes only; provenance, collection methods, and exact geographic coverage are unknown.
id column when present.FloodProbability as the regression target.XGBRegressor.XGBRegressor(
n_estimators=200,
learning_rate=0.05,
max_depth=6,
subsample=0.8,
colsample_bytree=0.8,
random_state=42,
objective="reg:squarederror",
eval_metric="rmse"
)
The notebook also contains an earlier 500-estimator configuration evaluated on flood.csv.
Training ran on a Google Colab NVIDIA T4 GPU in under one hour.
Evaluation used flood.csv from the same dataset, with the same 20 features and FloodProbability target.
| Metric | Score |
|---|---|
| RMSE | 0.01184 |
| R² | 0.944 |
Full evaluation logs and results are available at Results/XGBoost. These results are from the held-out evaluation split and should not be interpreted as guaranteed real-world performance.
The model is a gradient-boosted decision-tree ensemble (XGBoost). It can be examined further with feature importance, SHAP values, or partial-dependence analysis; no formal interpretability study is included in this release.
Carbon emissions can be estimated with the ML Impact calculator (Lacoste et al., 2019).
Extreme Gradient Boosting (XGBoost) regression, objective reg:squarederror, predicting continuous FloodProbability from 20 numerical features.
See requirements.txt in the repository for exact dependencies.
BibTeX:
@software{jyotibrat_hyvioq_v1,
author = {Bindupautra Jyotibrat},
title = {hyvioq-v1.0.0: XGBoost Flood Prediction Model},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/BJyotibrat/hyvioq-v1.0.0}
}
APA:
Jyotibrat, B. (2026). hyvioq-v1.0.0: XGBoost Flood Prediction Model. Hugging Face. https://huggingface.co/BJyotibrat/hyvioq-v1.0.0
flood_model.json — XGBoost model representationflood_model.pkl — serialized Python modelconfig.json — model configurationapp.py — local inference scriptrequirements.txt — Python dependenciesEmail: [email protected]