Spaces:
Sleeping
Sleeping
| 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 | |