Git Product home page Git Product logo

ecg's Introduction

ECG Label System

ECG Label System is a visualization and label-creating software for the ECG dataset. It is writen in HTML5 and JavaScript

This project is powered by:

Motivation

Supervised learning is the machine learning task of learning a function that maps an input to an output based on example input-output pairs. It infers a function from labeled training data consisting of a set of training examples. In supervised learning, each example is a pair consisting of an input object (typically a vector) and a desired output value (also called the supervisory signal).

This software is aiming to help the related specialists to use their knowledge to create labeled training data that can be used in supervised learning.

Data Format ?

Both ECG data and label data are the CSV file.

ECG data

ECG data come from MIT-BIH database. A data file contains 650K sampling points. This is the format of ECG_data.csv:

-29
-29
-29
.
.
.
-135
-153
-256

A data file has one column and 650K rows. And sampling points are arranged from top to bottom in the order of time. For the example of ECG data, Check here.

Label data

There are three column in label data file, start_index, end_index, type. This is the format of Label_data.csv:

start_index,end_index,type
1515,1525,Q
1388,1465,R
1588,1631,S
1229,1244,Q

For the example of Label data, Check here.

How to Use ?

This is a simple video to introduce how to use.
Intro to ECG Label Sys

Use it on Github

Click Me !

I don't want those labels, No worry !

It's possible for you to change the Label. Just need you to modify label_setting.json

{
  "Q": "#FF00F0",
  "R": "#00F0FF",
  "S": "#F0FF00",
  "P": "#FF7F24",
  "T": "#ADFF2F"
}

This setting file is a JSON file. The key is the names of labels and values are color in 256-color format. Note:

  1. Empty label is no recommended.
  2. #808080 is not recommended as a label color due to the conflict with the brush tool.
  3. Once the label setting has changed, old label data files can not be used in the new system.

Special Thanks

Thanks for Dr.Toby Hocking's help and advice to make this project completed.

ecg's People

Contributors

loodahu avatar akhikolla avatar

Watchers

James Cloos avatar

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.