Skip to content

adiguno/4782_Final_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preterm/Term Labor Classification (ECE 4782 Final Project)

Use Physionet EHG preterm/term database to make a classifier. The classifier is able to classify whether the patient will have a preterm or a term labor, using EHG signal and past medical history features, with an average sensitivity of 92.6%.

More in-depth project description, including our research and design approach.

Physionet database: https://physionet.org/physiobank/database/tpehgdb/

Table of Contents

Getting Started

We are using Python 3x, pip, and pipenv.

Prerequisites

Pipenv installation:

pip install pipenv

Installing

Once you have Python 3x, pipenv, and the repo downloaded, go to the root directory and initialize the pipenv and all of the dependencies:

pipenv install

Running the scripts

Running different files:

pipenv run .\[filename]

Running the main.py will print the accuracy, sensitivity, and specificity of our best classifier, model 6, and output a csv file with the sensitivity and specificity for each of the 30 trials.

pipenv run .\main.py

Methodology

Future Plans

Implement Random Forest, logistic regression, and other ML models

Built With

  • pipenv - The virtual environment
  • wfdb - For downloading the Physionet's dataset
  • tensorflow - For building and evaluating the neural network
  • imbalanced-learn - Used to balance the dataset
  • numpy - Used for fomatting the data
  • scikit-learn - Used for splitting the data

Authors

  • Dian Guo
  • Michael Isaf
  • Alexandra Melehan
  • Brandi Nevius

About

Preterm/term labor classification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published