This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50) hide show
  1. eeg_arrow_dataset/dataset_dict.json +1 -0
  2. test_X_003.npy → eeg_arrow_dataset/test/data-00000-of-00006.arrow +2 -2
  3. test_X_000.npy → eeg_arrow_dataset/test/data-00001-of-00006.arrow +2 -2
  4. test_X_001.npy → eeg_arrow_dataset/test/data-00002-of-00006.arrow +2 -2
  5. test_X_002.npy → eeg_arrow_dataset/test/data-00003-of-00006.arrow +2 -2
  6. eeg_arrow_dataset/test/data-00004-of-00006.arrow +3 -0
  7. eeg_arrow_dataset/test/data-00005-of-00006.arrow +3 -0
  8. eeg_arrow_dataset/test/dataset_info.json +53 -0
  9. eeg_arrow_dataset/test/state.json +28 -0
  10. eeg_arrow_dataset/train/data-00000-of-00020.arrow +3 -0
  11. eeg_arrow_dataset/train/data-00001-of-00020.arrow +3 -0
  12. eeg_arrow_dataset/train/data-00002-of-00020.arrow +3 -0
  13. eeg_arrow_dataset/train/data-00003-of-00020.arrow +3 -0
  14. eeg_arrow_dataset/train/data-00004-of-00020.arrow +3 -0
  15. eeg_arrow_dataset/train/data-00005-of-00020.arrow +3 -0
  16. eeg_arrow_dataset/train/data-00006-of-00020.arrow +3 -0
  17. eeg_arrow_dataset/train/data-00007-of-00020.arrow +3 -0
  18. eeg_arrow_dataset/train/data-00008-of-00020.arrow +3 -0
  19. eeg_arrow_dataset/train/data-00009-of-00020.arrow +3 -0
  20. eeg_arrow_dataset/train/data-00010-of-00020.arrow +3 -0
  21. eeg_arrow_dataset/train/data-00011-of-00020.arrow +3 -0
  22. eeg_arrow_dataset/train/data-00012-of-00020.arrow +3 -0
  23. eeg_arrow_dataset/train/data-00013-of-00020.arrow +3 -0
  24. eeg_arrow_dataset/train/data-00014-of-00020.arrow +3 -0
  25. eeg_arrow_dataset/train/data-00015-of-00020.arrow +3 -0
  26. eeg_arrow_dataset/train/data-00016-of-00020.arrow +3 -0
  27. eeg_arrow_dataset/train/data-00017-of-00020.arrow +3 -0
  28. eeg_arrow_dataset/train/data-00018-of-00020.arrow +3 -0
  29. eeg_arrow_dataset/train/data-00019-of-00020.arrow +3 -0
  30. eeg_arrow_dataset/train/dataset_info.json +65 -0
  31. eeg_arrow_dataset/train/state.json +70 -0
  32. eeg_arrow_dataset/val/data-00000-of-00004.arrow +3 -0
  33. eeg_arrow_dataset/val/data-00001-of-00004.arrow +3 -0
  34. eeg_arrow_dataset/val/data-00002-of-00004.arrow +3 -0
  35. eeg_arrow_dataset/val/data-00003-of-00004.arrow +3 -0
  36. eeg_arrow_dataset/val/dataset_info.json +51 -0
  37. eeg_arrow_dataset/val/state.json +22 -0
  38. eeg_processed_train_dataset.py +0 -83
  39. test_X_004.npy +0 -3
  40. test_X_005.npy +0 -3
  41. test_X_006.npy +0 -3
  42. test_X_007.npy +0 -3
  43. test_y_000.npy +0 -3
  44. test_y_001.npy +0 -3
  45. test_y_002.npy +0 -3
  46. test_y_003.npy +0 -3
  47. test_y_004.npy +0 -3
  48. test_y_005.npy +0 -3
  49. test_y_006.npy +0 -3
  50. test_y_007.npy +0 -3
eeg_arrow_dataset/dataset_dict.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"splits": ["train", "val", "test"]}
test_X_003.npy → eeg_arrow_dataset/test/data-00000-of-00006.arrow RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e63dc87430d5f3264a8f65be2403a86c1371ab0178041dee7eb8a90f96d01d98
3
- size 317440128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1baa27e4edd8de43865f25b44b8f137ec29d1707a37734654fda14a7dc47aabf
3
+ size 483084968
test_X_000.npy → eeg_arrow_dataset/test/data-00001-of-00006.arrow RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9056dd5428bc25b7a72f7594c3d3fdb037c0742e9ff6659ace94179068e53f04
3
- size 317440128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d4ee964a1ceb16588425da2234f99aff56d3150af135484ad125dd295b05938
3
+ size 483084968
test_X_001.npy → eeg_arrow_dataset/test/data-00002-of-00006.arrow RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a9047bf157924beba2fc567de32ab863aaf138263320ce2a3307cbcfd774ee1
3
- size 317440128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ce7f8aecb2b0751e5bb551c86c6c913220d306728e6788a0a635867c85a4ccf
3
+ size 483084968
test_X_002.npy → eeg_arrow_dataset/test/data-00003-of-00006.arrow RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c2ebea6aa4bb21c8b4781df94d6b4878646ff5acdcc0d7aafb88ac1bfa59eaf1
3
- size 317440128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3b4bd6b4bf01162b6afdcae034ce765eede918070766a170878eebbe3ba343a
3
+ size 483084968
eeg_arrow_dataset/test/data-00004-of-00006.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:085cf2ebab0b14d096e9c9e6610818a7548059d9d850c4ecd82191d1d6021179
3
+ size 483084968
eeg_arrow_dataset/test/data-00005-of-00006.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb90241383a051997cbc4d0849022f5520d1aa3392ab6cfd36faaf6aace456e6
3
+ size 483084968
eeg_arrow_dataset/test/dataset_info.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "builder_name": "generator",
3
+ "citation": "",
4
+ "config_name": "default",
5
+ "dataset_name": "generator",
6
+ "dataset_size": 2898489120,
7
+ "description": "",
8
+ "download_checksums": {},
9
+ "download_size": 0,
10
+ "features": {
11
+ "X": {
12
+ "shape": [
13
+ 256,
14
+ 62
15
+ ],
16
+ "dtype": "float32",
17
+ "_type": "Array2D"
18
+ },
19
+ "y": {
20
+ "shape": [
21
+ 64,
22
+ 62
23
+ ],
24
+ "dtype": "float32",
25
+ "_type": "Array2D"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "size_in_bytes": 2898489120,
31
+ "splits": {
32
+ "train": {
33
+ "name": "train",
34
+ "num_bytes": 2898489120,
35
+ "num_examples": 35940,
36
+ "shard_lengths": [
37
+ 7000,
38
+ 7000,
39
+ 7000,
40
+ 7000,
41
+ 7000,
42
+ 940
43
+ ],
44
+ "dataset_name": "generator"
45
+ }
46
+ },
47
+ "version": {
48
+ "version_str": "0.0.0",
49
+ "major": 0,
50
+ "minor": 0,
51
+ "patch": 0
52
+ }
53
+ }
eeg_arrow_dataset/test/state.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00006.arrow"
5
+ },
6
+ {
7
+ "filename": "data-00001-of-00006.arrow"
8
+ },
9
+ {
10
+ "filename": "data-00002-of-00006.arrow"
11
+ },
12
+ {
13
+ "filename": "data-00003-of-00006.arrow"
14
+ },
15
+ {
16
+ "filename": "data-00004-of-00006.arrow"
17
+ },
18
+ {
19
+ "filename": "data-00005-of-00006.arrow"
20
+ }
21
+ ],
22
+ "_fingerprint": "e76dc0a9bfc3d291",
23
+ "_format_columns": null,
24
+ "_format_kwargs": {},
25
+ "_format_type": null,
26
+ "_output_all_columns": false,
27
+ "_split": "train"
28
+ }
eeg_arrow_dataset/train/data-00000-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63bae5e7d7ba9c352b328e5c10767178d641fe873ef185d56dd08fe3db5b1eeb
3
+ size 483084968
eeg_arrow_dataset/train/data-00001-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e667e03604d4ee3c6f5a4753469e195091a4ff7dc9ac93ebff5bc2ba4bdc0a14
3
+ size 483084968
eeg_arrow_dataset/train/data-00002-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47160d18ba4a641fd6dd2ce7cc261db95dba9f610d6ec2df0a87d81607e3a842
3
+ size 483084968
eeg_arrow_dataset/train/data-00003-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e221a8cfd7265d9e865b6ee081e604db4428f782e5ae588b2a9368bf80d4e07
3
+ size 483084968
eeg_arrow_dataset/train/data-00004-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf2d2f384c0a4102fe9b8aec0844114b6f86d2a450d8d6142f96152d806c555e
3
+ size 483084968
eeg_arrow_dataset/train/data-00005-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cb28c2598b58f0cae6bd1a4a4bc049d7675c47bdafd184f3797e62793ab5697
3
+ size 483084968
eeg_arrow_dataset/train/data-00006-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82811d0b71484a567bce13cf94f3bf1d7a0de31161fe404a43cf7c674e899b93
3
+ size 483084968
eeg_arrow_dataset/train/data-00007-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3b2f644f45feea310a39a8a3059cc5dec5bb8572ff764936a7803f556493909
3
+ size 483084968
eeg_arrow_dataset/train/data-00008-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4172c9a7800460e10d405eec0a5fea40c7d2b050b4374e04d97b152607838d9f
3
+ size 483084968
eeg_arrow_dataset/train/data-00009-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2359eafac12df2bd8506d2948bf1920ca5fe7d8ac66abf0908f9a238c6a258fd
3
+ size 483084968
eeg_arrow_dataset/train/data-00010-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d640472fc6d654f2a504dda87f8d40692663afea51ad9495e1e9786b47468eb3
3
+ size 483084968
eeg_arrow_dataset/train/data-00011-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a81ebd70c7c52f42eaa4c07c722d55bd5b41d235fe67da12e3acc2c66a57c02
3
+ size 483084968
eeg_arrow_dataset/train/data-00012-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dfbeebba60be904aad8b9fb40e3cdb016e573ab00c1825c9c935426fc7cc398
3
+ size 483084968
eeg_arrow_dataset/train/data-00013-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcaf0abb147ecaec4e1dc383bbc41c29819523a199358415e62c2c7ed6105cfe
3
+ size 483084968
eeg_arrow_dataset/train/data-00014-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f1b59cf8970a7c46167d7ed4d3dd1d8ddcc699c1c44b318bfcc8fd8e78666f5
3
+ size 483084968
eeg_arrow_dataset/train/data-00015-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5727e3abc63dc7679c77c8b6298a333e9b83c713086e8967fd798d8cab44208e
3
+ size 483084968
eeg_arrow_dataset/train/data-00016-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3e1a9a3ab93a920b6aa431b505d877a53d85d241f2036cac73dc86da10e6c0e
3
+ size 483084968
eeg_arrow_dataset/train/data-00017-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c1e21f0c5645f04da8bf4ed88f61eb3ea74aeb4ac6796d8c586a7c2ea923ae8
3
+ size 483084968
eeg_arrow_dataset/train/data-00018-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b19bd3a91dd4f1fe87404bf5bc370df49d2c855ad1391179233bb2dec36df0d
3
+ size 483084968
eeg_arrow_dataset/train/data-00019-of-00020.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e6a38af1ceb4f4e2af1533c6f59cb96438211db2a8eb16e4a30854ab96a5fa
3
+ size 483084968
eeg_arrow_dataset/train/dataset_info.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "builder_name": "generator",
3
+ "citation": "",
4
+ "config_name": "default",
5
+ "dataset_name": "generator",
6
+ "dataset_size": 9661630400,
7
+ "description": "",
8
+ "download_checksums": {},
9
+ "download_size": 0,
10
+ "features": {
11
+ "X": {
12
+ "shape": [
13
+ 256,
14
+ 62
15
+ ],
16
+ "dtype": "float32",
17
+ "_type": "Array2D"
18
+ },
19
+ "y": {
20
+ "shape": [
21
+ 64,
22
+ 62
23
+ ],
24
+ "dtype": "float32",
25
+ "_type": "Array2D"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "size_in_bytes": 9661630400,
31
+ "splits": {
32
+ "train": {
33
+ "name": "train",
34
+ "num_bytes": 9661630400,
35
+ "num_examples": 119800,
36
+ "shard_lengths": [
37
+ 7000,
38
+ 7000,
39
+ 7000,
40
+ 7000,
41
+ 7000,
42
+ 7000,
43
+ 7000,
44
+ 7000,
45
+ 7000,
46
+ 7000,
47
+ 7000,
48
+ 7000,
49
+ 7000,
50
+ 7000,
51
+ 7000,
52
+ 7000,
53
+ 7000,
54
+ 800
55
+ ],
56
+ "dataset_name": "generator"
57
+ }
58
+ },
59
+ "version": {
60
+ "version_str": "0.0.0",
61
+ "major": 0,
62
+ "minor": 0,
63
+ "patch": 0
64
+ }
65
+ }
eeg_arrow_dataset/train/state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00020.arrow"
5
+ },
6
+ {
7
+ "filename": "data-00001-of-00020.arrow"
8
+ },
9
+ {
10
+ "filename": "data-00002-of-00020.arrow"
11
+ },
12
+ {
13
+ "filename": "data-00003-of-00020.arrow"
14
+ },
15
+ {
16
+ "filename": "data-00004-of-00020.arrow"
17
+ },
18
+ {
19
+ "filename": "data-00005-of-00020.arrow"
20
+ },
21
+ {
22
+ "filename": "data-00006-of-00020.arrow"
23
+ },
24
+ {
25
+ "filename": "data-00007-of-00020.arrow"
26
+ },
27
+ {
28
+ "filename": "data-00008-of-00020.arrow"
29
+ },
30
+ {
31
+ "filename": "data-00009-of-00020.arrow"
32
+ },
33
+ {
34
+ "filename": "data-00010-of-00020.arrow"
35
+ },
36
+ {
37
+ "filename": "data-00011-of-00020.arrow"
38
+ },
39
+ {
40
+ "filename": "data-00012-of-00020.arrow"
41
+ },
42
+ {
43
+ "filename": "data-00013-of-00020.arrow"
44
+ },
45
+ {
46
+ "filename": "data-00014-of-00020.arrow"
47
+ },
48
+ {
49
+ "filename": "data-00015-of-00020.arrow"
50
+ },
51
+ {
52
+ "filename": "data-00016-of-00020.arrow"
53
+ },
54
+ {
55
+ "filename": "data-00017-of-00020.arrow"
56
+ },
57
+ {
58
+ "filename": "data-00018-of-00020.arrow"
59
+ },
60
+ {
61
+ "filename": "data-00019-of-00020.arrow"
62
+ }
63
+ ],
64
+ "_fingerprint": "2100cf89b1c97882",
65
+ "_format_columns": null,
66
+ "_format_kwargs": {},
67
+ "_format_type": null,
68
+ "_output_all_columns": false,
69
+ "_split": "train"
70
+ }
eeg_arrow_dataset/val/data-00000-of-00004.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1136e2fa6386797b8a079637cdd4781aebec8edfc94044dd62103a1fe12aef8e
3
+ size 483084968
eeg_arrow_dataset/val/data-00001-of-00004.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf75c21147f65e50ada89ffa94c7c9e675f53f9c7fd5a6c9e3ab01698cb5c233
3
+ size 483084968
eeg_arrow_dataset/val/data-00002-of-00004.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a54e1c45a107270d665bf1da009fa55baafa47acea0070818fbcfb20291220e4
3
+ size 483084968
eeg_arrow_dataset/val/data-00003-of-00004.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be60178e01505a3e9fba2e93bec7c4200f4b2225ffaa12a07d734f2465257e9
3
+ size 483084968
eeg_arrow_dataset/val/dataset_info.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "builder_name": "generator",
3
+ "citation": "",
4
+ "config_name": "default",
5
+ "dataset_name": "generator",
6
+ "dataset_size": 1932326080,
7
+ "description": "",
8
+ "download_checksums": {},
9
+ "download_size": 0,
10
+ "features": {
11
+ "X": {
12
+ "shape": [
13
+ 256,
14
+ 62
15
+ ],
16
+ "dtype": "float32",
17
+ "_type": "Array2D"
18
+ },
19
+ "y": {
20
+ "shape": [
21
+ 64,
22
+ 62
23
+ ],
24
+ "dtype": "float32",
25
+ "_type": "Array2D"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "size_in_bytes": 1932326080,
31
+ "splits": {
32
+ "train": {
33
+ "name": "train",
34
+ "num_bytes": 1932326080,
35
+ "num_examples": 23960,
36
+ "shard_lengths": [
37
+ 7000,
38
+ 7000,
39
+ 7000,
40
+ 2960
41
+ ],
42
+ "dataset_name": "generator"
43
+ }
44
+ },
45
+ "version": {
46
+ "version_str": "0.0.0",
47
+ "major": 0,
48
+ "minor": 0,
49
+ "patch": 0
50
+ }
51
+ }
eeg_arrow_dataset/val/state.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00004.arrow"
5
+ },
6
+ {
7
+ "filename": "data-00001-of-00004.arrow"
8
+ },
9
+ {
10
+ "filename": "data-00002-of-00004.arrow"
11
+ },
12
+ {
13
+ "filename": "data-00003-of-00004.arrow"
14
+ }
15
+ ],
16
+ "_fingerprint": "73e40ed1d9b37660",
17
+ "_format_columns": null,
18
+ "_format_kwargs": {},
19
+ "_format_type": null,
20
+ "_output_all_columns": false,
21
+ "_split": "train"
22
+ }
eeg_processed_train_dataset.py DELETED
@@ -1,83 +0,0 @@
1
- import datasets
2
- import numpy as np
3
- import os
4
- import glob
5
- from tqdm import tqdm # Optional for progress
6
-
7
- _DESCRIPTION = "EEG dataset with X and y numpy arrays."
8
- _CITATION = "" # Add citation if available
9
- _HOMEPAGE = "https://huggingface.co/datasets/prastab/eeg-processed-train-dataset" # Or your project page
10
- _LICENSE = "" # Specify license, e.g., 'apache-2.0'
11
-
12
- class EEGProcessedDataset(datasets.GeneratorBasedBuilder):
13
- """EEG Dataset Builder."""
14
-
15
- VERSION = datasets.Version("1.0.0")
16
-
17
- def _info(self):
18
- # Define the features of your dataset
19
- # IMPORTANT: Specify correct shapes and dtypes!
20
- features = datasets.Features(
21
- {
22
- "X": datasets.Array3D(shape=(256, 62), dtype="float32"), # Adjust shape! (seq_len, channels)
23
- "y": datasets.Array3D(shape=(64, 62), dtype="float32"), # Adjust shape! (out_seq_len, channels)
24
- }
25
- )
26
- return datasets.DatasetInfo(
27
- description=_DESCRIPTION,
28
- features=features,
29
- homepage=_HOMEPAGE,
30
- license=_LICENSE,
31
- citation=_CITATION,
32
- )
33
-
34
- def _split_generators(self, dl_manager):
35
- # Data is already in the repo, so we just need paths relative to the repo root
36
- repo_path = os.path.dirname(__file__) # Gets the directory of this script within the repo
37
-
38
- return [
39
- datasets.SplitGenerator(
40
- name=datasets.Split.TRAIN,
41
- gen_kwargs={"split_dir": os.path.join(repo_path, "train")},
42
- ),
43
- datasets.SplitGenerator(
44
- name=datasets.Split.VALIDATION, # or 'val' if you prefer
45
- gen_kwargs={"split_dir": os.path.join(repo_path, "val")},
46
- ),
47
- datasets.SplitGenerator(
48
- name=datasets.Split.TEST,
49
- gen_kwargs={"split_dir": os.path.join(repo_path, "test")},
50
- ),
51
- ]
52
-
53
- def _generate_examples(self, split_dir):
54
- """Yields examples."""
55
- x_files = sorted(glob.glob(os.path.join(split_dir, "*_X_*.npy")))
56
- y_files = sorted(glob.glob(os.path.join(split_dir, "*_y_*.npy")))
57
-
58
- if len(x_files) != len(y_files):
59
- raise ValueError(f"Mismatch in X/Y file count for {split_dir}")
60
- if not x_files:
61
- raise FileNotFoundError(f"No data files found in {split_dir}")
62
-
63
- global_idx = 0
64
- for xf, yf in tqdm(zip(x_files, y_files), total=len(x_files), desc=f"Processing {os.path.basename(split_dir)}"):
65
- # Basic check for pairing
66
- x_chunk_id = os.path.basename(xf).split('_X_')[-1]
67
- y_chunk_id = os.path.basename(yf).split('_y_')[-1]
68
- if x_chunk_id != y_chunk_id:
69
- print(f"Warning: Potential file mismatch? {xf} vs {yf}") # Add better checking if needed
70
-
71
- x_data = np.load(xf) # Loads (chunk_size, seq_len, channels)
72
- y_data = np.load(yf) # Loads (chunk_size, out_seq_len, channels)
73
-
74
- if x_data.shape[0] != y_data.shape[0]:
75
- raise ValueError(f"Sample count mismatch in chunk {xf}/{yf}")
76
-
77
- # Iterate through samples within the loaded chunk
78
- for i in range(x_data.shape[0]):
79
- yield global_idx, {
80
- "X": x_data[i].astype(np.float32), # Ensure correct dtype
81
- "y": y_data[i].astype(np.float32), # Ensure correct dtype
82
- }
83
- global_idx += 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
test_X_004.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7fe8908ae59239a91247af7bb8ef59b2305d5e64307cab1c3de4f7a7735496e0
3
- size 317440128
 
 
 
 
test_X_005.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f047e83eab3d4c4252058ad662ef40bf677f99b91d4d43f8b5588ba7f2b3b667
3
- size 317440128
 
 
 
 
test_X_006.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8bbff0b1a41d9710594f4c50c99cced342d51aa34962ba68c2fb083b2c3a2359
3
- size 317440128
 
 
 
 
test_X_007.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5efae2258c7c1b1b31d0f65267d90f4c90893a7b1c0e9f3c8c0251c60d4b9f1e
3
- size 59678848
 
 
 
 
test_y_000.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4973146b335261041bcfd4ddda9500994454fdac606f356a536e4c7e2962e235
3
- size 79360128
 
 
 
 
test_y_001.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:690f46326240760b90875aa878d705f65caca57c0858a848ec2d0ff0190f585d
3
- size 79360128
 
 
 
 
test_y_002.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3affcf5b6e2f8bb9dadd1762b26bff50c844900b0033a2379e8a743c35c6952e
3
- size 79360128
 
 
 
 
test_y_003.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7e7c4ab3d068c5c88394376611725dae64faf0cb7afeb7ad00138dc930e776b
3
- size 79360128
 
 
 
 
test_y_004.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1377ed88bc6e309f33c36c774c6fb4d313541dd462640bc41eddbce63bd88266
3
- size 79360128
 
 
 
 
test_y_005.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d8abe85ff7f88a5c648bb59a3fee2fabed7da9aa05f21a4e45d30553c5f979aa
3
- size 79360128
 
 
 
 
test_y_006.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fdf1f52fe027f35e5de359632321c90a32b399640df4785df084418b93c2b467
3
- size 79360128
 
 
 
 
test_y_007.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:939f8bb1568c41839495fa2a5b59eef385b523d2c70c40e5e67e15e7c6cac7f7
3
- size 14919808