{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/automatic-diagnosis-of-the-short-duration-12","title":"Automatic diagnosis of the 12-lead ECG using a deep neural network","arxiv_id":"1904.01949","date":"2019-04-02","proceeding":null,"authors":["Antônio H. Ribeiro","Manoel Horta Ribeiro","Gabriela M. M. Paixão","Derick M. Oliveira","Paulo R. Gomes","Jéssica A. Canazart","Milton P. S. Ferreira","Carl R. Andersson","Peter W. Macfarlane","Wagner Meira Jr.","Thomas B. Schön","Antonio Luiz P. Ribeiro"],"abstract":"The role of automatic electrocardiogram (ECG) analysis in clinical practice is limited by the accuracy of existing models. Deep Neural Networks (DNNs) are models composed of stacked transformations that learn tasks by examples. This technology has recently achieved striking success in a variety of task and there are great expectations on how it might improve clinical practice. Here we present a DNN model trained in a dataset with more than 2 million labeled exams analyzed by the Telehealth Network of Minas Gerais and collected under the scope of the CODE (Clinical Outcomes in Digital Electrocardiology) study. The DNN outperform cardiology resident medical doctors in recognizing 6 types of abnormalities in 12-lead ECG recordings, with F1 scores above 80% and specificity over 99%. These results indicate ECG analysis based on DNNs, previously studied in a single-lead setup, generalizes well to 12-lead exams, taking the technology closer to the standard clinical practice.","url_abs":"https://arxiv.org/abs/1904.01949v2","url_pdf":"https://arxiv.org/pdf/1904.01949v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"automatic-diagnosis-of-the-short-duration-12","repo_url":"https://github.com/antonior92/automatic-ecg-diagnosis","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"ecg-classification","task_name":"ECG Classification"},{"task_slug":"electrocardiography-ecg","task_name":"Electrocardiography (ECG)"},{"task_slug":"specificity","task_name":"Specificity"}],"methods":[],"datasets_introduced":[{"slug":"code-15","name":"CODE-15%","full_name":""}],"methods_introduced":[],"results":[{"leaderboard":"/sota/ecg-classification-on-electrocardiography-ecg","task":"ECG Classification","dataset":"Electrocardiography (ECG) on Telehealth Network of Minas Gerais (TNMG)","model":"DNN","rank_in_archive_order":1,"of":4,"metrics":{"F1 (1dAVb)":"0.893","F1 (AF)":"0.857","F1 (LBBB)":"0.984","F1 (RBBB)":"0.932","F1 (SB)":"0.882","F1 (ST)":"0.933"},"uses_additional_data":false},{"leaderboard":"/sota/ecg-classification-on-electrocardiography-ecg","task":"ECG Classification","dataset":"Electrocardiography (ECG) on Telehealth Network of Minas Gerais (TNMG)","model":"4th year cardiology resident","rank_in_archive_order":2,"of":4,"metrics":{"F1 (1dAVb)":"0.776","F1 (AF)":"0.769","F1 (LBBB)":"0.947","F1 (RBBB)":"0.917","F1 (SB)":"0.882","F1 (ST)":"0.896"},"uses_additional_data":false},{"leaderboard":"/sota/ecg-classification-on-electrocardiography-ecg","task":"ECG Classification","dataset":"Electrocardiography (ECG) on Telehealth Network of Minas Gerais (TNMG)","model":"5th year medical student","rank_in_archive_order":3,"of":4,"metrics":{"F1 (1dAVb)":"0.732","F1 (AF)":"0.706","F1 (LBBB)":"0.915","F1 (RBBB)":"0.928","F1 (SB)":"0.750","F1 (ST)":"0.857"},"uses_additional_data":false},{"leaderboard":"/sota/ecg-classification-on-electrocardiography-ecg","task":"ECG Classification","dataset":"Electrocardiography (ECG) on Telehealth Network of Minas Gerais (TNMG)","model":"3rd year emergency resident","rank_in_archive_order":4,"of":4,"metrics":{"F1 (1dAVb)":"0.719","F1 (AF)":"0.696","F1 (LBBB)":"0.912","F1 (RBBB)":"0.852","F1 (SB)":"0.848","F1 (ST)":"0.932"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1904.01949","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1904.01949"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/antonior92/automatic-ecg-diagnosis","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":1},"by_repo_kind":{"official":{"samples":1,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"1ee00e692acaa2e0","entry":"get_model","repo":"antonior92/automatic-ecg-diagnosis","repo_kind":"official","path":"model.py","file_url":"https://github.com/antonior92/automatic-ecg-diagnosis/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1ee00e692acaa2e0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}