Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
added gallery probing #3
base: master
Are you sure you want to change the base?
added gallery probing #3
Changes from all commits
399e20f
cf04d50
8e58c35
3d202a8
50720ab
0733dc6
03345fe
d072aaa
26a0a2f
4b0529d
fca4856
75b4a06
061e29f
5b75132
29d9801
a12922c
b1ae0e9
0e72a3f
594e685
2f35fb6
0f3ba37
5f6a131
4c5c4b7
271f06a
d20857f
25383c6
e1d4af3
2242ee8
8a5d154
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
ECGAnalysisDashbaord
ElectroCardioGuard
This repository contains all code and models relevant to ElectroCardioGuard (https://www.sciencedirect.com/science/article/pii/S0950705123007645, https://arxiv.org/abs/2306.06196).
Due to the large size of the IKEM dataset, we opted to publish it on Zenodo (https://zenodo.org/record/8393007).
Installation
To recreate experiments, please setup a MLflow tracking server according to instructions in
dgn_mlflow_logger
.Getting started
Scripts for converting datasets to our HDF5 format are located in
dataset_conversion_scripts
directory. In order to download all datasets and apply our pre-processing/compression to them, callThe script will take a long time to fully complete (4-7 hours). To verify the process completed successfully, you can run
python dataset_stats.py
and compare the numbers with this table:In order to save disk space, we discard redundant leads (III, aVF, aVR, aVL). Specifically, the remaining leads V1-6, I, and II are stored in this order respectively from indices 0 to 7. We also quantize voltages to a 16-bit scale with 4.88 μV per bit. Tracings are stored in HDF5 files with a single tracing per chunk for fast random access.
results
contains full result tables, whose shortened and compact versions are published in our paper.To run a single instance of grid search (model configuration), run
python pt_grid_search_instance.py
with corresponding arguments.To evaluate our model in the gallery/probe matching task or overseer simulation task, run
pt_evaluate_as_classifier.py
with corresponding arguments. You can rungallery_probe_all.sh
andoverseer_simulation_dev/test.sh
to directly reproduce our results, or update the model path parameter to evaluate a different model.Our model is built on top of CDIL-CNN (
models/pt_cdil_cnn.py
). The original implementation can be found here: https://github.com/LeiCheng-no/CDIL-CNN.If you've found our work useful, please cite our publication: