RyanIRL commited on
Commit
8e6c6ef
·
verified ·
1 Parent(s): dc54526

PTB-XL twelve lead ECGs with ages, held out ages withheld

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +58 -0
  2. data/heldout/rec-0000.npz +3 -0
  3. data/heldout/rec-0001.npz +3 -0
  4. data/heldout/rec-0002.npz +3 -0
  5. data/heldout/rec-0003.npz +3 -0
  6. data/heldout/rec-0004.npz +3 -0
  7. data/heldout/rec-0005.npz +3 -0
  8. data/heldout/rec-0006.npz +3 -0
  9. data/heldout/rec-0007.npz +3 -0
  10. data/heldout/rec-0008.npz +3 -0
  11. data/heldout/rec-0009.npz +3 -0
  12. data/heldout/rec-0010.npz +3 -0
  13. data/heldout/rec-0011.npz +3 -0
  14. data/heldout/rec-0012.npz +3 -0
  15. data/heldout/rec-0013.npz +3 -0
  16. data/heldout/rec-0014.npz +3 -0
  17. data/heldout/rec-0015.npz +3 -0
  18. data/heldout/rec-0016.npz +3 -0
  19. data/heldout/rec-0017.npz +3 -0
  20. data/heldout/rec-0018.npz +3 -0
  21. data/heldout/rec-0019.npz +3 -0
  22. data/heldout/rec-0020.npz +3 -0
  23. data/heldout/rec-0021.npz +3 -0
  24. data/heldout/rec-0022.npz +3 -0
  25. data/heldout/rec-0023.npz +3 -0
  26. data/heldout/rec-0024.npz +3 -0
  27. data/heldout/rec-0025.npz +3 -0
  28. data/heldout/rec-0026.npz +3 -0
  29. data/heldout/rec-0027.npz +3 -0
  30. data/heldout/rec-0028.npz +3 -0
  31. data/heldout/rec-0029.npz +3 -0
  32. data/heldout/rec-0030.npz +3 -0
  33. data/heldout/rec-0031.npz +3 -0
  34. data/heldout/rec-0032.npz +3 -0
  35. data/heldout/rec-0033.npz +3 -0
  36. data/heldout/rec-0034.npz +3 -0
  37. data/heldout/rec-0035.npz +3 -0
  38. data/heldout/rec-0036.npz +3 -0
  39. data/heldout/rec-0037.npz +3 -0
  40. data/heldout/rec-0038.npz +3 -0
  41. data/heldout/rec-0039.npz +3 -0
  42. data/heldout/rec-0040.npz +3 -0
  43. data/heldout/rec-0041.npz +3 -0
  44. data/heldout/rec-0042.npz +3 -0
  45. data/heldout/rec-0043.npz +3 -0
  46. data/heldout/rec-0044.npz +3 -0
  47. data/heldout/rec-0045.npz +3 -0
  48. data/heldout/rec-0046.npz +3 -0
  49. data/heldout/rec-0047.npz +3 -0
  50. data/heldout/rec-0048.npz +3 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: ECG age
4
+ tags:
5
+ - ecg
6
+ - electrocardiography
7
+ - physiological-signals
8
+ size_categories:
9
+ - 1K<n<10K
10
+ ---
11
+
12
+ # ecg-age
13
+
14
+ Twelve lead resting electrocardiograms with the age of the person they were recorded from, drawn from
15
+ PTB-XL and repackaged one record per file.
16
+
17
+ Every record is ten seconds at 500 Hz. Each `.npz` holds exactly three arrays and nothing else:
18
+
19
+ - `signal`, float32 of shape `(12, 5000)`, the lead voltages in millivolts
20
+ - `fs`, int64, the sampling rate, always 500
21
+ - `lead_names`, the twelve leads in order: I, II, III, aVR, aVL, aVF, V1, V2, V3, V4, V5, V6
22
+
23
+ No other field of the source database travels with the signals. There is no sex, no diagnostic
24
+ statement, no device, no recording date and no PTB-XL identifier in any file.
25
+
26
+ ## Layout
27
+
28
+ ```
29
+ data/heldout/rec-0000.npz .. rec-2009.npz 2010 records, ages withheld
30
+ data/train/train-0000.npz .. train-5999.npz 6000 records
31
+ data/train/ages.csv id,age in whole years for data/train only
32
+ ```
33
+
34
+ **Ages are withheld for `data/heldout`.** No age file is published for that folder, here or anywhere
35
+ else. The 2010 held out records are drawn with a flat age distribution, 134 records in each five year
36
+ band from 18 to 89, so the young are as numerous as the old. The 6000 training records keep the
37
+ natural age distribution of the source database. One record per person throughout, and no person
38
+ appears in both folders.
39
+
40
+ ## Source and licence
41
+
42
+ Derived from PTB-XL version 1.0.3, a clinical twelve lead ECG database of 21799 records from 18869
43
+ patients, released on PhysioNet under Creative Commons Attribution 4.0. This repackaging is released
44
+ under the same licence. Records were taken from the 500 Hz `records500` signals, one record per
45
+ patient, restricted to ages 18 to 89.
46
+
47
+ Please cite all three of the following, as PTB-XL asks.
48
+
49
+ Wagner P, Strodthoff N, Bousseljot RD, Kreiseler D, Lunze FI, Samek W, Schaeffter T. PTB-XL, a large
50
+ publicly available electrocardiography dataset. Scientific Data 7:154 (2020).
51
+ https://doi.org/10.1038/s41597-020-0495-6
52
+
53
+ Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PC, Mark RG, Mietus JE, Moody GB, Peng CK,
54
+ Stanley HE. PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for
55
+ Complex Physiologic Signals. Circulation 101(23):e215-e220 (2000).
56
+
57
+ Wagner P, Strodthoff N, Bousseljot RD, Samek W, Schaeffter T. PTB-XL, a large publicly available
58
+ electrocardiography dataset (version 1.0.3). PhysioNet (2022). https://doi.org/10.13026/kfzx-aw45
data/heldout/rec-0000.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcc5dfa9c9e916d17b19b6ae99544d584d4c03598f4277d09e71f384c84ba253
3
+ size 75741
data/heldout/rec-0001.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa6c8bacb499a5859141106da6f7f91cae46fdc4483c44ba9c8134c3b2a20d1a
3
+ size 72242
data/heldout/rec-0002.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79e26b8b9f4f5d899e38ba996bb7d30432e9ec04b73734e56124a28e7cf0e7cd
3
+ size 81800
data/heldout/rec-0003.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dd8502601bb0379abc501e96e05ec33925c6a467dabf976fd4a09bcccd57f6d
3
+ size 80116
data/heldout/rec-0004.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c7bbdf1ec39f16dbf0b18c7d8afd7be331ec667ab82e65ff3ad1c3242ef90f2
3
+ size 86864
data/heldout/rec-0005.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88aa207f943cfe1abe49b603309c9355ebc84875ef9ecb27f9e78ed3724c7a8a
3
+ size 89972
data/heldout/rec-0006.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fea5cef6011f7b699b741a8049e9d8948193c306541800a8d76e33cc4533e2c
3
+ size 86719
data/heldout/rec-0007.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:053ad0a8a114a9e697dffb17fc2951fe814e0ec6dde326d5efff30e00af62c75
3
+ size 86713
data/heldout/rec-0008.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31167ad51657d7324b011656476118079bb7cc4aa82fcfca467f3a6b854e510b
3
+ size 100756
data/heldout/rec-0009.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb9c8b0e98b34becdee1963f170f82327fefa54f318312cc17547530bb5c2caf
3
+ size 77269
data/heldout/rec-0010.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9fb4e0f52f78cf23f6a9de1ddc7fa02a5a7085c13b3390faf45e58072afe40b
3
+ size 80968
data/heldout/rec-0011.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7746f5f3906a4e10cb5ad99bbba4aaa52c197ca319cea8370d8a08903fc6b8e
3
+ size 92045
data/heldout/rec-0012.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f83c32ea510dd7e5909db1489d2baa2adacc690dfd4654387cda446afabea9cb
3
+ size 73240
data/heldout/rec-0013.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab8b0e45ed5e2596be8f352782c132543fae671f49ecb34d79e570d41ef4cea9
3
+ size 102924
data/heldout/rec-0014.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc25e41a41c96097c88c2a4ff538e0ec67abff7529306092b59c6713e20bca89
3
+ size 94128
data/heldout/rec-0015.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e6ec093ee3af76fa8e7e1c050b514ca93bde75ca15ebc8e20b327f7264fdd1
3
+ size 78728
data/heldout/rec-0016.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86704dd1a444b68a5bd3bcca8a1cb92378068fb7ce6f6261c393b3d072637c09
3
+ size 90264
data/heldout/rec-0017.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e95d19fc83de8b522565654f9b17106eff88243dab6f216723e2ad703e6c5bb
3
+ size 81095
data/heldout/rec-0018.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83f6ac486f0f4bc35979cef2a2a73a867a87d7309e3d547fa0987049d1a05cfe
3
+ size 77349
data/heldout/rec-0019.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52a559fd669918a46ebacf3365c3f544cd3b53fa0d87f4c9455f6d3822d9c247
3
+ size 85827
data/heldout/rec-0020.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5287739ecdbcec9ccdee653667ad9d7f6369d081007e90187a4577acc3036f47
3
+ size 89103
data/heldout/rec-0021.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a28a8d85c7931501111e45e95b5d122c4a89d763f2358ebe53152fe883f252b6
3
+ size 100525
data/heldout/rec-0022.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16f0946f299a92f13469f8e12cee57334792bc25d2cbf5c2b25de38a28f07dd8
3
+ size 110309
data/heldout/rec-0023.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71cc0b22ac898fbc385de810efb9d116aacaf649c4c0f754181ece985e923d3b
3
+ size 79304
data/heldout/rec-0024.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6204113d67c1a1c83bd0afc7eb330661748a64f0a33221d23e843c9a83deb169
3
+ size 91618
data/heldout/rec-0025.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2302d6efd3520151d4f28effbc63717be6a847a2a15b0995ea37e30084fca5c8
3
+ size 79194
data/heldout/rec-0026.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4002219dd03b993bc1ac5e6a38cc56824c831dc3ead0cc1e96f7cc229b825a76
3
+ size 91452
data/heldout/rec-0027.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:533031f321f8290779c9d4b34248542e9be0947c814b92a73f0b15178ec49d3b
3
+ size 101794
data/heldout/rec-0028.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:818837b22ad756463ef199cbf1d656be375404d1e034df201286e3d1a182d5b2
3
+ size 77567
data/heldout/rec-0029.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:793461181308322dc88c762e4bef12b1eeb580787ea3f7645c86938aaf73c6d0
3
+ size 87005
data/heldout/rec-0030.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:229ab09678e8fbbe7561203f64b7b68d54b2f1ce26c5dd8fb671f3f5556d76ab
3
+ size 91341
data/heldout/rec-0031.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e25995110af95aa01fc171d2988beffd05b258a428f3bd05c3f2c7f365a15071
3
+ size 82710
data/heldout/rec-0032.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db2d1267df1e1fc5f2dfc30550b4089ff3357851c403829d44b21ab8fc8697d7
3
+ size 73199
data/heldout/rec-0033.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5778d87f1ca6c0d504492920d9f39adf2b400f05392222a6da433540827dc910
3
+ size 87767
data/heldout/rec-0034.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35916a9eb166dfbb0244808c8895a278ec118412ef00bb32ed963e39bd420b93
3
+ size 71327
data/heldout/rec-0035.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00115f7f8451542be8ae3515e41c9e98c74f98627d40e33bf51fb83214b481b5
3
+ size 89841
data/heldout/rec-0036.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77f2a640499d47566c826266df8a93eade63e91e3b13d56c4ee548a4752bd6f9
3
+ size 79431
data/heldout/rec-0037.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bce0389eaf841048e73441b2148e2d1a127f693b3540fc5aa8dd7223ead7fea2
3
+ size 91681
data/heldout/rec-0038.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fb2949b0947ba7ed775a2ed1a65b59aafe7fb4f0199c39a46c6f94c0874da41
3
+ size 83565
data/heldout/rec-0039.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13bed55430ed3acb8f7bfae1a6e05723df84f6e557ec839ecea8a3009abd4870
3
+ size 93917
data/heldout/rec-0040.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40c9eb0ffd14598bbf867335c73faadb67ff81a3bacca9fecbc756cabb324bf2
3
+ size 89120
data/heldout/rec-0041.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:027d61c8a370572b6ee1a3234d5a7272432e4e1c622cb160c93e51d605f9b038
3
+ size 86929
data/heldout/rec-0042.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87723cbfd8930acdc2a91db52a9a3cc179e5507acbbd08f9c7f6b5015e630f04
3
+ size 78816
data/heldout/rec-0043.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5493410401886957bdcf493ddb6c9ae4a7ca359fc4227ca522c8491b92e86e3
3
+ size 101520
data/heldout/rec-0044.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e40ff0fd518879e15fa3467a2f8ffbe92bffeea58c005bcda0cb0b810b5c391
3
+ size 115579
data/heldout/rec-0045.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0531cabc207bb3f1dc56595f1730bfaf1ba5ce21162063c08ee3bfa76628e24b
3
+ size 99294
data/heldout/rec-0046.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b6a42c2a33e621d387081acc1253ea3411beb044e4a7e3579bde38a0a85ae98
3
+ size 88045
data/heldout/rec-0047.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0003e1ec56c2371b5969f0186c723a2b07dce3d2986eb1c0e5c19efc7a04f47e
3
+ size 86511
data/heldout/rec-0048.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2d57e98e1d204068c06da05fc29049ef4927d10c3cc51c564755d3d5c106b4a
3
+ size 90820