diff --git a/.gitattributes b/.gitattributes index bed0738c7eeb449bca98b5d2f33c89a1ee56349a..49cb8b6ecc75f20023896f2e83dc6ee3f6309f99 100644 --- a/.gitattributes +++ b/.gitattributes @@ -58,3 +58,23 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text # Video files - compressed *.mp4 filter=lfs diff=lfs merge=lfs -text *.webm filter=lfs diff=lfs merge=lfs -text +data/test.lance/_indices/6e8638dc-f105-48c3-b3f7-81f7e3b85e61/auxiliary.idx filter=lfs diff=lfs merge=lfs -text +data/test.lance/data/010101000000001101010100995e71479ab0f6d86a77f21310.lance filter=lfs diff=lfs merge=lfs -text +data/test.lance/data/110010111000001010001100ed3a064a2db85664da55a63a12.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/_indices/2933a5a6-10de-4886-aea4-57e05870fb88/auxiliary.idx filter=lfs diff=lfs merge=lfs -text +data/train.lance/_indices/3984836c-0e03-41e6-89ab-37eb931fb298/page_data.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/_indices/a3b4349b-b117-49c3-a764-6b09d877f9c1/bitmap_page_lookup.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/00001010100100001000001063a1cb410d8c0c694e48a27c92.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/01000001000100110010011164ffb24655bf0ae8b8175b5f61.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/010001101101100100010101af2a004c0ab72c1fcc363494e7.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/0110011001011110101011105e2ce14acfbbe438845a30be80.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/0110101000011001010111005fe143400c953c96b5b739dbd8.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/100011100100011001110110e730ba4f4291361cc75961eb18.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/101010110001010101010110f9127b447e8bf30a5b7d589bbb.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/10110111110001110111000074fcf24b5a8a22494daf89dc83.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/1100100110011101001001102f74ed44f3ac488064d5eaf97a.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/1111010011111010000011003379604b668635fa0b1ad2bb66.lance filter=lfs diff=lfs merge=lfs -text +data/train.lance/data/111111010110011010001100e6664d4936aa98b4b123860624.lance filter=lfs diff=lfs merge=lfs -text +data/validation.lance/_indices/fdc3a99d-06ab-4045-afac-f7ce92f6922a/auxiliary.idx filter=lfs diff=lfs merge=lfs -text +data/validation.lance/data/0011000001010101100101109ba2ae46dbab86129181ad44af.lance filter=lfs diff=lfs merge=lfs -text +data/validation.lance/data/00111001101010000111100140aecb4d3f981330d3488fa858.lance filter=lfs diff=lfs merge=lfs -text diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..1d6ee9bc434a9f39bca89323f73caf556ea56e0a --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,317 @@ +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution 4.0 International Public License ("Public License"). To the +extent this Public License may be interpreted as a contract, You are +granted the Licensed Rights in consideration of Your acceptance of +these terms and conditions, and the Licensor grants You such rights in +consideration of benefits the Licensor receives from making the +Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1b7da872e37d8f72f54c1b7f93dbb736faa992f9 --- /dev/null +++ b/README.md @@ -0,0 +1,235 @@ +--- +pretty_name: PTB-XL v1.0.3 in Lance +license: cc-by-4.0 +language: +- en +- de +tags: +- lance +- ecg +- waveforms +- information-retrieval +size_categories: +- 10Kdrop row with ecg_id=137 [strat_fold=8] +->keep row with ecg_id=138 [strat_fold=8] +#### Change 2 +->drop row with ecg_id=139 [strat_fold=1] +->keep row with ecg_id=7781 [strat_fold=4] +#### Change 3 +->drop row with ecg_id=140 [strat_fold=9] +->keep row with ecg_id=1370 [strat_fold=3] +->Before: {'LVH', 'SR', 'ISC_'} +->After: {'LVH', 'SR'} +->removed {'ISC_'} +#### Change 4 +->drop row with ecg_id=141 [strat_fold=2] +->keep row with ecg_id=2509 [strat_fold=4] +->Before: {'1AVB', 'SR', 'NDT'} +->After: {'1AVB', 'SR'} +->removed {'NDT'} +#### Change 5 +->drop row with ecg_id=142 [strat_fold=3] +->keep row with ecg_id=13803 [strat_fold=6] +->Before: {'IMI', 'SR'} +->After: {'SR', 'NST_'} +->removed {'IMI'} +->added {'NST_'} +#### Change 6 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=143 [strat_fold=9] +->keep row with ecg_id=144 [strat_fold=9] +#### Change 7 +->drop row with ecg_id=145 [strat_fold=3] +->keep row with ecg_id=463 [strat_fold=1] +#### Change 8 +!!! Fold with higher ecg_id in test fold, so drop it and take the other one +->drop row with ecg_id=11817 [strat_fold=10] +->keep row with ecg_id=146 [strat_fold=7] +#### Change 9 +->drop row with ecg_id=456 [strat_fold=1] +->keep row with ecg_id=457 [strat_fold=1] +#### Change 10 +->drop row with ecg_id=458 [strat_fold=7] +->keep row with ecg_id=3797 [strat_fold=7] +->Before: {'SR', 'NDT'} +->After: {'EL', 'SR', 'LNGQT'} +->removed {'NDT'} +->added {'EL', 'LNGQT'} +#### Change 11 +->drop row with ecg_id=459 [strat_fold=5] +->keep row with ecg_id=460 [strat_fold=5] +#### Change 12 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=461 [strat_fold=9] +->keep row with ecg_id=9823 [strat_fold=10] +#### Change 13 +->drop row with ecg_id=462 [strat_fold=8] +->keep row with ecg_id=13802 [strat_fold=5] +#### Change 14 +!!! Fold with higher ecg_id in test fold, so drop it and take the other one +->drop row with ecg_id=13796 [strat_fold=10] +->keep row with ecg_id=1371 [strat_fold=4] +->Before: {'ALMI', 'SR', 'ASMI', '1AVB'} +->After: {'ASMI', '1AVB', 'ALMI', 'SR', 'IVCD'} +->added {'IVCD'} +#### Change 15 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=2506 [strat_fold=10] +->keep row with ecg_id=2507 [strat_fold=10] +#### Change 16 +->drop row with ecg_id=2511 [strat_fold=6] +->keep row with ecg_id=7784 [strat_fold=8] +#### Change 17 +->drop row with ecg_id=3795 [strat_fold=6] +->keep row with ecg_id=3796 [strat_fold=6] +->Before: {'ISCAS', 'ISCAL', 'SR'} +->After: {'SR', 'INJAL', 'INJAS'} +->removed {'ISCAS', 'ISCAL'} +->added {'INJAL', 'INJAS'} +#### Change 18 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=3798 [strat_fold=9] +->keep row with ecg_id=3799 [strat_fold=9] +->Before: {'SR', 'NST_'} +->After: {'IMI', 'SR', 'NST_'} +->added {'IMI'} +#### Change 19 +->drop row with ecg_id=3800 [strat_fold=9] +->keep row with ecg_id=3801 [strat_fold=6] +->Before: {'IMI', 'ASMI', 'LVH', 'ISC_', 'IVCD'} +->After: {'IMI', 'ASMI', 'IVCD'} +->removed {'LVH', 'ISC_'} +#### Change 20 +->drop row with ecg_id=3832 [strat_fold=9] +->keep row with ecg_id=15768 [strat_fold=5] +->Before: {'IMI', 'SR', 'NT_', 'NDT'} +->After: {'IMI', 'SR', 'NDT'} +->removed {'NT_'} +#### Change 21 +->drop row with ecg_id=5817 [strat_fold=10] +->keep row with ecg_id=9824 [strat_fold=3] +->Before: {'SR', 'NDT'} +->After: {'NORM', 'SR'} +->removed {'NDT'} +->added {'NORM'} +#### Change 22 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=7777 [strat_fold=9] +->keep row with ecg_id=7778 [strat_fold=9] +->Before: {'SR', 'PVC', 'NST_'} +->After: {'NORM', 'SR'} +->removed {'PVC', 'NST_'} +->added {'NORM'} +#### Change 23 +->drop row with ecg_id=7779 [strat_fold=7] +->keep row with ecg_id=7780 [strat_fold=7] +->Before: {'ASMI', 'LAFB', 'SR', 'LAO/LAE', 'LVH', 'ISC_'} +->After: {'ASMI', 'LAFB', 'SR', 'LVH', 'ISC_'} +->removed {'LAO/LAE'} +#### Change 24 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=7782 [strat_fold=10] +->keep row with ecg_id=7783 [strat_fold=10] +->Before: {'PACE'} +->After: {'ASMI', 'LAFB', 'ALMI', 'PACE', 'PVC'} +->added {'ALMI', 'LAFB', 'ASMI', 'PVC'} +#### Change 25 +->drop row with ecg_id=9821 [strat_fold=2] +->keep row with ecg_id=9822 [strat_fold=2] +->Before: {'IMI', 'SR'} +->After: {'IMI', 'SR', '1AVB', 'PVC'} +->added {'1AVB', 'PVC'} +#### Change 26 +->drop row with ecg_id=9825 [strat_fold=6] +->keep row with ecg_id=11813 [strat_fold=1] +#### Change 27 +->drop row with ecg_id=9888 [strat_fold=6] +->keep row with ecg_id=9889 [strat_fold=4] +#### Change 28 +!!! Fold with higher ecg_id in test fold, so drop it and take the other one +->drop row with ecg_id=15742 [strat_fold=9] +->keep row with ecg_id=11809 [strat_fold=7] +#### Change 29 +->drop row with ecg_id=11810 [strat_fold=8] +->keep row with ecg_id=15741 [strat_fold=3] +->Before: {'SR', 'ASMI'} +->After: {'SR', 'INJAL', 'ASMI'} +->added {'INJAL'} +#### Change 30 +->drop row with ecg_id=11814 [strat_fold=8] +->keep row with ecg_id=11815 [strat_fold=8] +#### Change 31 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=11838 [strat_fold=9] +->keep row with ecg_id=11839 [strat_fold=9] +#### Change 32 +->drop row with ecg_id=13791 [strat_fold=4] +->keep row with ecg_id=13792 [strat_fold=4] +#### Change 33 +->drop row with ecg_id=13793 [strat_fold=8] +->keep row with ecg_id=13794 [strat_fold=8] +->Before: {'SR', 'INJAL', 'ASMI'} +->After: {'SR', 'ASMI'} +->removed {'INJAL'} +#### Change 34 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=13797 [strat_fold=9] +->keep row with ecg_id=13798 [strat_fold=9] +#### Change 35 +->drop row with ecg_id=13799 [strat_fold=2] +->keep row with ecg_id=13800 [strat_fold=2] +#### Change 36 +->drop row with ecg_id=18150 [strat_fold=5] +->keep row with ecg_id=18151 [strat_fold=5] +Dropped ecg_ids =[137, 139, 140, 141, 142, 143, 145, 11817, 456, 458, 459, 461, 462, 13796, 2506, 2511, 3795, 3798, 3800, 3832, 5817, 7777, 7779, 7782, 9821, 9825, 9888, 15742, 11810, 11814, 11838, 13791, 13793, 13797, 13799, 18150] diff --git a/meta/ptbxl_v103_changelog.txt b/meta/ptbxl_v103_changelog.txt new file mode 100644 index 0000000000000000000000000000000000000000..5fddf55457c7df6572592cd5218bd6b9636b093d --- /dev/null +++ b/meta/ptbxl_v103_changelog.txt @@ -0,0 +1,163 @@ +#################################### +########### DUPLICATES ############# +#################################### +#### Change 1 +->drop row with ecg_id=137 [strat_fold=8] +->keep row with ecg_id=138 [strat_fold=8] +#### Change 2 +->drop row with ecg_id=139 [strat_fold=1] +->keep row with ecg_id=7781 [strat_fold=4] +#### Change 3 +->drop row with ecg_id=140 [strat_fold=9] +->keep row with ecg_id=1370 [strat_fold=3] +consensus: {'LVH': 100.0, 'SR': 0.0} +consensus label derived from: {'LVH': 100.0, 'ISC_': 100.0, 'SR': 0.0},{'LVH': 100.0, 'SR': 0.0} +#### Change 4 +->drop row with ecg_id=141 [strat_fold=2] +->keep row with ecg_id=2509 [strat_fold=4] +consensus: {'SR': 0.0, '1AVB': 100.0} +consensus label derived from: {'1AVB': 100.0, 'NDT': 100.0, 'SR': 0.0},{'1AVB': 100.0, 'SR': 0.0} +#### Change 5 +->drop row with ecg_id=142 [strat_fold=3] +->keep row with ecg_id=13803 [strat_fold=6] +consensus: {'SR': 0.0} +consensus label derived from: {'IMI': 15.0, 'SR': 0.0},{'NST_': 100.0, 'SR': 0.0} +#### Change 6 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=143 [strat_fold=9] +->keep row with ecg_id=144 [strat_fold=9] +#### Change 7 +->drop row with ecg_id=145 [strat_fold=3] +->keep row with ecg_id=463 [strat_fold=1] +#### Change 8 +!!! Fold with higher ecg_id in test fold, so drop it and take the other one +->drop row with ecg_id=11817 [strat_fold=10] +->keep row with ecg_id=146 [strat_fold=7] +#### Change 9 +->drop row with ecg_id=456 [strat_fold=1] +->keep row with ecg_id=457 [strat_fold=1] +#### Change 10 +->drop row with ecg_id=458 [strat_fold=7] +->keep row with ecg_id=3797 [strat_fold=7] +consensus: {'SR': 0.0} +consensus label derived from: {'NDT': 100.0, 'SR': 0.0},{'LNGQT': 100.0, 'EL': 100.0, 'SR': 0.0} +#### Change 11 +->drop row with ecg_id=459 [strat_fold=5] +->keep row with ecg_id=460 [strat_fold=5] +#### Change 12 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=461 [strat_fold=9] +->keep row with ecg_id=9823 [strat_fold=10] +#### Change 13 +->drop row with ecg_id=462 [strat_fold=8] +->keep row with ecg_id=13802 [strat_fold=5] +#### Change 14 +!!! Fold with higher ecg_id in test fold, so drop it and take the other one +->drop row with ecg_id=13796 [strat_fold=10] +->keep row with ecg_id=1371 [strat_fold=4] +consensus: {'ASMI': 100.0, 'ALMI': 100.0, '1AVB': 100.0, 'SR': 0.0} +consensus label derived from: {'ASMI': 100.0, 'ALMI': 100.0, '1AVB': 100.0, 'SR': 0.0},{'ASMI': 100.0, 'ALMI': 100.0, 'IVCD': 100.0, '1AVB': 100.0, 'SR': 0.0} +#### Change 15 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=2506 [strat_fold=10] +->keep row with ecg_id=2507 [strat_fold=10] +#### Change 16 +->drop row with ecg_id=2511 [strat_fold=6] +->keep row with ecg_id=7784 [strat_fold=8] +#### Change 17 +->drop row with ecg_id=3795 [strat_fold=6] +->keep row with ecg_id=3796 [strat_fold=6] +consensus: {'SR': 0.0} +consensus label derived from: {'ISCAL': 100.0, 'ISCAS': 100.0, 'SR': 0.0},{'INJAL': 100.0, 'INJAS': 100.0, 'SR': 0.0} +#### Change 18 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=3798 [strat_fold=9] +->keep row with ecg_id=3799 [strat_fold=9] +consensus: {'SR': 0.0, 'NST_': 100.0} +consensus label derived from: {'NST_': 100.0, 'SR': 0.0},{'IMI': 15.0, 'NST_': 100.0, 'SR': 0.0} +#### Change 19 +->drop row with ecg_id=3832 [strat_fold=9] +->keep row with ecg_id=15768 [strat_fold=5] +consensus: {'SR': 0.0, 'IMI': 15.0, 'NDT': 100.0} +consensus label derived from: {'IMI': 15.0, 'NDT': 100.0, 'NT_': 0.0, 'SR': 0.0},{'IMI': 50.0, 'NDT': 100.0, 'SR': 0.0} +#### Change 20 +->drop row with ecg_id=5817 [strat_fold=10] +->keep row with ecg_id=9824 [strat_fold=3] +consensus: {'SR': 0.0} +consensus label derived from: {'NDT': 100.0, 'SR': 0.0},{'NORM': 50.0, 'SR': 0.0} +#### Change 21 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=7777 [strat_fold=9] +->keep row with ecg_id=7778 [strat_fold=9] +consensus: {'SR': 0.0} +consensus label derived from: {'NST_': 50.0, 'PVC': 100.0, 'SR': 0.0},{'NORM': 100.0, 'SR': 0.0} +#### Change 22 +->drop row with ecg_id=7779 [strat_fold=7] +->keep row with ecg_id=7780 [strat_fold=7] +consensus: {'ASMI': 100.0, 'SR': 0.0, 'ISC_': 100.0, 'LAFB': 100.0, 'LVH': 50.0} +consensus label derived from: {'ASMI': 100.0, 'LVH': 50.0, 'ISC_': 100.0, 'LAFB': 100.0, 'LAO/LAE': 100.0, 'SR': 0.0},{'ASMI': 100.0, 'LAFB': 100.0, 'LVH': 100.0, 'ISC_': 100.0, 'SR': 0.0} +#### Change 23 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=7782 [strat_fold=10] +->keep row with ecg_id=7783 [strat_fold=10] +consensus: {'PACE': 0.0} +consensus label derived from: {'PACE': 100.0},{'ASMI': 100.0, 'ALMI': 15.0, 'LAFB': 100.0, 'PVC': 100.0, 'PACE': 0.0} +#### Change 24 +->drop row with ecg_id=9821 [strat_fold=2] +->keep row with ecg_id=9822 [strat_fold=2] +consensus: {'SR': 0.0, 'IMI': 15.0} +consensus label derived from: {'IMI': 15.0, 'SR': 0.0},{'IMI': 15.0, 'PVC': 100.0, '1AVB': 100.0, 'SR': 0.0} +#### Change 25 +->drop row with ecg_id=9825 [strat_fold=6] +->keep row with ecg_id=11813 [strat_fold=1] +#### Change 26 +->drop row with ecg_id=9888 [strat_fold=6] +->keep row with ecg_id=9889 [strat_fold=4] +#### Change 27 +!!! Fold with higher ecg_id in test fold, so drop it and take the other one +->drop row with ecg_id=15742 [strat_fold=9] +->keep row with ecg_id=11809 [strat_fold=7] +#### Change 28 +->drop row with ecg_id=11810 [strat_fold=8] +->keep row with ecg_id=15741 [strat_fold=3] +consensus: {'ASMI': 100.0, 'SR': 0.0} +consensus label derived from: {'ASMI': 100.0, 'SR': 0.0},{'ASMI': 100.0, 'INJAL': 100.0, 'SR': 0.0} +#### Change 29 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=11838 [strat_fold=9] +->keep row with ecg_id=11839 [strat_fold=9] +#### Change 30 +->drop row with ecg_id=13791 [strat_fold=4] +->keep row with ecg_id=13792 [strat_fold=4] +#### Change 31 +->drop row with ecg_id=13793 [strat_fold=8] +->keep row with ecg_id=13794 [strat_fold=8] +consensus: {'ASMI': 100.0, 'SR': 0.0} +consensus label derived from: {'ASMI': 100.0, 'INJAL': 100.0, 'SR': 0.0},{'ASMI': 100.0, 'SR': 0.0} +#### Change 32 +!!! Both ids in test fold, so keep the one with higher id +->drop row with ecg_id=13797 [strat_fold=9] +->keep row with ecg_id=13798 [strat_fold=9] +#### Change 33 +->drop row with ecg_id=13799 [strat_fold=2] +->keep row with ecg_id=13800 [strat_fold=2] +#### Change 34 +->drop row with ecg_id=18150 [strat_fold=5] +->keep row with ecg_id=18151 [strat_fold=5] + +#################################### +########### TRIPLICATES ############# +#################################### +#### Change 35 +->drop row with ecg_id=11814 [strat_fold=8] +->drop row with ecg_id=11815 [strat_fold=8] +->keep row with ecg_id=11816 [strat_fold=8] +#### Change 36 +->drop row with ecg_id=3800 [strat_fold=9] +->drop row with ecg_id=3801 [strat_fold=6] +->keep row with ecg_id=3802 [strat_fold=6] +consensus: {'ASMI': 50.0, 'IVCD': 100.0, 'IMI': 100.0} +consensus label derived from: {'IMI': 100.0, 'ASMI': 100.0, 'IVCD': 100.0},{'IMI': 100.0, 'ASMI': 50.0, 'LVH': 50.0, 'ISC_': 100.0, 'IVCD': 100.0},{'IMI': 100.0, 'ASMI': 50.0, 'LVH': 50.0, 'ISC_': 100.0, 'IVCD': 100.0} + +Dropped ecg_ids [38 in total] =[137, 139, 140, 141, 142, 143, 145, 11817, 456, 458, 459, 461, 462, 13796, 2506, 2511, 3795, 3798, 3832, 5817, 7777, 7779, 7782, 9821, 9825, 9888, 15742, 11810, 11838, 13791, 13793, 13797, 13799, 18150, 11814, 11815, 3800, 3801] + diff --git a/meta/scp_statements.csv b/meta/scp_statements.csv new file mode 100644 index 0000000000000000000000000000000000000000..b102eb1326a0919aa0a50d4e09ab71fd17cdc483 --- /dev/null +++ b/meta/scp_statements.csv @@ -0,0 +1,72 @@ +,description,diagnostic,form,rhythm,diagnostic_class,diagnostic_subclass,Statement Category,SCP-ECG Statement Description,AHA code,aECG REFID,CDISC Code,DICOM Code +NDT,non-diagnostic T abnormalities,1.0,1.0,,STTC,STTC,other ST-T descriptive statements,non-diagnostic T abnormalities,,,, +NST_,non-specific ST changes,1.0,1.0,,STTC,NST_,Basic roots for coding ST-T changes and abnormalities,non-specific ST changes,145,MDC_ECG_RHY_STHILOST,, +DIG,digitalis-effect,1.0,1.0,,STTC,STTC,other ST-T descriptive statements,suggests digitalis-effect,205,,, +LNGQT,long QT-interval,1.0,1.0,,STTC,STTC,other ST-T descriptive statements,long QT-interval,148,,, +NORM,normal ECG,1.0,,,NORM,NORM,Normal/abnormal,normal ECG,1,,,F-000B7 +IMI,inferior myocardial infarction,1.0,,,MI,IMI,Myocardial Infarction,inferior myocardial infarction,161,,, +ASMI,anteroseptal myocardial infarction,1.0,,,MI,AMI,Myocardial Infarction,anteroseptal myocardial infarction,165,,, +LVH,left ventricular hypertrophy,1.0,,,HYP,LVH,Ventricular Hypertrophy,left ventricular hypertrophy,142,,C71076, +LAFB,left anterior fascicular block,1.0,,,CD,LAFB/LPFB,Intraventricular and intra-atrial Conduction disturbances,left anterior fascicular block,101,MDC_ECG_BEAT_BLK_ANT_L_HEMI,C62267,D3-33140 +ISC_,non-specific ischemic,1.0,,,STTC,ISC_,Basic roots for coding ST-T changes and abnormalities,ischemic ST-T changes,226,,, +IRBBB,incomplete right bundle branch block,1.0,,,CD,IRBBB,Intraventricular and intra-atrial Conduction disturbances,incomplete right bundle branch block,105,MDC_ECG_BEAT_RBB_BLK_INCOMP,C71048,D3-33112 +1AVB,first degree AV block,1.0,,,CD,_AVB,"Sinus node dysfunction, atrial and AV-conduction defects",first degree AV block,,MDC_ECG_RHY_AV_HEART_BLK_DEG_1,C111088, +IVCD,non-specific intraventricular conduction disturbance (block),1.0,,,CD,IVCD,Intraventricular and intra-atrial Conduction disturbances,non-specific intraventricular conduction disturbance,107,MDC_ECG_BEAT_BLK_IVCD,C62271,D3-33000 +ISCAL,ischemic in anterolateral leads,1.0,,,STTC,ISCA,ischemic ST-T changes,in anterolateral leads,,,, +CRBBB,complete right bundle branch block,1.0,,,CD,CRBBB,Intraventricular and intra-atrial Conduction disturbances,(complete) right bundle branch block,106,MDC_ECG_BEAT_RBB_BLK_COMP,C62270,D3-33110 +CLBBB,complete left bundle branch block,1.0,,,CD,CLBBB,Intraventricular and intra-atrial Conduction disturbances,(complete) left bundle branch block,104,MDC_ECG_BEAT_LBB_BLK_COMP,C62269,D3-33120 or 122752 +ILMI,inferolateral myocardial infarction,1.0,,,MI,IMI,Myocardial Infarction,inferolateral myocardial infarction,,,, +LAO/LAE,left atrial overload/enlargement,1.0,,,HYP,LAO/LAE,Atrial statements,left atrial overload/enlargement,140,,, +AMI,anterior myocardial infarction,1.0,,,MI,AMI,Myocardial Infarction,anterior myocardial infarction,160,,, +ALMI,anterolateral myocardial infarction,1.0,,,MI,AMI,Myocardial Infarction,anterolateral myocardial infarction,,,, +ISCIN,ischemic in inferior leads,1.0,,,STTC,ISCI,ischemic ST-T changes,in inferior leads,,,, +INJAS,subendocardial injury in anteroseptal leads,1.0,,,MI,AMI,ischemic ST-T changes compatible with subendocardial injury,in anteroseptal leads,,,, +LMI,lateral myocardial infarction,1.0,,,MI,LMI,Myocardial Infarction,lateral myocardial infarction,163,,, +ISCIL,ischemic in inferolateral leads,1.0,,,STTC,ISCI,ischemic ST-T changes,in inferolateral leads,,,, +LPFB,left posterior fascicular block,1.0,,,CD,LAFB/LPFB,Intraventricular and intra-atrial Conduction disturbances,left posterior fascicular block,102,MDC_ECG_BEAT_BLK_POS_L_HEMI,C62268,D3-33150 +ISCAS,ischemic in anteroseptal leads,1.0,,,STTC,ISCA,ischemic ST-T changes,in anteroseptal leads,,,, +INJAL,subendocardial injury in anterolateral leads,1.0,,,MI,AMI,ischemic ST-T changes compatible with subendocardial injury,in anterolateral leads,,,, +ISCLA,ischemic in lateral leads,1.0,,,STTC,ISCA,ischemic ST-T changes,in lateral leads,,,, +RVH,right ventricular hypertrophy,1.0,,,HYP,RVH,Ventricular Hypertrophy,right ventricular hypertrophy,143,,C71077, +ANEUR,ST-T changes compatible with ventricular aneurysm,1.0,,,STTC,STTC,other ST-T descriptive statements,ST-T changes compatible with ventricular aneurysm,227,,, +RAO/RAE,right atrial overload/enlargement,1.0,,,HYP,RAO/RAE,Atrial statements,right atrial overload/enlargement,141,,, +EL,electrolytic disturbance or drug (former EDIS),1.0,,,STTC,STTC,physiopathological nature of ST-T changes,compatible with electrolyte abnormalities,,,, +WPW,Wolf-Parkinson-White syndrome,1.0,,,CD,WPW,Intraventricular and intra-atrial Conduction disturbances,Wolff-Parkinson-White syndrome,,MDC_ECG_RHY_WPW_UNK,C35132, +ILBBB,incomplete left bundle branch block,1.0,,,CD,ILBBB,Intraventricular and intra-atrial Conduction disturbances,incomplete left bundle branch block,,MDC_ECG_BEAT_LBB_BLK_INCOMP,C71047, +IPLMI,inferoposterolateral myocardial infarction,1.0,,,MI,IMI,Myocardial Infarction,inferoposterolateral myocardial infarction,,,, +ISCAN,ischemic in anterior leads,1.0,,,STTC,ISCA,ischemic ST-T changes,in anterior leads,,,, +IPMI,inferoposterior myocardial infarction,1.0,,,MI,IMI,Myocardial Infarction,inferoposterior myocardial infarction,,,, +SEHYP,septal hypertrophy,1.0,,,HYP,SEHYP,Ventricular Hypertrophy,septal hypertrophy,,,, +INJIN,subendocardial injury in inferior leads,1.0,,,MI,IMI,ischemic ST-T changes compatible with subendocardial injury,in inferior leads,,,, +INJLA,subendocardial injury in lateral leads,1.0,,,MI,AMI,ischemic ST-T changes compatible with subendocardial injury,in lateral leads,,,, +PMI,posterior myocardial infarction,1.0,,,MI,PMI,Myocardial Infarction,posterior myocardial infarction,162,,, +3AVB,third degree AV block,1.0,,,CD,_AVB,"Sinus node dysfunction, atrial and AV-conduction defects",third degree AV block,88,MDC_ECG_RHY_AV_HEART_BLK_DEG_3,C111091,D3-32102 +INJIL,subendocardial injury in inferolateral leads,1.0,,,MI,IMI,ischemic ST-T changes compatible with subendocardial injury,in inferolateral leads,,,, +2AVB,second degree AV block,1.0,,,CD,_AVB,"Sinus node dysfunction, atrial and AV-conduction defects",second degree AV block,,MDC_ECG_RHY_AV_HEART_BLK_DEG_2,C62016,R-F81AE +ABQRS,abnormal QRS,,1.0,,,,Normal/abnormal,abnormal QRS,,,, +PVC,ventricular premature complex,,1.0,,,,Statements related to ectopic rhythm abnormalities,ventricular premature complex (beat),60,MDC_ECG_BEAT_V_P_C,, +STD_,non-specific ST depression,,1.0,,,,Basic roots for coding ST-T changes and abnormalities,non-specific ST depression,502,,,F-38278 +VCLVH,voltage criteria (QRS) for left ventricular hypertrophy,,1.0,,,,Ventricular Hypertrophy,voltage criteria (QRS) for left ventricular hypertrophy,,,, +QWAVE,Q waves present,,1.0,,,,Other QRS morphology descriptive statements,Q waves present,,,, +LOWT,low amplitude T-waves,,1.0,,,,other ST-T descriptive statements,low amplitude T-waves,366,,, +NT_,non-specific T-wave changes,,1.0,,,,Basic roots for coding ST-T changes and abnormalities,non-specific T-wave changes,,,, +PAC,atrial premature complex,,1.0,,,,Statements related to ectopic rhythm abnormalities,atrial premature complex (beat),30,MDC_ECG_BEAT_ATR_P_C,, +LPR,prolonged PR interval,,1.0,,,,Statements related to impulse formation (abnormalities),Prolonged PR interval,82,,, +INVT,inverted T-waves,,1.0,,,,other ST-T descriptive statements,inverted T-waves,367,,, +LVOLT,low QRS voltages in the frontal and horizontal leads,,1.0,,,,Other QRS morphology descriptive statements,low QRS voltages in the frontal and horizontal leads,,,, +HVOLT,high QRS voltage,,1.0,,,,Other QRS morphology descriptive statements,high QRS voltage,,,, +TAB_,T-wave abnormality,,1.0,,,,Basic roots for coding ST-T changes and abnormalities,T-wave abnormality,147,,, +STE_,non-specific ST elevation,,1.0,,,,Basic roots for coding ST-T changes and abnormalities,non-specific ST elevation,501,MDC_ECG_RHY_STELVATION,,F-38277 +PRC(S),premature complex(es),,1.0,,,,Statements related to ectopic rhythm abnormalities,premature complex(es),,,, +SR,sinus rhythm,,,1.0,,,Statements related to impulse formation (abnormalities),sinus rhythm,20,MDC_ECG_RHY_SINUS_RHY,, +AFIB,atrial fibrillation,,,1.0,,,Statements related to impulse formation (abnormalities),atrial fibrillation,50,MDC_ECG_RHY_ATR_FIB,,D3-31520 +STACH,sinus tachycardia,,,1.0,,,Statements related to impulse formation (abnormalities),sinus tachycardia,21,MDC_ECG_RHY_SINUS_TACHY,, +SARRH,sinus arrhythmia,,,1.0,,,Statements related to impulse formation (abnormalities),sinus arrhythmia,23,MDC_ECG_RHY_SINUS_ARRHY,, +SBRAD,sinus bradycardia,,,1.0,,,Statements related to impulse formation (abnormalities),sinus bradycardia,22,MDC_ECG_RHY_SINUS_BRADY,, +PACE,normal functioning artificial pacemaker,,,1.0,,,Pacemaker types and pacemaker function,normal functioning artificial pacemaker,,,, +SVARR,supraventricular arrhythmia,,,1.0,,,Statements related to impulse formation (abnormalities),supraventricular arrhythmia,,,, +BIGU,"bigeminal pattern (unknown origin, SV or Ventricular)",,,1.0,,,Statements related to ectopic rhythm abnormalities,"bigeminal pattern (unknown origin, SV or Ventricular)",,,, +AFLT,atrial flutter,,,1.0,,,Statements related to impulse formation (abnormalities),atrial flutter,51,MDC_ECG_RHY_ATR_FLUT,, +SVTAC,supraventricular tachycardia,,,1.0,,,Statements related to impulse formation (abnormalities),supraventricular tachycardia,55,MDC_ECG_RHY_SV_TACHY,,D3-31290 +PSVT,paroxysmal supraventricular tachycardia,,,1.0,,,Statements related to impulse formation (abnormalities),paroxysmal supraventricular tachycardia,,MDC_ECG_RHY_SV_TACHY_PAROX,, +TRIGU,"trigeminal pattern (unknown origin, SV or Ventricular)",,,1.0,,,Statements related to ectopic rhythm abnormalities,"trigeminal pattern (unknown origin, SV or Ventricular)",,,,