|
@@ -7,11 +7,720 @@
|
|
|
Load 'data_input/folding_abalone_17_vs_7_8_9_10'
|
|
Load 'data_input/folding_abalone_17_vs_7_8_9_10'
|
|
|
from pickle file
|
|
from pickle file
|
|
|
Data loaded.
|
|
Data loaded.
|
|
|
-Traceback (most recent call last):
|
|
|
|
|
- File "/benchmark/data/run_all_exercises.py", line 13, in <module>
|
|
|
|
|
- runExercise(dataset, None, name, f)
|
|
|
|
|
- File "/benchmark/data/library/analysis.py", line 164, in runExercise
|
|
|
|
|
- gan = ganCreator(data)
|
|
|
|
|
- File "/benchmark/data/library/analysis.py", line 268, in <lambda>
|
|
|
|
|
- , ("CTAB-GAN", lambda _data: CtabGan())
|
|
|
|
|
-NameError: name 'CtabGan' is not defined
|
|
|
|
|
|
|
+-> Shuffling data
|
|
|
|
|
+### Start exercise for synthetic point generator
|
|
|
|
|
+
|
|
|
|
|
+====== Step 1/5 =======
|
|
|
|
|
+-> Shuffling data
|
|
|
|
|
+-> Spliting data to slices
|
|
|
|
|
+
|
|
|
|
|
+------ Step 1/5: Slice 1/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:03, 2.32it/s]
20%|██ | 2/10 [00:00<00:03, 2.41it/s]
30%|███ | 3/10 [00:01<00:05, 1.40it/s]
40%|████ | 4/10 [00:03<00:05, 1.16it/s]
50%|█████ | 5/10 [00:03<00:04, 1.14it/s]
60%|██████ | 6/10 [00:05<00:04, 1.05s/it]
70%|███████ | 7/10 [00:08<00:05, 1.71s/it]
80%|████████ | 8/10 [00:09<00:02, 1.44s/it]
90%|█████████ | 9/10 [00:10<00:01, 1.25s/it]
100%|██████████| 10/10 [00:10<00:00, 1.09s/it]
100%|██████████| 10/10 [00:10<00:00, 1.08s/it]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 402, 54
|
|
|
|
|
+LR fn, tp: 2, 10
|
|
|
|
|
+LR f1 score: 0.263
|
|
|
|
|
+LR cohens kappa score: 0.230
|
|
|
|
|
+LR average precision score: 0.419
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 451, 5
|
|
|
|
|
+GB fn, tp: 9, 3
|
|
|
|
|
+GB f1 score: 0.300
|
|
|
|
|
+GB cohens kappa score: 0.285
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 454, 2
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: -0.007
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 1/5: Slice 2/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.23it/s]
20%|██ | 2/10 [00:01<00:06, 1.16it/s]
30%|███ | 3/10 [00:02<00:05, 1.20it/s]
40%|████ | 4/10 [00:03<00:04, 1.25it/s]
50%|█████ | 5/10 [00:03<00:03, 1.31it/s]
60%|██████ | 6/10 [00:04<00:03, 1.30it/s]
70%|███████ | 7/10 [00:05<00:02, 1.37it/s]
80%|████████ | 8/10 [00:06<00:01, 1.37it/s]
90%|█████████ | 9/10 [00:06<00:00, 1.30it/s]
100%|██████████| 10/10 [00:07<00:00, 1.24it/s]
100%|██████████| 10/10 [00:07<00:00, 1.27it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 391, 65
|
|
|
|
|
+LR fn, tp: 5, 7
|
|
|
|
|
+LR f1 score: 0.167
|
|
|
|
|
+LR cohens kappa score: 0.128
|
|
|
|
|
+LR average precision score: 0.436
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 448, 8
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.182
|
|
|
|
|
+GB cohens kappa score: 0.162
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 10, 2
|
|
|
|
|
+KNN f1 score: 0.267
|
|
|
|
|
+KNN cohens kappa score: 0.259
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 1/5: Slice 3/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.24it/s]
20%|██ | 2/10 [00:01<00:06, 1.27it/s]
30%|███ | 3/10 [00:02<00:05, 1.25it/s]
40%|████ | 4/10 [00:03<00:04, 1.30it/s]
50%|█████ | 5/10 [00:03<00:03, 1.28it/s]
60%|██████ | 6/10 [00:04<00:03, 1.27it/s]
70%|███████ | 7/10 [00:05<00:02, 1.26it/s]
80%|████████ | 8/10 [00:06<00:01, 1.28it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.25it/s]
100%|██████████| 10/10 [00:08<00:00, 1.05it/s]
100%|██████████| 10/10 [00:08<00:00, 1.19it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 403, 53
|
|
|
|
|
+LR fn, tp: 7, 5
|
|
|
|
|
+LR f1 score: 0.143
|
|
|
|
|
+LR cohens kappa score: 0.105
|
|
|
|
|
+LR average precision score: 0.123
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 450, 6
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.200
|
|
|
|
|
+GB cohens kappa score: 0.183
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 453, 3
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: -0.010
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 1/5: Slice 4/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:06, 1.47it/s]
20%|██ | 2/10 [00:01<00:05, 1.38it/s]
30%|███ | 3/10 [00:02<00:05, 1.39it/s]
40%|████ | 4/10 [00:03<00:05, 1.13it/s]
50%|█████ | 5/10 [00:04<00:04, 1.08it/s]
60%|██████ | 6/10 [00:05<00:03, 1.09it/s]
70%|███████ | 7/10 [00:06<00:02, 1.13it/s]
80%|████████ | 8/10 [00:06<00:01, 1.17it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.16it/s]
100%|██████████| 10/10 [00:08<00:00, 1.24it/s]
100%|██████████| 10/10 [00:08<00:00, 1.20it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 374, 82
|
|
|
|
|
+LR fn, tp: 2, 10
|
|
|
|
|
+LR f1 score: 0.192
|
|
|
|
|
+LR cohens kappa score: 0.154
|
|
|
|
|
+LR average precision score: 0.226
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 452, 4
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.222
|
|
|
|
|
+GB cohens kappa score: 0.209
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 10, 2
|
|
|
|
|
+KNN f1 score: 0.267
|
|
|
|
|
+KNN cohens kappa score: 0.259
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 1/5: Slice 5/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:06, 1.49it/s]
20%|██ | 2/10 [00:01<00:05, 1.43it/s]
30%|███ | 3/10 [00:02<00:05, 1.26it/s]
40%|████ | 4/10 [00:03<00:04, 1.24it/s]
50%|█████ | 5/10 [00:04<00:04, 1.14it/s]
60%|██████ | 6/10 [00:05<00:03, 1.13it/s]
70%|███████ | 7/10 [00:06<00:02, 1.05it/s]
80%|████████ | 8/10 [00:07<00:01, 1.07it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.13it/s]
100%|██████████| 10/10 [00:08<00:00, 1.16it/s]
100%|██████████| 10/10 [00:08<00:00, 1.16it/s]
|
|
|
|
|
+-> create 1776 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 398, 58
|
|
|
|
|
+LR fn, tp: 4, 6
|
|
|
|
|
+LR f1 score: 0.162
|
|
|
|
|
+LR cohens kappa score: 0.130
|
|
|
|
|
+LR average precision score: 0.103
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 453, 3
|
|
|
|
|
+GB fn, tp: 10, 0
|
|
|
|
|
+GB f1 score: 0.000
|
|
|
|
|
+GB cohens kappa score: -0.010
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 453, 3
|
|
|
|
|
+KNN fn, tp: 8, 2
|
|
|
|
|
+KNN f1 score: 0.267
|
|
|
|
|
+KNN cohens kappa score: 0.256
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+====== Step 2/5 =======
|
|
|
|
|
+-> Shuffling data
|
|
|
|
|
+-> Spliting data to slices
|
|
|
|
|
+
|
|
|
|
|
+------ Step 2/5: Slice 1/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:01<00:10, 1.15s/it]
20%|██ | 2/10 [00:01<00:07, 1.13it/s]
30%|███ | 3/10 [00:02<00:05, 1.29it/s]
40%|████ | 4/10 [00:03<00:04, 1.22it/s]
50%|█████ | 5/10 [00:04<00:04, 1.22it/s]
60%|██████ | 6/10 [00:04<00:03, 1.23it/s]
70%|███████ | 7/10 [00:06<00:02, 1.04it/s]
80%|████████ | 8/10 [00:07<00:01, 1.05it/s]
90%|█████████ | 9/10 [00:08<00:00, 1.10it/s]
100%|██████████| 10/10 [00:08<00:00, 1.09it/s]
100%|██████████| 10/10 [00:08<00:00, 1.12it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 368, 88
|
|
|
|
|
+LR fn, tp: 2, 10
|
|
|
|
|
+LR f1 score: 0.182
|
|
|
|
|
+LR cohens kappa score: 0.143
|
|
|
|
|
+LR average precision score: 0.282
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 453, 3
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.235
|
|
|
|
|
+GB cohens kappa score: 0.224
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 449, 7
|
|
|
|
|
+KNN fn, tp: 10, 2
|
|
|
|
|
+KNN f1 score: 0.190
|
|
|
|
|
+KNN cohens kappa score: 0.172
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 2/5: Slice 2/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:08, 1.07it/s]
20%|██ | 2/10 [00:01<00:07, 1.05it/s]
30%|███ | 3/10 [00:02<00:06, 1.12it/s]
40%|████ | 4/10 [00:03<00:05, 1.15it/s]
50%|█████ | 5/10 [00:04<00:04, 1.15it/s]
60%|██████ | 6/10 [00:05<00:03, 1.21it/s]
70%|███████ | 7/10 [00:06<00:02, 1.18it/s]
80%|████████ | 8/10 [00:06<00:01, 1.19it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.20it/s]
100%|██████████| 10/10 [00:08<00:00, 1.23it/s]
100%|██████████| 10/10 [00:08<00:00, 1.18it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 414, 42
|
|
|
|
|
+LR fn, tp: 7, 5
|
|
|
|
|
+LR f1 score: 0.169
|
|
|
|
|
+LR cohens kappa score: 0.134
|
|
|
|
|
+LR average precision score: 0.205
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 454, 2
|
|
|
|
|
+GB fn, tp: 9, 3
|
|
|
|
|
+GB f1 score: 0.353
|
|
|
|
|
+GB cohens kappa score: 0.343
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 11, 1
|
|
|
|
|
+KNN f1 score: 0.154
|
|
|
|
|
+KNN cohens kappa score: 0.150
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 2/5: Slice 3/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.19it/s]
20%|██ | 2/10 [00:01<00:06, 1.24it/s]
30%|███ | 3/10 [00:02<00:05, 1.28it/s]
40%|████ | 4/10 [00:03<00:04, 1.28it/s]
50%|█████ | 5/10 [00:04<00:04, 1.22it/s]
60%|██████ | 6/10 [00:04<00:03, 1.29it/s]
70%|███████ | 7/10 [00:05<00:02, 1.32it/s]
80%|████████ | 8/10 [00:06<00:01, 1.33it/s]
90%|█████████ | 9/10 [00:06<00:00, 1.34it/s]
100%|██████████| 10/10 [00:07<00:00, 1.34it/s]
100%|██████████| 10/10 [00:07<00:00, 1.30it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 404, 52
|
|
|
|
|
+LR fn, tp: 5, 7
|
|
|
|
|
+LR f1 score: 0.197
|
|
|
|
|
+LR cohens kappa score: 0.161
|
|
|
|
|
+LR average precision score: 0.206
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 456, 0
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.286
|
|
|
|
|
+GB cohens kappa score: 0.280
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 454, 2
|
|
|
|
|
+KNN fn, tp: 10, 2
|
|
|
|
|
+KNN f1 score: 0.250
|
|
|
|
|
+KNN cohens kappa score: 0.240
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 2/5: Slice 4/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.20it/s]
20%|██ | 2/10 [00:01<00:06, 1.22it/s]
30%|███ | 3/10 [00:02<00:05, 1.25it/s]
40%|████ | 4/10 [00:03<00:04, 1.25it/s]
50%|█████ | 5/10 [00:03<00:03, 1.28it/s]
60%|██████ | 6/10 [00:05<00:03, 1.15it/s]
70%|███████ | 7/10 [00:05<00:02, 1.16it/s]
80%|████████ | 8/10 [00:06<00:01, 1.19it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.28it/s]
100%|██████████| 10/10 [00:07<00:00, 1.34it/s]
100%|██████████| 10/10 [00:07<00:00, 1.25it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 356, 100
|
|
|
|
|
+LR fn, tp: 3, 9
|
|
|
|
|
+LR f1 score: 0.149
|
|
|
|
|
+LR cohens kappa score: 0.108
|
|
|
|
|
+LR average precision score: 0.330
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 454, 2
|
|
|
|
|
+GB fn, tp: 11, 1
|
|
|
|
|
+GB f1 score: 0.133
|
|
|
|
|
+GB cohens kappa score: 0.124
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: 0.000
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 2/5: Slice 5/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:08, 1.03it/s]
20%|██ | 2/10 [00:01<00:06, 1.22it/s]
30%|███ | 3/10 [00:02<00:05, 1.24it/s]
40%|████ | 4/10 [00:03<00:05, 1.19it/s]
50%|█████ | 5/10 [00:04<00:04, 1.23it/s]
60%|██████ | 6/10 [00:04<00:03, 1.21it/s]
70%|███████ | 7/10 [00:05<00:02, 1.15it/s]
80%|████████ | 8/10 [00:06<00:01, 1.17it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.15it/s]
100%|██████████| 10/10 [00:08<00:00, 1.19it/s]
100%|██████████| 10/10 [00:08<00:00, 1.18it/s]
|
|
|
|
|
+-> create 1776 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 413, 43
|
|
|
|
|
+LR fn, tp: 5, 5
|
|
|
|
|
+LR f1 score: 0.172
|
|
|
|
|
+LR cohens kappa score: 0.142
|
|
|
|
|
+LR average precision score: 0.298
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 451, 5
|
|
|
|
|
+GB fn, tp: 9, 1
|
|
|
|
|
+GB f1 score: 0.125
|
|
|
|
|
+GB cohens kappa score: 0.111
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 10, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: 0.000
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+====== Step 3/5 =======
|
|
|
|
|
+-> Shuffling data
|
|
|
|
|
+-> Spliting data to slices
|
|
|
|
|
+
|
|
|
|
|
+------ Step 3/5: Slice 1/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:08, 1.09it/s]
20%|██ | 2/10 [00:01<00:06, 1.31it/s]
30%|███ | 3/10 [00:02<00:05, 1.35it/s]
40%|████ | 4/10 [00:02<00:04, 1.39it/s]
50%|█████ | 5/10 [00:03<00:03, 1.32it/s]
60%|██████ | 6/10 [00:04<00:03, 1.22it/s]
70%|███████ | 7/10 [00:05<00:02, 1.22it/s]
80%|████████ | 8/10 [00:06<00:01, 1.22it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.19it/s]
100%|██████████| 10/10 [00:08<00:00, 1.15it/s]
100%|██████████| 10/10 [00:08<00:00, 1.22it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 438, 18
|
|
|
|
|
+LR fn, tp: 4, 8
|
|
|
|
|
+LR f1 score: 0.421
|
|
|
|
|
+LR cohens kappa score: 0.400
|
|
|
|
|
+LR average precision score: 0.467
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 454, 2
|
|
|
|
|
+GB fn, tp: 8, 4
|
|
|
|
|
+GB f1 score: 0.444
|
|
|
|
|
+GB cohens kappa score: 0.435
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: -0.004
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 3/5: Slice 2/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:06, 1.37it/s]
20%|██ | 2/10 [00:01<00:05, 1.35it/s]
30%|███ | 3/10 [00:02<00:05, 1.27it/s]
40%|████ | 4/10 [00:03<00:04, 1.33it/s]
50%|█████ | 5/10 [00:03<00:03, 1.39it/s]
60%|██████ | 6/10 [00:04<00:02, 1.41it/s]
70%|███████ | 7/10 [00:05<00:02, 1.34it/s]
80%|████████ | 8/10 [00:06<00:01, 1.28it/s]
90%|█████████ | 9/10 [00:06<00:00, 1.32it/s]
100%|██████████| 10/10 [00:07<00:00, 1.32it/s]
100%|██████████| 10/10 [00:07<00:00, 1.33it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 413, 43
|
|
|
|
|
+LR fn, tp: 7, 5
|
|
|
|
|
+LR f1 score: 0.167
|
|
|
|
|
+LR cohens kappa score: 0.131
|
|
|
|
|
+LR average precision score: 0.179
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 452, 4
|
|
|
|
|
+GB fn, tp: 11, 1
|
|
|
|
|
+GB f1 score: 0.118
|
|
|
|
|
+GB cohens kappa score: 0.104
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 9, 3
|
|
|
|
|
+KNN f1 score: 0.375
|
|
|
|
|
+KNN cohens kappa score: 0.367
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 3/5: Slice 3/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.15it/s]
20%|██ | 2/10 [00:01<00:06, 1.31it/s]
30%|███ | 3/10 [00:02<00:05, 1.28it/s]
40%|████ | 4/10 [00:03<00:04, 1.30it/s]
50%|█████ | 5/10 [00:03<00:03, 1.26it/s]
60%|██████ | 6/10 [00:04<00:02, 1.38it/s]
70%|███████ | 7/10 [00:05<00:02, 1.39it/s]
80%|████████ | 8/10 [00:05<00:01, 1.40it/s]
90%|█████████ | 9/10 [00:06<00:00, 1.43it/s]
100%|██████████| 10/10 [00:07<00:00, 1.34it/s]
100%|██████████| 10/10 [00:07<00:00, 1.34it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 380, 76
|
|
|
|
|
+LR fn, tp: 5, 7
|
|
|
|
|
+LR f1 score: 0.147
|
|
|
|
|
+LR cohens kappa score: 0.107
|
|
|
|
|
+LR average precision score: 0.238
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 454, 2
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.250
|
|
|
|
|
+GB cohens kappa score: 0.240
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 454, 2
|
|
|
|
|
+KNN fn, tp: 10, 2
|
|
|
|
|
+KNN f1 score: 0.250
|
|
|
|
|
+KNN cohens kappa score: 0.240
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 3/5: Slice 4/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.16it/s]
20%|██ | 2/10 [00:01<00:07, 1.11it/s]
30%|███ | 3/10 [00:02<00:06, 1.07it/s]
40%|████ | 4/10 [00:03<00:05, 1.11it/s]
50%|█████ | 5/10 [00:04<00:04, 1.10it/s]
60%|██████ | 6/10 [00:05<00:03, 1.14it/s]
70%|███████ | 7/10 [00:06<00:02, 1.18it/s]
80%|████████ | 8/10 [00:07<00:01, 1.16it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.16it/s]
100%|██████████| 10/10 [00:08<00:00, 1.21it/s]
100%|██████████| 10/10 [00:08<00:00, 1.16it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 358, 98
|
|
|
|
|
+LR fn, tp: 5, 7
|
|
|
|
|
+LR f1 score: 0.120
|
|
|
|
|
+LR cohens kappa score: 0.077
|
|
|
|
|
+LR average precision score: 0.115
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 454, 2
|
|
|
|
|
+GB fn, tp: 12, 0
|
|
|
|
|
+GB f1 score: 0.000
|
|
|
|
|
+GB cohens kappa score: -0.007
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 454, 2
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: -0.007
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 3/5: Slice 5/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:08, 1.08it/s]
20%|██ | 2/10 [00:01<00:06, 1.23it/s]
30%|███ | 3/10 [00:02<00:05, 1.24it/s]
40%|████ | 4/10 [00:03<00:04, 1.27it/s]
50%|█████ | 5/10 [00:03<00:03, 1.34it/s]
60%|██████ | 6/10 [00:04<00:02, 1.38it/s]
70%|███████ | 7/10 [00:05<00:02, 1.31it/s]
80%|████████ | 8/10 [00:06<00:01, 1.32it/s]
90%|█████████ | 9/10 [00:06<00:00, 1.33it/s]
100%|██████████| 10/10 [00:07<00:00, 1.38it/s]
100%|██████████| 10/10 [00:07<00:00, 1.32it/s]
|
|
|
|
|
+-> create 1776 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 396, 60
|
|
|
|
|
+LR fn, tp: 2, 8
|
|
|
|
|
+LR f1 score: 0.205
|
|
|
|
|
+LR cohens kappa score: 0.174
|
|
|
|
|
+LR average precision score: 0.399
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 451, 5
|
|
|
|
|
+GB fn, tp: 8, 2
|
|
|
|
|
+GB f1 score: 0.235
|
|
|
|
|
+GB cohens kappa score: 0.222
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 10, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: 0.000
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+====== Step 4/5 =======
|
|
|
|
|
+-> Shuffling data
|
|
|
|
|
+-> Spliting data to slices
|
|
|
|
|
+
|
|
|
|
|
+------ Step 4/5: Slice 1/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:06, 1.29it/s]
20%|██ | 2/10 [00:01<00:05, 1.35it/s]
30%|███ | 3/10 [00:02<00:05, 1.36it/s]
40%|████ | 4/10 [00:02<00:04, 1.35it/s]
50%|█████ | 5/10 [00:03<00:03, 1.32it/s]
60%|██████ | 6/10 [00:04<00:03, 1.23it/s]
70%|███████ | 7/10 [00:05<00:02, 1.32it/s]
80%|████████ | 8/10 [00:06<00:01, 1.28it/s]
90%|█████████ | 9/10 [00:06<00:00, 1.32it/s]
100%|██████████| 10/10 [00:07<00:00, 1.25it/s]
100%|██████████| 10/10 [00:07<00:00, 1.29it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 371, 85
|
|
|
|
|
+LR fn, tp: 1, 11
|
|
|
|
|
+LR f1 score: 0.204
|
|
|
|
|
+LR cohens kappa score: 0.166
|
|
|
|
|
+LR average precision score: 0.387
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 452, 4
|
|
|
|
|
+GB fn, tp: 9, 3
|
|
|
|
|
+GB f1 score: 0.316
|
|
|
|
|
+GB cohens kappa score: 0.303
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 11, 1
|
|
|
|
|
+KNN f1 score: 0.154
|
|
|
|
|
+KNN cohens kappa score: 0.150
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 4/5: Slice 2/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.18it/s]
20%|██ | 2/10 [00:01<00:06, 1.18it/s]
30%|███ | 3/10 [00:02<00:05, 1.22it/s]
40%|████ | 4/10 [00:03<00:04, 1.20it/s]
50%|█████ | 5/10 [00:04<00:03, 1.26it/s]
60%|██████ | 6/10 [00:04<00:03, 1.28it/s]
70%|███████ | 7/10 [00:05<00:02, 1.31it/s]
80%|████████ | 8/10 [00:06<00:01, 1.31it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.26it/s]
100%|██████████| 10/10 [00:07<00:00, 1.30it/s]
100%|██████████| 10/10 [00:07<00:00, 1.27it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 345, 111
|
|
|
|
|
+LR fn, tp: 2, 10
|
|
|
|
|
+LR f1 score: 0.150
|
|
|
|
|
+LR cohens kappa score: 0.109
|
|
|
|
|
+LR average precision score: 0.270
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 456, 0
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.286
|
|
|
|
|
+GB cohens kappa score: 0.280
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 11, 1
|
|
|
|
|
+KNN f1 score: 0.143
|
|
|
|
|
+KNN cohens kappa score: 0.137
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 4/5: Slice 3/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:06, 1.29it/s]
20%|██ | 2/10 [00:01<00:05, 1.37it/s]
30%|███ | 3/10 [00:02<00:05, 1.34it/s]
40%|████ | 4/10 [00:02<00:04, 1.39it/s]
50%|█████ | 5/10 [00:03<00:03, 1.32it/s]
60%|██████ | 6/10 [00:04<00:03, 1.27it/s]
70%|███████ | 7/10 [00:05<00:02, 1.35it/s]
80%|████████ | 8/10 [00:06<00:01, 1.31it/s]
90%|█████████ | 9/10 [00:06<00:00, 1.32it/s]
100%|██████████| 10/10 [00:07<00:00, 1.32it/s]
100%|██████████| 10/10 [00:07<00:00, 1.32it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 395, 61
|
|
|
|
|
+LR fn, tp: 6, 6
|
|
|
|
|
+LR f1 score: 0.152
|
|
|
|
|
+LR cohens kappa score: 0.113
|
|
|
|
|
+LR average precision score: 0.103
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 454, 2
|
|
|
|
|
+GB fn, tp: 11, 1
|
|
|
|
|
+GB f1 score: 0.133
|
|
|
|
|
+GB cohens kappa score: 0.124
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: -0.004
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 4/5: Slice 4/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.26it/s]
20%|██ | 2/10 [00:01<00:05, 1.47it/s]
30%|███ | 3/10 [00:02<00:04, 1.40it/s]
40%|████ | 4/10 [00:02<00:04, 1.30it/s]
50%|█████ | 5/10 [00:03<00:04, 1.18it/s]
60%|██████ | 6/10 [00:04<00:03, 1.18it/s]
70%|███████ | 7/10 [00:05<00:02, 1.21it/s]
80%|████████ | 8/10 [00:06<00:01, 1.19it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.23it/s]
100%|██████████| 10/10 [00:07<00:00, 1.27it/s]
100%|██████████| 10/10 [00:07<00:00, 1.26it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 395, 61
|
|
|
|
|
+LR fn, tp: 2, 10
|
|
|
|
|
+LR f1 score: 0.241
|
|
|
|
|
+LR cohens kappa score: 0.206
|
|
|
|
|
+LR average precision score: 0.277
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 454, 2
|
|
|
|
|
+GB fn, tp: 9, 3
|
|
|
|
|
+GB f1 score: 0.353
|
|
|
|
|
+GB cohens kappa score: 0.343
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: 0.000
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 4/5: Slice 5/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:06, 1.39it/s]
20%|██ | 2/10 [00:01<00:06, 1.28it/s]
30%|███ | 3/10 [00:02<00:05, 1.27it/s]
40%|████ | 4/10 [00:03<00:04, 1.26it/s]
50%|█████ | 5/10 [00:03<00:04, 1.23it/s]
60%|██████ | 6/10 [00:04<00:03, 1.19it/s]
70%|███████ | 7/10 [00:05<00:02, 1.15it/s]
80%|████████ | 8/10 [00:06<00:01, 1.14it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.17it/s]
100%|██████████| 10/10 [00:08<00:00, 1.20it/s]
100%|██████████| 10/10 [00:08<00:00, 1.21it/s]
|
|
|
|
|
+-> create 1776 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 413, 43
|
|
|
|
|
+LR fn, tp: 5, 5
|
|
|
|
|
+LR f1 score: 0.172
|
|
|
|
|
+LR cohens kappa score: 0.142
|
|
|
|
|
+LR average precision score: 0.199
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 453, 3
|
|
|
|
|
+GB fn, tp: 7, 3
|
|
|
|
|
+GB f1 score: 0.375
|
|
|
|
|
+GB cohens kappa score: 0.365
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 451, 5
|
|
|
|
|
+KNN fn, tp: 10, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: -0.015
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+====== Step 5/5 =======
|
|
|
|
|
+-> Shuffling data
|
|
|
|
|
+-> Spliting data to slices
|
|
|
|
|
+
|
|
|
|
|
+------ Step 5/5: Slice 1/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.27it/s]
20%|██ | 2/10 [00:01<00:05, 1.40it/s]
30%|███ | 3/10 [00:02<00:04, 1.40it/s]
40%|████ | 4/10 [00:03<00:04, 1.31it/s]
50%|█████ | 5/10 [00:03<00:03, 1.28it/s]
60%|██████ | 6/10 [00:04<00:03, 1.32it/s]
70%|███████ | 7/10 [00:05<00:02, 1.22it/s]
80%|████████ | 8/10 [00:06<00:01, 1.24it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.22it/s]
100%|██████████| 10/10 [00:07<00:00, 1.21it/s]
100%|██████████| 10/10 [00:07<00:00, 1.26it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 414, 42
|
|
|
|
|
+LR fn, tp: 6, 6
|
|
|
|
|
+LR f1 score: 0.200
|
|
|
|
|
+LR cohens kappa score: 0.166
|
|
|
|
|
+LR average precision score: 0.197
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 450, 6
|
|
|
|
|
+GB fn, tp: 10, 2
|
|
|
|
|
+GB f1 score: 0.200
|
|
|
|
|
+GB cohens kappa score: 0.183
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: 0.000
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 5/5: Slice 2/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.22it/s]
20%|██ | 2/10 [00:01<00:05, 1.39it/s]
30%|███ | 3/10 [00:02<00:05, 1.29it/s]
40%|████ | 4/10 [00:03<00:04, 1.32it/s]
50%|█████ | 5/10 [00:03<00:04, 1.21it/s]
60%|██████ | 6/10 [00:04<00:03, 1.23it/s]
70%|███████ | 7/10 [00:05<00:02, 1.27it/s]
80%|████████ | 8/10 [00:06<00:01, 1.25it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.23it/s]
100%|██████████| 10/10 [00:08<00:00, 1.20it/s]
100%|██████████| 10/10 [00:08<00:00, 1.24it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 388, 68
|
|
|
|
|
+LR fn, tp: 7, 5
|
|
|
|
|
+LR f1 score: 0.118
|
|
|
|
|
+LR cohens kappa score: 0.077
|
|
|
|
|
+LR average precision score: 0.102
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 455, 1
|
|
|
|
|
+GB fn, tp: 11, 1
|
|
|
|
|
+GB f1 score: 0.143
|
|
|
|
|
+GB cohens kappa score: 0.137
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 11, 1
|
|
|
|
|
+KNN f1 score: 0.143
|
|
|
|
|
+KNN cohens kappa score: 0.137
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 5/5: Slice 3/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.25it/s]
20%|██ | 2/10 [00:01<00:06, 1.21it/s]
30%|███ | 3/10 [00:02<00:05, 1.21it/s]
40%|████ | 4/10 [00:03<00:04, 1.21it/s]
50%|█████ | 5/10 [00:04<00:04, 1.19it/s]
60%|██████ | 6/10 [00:05<00:03, 1.08it/s]
70%|███████ | 7/10 [00:06<00:02, 1.07it/s]
80%|████████ | 8/10 [00:07<00:01, 1.08it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.10it/s]
100%|██████████| 10/10 [00:08<00:00, 1.15it/s]
100%|██████████| 10/10 [00:08<00:00, 1.14it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 430, 26
|
|
|
|
|
+LR fn, tp: 5, 7
|
|
|
|
|
+LR f1 score: 0.311
|
|
|
|
|
+LR cohens kappa score: 0.284
|
|
|
|
|
+LR average precision score: 0.323
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 452, 4
|
|
|
|
|
+GB fn, tp: 11, 1
|
|
|
|
|
+GB f1 score: 0.118
|
|
|
|
|
+GB cohens kappa score: 0.104
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: 0.000
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 5/5: Slice 4/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:08, 1.01it/s]
20%|██ | 2/10 [00:01<00:06, 1.23it/s]
30%|███ | 3/10 [00:02<00:05, 1.26it/s]
40%|████ | 4/10 [00:03<00:05, 1.19it/s]
50%|█████ | 5/10 [00:04<00:04, 1.21it/s]
60%|██████ | 6/10 [00:05<00:03, 1.11it/s]
70%|███████ | 7/10 [00:05<00:02, 1.16it/s]
80%|████████ | 8/10 [00:06<00:01, 1.21it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.23it/s]
100%|██████████| 10/10 [00:08<00:00, 1.29it/s]
100%|██████████| 10/10 [00:08<00:00, 1.22it/s]
|
|
|
|
|
+-> create 1778 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 382, 74
|
|
|
|
|
+LR fn, tp: 4, 8
|
|
|
|
|
+LR f1 score: 0.170
|
|
|
|
|
+LR cohens kappa score: 0.131
|
|
|
|
|
+LR average precision score: 0.405
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 448, 8
|
|
|
|
|
+GB fn, tp: 11, 1
|
|
|
|
|
+GB f1 score: 0.095
|
|
|
|
|
+GB cohens kappa score: 0.075
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 456, 0
|
|
|
|
|
+KNN fn, tp: 12, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: 0.000
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+------ Step 5/5: Slice 5/5 -------
|
|
|
|
|
+-> Reset the GAN
|
|
|
|
|
+-> Train generator for synthetic samples
|
|
|
|
|
+
0%| | 0/10 [00:00<?, ?it/s]
10%|█ | 1/10 [00:00<00:07, 1.16it/s]
20%|██ | 2/10 [00:01<00:05, 1.40it/s]
30%|███ | 3/10 [00:02<00:05, 1.29it/s]
40%|████ | 4/10 [00:03<00:04, 1.22it/s]
50%|█████ | 5/10 [00:04<00:04, 1.22it/s]
60%|██████ | 6/10 [00:04<00:03, 1.27it/s]
70%|███████ | 7/10 [00:05<00:02, 1.28it/s]
80%|████████ | 8/10 [00:06<00:01, 1.27it/s]
90%|█████████ | 9/10 [00:07<00:00, 1.21it/s]
100%|██████████| 10/10 [00:08<00:00, 1.22it/s]
100%|██████████| 10/10 [00:08<00:00, 1.24it/s]
|
|
|
|
|
+-> create 1776 synthetic samples
|
|
|
|
|
+-> test with 'LR'
|
|
|
|
|
+LR tn, fp: 376, 80
|
|
|
|
|
+LR fn, tp: 3, 7
|
|
|
|
|
+LR f1 score: 0.144
|
|
|
|
|
+LR cohens kappa score: 0.110
|
|
|
|
|
+LR average precision score: 0.148
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'GB'
|
|
|
|
|
+GB tn, fp: 455, 1
|
|
|
|
|
+GB fn, tp: 9, 1
|
|
|
|
|
+GB f1 score: 0.167
|
|
|
|
|
+GB cohens kappa score: 0.161
|
|
|
|
|
+
|
|
|
|
|
+-> test with 'KNN'
|
|
|
|
|
+KNN tn, fp: 455, 1
|
|
|
|
|
+KNN fn, tp: 8, 2
|
|
|
|
|
+KNN f1 score: 0.308
|
|
|
|
|
+KNN cohens kappa score: 0.301
|
|
|
|
|
+
|
|
|
|
|
+### Exercise is done.
|
|
|
|
|
+
|
|
|
|
|
+-----[ LR ]-----
|
|
|
|
|
+maximum:
|
|
|
|
|
+LR tn, fp: 438, 111
|
|
|
|
|
+LR fn, tp: 7, 11
|
|
|
|
|
+LR f1 score: 0.421
|
|
|
|
|
+LR cohens kappa score: 0.400
|
|
|
|
|
+LR average precision score: 0.467
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+average:
|
|
|
|
|
+LR tn, fp: 392.68, 63.32
|
|
|
|
|
+LR fn, tp: 4.24, 7.36
|
|
|
|
|
+LR f1 score: 0.189
|
|
|
|
|
+LR cohens kappa score: 0.153
|
|
|
|
|
+LR average precision score: 0.258
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+minimum:
|
|
|
|
|
+LR tn, fp: 345, 18
|
|
|
|
|
+LR fn, tp: 1, 5
|
|
|
|
|
+LR f1 score: 0.118
|
|
|
|
|
+LR cohens kappa score: 0.077
|
|
|
|
|
+LR average precision score: 0.102
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+-----[ GB ]-----
|
|
|
|
|
+maximum:
|
|
|
|
|
+GB tn, fp: 456, 8
|
|
|
|
|
+GB fn, tp: 12, 4
|
|
|
|
|
+GB f1 score: 0.444
|
|
|
|
|
+GB cohens kappa score: 0.435
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+average:
|
|
|
|
|
+GB tn, fp: 452.64, 3.36
|
|
|
|
|
+GB fn, tp: 9.8, 1.8
|
|
|
|
|
+GB f1 score: 0.211
|
|
|
|
|
+GB cohens kappa score: 0.199
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+minimum:
|
|
|
|
|
+GB tn, fp: 448, 0
|
|
|
|
|
+GB fn, tp: 7, 0
|
|
|
|
|
+GB f1 score: 0.000
|
|
|
|
|
+GB cohens kappa score: -0.010
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+-----[ KNN ]-----
|
|
|
|
|
+maximum:
|
|
|
|
|
+KNN tn, fp: 456, 7
|
|
|
|
|
+KNN fn, tp: 12, 3
|
|
|
|
|
+KNN f1 score: 0.375
|
|
|
|
|
+KNN cohens kappa score: 0.367
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+average:
|
|
|
|
|
+KNN tn, fp: 454.64, 1.36
|
|
|
|
|
+KNN fn, tp: 10.76, 0.84
|
|
|
|
|
+KNN f1 score: 0.111
|
|
|
|
|
+KNN cohens kappa score: 0.105
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+minimum:
|
|
|
|
|
+KNN tn, fp: 449, 0
|
|
|
|
|
+KNN fn, tp: 8, 0
|
|
|
|
|
+KNN f1 score: 0.000
|
|
|
|
|
+KNN cohens kappa score: -0.015
|
|
|
|
|
+
|