Skip to content

ML-15 Add pre/post processing ECG2AF image #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kilonzi
Copy link
Collaborator

@kilonzi kilonzi commented Apr 17, 2025

This pull request introduces a new processing pipeline for the ECG2AF model deployment. The changes include the creation of a Docker image, implementation of data preparation and finalization scripts, and the addition of necessary dependencies. These updates enable the preprocessing of ECG data and the generation of risk scores from model predictions.

Docker Image Setup:

Data Preparation:

Data Finalization:

Dependency Management:

Copy link
Collaborator

@lucidtronix lucidtronix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks JK! Glad to get these into the repo! overtime I think we can integrate this code more fully with the rest of the ml4h library...

import pandas as pd
import smart_open

ECG_REST_LEADS = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ok for now, but since these constants are already defined in ml4h/defines.py it would be better to include ml4h and import from there. But that would require making the docker image much bigger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants