Coder Social home page Coder Social logo

physionetchallengeshelper / matlab-classifier-2020 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from physionetchallenges/matlab-classifier-2020

0.0 1.0 0.0 47.86 MB

MATLAB example classifier for the PhysioNet/Computing in Cardiology Challenge 2020

License: BSD 2-Clause "Simplified" License

MATLAB 77.55% HTML 10.89% JavaScript 1.50% CSS 0.48% C 5.84% Shell 1.37% Makefile 0.48% C++ 0.14% Batchfile 0.10% M 0.70% Prolog 0.81% Python 0.14%

matlab-classifier-2020's Introduction

Example MATLAB classifier for the PhysioNet/CinC Challenge 2020

Contents

This classifier uses three scripts:

  • run_12ECG_classifier.m makes classifications on 12-Leads ECG data. Add your prediction code to the run_12ECG_classifier function. load_12ECG_model.m loads model weights, etc. for making classifications. To reduce your code's run time, add any code to the load_12ECG_model function that you only need to run once, such as loading weights for your model.
  • get_12ECG_features.py extract the features from the clinical time-series data. This script and function are optional, but we have included it as an example. It calls all the functions inside the Tools folder
  • driver.m calls load_12ECG_model once and run_12ECG_classifier many times. It also performs all file input and output. Do not edit this script -- or we will be unable to evaluate your submission.

Check the code in these files for the input and output formats for the load_12ECG_model and run_12ECG_classifier functions.

Running

You can run this classifier code by starting MATLAB and running

driver(input_directory, output_directory)

where input_directory is a directory for input data files and output_directory is a directory for output classification files. The PhysioNet/CinC 2020 webpage provides a training database with data files and a description of the contents and structure of these files.

Submission

The driver.m, get_12ECG_score.m, and get_12ECG_features.m scripts need to be in the base or root path of the Github repository. If they are inside a subfolder, then the submission will fail.

Details

β€œThe baseline classifiers are simple logistic regression models. They use global electrical heterogeneity (GEH) computed from the WFDB signal file (the .mat file) with the [PhysioNet Cardiovascular Signal Toolbox] and demographic data taken directly from the WFDB header file (the .hea file) as predictors.

The code uses three main toolboxes:

matlab-classifier-2020's People

Contributors

matthewreyna avatar perezald avatar

Watchers

 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.