✨Visit our deployed Application here!
Table of Contents
Frontend:
- ReactJS
- Tailwindcss
- particle.js
- react-reveal
- firebase
Backend (API):
- Flask
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- npm
npm install npm@latest -g
Setup Application on local machine:
- Clone the repo
git clone https://github.com/Asuna-AS/stillBirthPredictionApp.git
- Install NPM packages
npm install
- Start the project
npm start
- pip
- Flask
pip install Flask
Setup Application on local machine:
- Clone the repo
git clone https://github.com/Asuna-AS/stillbirth-backend.git
- Install required libraries from requirements.txt file
pip install -r requirements.txt
- Start the server
flask --app app.py run
A stillbirth is the tragic loss of a baby before or during delivery, typically defined as occurring at or after the 20th week of pregnancy. In contrast, a miscarriage is the loss of a baby before reaching 20 weeks of pregnancy. The causes of stillbirth are multifaceted and involve maternal, placental, and fetal factors.
- Maternal Factors: Various maternal factors such as medical conditions, infections, substance abuse, and age can compromise maternal-fetal blood flow or placental function, potentially leading to stillbirth.
- Placental Factors: Problems related to the placenta, including placental abruption, placenta previa, placental insufficiency, umbilical cord issues, chorioamnionitis, and placental masses, can impact fetal growth and development and contribute to stillbirth.
- Fetal Factors: Fetal abnormalities such as chromosomal anomalies, structural defects, and infections can compromise fetal health and increase the risk of stillbirth.
The primary goal of this research project is to understand the various factors contributing to stillbirth and determine their respective risk percentages. Additionally, the project aims to shed light on maternal risk factors associated with stillbirth.
Our research seeks to answer the following questions:
- What factors contribute to stillbirth?
- How do maternal, placental, and fetal factors differ?
- What roles do these factors play in causing stillbirth?
- What is the risk percentage associated with stillbirth?
We collected data on factors influencing stillbirth to create a comprehensive dataset containing relevant features and data points.
After assembling the dataset, we employed various machine learning (ML) models to analyze the data and identify the most suitable model.
We performed Explanable AI on the dataset to determine the factors contributing the most to the ML model's predictions. Our ML models included:
- Logistic Regression
- K-Nearest Neighbor (KNN)
- Support Vector Machine (SVM)
- XGBoost
- Random Forest
Using the model with the highest accuracy, we calculated the risk percentage associated with stillbirth. This allowed us to predict the likelihood of stillbirth and convey it to users.
The project follows a specific workflow:
Our ML workflow consists of data input, Explanable AI analysis, risk prediction, and data integration:
We applied several ML algorithms and identified logistic regression and random forest as the models with the best accuracy and precision for predicting stillbirth risk. The final prediction categorizes the likelihood of stillbirth into three levels:
- Low chances (less than 30%)
- Mediocre chances (between 30% and 60%)
- High chances (greater than 60%)
The project's key conclusions include:
- Successful prediction of stillbirth risk percentage.
- Development of a user-friendly website for easy access.
This study contributes to our understanding of the factors influencing stillbirth and the selection of the most accurate ML model. It also highlights the significance of Explainable AI in factor analysis and risk calculation.
Future research possibilities include:
- Expanding the dataset with additional features for improved accuracy.
- Implementing real-time monitoring through hardware for fetal factors.
- National Library of Medicine, Link
- The American College of Obstetricians and Gynecologists, Link
- Risk For Stillbirth, Link
- Arunim Singhal (Btech @ Indian Institute of Information Technology Lucknow)
- Priya Sharma (Btech @ Indian Institute of Information Technology Lucknow)
- Dr. Mainak Adhikari (Head of Department - Computer Science) @ Indian Institute of Information Technology Lucknow