Tani21's picture
Update README.md
cd91fa9 verified
---
title: Maternal Risk Predict
emoji: πŸ†
colorFrom: indigo
colorTo: green
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Maternal Risk Prediction (Gradio)
This Hugging Face Space predicts high-risk pregnancy using a RandomForest model trained on a cleaned maternal dataset.
## Files
- maternal_rf_model.joblib β€” trained model pipeline
- maternal_metadata.json β€” feature metadata
- maternal_cleaned.csv β€” cleaned dataset (for defaults and reference)
- app.py β€” Gradio app
## Features
- Numeric: Age, Gravida, GestationWeeks, WeightKg, HeightCm, BP_Systolic, BP_Diastolic, FetalHR
- Categorical: Anaemia, Jaundice, FetalPosition, FetalMovement, UrineAlbumin, UrineSugar
## Output
- Prediction: "High Risk" or "Not High Risk"
- Probability_high_risk: model probability for the positive class