Coder Social home page Coder Social logo

atrial-classification's Introduction

alt text

Install WFDB Software Package

 Follow instructions in: https://physionet.org/physiotools/wfdb-linux-quick-start.shtml 

Install requirements

> pip install -r requirements.txt
> apt-get install python-tk

Install requirements

> pip install -r requirements.txt

Download Dataset

> wget -r -np http://www.physionet.org/physiobank/database/afpdb/

Copy paste afpdb folder to current directory

> mv www.physionet.org/physiobank/database/afpdb .

Go to src folder

> cd src

Create CSV files

> python dat2csv.py

Create training and test dataset

> mkdir training test

Create .npy files

>  python create_dataset.py

Create Neural Network model and train it

> python train.py

Best Model

 Rename the best model from my_model.h5 to best.h5

Make predictions with best model (90% accuracy)

> python predict.py

Tensoarboard

> tensorboard --logdir=logs/

Accuracy & Loss

alt text

Normal Record

alt text

Abnormal Record

alt text

atrial-classification's People

Contributors

dependabot[bot] avatar nickarad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

atrial-classification's Issues

Better project structure?

Really good stuff, but the root directory seems bloated.

Maybe move the PNGs to an images directory and the code to a src directory (or similar names? Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.