Postpartum Hemorrhage Prediction
An AI-powered web app that predicts postpartum hemorrhage risk for pregnant patients, helping doctors monitor and manage high-risk cases early.
Preview Gallery
6 mediaTechnologies & Skills
One-time purchase
What's Included
Support & Customization
Resource Links
Purchase this project to unlock source and premium resources. Document/report remain secure preview-based on this page.
The PPH Early Risk Prediction System is an AI-powered maternal health web application built using Streamlit that helps predict the risk of Postpartum Hemorrhage (PPH), which is one of the leading causes of maternal mortality worldwide. The platform uses a pre-trained machine learning model loaded via Joblib, along with SHAP for explainability, to analyze clinical inputs such as age, BMI, and gestational age, and classify patients into Low, Moderate, or High risk categories. It supports two types of users — patients and doctors — each with their own dashboard and features. Patients can check their risk, book appointments, view checkup schedules, and interact with an AI health assistant chatbot for guidance. Doctors can monitor all registered patients, filter and focus on high-risk cases, manage appointment requests by confirming or cancelling them, and provide notes to patients. The application stores all data locally using SQLite and presents it through interactive charts built with Matplotlib and Plotly. It also supports PDF report generation using fpdf2, allowing clinical summaries to be downloaded. The UI is styled with custom CSS using Google Fonts for a clean, professional look, and the platform includes multilingual support to cater to diverse user bases. Overall, this system serves as a clinical decision support tool designed to assist healthcare providers in the early identification and management of high-risk pregnancies, ultimately aiming to reduce maternal deaths caused by postpartum hemorrhage.
Future Enhancements
Known Issues
Installation
Here are the installation steps in that format:
- Clone the repository
- Install dependencies —
pip install -r requirements.txt - Configure environment — ensure Python 3.8+ is installed
- Run the project —
streamlit run new_code.py
Usage
- Register or log in as patient or doctor
- Patient enters clinical details in the form
- Model predicts Low, Moderate, or High risk
- SHAP chart explains the prediction factors
- Patient reads advice based on risk level
- Patient chats with the AI health assistant
- Patient requests an appointment with a note
- Doctor views and filters high risk patients
- Doctor confirms or cancels appointments
- Patient downloads a PDF risk report
System Requirements
- OS — Windows, macOS, or Linux
- Python — version 3.8 or above
- RAM — minimum 4GB
- Storage — minimum 500MB free space
- Browser — Chrome, Firefox, or Edge
- Internet — required for AI assistant and Google Fonts
- pip — latest version for installing dependencies
Slides Open in New Tab
For better readability, slides are opened directly. Documents remain preview-only with secure backend rendering.
Showing preview pages only. Purchase for full access to all pages and complete source package.
Login for Full AccessNo Q&A available yet
Be the first to ask a question!
Ask a Question
Customer Reviews
Write Your Review
No reviews yet
Be the first to review this project!
Similar Projects
You might also be interested in these projects
AI Finance Platform
It is a full-stack web application that helps users manage their personal finances by tracking income, expenses, and budgets in one place.The AI Finan
Multi-agent-AI-weekly-planner
WeeklyAI 5 AI agents collaborate in real-time to auto-generate personalized weekly schedules from plain-English goals. Built with LangGraph, FastAPI
Remote File Server
Self-hostable cloud file server built with React & FastAPI for secure file storage, browsing, uploads, downloads, and remote access.
Fantasy Forge AI
AI-powered MERN web app for crafting and sharing fantasy tales. Features include real-time generation, public exploration, visibility toggle etc .