Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,3 +10,21 @@ pinned: false
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
+
|
| 14 |
+
# Maternal Risk Prediction (Gradio)
|
| 15 |
+
|
| 16 |
+
This Hugging Face Space predicts high-risk pregnancy using a RandomForest model trained on a cleaned maternal dataset.
|
| 17 |
+
|
| 18 |
+
## Files
|
| 19 |
+
- maternal_rf_model.joblib — trained model pipeline
|
| 20 |
+
- maternal_metadata.json — feature metadata
|
| 21 |
+
- maternal_cleaned.csv — cleaned dataset (for defaults and reference)
|
| 22 |
+
- app.py — Gradio app
|
| 23 |
+
|
| 24 |
+
## Features
|
| 25 |
+
- Numeric: Age, Gravida, GestationWeeks, WeightKg, HeightCm, BP_Systolic, BP_Diastolic, FetalHR
|
| 26 |
+
- Categorical: Anaemia, Jaundice, FetalPosition, FetalMovement, UrineAlbumin, UrineSugar
|
| 27 |
+
|
| 28 |
+
## Output
|
| 29 |
+
- Prediction: "High Risk" or "Not High Risk"
|
| 30 |
+
- Probability_high_risk: model probability for the positive class
|