Skip to content

Commit 9edb57d

Browse files
committed
source code
1 parent a0beda9 commit 9edb57d

File tree

96 files changed

+31595
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+31595
-67
lines changed

.DS_Store

14 KB
Binary file not shown.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Ryan-Nightwish
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

TSCBD_readme.md

-67
This file was deleted.

baseline_run_log/.DS_Store

10 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
classification_ArticularyWordRecognition_FEDformer_UEA_ftM_sl144_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.55859375
3+
F1:0.523811733317402
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
classification_ECG5000_FEDformer_UEA_ftM_sl140_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.9397321428571429
3+
F1:0.5844368394256694
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_FingerMovements_FEDformer_UEA_ftM_sl50_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.53125
3+
F1:0.5307917888563051
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_FordB_FEDformer_UEA_ftM_sl500_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.6497395833333334
3+
F1:0.6414173761358015
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_MotorImagery_FEDformer_UEA_ftM_sl3000_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.59375
3+
F1:0.5641950878826679
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_PhonemeSpectra_FEDformer_UEA_ftM_sl217_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.09615384615384616
3+
F1:0.09247752702267761
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_SpokenArabicDigits_FEDformer_UEA_ftM_sl93_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.9839154411764706
3+
F1:0.9839179796602892
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_SelfRegulationSCP1_FEDformer_UEA_ftM_sl896_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.5972222222222222
3+
F1:0.5965217391304347
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_UWaveGestureLibraryAll_FEDformer_UEA_ftM_sl945_ll48_pl0_dm128_nh8_el3_dl1_df256_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.48551136363636366
3+
F1:0.4365415440073349
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_ArticularyWordRecognition_TimesNet_UEA_ftM_sl144_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.9766666666666667
3+
F1:0.9766071146245058
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_ECG5000_TimesNet_UEA_ftM_sl140_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.9415555555555556
3+
F1:0.5939076853014666
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_FingerMovements_TimesNet_UEA_ftM_sl50_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.55
3+
F1:0.5488721804511278
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_FordB_TimesNet_UEA_ftM_sl500_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.7333333333333333
3+
F1:0.733014301497293
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_MotorImagery_TimesNet_UEA_ftM_sl3000_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.55
3+
F1:0.5248653785239151
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_PhonemeSpectra_TimesNet_UEA_ftM_sl217_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.1526990754548166
3+
F1:0.150935198704169
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_SpokenArabicDigits_TimesNet_UEA_ftM_sl93_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.9863574351978172
3+
F1:0.9863728541263093
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_SelfRegulationSCP1_TimesNet_UEA_ftM_sl896_ll48_pl0_dm32_nh8_el3_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.8600682593856656
3+
F1:0.8571428571428571
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
classification_UWaveGestureLibraryAll_TimesNet_UEA_ftM_sl945_ll48_pl0_dm32_nh8_el2_dl1_df32_expand2_dc4_fc1_ebtimeF_dtTrue_Exp_0
2+
accuracy:0.9140145170295924
3+
F1:0.913311632355891

baseline_run_log/csl/har.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
root@autodl-container-b8cd119e52-793222eb:~/autodl-tmp/CSL_main# python UEA.py HAR
2+
/root/miniconda3/lib/python3.8/site-packages/tslearn/bases/bases.py:15: UserWarning: h5py not installed, hdf5 features will not be supported.
3+
Install h5py to use hdf5 features: http://docs.h5py.org/
4+
warn(h5py_msg)
5+
### n_ts: 5881
6+
### n_channels: 9
7+
### len_ts: 128
8+
0%| | 0/100 [00:00<?, ?it/s]Classification: 0.7964031218187988 0
9+
loss: 0.9296198712319744,loss_align: 6.15397337699423,loss_sdl: 17.579105569229647: 9%|
10+
███████████▊ | 9/100 [16:24<2:44:36, 108.53s/it]Classification: 0.8286392941974889 9
11+
loss: 0.6715085952663097,loss_align: 6.2585597745415305,loss_sdl: 16.020834459577287: 19%|
12+
████████████████████████▎ | 19/100 [34:30<2:25:54, 108.09s/it]Classification: 0.831693247370207 19
13+
loss: 0.6532841580457428,loss_align: 6.313621650098943,loss_sdl: 15.289893731616793: 29%|
14+
█████████████████████████████████████▍ | 29/100 [52:38<2:08:10, 108.31s/it]Classification: 0.834068544282321 29
15+
loss: 0.6189344792138962,loss_align: 6.304565542571399,loss_sdl: 14.923296956951116: 39%|
16+
█████████████████████████████████████████████████▌ | 39/100 [1:10:44<1:50:01, 108.23s/it]Classification: 0.831014591109603 39
17+
loss: 0.576125621815928,loss_align: 6.320963819983865,loss_sdl: 14.625414539518811: 49%|██████████████████████████████████████████████████████████████▋ | 49/100 [1:28:52<1:32:10, 108.43s/it]Classification: 0.834068544282321 49
18+
loss: 0.5933679207652605,loss_align: 6.319635916080605,loss_sdl: 14.35165519195349: 59%|███████████████████████████████████████████████████████████████████████████▌ | 59/100 [1:47:03<1:14:10, 108.55s/it]Classification: 0.829657278588395 59
19+
loss: 0.5911932114435702,loss_align: 6.336271888058202,loss_sdl: 14.199625255299264: 69%|█████████████████████████████████████████████████████████████████████████████████████████ | 69/100 [2:05:11<56:11, 108.76s/it]Classification: 0.832371903630811 69
20+
loss: 0.5974699533512803,loss_align: 6.335692946764888,loss_sdl: 14.048274430774507: 79%|█████████████████████████████████████████████████████████████████████████████████████████████████████▉ | 79/100 [2:23:28<38:05, 108.83s/it]Classification: 0.8306752629793009 79
21+
loss: 0.5362672444914474,loss_align: 6.336821779912832,loss_sdl: 13.822518089190632: 89%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████▊ | 89/100 [2:41:42<20:01, 109.26s/it]Classification: 0.832371903630811 89
22+
loss: 0.5378004357725584,loss_align: 6.3422790910110995,loss_sdl: 13.65071469521036: 99%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 99/100 [2:59:59<01:49, 109.23s/it]Classification: 0.834068544282321 99
23+
loss: 0.53849247779165,loss_align: 6.3406849231849725,loss_sdl: 13.643513553645334: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [3:01:53<00:00, 109.14s/it]
24+
0.834068544282321

baseline_run_log/csl/ps.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
root@autodl-container-b8cd11b252-67655de9:~/autodl-tmp/CSL-main# python UEA.py PhonemeSpectra
2+
/root/miniconda3/lib/python3.8/site-packages/tslearn/bases/bases.py:15: UserWarning: h5py not installed, hdf5 features will not be supported.
3+
Install h5py to use hdf5 features: http://docs.h5py.org/
4+
warn(h5py_msg)
5+
0%| | 0/100 [00:00<?, ?it/s]Classification: 0.15090963316433045 0
6+
loss: 2.1685165239561006,loss_align: 5.59964154423147,loss_sdl: 20.55443812107694: 9%|
7+
███████████████▊ | 9/100 [10:30<1:45:00, 69.24s/it]Classification: 0.16969877721443483 9
8+
loss: 1.88494358100177,loss_align: 5.722638309289867,loss_sdl: 18.900907111052728: 19%|
9+
█████████████████████████████████▎ | 19/100 [21:58<1:29:53, 66.59s/it]Classification: 0.1708917387414256 19
10+
loss: 1.5493571908001738,loss_align: 5.743818967814606,loss_sdl: 18.31388823882393: 29%|
11+
██████████████████████████████████████████████████▍ | 29/100 [32:56<1:16:47, 64.89s/it]Classification: 0.17983895019385626 29
12+
loss: 1.510637391952501,loss_align: 5.756159099979677,loss_sdl: 17.753769529038582: 39%|███████████████████████████████████████████████████████████████████▊ | 39/100 [43:57<1:06:19, 65.23s/it]Classification: 0.1756635848493886 39
13+
loss: 1.5161047096269717,loss_align: 5.78047822235863,loss_sdl: 17.35221281143778: 49%|██████████████████████████████████████████████████████████████████████████████████████▋ | 49/100 [54:58<55:21, 65.12s/it]Classification: 0.17655830599463168 49
14+
loss: 1.4273078018340513,loss_align: 5.78080345755038,loss_sdl: 17.133946114692137: 59%|██████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 59/100 [1:06:02<44:35, 65.25s/it]Classification: 0.16940053683268716 59
15+
loss: 1.3844218872811482,loss_align: 5.798649547180692,loss_sdl: 16.924505058694002: 69%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 69/100 [1:16:59<33:27, 64.76s/it]Classification: 0.18043543095735162 69
16+
loss: 1.3615220221128441,loss_align: 5.843828201293945,loss_sdl: 16.589285557972637: 79%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 79/100 [1:28:03<22:48, 65.15s/it]Classification: 0.17834774828511782 79
17+
loss: 1.289404643330597,loss_align: 5.8104487346566245,loss_sdl: 16.373504956563313: 89%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉ | 89/100 [1:39:01<11:54, 64.95s/it]Classification: 0.1759618252311363 89
18+
loss: 1.3519946087313734,loss_align: 5.828623667431338,loss_sdl: 16.189083617666494: 99%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 99/100 [1:50:02<01:05, 65.59s/it]Classification: 0.176260065612884 99
19+
loss: 1.274900727585894,loss_align: 5.822078006854956,loss_sdl: 16.188266113760392: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [1:51:17<00:00, 66.78s/it]
20+
0.176260065612884

baseline_run_log/formertime/.DS_Store

10 KB
Binary file not shown.

0 commit comments

Comments
 (0)