Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
1 year ago
doc
1 year ago
824c532f7e
update dvc
1 year ago
if
3eca1d9883
update files
1 year ago
1 year ago
src
47dfe32b69
Update 'src/hyperparams.yaml'
1 year ago
253af7190d
update scripts
1 year ago
824c532f7e
update dvc
1 year ago
824c532f7e
update dvc
1 year ago
2c430579ab
Update 'README.md'
1 year ago
1 year ago
1 year ago
11de1e7266
update pipeline
1 year ago
3eca1d9883
update files
1 year ago
1 year ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

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

Anomaly Detection project in ECG signals - Part 2

I have built a web application to detect anomalies from ECG signals. It takes as input a CSV file that will be used to evaluate the model. After the 'Check Anomalies' button is pressed, the app will display a plot to visualize the true values versus the predictions obtained the deployed model. The green points represent the predicted label, while the red crosses represent the ground truth.

Detailed description of the project

The article with the explanations is An End to End Anomaly Detection App for ECG signals with DagsHub, SageMaker, and Streamlit. You can also find link to my deployed app is here.

Tools used in the project

Project Structure

  • ecg_data/: contains all the data, training and test data
  • if/: contains the artifact of the isolation forest
  • doc/: documentation
    • set_environment.md: Instructions to set up the environment in your local PC
    • create_datapipeline.md: Command lines to create the data pipeline
  • src: contains the following scripts
    • train.py: Python script to track the experiments of the ML model and save the model artifact on MLflow's platform
    • deploy.py: Python script to deploy MLflow model with AWS SageMaker
    • ecg_app.py: Python script to create the web application with Streamlit

Split data into training and test set

python src/create_data.py

Train and evaluate model

python src/train.py

Deploy MLflow Model to a Sagemaker Endpoint

mlflow sagemaker build-and-push-container

Deploy model to SageMaker

python src/deploy.py
Tip!

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

About

Build a web application that detects heart anomalies

Collaborators 1

Comments

Loading...