Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

README.md 1.8 KB

You have to be logged in to leave a comment. Sign In

Anomaly Detection project in ECG signals

The goal of this project is to detect irregular heart rhythms from ECG signals. Since irregular heart rhythms usually constitute a minority compared to normal ones, we are solving an anomaly detection problem. This is a challenging task for machine learning models, but if it works well, it enables expert technicians and doctors to detect fastly cardiac arrhythmias in patients avoiding any manual and repetitive work.

The article with the explanations is How to deploy your ML model using DagsHub+MLflow+Lambda AWS

Tools used in the project

Project Structure

  • src: contains the scripts to train and evaluate the model
  • ecg_data: contains the data
  • Autoencoder: save the model

Dataset used

ECG5000 is the dataset analyzed in this project. You can find the dataset here. It contains 5000 heartbeats randomly selected from a patient that had heart failure. It was originally found in PhysioNet, a repository of medical data available for researchers, and the class values, that indicate if the heart rhythm is anomalous or not, were obtained by automated annotation.

Set up the environment

  1. Clone the repository
git clone --branch branch_2 https://dagshub.com/eugenia.anello/anomaly_detection_ecg.git
  1. Create a virtual environment in Python

  2. Install the requirements

pip install -r requirements.txt
  1. Pull the data
dvc pull

Run experiment

cd src
python train.py
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Eugenia Anello

commented in commitd711fe8d0bon branch main

3 years ago Outdated

Anomaly Detection project in ECG signals

The goal of this project is to detect irregular heart rhythms from ECG signals. The article with the explanations is How to deploy your ML model using DagsHub+MLflow+Heroku

Set up the environment

  1. Clone the repository
git clone --branch branch_demo https://dagshub.com/eugenia.anello/anomaly_detection_ecg.git
  1. Create a virtual environment in Python

  2. Install the requirements

pip install -r requirements.txt
  1. Pull the data
dvc pull

Run experiment

Serve Keras model with BentoML

Create a Streamlit app

Adesoji Alu

commented in commitd711fe8d0b

2 years ago Outdated

hi, i want to contribute, how do i contribute?

Loading...