Linked-Liszt / ml-heartbeat-detector

ML detection of abnormal heartbeats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heartbeat Detector

Overview

Pre-Processing

  • Uses the wfdb library to help with pre-processing the raw files.
  • Each heartbeat is extracted using QRS detection.
  • The respective label is found from the .atr file and applied to the heartbeat.
  • The heartbeats get edge padded to be 450 samples long. (Sample Rate 360hz)
  • The related files are readData.py and filterData.py

A sample of the training data

Learning

  • CNN's appear to be the most effective way to classify the data.
  • Train/Test split of 70/30.
  • Built using Keras/TensorFlow.
Results Network

Future Work

  • Expand data set to use more sources with similar classification scheme.
  • Apply new ML methods to achieve higher accuracy.
  • With more data, potentially see if model can be trained on one data set, then applied to a different one while maintaining accuracy.

About

ML detection of abnormal heartbeats


Languages

Language:Python 99.8%Language:Batchfile 0.2%