folding_hypothyroid.log 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899
  1. ///////////////////////////////////////////
  2. // Running CTAB-GAN on folding_hypothyroid
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_hypothyroid'
  5. from pickle file
  6. non empty cut in data_input/folding_hypothyroid! (1 points)
  7. Data loaded.
  8. -> Shuffling data
  9. ### Start exercise for synthetic point generator
  10. ====== Step 1/5 =======
  11. -> Shuffling data
  12. -> Spliting data to slices
  13. ------ Step 1/5: Slice 1/5 -------
  14. -> Reset the GAN
  15. -> Train generator for synthetic samples
  16. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:19, 2.13s/it] 20%|██ | 2/10 [00:04<00:16, 2.08s/it] 30%|███ | 3/10 [00:06<00:14, 2.07s/it] 40%|████ | 4/10 [00:08<00:12, 2.09s/it] 50%|█████ | 5/10 [00:10<00:10, 2.09s/it] 60%|██████ | 6/10 [00:12<00:08, 2.08s/it] 70%|███████ | 7/10 [00:14<00:06, 2.05s/it] 80%|████████ | 8/10 [00:16<00:04, 2.08s/it] 90%|█████████ | 9/10 [00:18<00:02, 2.08s/it] 100%|██████████| 10/10 [00:20<00:00, 2.07s/it] 100%|██████████| 10/10 [00:20<00:00, 2.08s/it]
  17. -> create 2289 synthetic samples
  18. -> test with 'LR'
  19. LR tn, fp: 559, 44
  20. LR fn, tp: 19, 12
  21. LR f1 score: 0.276
  22. LR cohens kappa score: 0.227
  23. LR average precision score: 0.207
  24. -> test with 'RF'
  25. RF tn, fp: 599, 4
  26. RF fn, tp: 9, 22
  27. RF f1 score: 0.772
  28. RF cohens kappa score: 0.761
  29. -> test with 'GB'
  30. GB tn, fp: 599, 4
  31. GB fn, tp: 7, 24
  32. GB f1 score: 0.814
  33. GB cohens kappa score: 0.804
  34. -> test with 'KNN'
  35. KNN tn, fp: 587, 16
  36. KNN fn, tp: 10, 21
  37. KNN f1 score: 0.618
  38. KNN cohens kappa score: 0.596
  39. ------ Step 1/5: Slice 2/5 -------
  40. -> Reset the GAN
  41. -> Train generator for synthetic samples
  42. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:18, 2.01s/it] 20%|██ | 2/10 [00:04<00:16, 2.07s/it] 30%|███ | 3/10 [00:06<00:14, 2.08s/it] 40%|████ | 4/10 [00:08<00:12, 2.07s/it] 50%|█████ | 5/10 [00:10<00:10, 2.10s/it] 60%|██████ | 6/10 [00:12<00:08, 2.11s/it] 70%|███████ | 7/10 [00:14<00:06, 2.09s/it] 80%|████████ | 8/10 [00:16<00:04, 2.04s/it] 90%|█████████ | 9/10 [00:18<00:02, 2.04s/it] 100%|██████████| 10/10 [00:20<00:00, 2.06s/it] 100%|██████████| 10/10 [00:20<00:00, 2.07s/it]
  43. -> create 2289 synthetic samples
  44. -> test with 'LR'
  45. LR tn, fp: 564, 39
  46. LR fn, tp: 23, 8
  47. LR f1 score: 0.205
  48. LR cohens kappa score: 0.155
  49. LR average precision score: 0.181
  50. -> test with 'RF'
  51. RF tn, fp: 595, 8
  52. RF fn, tp: 10, 21
  53. RF f1 score: 0.700
  54. RF cohens kappa score: 0.685
  55. -> test with 'GB'
  56. GB tn, fp: 595, 8
  57. GB fn, tp: 6, 25
  58. GB f1 score: 0.781
  59. GB cohens kappa score: 0.770
  60. -> test with 'KNN'
  61. KNN tn, fp: 580, 23
  62. KNN fn, tp: 6, 25
  63. KNN f1 score: 0.633
  64. KNN cohens kappa score: 0.610
  65. ------ Step 1/5: Slice 3/5 -------
  66. -> Reset the GAN
  67. -> Train generator for synthetic samples
  68. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:19, 2.19s/it] 20%|██ | 2/10 [00:04<00:17, 2.19s/it] 30%|███ | 3/10 [00:06<00:15, 2.22s/it] 40%|████ | 4/10 [00:08<00:13, 2.17s/it] 50%|█████ | 5/10 [00:10<00:10, 2.16s/it] 60%|██████ | 6/10 [00:13<00:08, 2.16s/it] 70%|███████ | 7/10 [00:15<00:06, 2.15s/it] 80%|████████ | 8/10 [00:17<00:04, 2.13s/it] 90%|█████████ | 9/10 [00:19<00:02, 2.13s/it] 100%|██████████| 10/10 [00:21<00:00, 2.14s/it] 100%|██████████| 10/10 [00:21<00:00, 2.15s/it]
  69. -> create 2289 synthetic samples
  70. -> test with 'LR'
  71. LR tn, fp: 528, 75
  72. LR fn, tp: 19, 12
  73. LR f1 score: 0.203
  74. LR cohens kappa score: 0.141
  75. LR average precision score: 0.136
  76. -> test with 'RF'
  77. RF tn, fp: 600, 3
  78. RF fn, tp: 5, 26
  79. RF f1 score: 0.867
  80. RF cohens kappa score: 0.860
  81. -> test with 'GB'
  82. GB tn, fp: 598, 5
  83. GB fn, tp: 6, 25
  84. GB f1 score: 0.820
  85. GB cohens kappa score: 0.811
  86. -> test with 'KNN'
  87. KNN tn, fp: 591, 12
  88. KNN fn, tp: 15, 16
  89. KNN f1 score: 0.542
  90. KNN cohens kappa score: 0.520
  91. ------ Step 1/5: Slice 4/5 -------
  92. -> Reset the GAN
  93. -> Train generator for synthetic samples
  94. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:19, 2.21s/it] 20%|██ | 2/10 [00:04<00:17, 2.18s/it] 30%|███ | 3/10 [00:06<00:15, 2.18s/it] 40%|████ | 4/10 [00:08<00:12, 2.16s/it] 50%|█████ | 5/10 [00:10<00:11, 2.21s/it] 60%|██████ | 6/10 [00:13<00:08, 2.22s/it] 70%|███████ | 7/10 [00:15<00:06, 2.23s/it] 80%|████████ | 8/10 [00:17<00:04, 2.26s/it] 90%|█████████ | 9/10 [00:19<00:02, 2.24s/it] 100%|██████████| 10/10 [00:22<00:00, 2.25s/it] 100%|██████████| 10/10 [00:22<00:00, 2.23s/it]
  95. -> create 2289 synthetic samples
  96. -> test with 'LR'
  97. LR tn, fp: 558, 45
  98. LR fn, tp: 22, 9
  99. LR f1 score: 0.212
  100. LR cohens kappa score: 0.160
  101. LR average precision score: 0.143
  102. -> test with 'RF'
  103. RF tn, fp: 603, 0
  104. RF fn, tp: 13, 18
  105. RF f1 score: 0.735
  106. RF cohens kappa score: 0.725
  107. -> test with 'GB'
  108. GB tn, fp: 600, 3
  109. GB fn, tp: 12, 19
  110. GB f1 score: 0.717
  111. GB cohens kappa score: 0.705
  112. -> test with 'KNN'
  113. KNN tn, fp: 592, 11
  114. KNN fn, tp: 14, 17
  115. KNN f1 score: 0.576
  116. KNN cohens kappa score: 0.556
  117. ------ Step 1/5: Slice 5/5 -------
  118. -> Reset the GAN
  119. -> Train generator for synthetic samples
  120. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:20, 2.26s/it] 20%|██ | 2/10 [00:04<00:17, 2.21s/it] 30%|███ | 3/10 [00:06<00:15, 2.23s/it] 40%|████ | 4/10 [00:09<00:13, 2.27s/it] 50%|█████ | 5/10 [00:11<00:10, 2.20s/it] 60%|██████ | 6/10 [00:13<00:08, 2.14s/it] 70%|███████ | 7/10 [00:15<00:06, 2.10s/it] 80%|████████ | 8/10 [00:17<00:04, 2.06s/it] 90%|█████████ | 9/10 [00:19<00:02, 2.05s/it] 100%|██████████| 10/10 [00:21<00:00, 2.01s/it] 100%|██████████| 10/10 [00:21<00:00, 2.11s/it]
  121. -> create 2288 synthetic samples
  122. -> test with 'LR'
  123. LR tn, fp: 556, 44
  124. LR fn, tp: 15, 12
  125. LR f1 score: 0.289
  126. LR cohens kappa score: 0.245
  127. LR average precision score: 0.208
  128. -> test with 'RF'
  129. RF tn, fp: 597, 3
  130. RF fn, tp: 8, 19
  131. RF f1 score: 0.776
  132. RF cohens kappa score: 0.766
  133. -> test with 'GB'
  134. GB tn, fp: 596, 4
  135. GB fn, tp: 4, 23
  136. GB f1 score: 0.852
  137. GB cohens kappa score: 0.845
  138. -> test with 'KNN'
  139. KNN tn, fp: 582, 18
  140. KNN fn, tp: 10, 17
  141. KNN f1 score: 0.548
  142. KNN cohens kappa score: 0.525
  143. ====== Step 2/5 =======
  144. -> Shuffling data
  145. -> Spliting data to slices
  146. ------ Step 2/5: Slice 1/5 -------
  147. -> Reset the GAN
  148. -> Train generator for synthetic samples
  149. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.84s/it] 20%|██ | 2/10 [00:03<00:15, 1.91s/it] 30%|███ | 3/10 [00:05<00:13, 1.95s/it] 40%|████ | 4/10 [00:07<00:11, 1.93s/it] 50%|█████ | 5/10 [00:09<00:09, 1.93s/it] 60%|██████ | 6/10 [00:11<00:07, 1.91s/it] 70%|███████ | 7/10 [00:13<00:05, 1.94s/it] 80%|████████ | 8/10 [00:15<00:03, 1.94s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.93s/it] 100%|██████████| 10/10 [00:19<00:00, 1.94s/it] 100%|██████████| 10/10 [00:19<00:00, 1.93s/it]
  150. -> create 2289 synthetic samples
  151. -> test with 'LR'
  152. LR tn, fp: 559, 44
  153. LR fn, tp: 23, 8
  154. LR f1 score: 0.193
  155. LR cohens kappa score: 0.140
  156. LR average precision score: 0.121
  157. -> test with 'RF'
  158. RF tn, fp: 597, 6
  159. RF fn, tp: 11, 20
  160. RF f1 score: 0.702
  161. RF cohens kappa score: 0.688
  162. -> test with 'GB'
  163. GB tn, fp: 596, 7
  164. GB fn, tp: 10, 21
  165. GB f1 score: 0.712
  166. GB cohens kappa score: 0.698
  167. -> test with 'KNN'
  168. KNN tn, fp: 589, 14
  169. KNN fn, tp: 15, 16
  170. KNN f1 score: 0.525
  171. KNN cohens kappa score: 0.501
  172. ------ Step 2/5: Slice 2/5 -------
  173. -> Reset the GAN
  174. -> Train generator for synthetic samples
  175. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:17, 1.98s/it] 20%|██ | 2/10 [00:03<00:15, 1.90s/it] 30%|███ | 3/10 [00:05<00:12, 1.86s/it] 40%|████ | 4/10 [00:07<00:11, 1.87s/it] 50%|█████ | 5/10 [00:09<00:09, 1.84s/it] 60%|██████ | 6/10 [00:11<00:07, 1.87s/it] 70%|███████ | 7/10 [00:13<00:05, 1.91s/it] 80%|████████ | 8/10 [00:15<00:03, 1.88s/it] 90%|█████████ | 9/10 [00:16<00:01, 1.88s/it] 100%|██████████| 10/10 [00:18<00:00, 1.88s/it] 100%|██████████| 10/10 [00:18<00:00, 1.88s/it]
  176. -> create 2289 synthetic samples
  177. -> test with 'LR'
  178. LR tn, fp: 570, 33
  179. LR fn, tp: 22, 9
  180. LR f1 score: 0.247
  181. LR cohens kappa score: 0.202
  182. LR average precision score: 0.185
  183. -> test with 'RF'
  184. RF tn, fp: 596, 7
  185. RF fn, tp: 7, 24
  186. RF f1 score: 0.774
  187. RF cohens kappa score: 0.763
  188. -> test with 'GB'
  189. GB tn, fp: 597, 6
  190. GB fn, tp: 4, 27
  191. GB f1 score: 0.844
  192. GB cohens kappa score: 0.835
  193. -> test with 'KNN'
  194. KNN tn, fp: 589, 14
  195. KNN fn, tp: 8, 23
  196. KNN f1 score: 0.676
  197. KNN cohens kappa score: 0.658
  198. ------ Step 2/5: Slice 3/5 -------
  199. -> Reset the GAN
  200. -> Train generator for synthetic samples
  201. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.80s/it] 20%|██ | 2/10 [00:03<00:14, 1.81s/it] 30%|███ | 3/10 [00:05<00:12, 1.85s/it] 40%|████ | 4/10 [00:07<00:11, 1.84s/it] 50%|█████ | 5/10 [00:09<00:09, 1.84s/it] 60%|██████ | 6/10 [00:11<00:07, 1.87s/it] 70%|███████ | 7/10 [00:13<00:05, 1.90s/it] 80%|████████ | 8/10 [00:14<00:03, 1.88s/it] 90%|█████████ | 9/10 [00:16<00:01, 1.92s/it] 100%|██████████| 10/10 [00:18<00:00, 1.94s/it] 100%|██████████| 10/10 [00:18<00:00, 1.89s/it]
  202. -> create 2289 synthetic samples
  203. -> test with 'LR'
  204. LR tn, fp: 561, 42
  205. LR fn, tp: 22, 9
  206. LR f1 score: 0.220
  207. LR cohens kappa score: 0.169
  208. LR average precision score: 0.169
  209. -> test with 'RF'
  210. RF tn, fp: 601, 2
  211. RF fn, tp: 11, 20
  212. RF f1 score: 0.755
  213. RF cohens kappa score: 0.744
  214. -> test with 'GB'
  215. GB tn, fp: 600, 3
  216. GB fn, tp: 7, 24
  217. GB f1 score: 0.828
  218. GB cohens kappa score: 0.819
  219. -> test with 'KNN'
  220. KNN tn, fp: 593, 10
  221. KNN fn, tp: 13, 18
  222. KNN f1 score: 0.610
  223. KNN cohens kappa score: 0.591
  224. ------ Step 2/5: Slice 4/5 -------
  225. -> Reset the GAN
  226. -> Train generator for synthetic samples
  227. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.83s/it] 20%|██ | 2/10 [00:03<00:14, 1.87s/it] 30%|███ | 3/10 [00:05<00:13, 1.93s/it] 40%|████ | 4/10 [00:07<00:11, 1.92s/it] 50%|█████ | 5/10 [00:09<00:09, 1.89s/it] 60%|██████ | 6/10 [00:11<00:07, 1.93s/it] 70%|███████ | 7/10 [00:13<00:05, 1.95s/it] 80%|████████ | 8/10 [00:15<00:03, 1.91s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.88s/it] 100%|██████████| 10/10 [00:18<00:00, 1.86s/it] 100%|██████████| 10/10 [00:18<00:00, 1.89s/it]
  228. -> create 2289 synthetic samples
  229. -> test with 'LR'
  230. LR tn, fp: 553, 50
  231. LR fn, tp: 19, 12
  232. LR f1 score: 0.258
  233. LR cohens kappa score: 0.206
  234. LR average precision score: 0.237
  235. -> test with 'RF'
  236. RF tn, fp: 600, 3
  237. RF fn, tp: 6, 25
  238. RF f1 score: 0.847
  239. RF cohens kappa score: 0.840
  240. -> test with 'GB'
  241. GB tn, fp: 600, 3
  242. GB fn, tp: 8, 23
  243. GB f1 score: 0.807
  244. GB cohens kappa score: 0.798
  245. -> test with 'KNN'
  246. KNN tn, fp: 592, 11
  247. KNN fn, tp: 10, 21
  248. KNN f1 score: 0.667
  249. KNN cohens kappa score: 0.649
  250. ------ Step 2/5: Slice 5/5 -------
  251. -> Reset the GAN
  252. -> Train generator for synthetic samples
  253. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.82s/it] 20%|██ | 2/10 [00:03<00:14, 1.83s/it] 30%|███ | 3/10 [00:05<00:12, 1.85s/it] 40%|████ | 4/10 [00:07<00:11, 1.84s/it] 50%|█████ | 5/10 [00:09<00:09, 1.90s/it] 60%|██████ | 6/10 [00:11<00:07, 1.89s/it] 70%|███████ | 7/10 [00:13<00:05, 1.87s/it] 80%|████████ | 8/10 [00:15<00:03, 1.90s/it] 90%|█████████ | 9/10 [00:16<00:01, 1.90s/it] 100%|██████████| 10/10 [00:18<00:00, 1.93s/it] 100%|██████████| 10/10 [00:18<00:00, 1.89s/it]
  254. -> create 2288 synthetic samples
  255. -> test with 'LR'
  256. LR tn, fp: 559, 41
  257. LR fn, tp: 24, 3
  258. LR f1 score: 0.085
  259. LR cohens kappa score: 0.033
  260. LR average precision score: 0.123
  261. -> test with 'RF'
  262. RF tn, fp: 598, 2
  263. RF fn, tp: 6, 21
  264. RF f1 score: 0.840
  265. RF cohens kappa score: 0.833
  266. -> test with 'GB'
  267. GB tn, fp: 597, 3
  268. GB fn, tp: 6, 21
  269. GB f1 score: 0.824
  270. GB cohens kappa score: 0.816
  271. -> test with 'KNN'
  272. KNN tn, fp: 584, 16
  273. KNN fn, tp: 10, 17
  274. KNN f1 score: 0.567
  275. KNN cohens kappa score: 0.545
  276. ====== Step 3/5 =======
  277. -> Shuffling data
  278. -> Spliting data to slices
  279. ------ Step 3/5: Slice 1/5 -------
  280. -> Reset the GAN
  281. -> Train generator for synthetic samples
  282. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:18, 2.01s/it] 20%|██ | 2/10 [00:04<00:16, 2.01s/it] 30%|███ | 3/10 [00:06<00:14, 2.01s/it] 40%|████ | 4/10 [00:08<00:12, 2.01s/it] 50%|█████ | 5/10 [00:09<00:09, 1.95s/it] 60%|██████ | 6/10 [00:11<00:07, 1.96s/it] 70%|███████ | 7/10 [00:13<00:05, 1.93s/it] 80%|████████ | 8/10 [00:15<00:03, 1.95s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.93s/it] 100%|██████████| 10/10 [00:19<00:00, 1.94s/it] 100%|██████████| 10/10 [00:19<00:00, 1.96s/it]
  283. -> create 2289 synthetic samples
  284. -> test with 'LR'
  285. LR tn, fp: 570, 33
  286. LR fn, tp: 21, 10
  287. LR f1 score: 0.270
  288. LR cohens kappa score: 0.226
  289. LR average precision score: 0.229
  290. -> test with 'RF'
  291. RF tn, fp: 602, 1
  292. RF fn, tp: 14, 17
  293. RF f1 score: 0.694
  294. RF cohens kappa score: 0.682
  295. -> test with 'GB'
  296. GB tn, fp: 602, 1
  297. GB fn, tp: 8, 23
  298. GB f1 score: 0.836
  299. GB cohens kappa score: 0.829
  300. -> test with 'KNN'
  301. KNN tn, fp: 598, 5
  302. KNN fn, tp: 15, 16
  303. KNN f1 score: 0.615
  304. KNN cohens kappa score: 0.600
  305. ------ Step 3/5: Slice 2/5 -------
  306. -> Reset the GAN
  307. -> Train generator for synthetic samples
  308. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.86s/it] 20%|██ | 2/10 [00:03<00:14, 1.84s/it] 30%|███ | 3/10 [00:05<00:13, 1.86s/it] 40%|████ | 4/10 [00:07<00:11, 1.85s/it] 50%|█████ | 5/10 [00:09<00:09, 1.85s/it] 60%|██████ | 6/10 [00:11<00:07, 1.83s/it] 70%|███████ | 7/10 [00:13<00:05, 1.87s/it] 80%|████████ | 8/10 [00:14<00:03, 1.88s/it] 90%|█████████ | 9/10 [00:16<00:01, 1.88s/it] 100%|██████████| 10/10 [00:18<00:00, 1.92s/it] 100%|██████████| 10/10 [00:18<00:00, 1.88s/it]
  309. -> create 2289 synthetic samples
  310. -> test with 'LR'
  311. LR tn, fp: 594, 9
  312. LR fn, tp: 26, 5
  313. LR f1 score: 0.222
  314. LR cohens kappa score: 0.198
  315. LR average precision score: 0.269
  316. -> test with 'RF'
  317. RF tn, fp: 595, 8
  318. RF fn, tp: 5, 26
  319. RF f1 score: 0.800
  320. RF cohens kappa score: 0.789
  321. -> test with 'GB'
  322. GB tn, fp: 594, 9
  323. GB fn, tp: 4, 27
  324. GB f1 score: 0.806
  325. GB cohens kappa score: 0.795
  326. -> test with 'KNN'
  327. KNN tn, fp: 580, 23
  328. KNN fn, tp: 14, 17
  329. KNN f1 score: 0.479
  330. KNN cohens kappa score: 0.448
  331. ------ Step 3/5: Slice 3/5 -------
  332. -> Reset the GAN
  333. -> Train generator for synthetic samples
  334. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:18, 2.06s/it] 20%|██ | 2/10 [00:04<00:16, 2.07s/it] 30%|███ | 3/10 [00:06<00:14, 2.04s/it] 40%|████ | 4/10 [00:08<00:12, 2.04s/it] 50%|█████ | 5/10 [00:10<00:10, 2.05s/it] 60%|██████ | 6/10 [00:12<00:07, 1.99s/it] 70%|███████ | 7/10 [00:14<00:05, 1.98s/it] 80%|████████ | 8/10 [00:15<00:03, 1.95s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.97s/it] 100%|██████████| 10/10 [00:19<00:00, 1.94s/it] 100%|██████████| 10/10 [00:19<00:00, 1.98s/it]
  335. -> create 2289 synthetic samples
  336. -> test with 'LR'
  337. LR tn, fp: 570, 33
  338. LR fn, tp: 24, 7
  339. LR f1 score: 0.197
  340. LR cohens kappa score: 0.150
  341. LR average precision score: 0.173
  342. -> test with 'RF'
  343. RF tn, fp: 599, 4
  344. RF fn, tp: 8, 23
  345. RF f1 score: 0.793
  346. RF cohens kappa score: 0.783
  347. -> test with 'GB'
  348. GB tn, fp: 597, 6
  349. GB fn, tp: 5, 26
  350. GB f1 score: 0.825
  351. GB cohens kappa score: 0.816
  352. -> test with 'KNN'
  353. KNN tn, fp: 586, 17
  354. KNN fn, tp: 10, 21
  355. KNN f1 score: 0.609
  356. KNN cohens kappa score: 0.586
  357. ------ Step 3/5: Slice 4/5 -------
  358. -> Reset the GAN
  359. -> Train generator for synthetic samples
  360. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:05<00:51, 5.70s/it] 20%|██ | 2/10 [00:07<00:28, 3.53s/it] 30%|███ | 3/10 [00:09<00:19, 2.84s/it] 40%|████ | 4/10 [00:11<00:15, 2.51s/it] 50%|█████ | 5/10 [00:13<00:11, 2.35s/it] 60%|██████ | 6/10 [00:15<00:08, 2.24s/it] 70%|███████ | 7/10 [00:17<00:06, 2.17s/it] 80%|████████ | 8/10 [00:19<00:04, 2.15s/it] 90%|█████████ | 9/10 [00:22<00:02, 2.12s/it] 100%|██████████| 10/10 [00:23<00:00, 2.05s/it] 100%|██████████| 10/10 [00:23<00:00, 2.39s/it]
  361. -> create 2289 synthetic samples
  362. -> test with 'LR'
  363. LR tn, fp: 556, 47
  364. LR fn, tp: 18, 13
  365. LR f1 score: 0.286
  366. LR cohens kappa score: 0.236
  367. LR average precision score: 0.230
  368. -> test with 'RF'
  369. RF tn, fp: 597, 6
  370. RF fn, tp: 9, 22
  371. RF f1 score: 0.746
  372. RF cohens kappa score: 0.733
  373. -> test with 'GB'
  374. GB tn, fp: 595, 8
  375. GB fn, tp: 8, 23
  376. GB f1 score: 0.742
  377. GB cohens kappa score: 0.729
  378. -> test with 'KNN'
  379. KNN tn, fp: 589, 14
  380. KNN fn, tp: 11, 20
  381. KNN f1 score: 0.615
  382. KNN cohens kappa score: 0.595
  383. ------ Step 3/5: Slice 5/5 -------
  384. -> Reset the GAN
  385. -> Train generator for synthetic samples
  386. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.82s/it] 20%|██ | 2/10 [00:03<00:15, 1.88s/it] 30%|███ | 3/10 [00:05<00:12, 1.84s/it] 40%|████ | 4/10 [00:07<00:11, 1.87s/it] 50%|█████ | 5/10 [00:09<00:09, 1.91s/it] 60%|██████ | 6/10 [00:11<00:07, 1.89s/it] 70%|███████ | 7/10 [00:13<00:05, 1.86s/it] 80%|████████ | 8/10 [00:14<00:03, 1.87s/it] 90%|█████████ | 9/10 [00:16<00:01, 1.88s/it] 100%|██████████| 10/10 [00:18<00:00, 1.92s/it] 100%|██████████| 10/10 [00:18<00:00, 1.89s/it]
  387. -> create 2288 synthetic samples
  388. -> test with 'LR'
  389. LR tn, fp: 539, 61
  390. LR fn, tp: 20, 7
  391. LR f1 score: 0.147
  392. LR cohens kappa score: 0.091
  393. LR average precision score: 0.139
  394. -> test with 'RF'
  395. RF tn, fp: 598, 2
  396. RF fn, tp: 6, 21
  397. RF f1 score: 0.840
  398. RF cohens kappa score: 0.833
  399. -> test with 'GB'
  400. GB tn, fp: 598, 2
  401. GB fn, tp: 6, 21
  402. GB f1 score: 0.840
  403. GB cohens kappa score: 0.833
  404. -> test with 'KNN'
  405. KNN tn, fp: 587, 13
  406. KNN fn, tp: 10, 17
  407. KNN f1 score: 0.596
  408. KNN cohens kappa score: 0.577
  409. ====== Step 4/5 =======
  410. -> Shuffling data
  411. -> Spliting data to slices
  412. ------ Step 4/5: Slice 1/5 -------
  413. -> Reset the GAN
  414. -> Train generator for synthetic samples
  415. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:17, 1.90s/it] 20%|██ | 2/10 [00:03<00:14, 1.87s/it] 30%|███ | 3/10 [00:05<00:13, 1.87s/it] 40%|████ | 4/10 [00:07<00:11, 1.92s/it] 50%|█████ | 5/10 [00:09<00:09, 1.90s/it] 60%|██████ | 6/10 [00:11<00:07, 1.88s/it] 70%|███████ | 7/10 [00:13<00:05, 1.87s/it] 80%|████████ | 8/10 [00:15<00:03, 1.86s/it] 90%|█████████ | 9/10 [00:16<00:01, 1.87s/it] 100%|██████████| 10/10 [00:18<00:00, 1.85s/it] 100%|██████████| 10/10 [00:18<00:00, 1.87s/it]
  416. -> create 2289 synthetic samples
  417. -> test with 'LR'
  418. LR tn, fp: 551, 52
  419. LR fn, tp: 21, 10
  420. LR f1 score: 0.215
  421. LR cohens kappa score: 0.160
  422. LR average precision score: 0.136
  423. -> test with 'RF'
  424. RF tn, fp: 597, 6
  425. RF fn, tp: 9, 22
  426. RF f1 score: 0.746
  427. RF cohens kappa score: 0.733
  428. -> test with 'GB'
  429. GB tn, fp: 596, 7
  430. GB fn, tp: 4, 27
  431. GB f1 score: 0.831
  432. GB cohens kappa score: 0.822
  433. -> test with 'KNN'
  434. KNN tn, fp: 586, 17
  435. KNN fn, tp: 10, 21
  436. KNN f1 score: 0.609
  437. KNN cohens kappa score: 0.586
  438. ------ Step 4/5: Slice 2/5 -------
  439. -> Reset the GAN
  440. -> Train generator for synthetic samples
  441. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:17, 1.98s/it] 20%|██ | 2/10 [00:03<00:15, 1.89s/it] 30%|███ | 3/10 [00:05<00:13, 1.93s/it] 40%|████ | 4/10 [00:07<00:11, 1.90s/it] 50%|█████ | 5/10 [00:09<00:09, 1.93s/it] 60%|██████ | 6/10 [00:11<00:07, 1.95s/it] 70%|███████ | 7/10 [00:13<00:05, 1.97s/it] 80%|████████ | 8/10 [00:15<00:03, 1.94s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.89s/it] 100%|██████████| 10/10 [00:19<00:00, 1.91s/it] 100%|██████████| 10/10 [00:19<00:00, 1.92s/it]
  442. -> create 2289 synthetic samples
  443. -> test with 'LR'
  444. LR tn, fp: 562, 41
  445. LR fn, tp: 26, 5
  446. LR f1 score: 0.130
  447. LR cohens kappa score: 0.076
  448. LR average precision score: 0.113
  449. -> test with 'RF'
  450. RF tn, fp: 600, 3
  451. RF fn, tp: 9, 22
  452. RF f1 score: 0.786
  453. RF cohens kappa score: 0.776
  454. -> test with 'GB'
  455. GB tn, fp: 598, 5
  456. GB fn, tp: 7, 24
  457. GB f1 score: 0.800
  458. GB cohens kappa score: 0.790
  459. -> test with 'KNN'
  460. KNN tn, fp: 590, 13
  461. KNN fn, tp: 10, 21
  462. KNN f1 score: 0.646
  463. KNN cohens kappa score: 0.627
  464. ------ Step 4/5: Slice 3/5 -------
  465. -> Reset the GAN
  466. -> Train generator for synthetic samples
  467. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.85s/it] 20%|██ | 2/10 [00:03<00:15, 1.93s/it] 30%|███ | 3/10 [00:05<00:13, 1.96s/it] 40%|████ | 4/10 [00:07<00:11, 1.97s/it] 50%|█████ | 5/10 [00:09<00:09, 1.97s/it] 60%|██████ | 6/10 [00:11<00:07, 1.96s/it] 70%|███████ | 7/10 [00:13<00:05, 1.98s/it] 80%|████████ | 8/10 [00:15<00:03, 1.93s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.93s/it] 100%|██████████| 10/10 [00:19<00:00, 1.88s/it] 100%|██████████| 10/10 [00:19<00:00, 1.93s/it]
  468. -> create 2289 synthetic samples
  469. -> test with 'LR'
  470. LR tn, fp: 545, 58
  471. LR fn, tp: 21, 10
  472. LR f1 score: 0.202
  473. LR cohens kappa score: 0.145
  474. LR average precision score: 0.150
  475. -> test with 'RF'
  476. RF tn, fp: 602, 1
  477. RF fn, tp: 8, 23
  478. RF f1 score: 0.836
  479. RF cohens kappa score: 0.829
  480. -> test with 'GB'
  481. GB tn, fp: 600, 3
  482. GB fn, tp: 7, 24
  483. GB f1 score: 0.828
  484. GB cohens kappa score: 0.819
  485. -> test with 'KNN'
  486. KNN tn, fp: 594, 9
  487. KNN fn, tp: 10, 21
  488. KNN f1 score: 0.689
  489. KNN cohens kappa score: 0.673
  490. ------ Step 4/5: Slice 4/5 -------
  491. -> Reset the GAN
  492. -> Train generator for synthetic samples
  493. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:17, 1.89s/it] 20%|██ | 2/10 [00:03<00:14, 1.85s/it] 30%|███ | 3/10 [00:05<00:12, 1.84s/it] 40%|████ | 4/10 [00:07<00:11, 1.86s/it] 50%|█████ | 5/10 [00:09<00:09, 1.88s/it] 60%|██████ | 6/10 [00:11<00:07, 1.91s/it] 70%|███████ | 7/10 [00:13<00:05, 1.94s/it] 80%|████████ | 8/10 [00:15<00:03, 1.96s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.97s/it] 100%|██████████| 10/10 [00:19<00:00, 1.98s/it] 100%|██████████| 10/10 [00:19<00:00, 1.93s/it]
  494. -> create 2289 synthetic samples
  495. -> test with 'LR'
  496. LR tn, fp: 559, 44
  497. LR fn, tp: 20, 11
  498. LR f1 score: 0.256
  499. LR cohens kappa score: 0.206
  500. LR average precision score: 0.181
  501. -> test with 'RF'
  502. RF tn, fp: 601, 2
  503. RF fn, tp: 6, 25
  504. RF f1 score: 0.862
  505. RF cohens kappa score: 0.855
  506. -> test with 'GB'
  507. GB tn, fp: 601, 2
  508. GB fn, tp: 4, 27
  509. GB f1 score: 0.900
  510. GB cohens kappa score: 0.895
  511. -> test with 'KNN'
  512. KNN tn, fp: 590, 13
  513. KNN fn, tp: 12, 19
  514. KNN f1 score: 0.603
  515. KNN cohens kappa score: 0.582
  516. ------ Step 4/5: Slice 5/5 -------
  517. -> Reset the GAN
  518. -> Train generator for synthetic samples
  519. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:02<00:18, 2.02s/it] 20%|██ | 2/10 [00:03<00:15, 1.92s/it] 30%|███ | 3/10 [00:05<00:13, 1.91s/it] 40%|████ | 4/10 [00:07<00:11, 1.95s/it] 50%|█████ | 5/10 [00:09<00:09, 1.97s/it] 60%|██████ | 6/10 [00:11<00:07, 1.95s/it] 70%|███████ | 7/10 [00:13<00:05, 1.91s/it] 80%|████████ | 8/10 [00:15<00:03, 1.94s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.91s/it] 100%|██████████| 10/10 [00:19<00:00, 1.92s/it] 100%|██████████| 10/10 [00:19<00:00, 1.93s/it]
  520. -> create 2288 synthetic samples
  521. -> test with 'LR'
  522. LR tn, fp: 574, 26
  523. LR fn, tp: 20, 7
  524. LR f1 score: 0.233
  525. LR cohens kappa score: 0.195
  526. LR average precision score: 0.255
  527. -> test with 'RF'
  528. RF tn, fp: 597, 3
  529. RF fn, tp: 9, 18
  530. RF f1 score: 0.750
  531. RF cohens kappa score: 0.740
  532. -> test with 'GB'
  533. GB tn, fp: 597, 3
  534. GB fn, tp: 7, 20
  535. GB f1 score: 0.800
  536. GB cohens kappa score: 0.792
  537. -> test with 'KNN'
  538. KNN tn, fp: 587, 13
  539. KNN fn, tp: 10, 17
  540. KNN f1 score: 0.596
  541. KNN cohens kappa score: 0.577
  542. ====== Step 5/5 =======
  543. -> Shuffling data
  544. -> Spliting data to slices
  545. ------ Step 5/5: Slice 1/5 -------
  546. -> Reset the GAN
  547. -> Train generator for synthetic samples
  548. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.85s/it] 20%|██ | 2/10 [00:03<00:15, 1.89s/it] 30%|███ | 3/10 [00:05<00:13, 1.89s/it] 40%|████ | 4/10 [00:07<00:11, 1.87s/it] 50%|█████ | 5/10 [00:09<00:09, 1.87s/it] 60%|██████ | 6/10 [00:11<00:07, 1.92s/it] 70%|███████ | 7/10 [00:13<00:05, 1.90s/it] 80%|████████ | 8/10 [00:15<00:03, 1.94s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.96s/it] 100%|██████████| 10/10 [00:19<00:00, 1.92s/it] 100%|██████████| 10/10 [00:19<00:00, 1.91s/it]
  549. -> create 2289 synthetic samples
  550. -> test with 'LR'
  551. LR tn, fp: 559, 44
  552. LR fn, tp: 19, 12
  553. LR f1 score: 0.276
  554. LR cohens kappa score: 0.227
  555. LR average precision score: 0.204
  556. -> test with 'RF'
  557. RF tn, fp: 599, 4
  558. RF fn, tp: 11, 20
  559. RF f1 score: 0.727
  560. RF cohens kappa score: 0.715
  561. -> test with 'GB'
  562. GB tn, fp: 599, 4
  563. GB fn, tp: 5, 26
  564. GB f1 score: 0.852
  565. GB cohens kappa score: 0.845
  566. -> test with 'KNN'
  567. KNN tn, fp: 589, 14
  568. KNN fn, tp: 9, 22
  569. KNN f1 score: 0.657
  570. KNN cohens kappa score: 0.638
  571. ------ Step 5/5: Slice 2/5 -------
  572. -> Reset the GAN
  573. -> Train generator for synthetic samples
  574. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:17, 1.99s/it] 20%|██ | 2/10 [00:03<00:16, 2.00s/it] 30%|███ | 3/10 [00:05<00:13, 1.96s/it] 40%|████ | 4/10 [00:07<00:11, 1.91s/it] 50%|█████ | 5/10 [00:09<00:09, 1.95s/it] 60%|██████ | 6/10 [00:11<00:07, 1.94s/it] 70%|███████ | 7/10 [00:13<00:05, 1.90s/it] 80%|████████ | 8/10 [00:15<00:03, 1.93s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.91s/it] 100%|██████████| 10/10 [00:19<00:00, 1.89s/it] 100%|██████████| 10/10 [00:19<00:00, 1.92s/it]
  575. -> create 2289 synthetic samples
  576. -> test with 'LR'
  577. LR tn, fp: 572, 31
  578. LR fn, tp: 27, 4
  579. LR f1 score: 0.121
  580. LR cohens kappa score: 0.073
  581. LR average precision score: 0.185
  582. -> test with 'RF'
  583. RF tn, fp: 602, 1
  584. RF fn, tp: 9, 22
  585. RF f1 score: 0.815
  586. RF cohens kappa score: 0.807
  587. -> test with 'GB'
  588. GB tn, fp: 603, 0
  589. GB fn, tp: 6, 25
  590. GB f1 score: 0.893
  591. GB cohens kappa score: 0.888
  592. -> test with 'KNN'
  593. KNN tn, fp: 588, 15
  594. KNN fn, tp: 14, 17
  595. KNN f1 score: 0.540
  596. KNN cohens kappa score: 0.516
  597. ------ Step 5/5: Slice 3/5 -------
  598. -> Reset the GAN
  599. -> Train generator for synthetic samples
  600. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.85s/it] 20%|██ | 2/10 [00:03<00:15, 1.92s/it] 30%|███ | 3/10 [00:05<00:13, 1.90s/it] 40%|████ | 4/10 [00:07<00:11, 1.95s/it] 50%|█████ | 5/10 [00:09<00:09, 1.94s/it] 60%|██████ | 6/10 [00:11<00:07, 1.91s/it] 70%|███████ | 7/10 [00:13<00:05, 1.87s/it] 80%|████████ | 8/10 [00:15<00:03, 1.90s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.95s/it] 100%|██████████| 10/10 [00:19<00:00, 2.03s/it] 100%|██████████| 10/10 [00:19<00:00, 1.95s/it]
  601. -> create 2289 synthetic samples
  602. -> test with 'LR'
  603. LR tn, fp: 559, 44
  604. LR fn, tp: 15, 16
  605. LR f1 score: 0.352
  606. LR cohens kappa score: 0.307
  607. LR average precision score: 0.214
  608. -> test with 'RF'
  609. RF tn, fp: 601, 2
  610. RF fn, tp: 11, 20
  611. RF f1 score: 0.755
  612. RF cohens kappa score: 0.744
  613. -> test with 'GB'
  614. GB tn, fp: 598, 5
  615. GB fn, tp: 10, 21
  616. GB f1 score: 0.737
  617. GB cohens kappa score: 0.725
  618. -> test with 'KNN'
  619. KNN tn, fp: 585, 18
  620. KNN fn, tp: 9, 22
  621. KNN f1 score: 0.620
  622. KNN cohens kappa score: 0.598
  623. ------ Step 5/5: Slice 4/5 -------
  624. -> Reset the GAN
  625. -> Train generator for synthetic samples
  626. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:16, 1.85s/it] 20%|██ | 2/10 [00:03<00:15, 1.94s/it] 30%|███ | 3/10 [00:05<00:13, 1.91s/it] 40%|████ | 4/10 [00:07<00:11, 1.92s/it] 50%|█████ | 5/10 [00:09<00:09, 1.95s/it] 60%|██████ | 6/10 [00:11<00:07, 1.91s/it] 70%|███████ | 7/10 [00:13<00:05, 1.94s/it] 80%|████████ | 8/10 [00:15<00:03, 1.96s/it] 90%|█████████ | 9/10 [00:17<00:01, 1.98s/it] 100%|██████████| 10/10 [00:26<00:00, 4.10s/it] 100%|██████████| 10/10 [00:26<00:00, 2.64s/it]
  627. -> create 2289 synthetic samples
  628. -> test with 'LR'
  629. LR tn, fp: 578, 25
  630. LR fn, tp: 23, 8
  631. LR f1 score: 0.250
  632. LR cohens kappa score: 0.210
  633. LR average precision score: 0.207
  634. -> test with 'RF'
  635. RF tn, fp: 600, 3
  636. RF fn, tp: 6, 25
  637. RF f1 score: 0.847
  638. RF cohens kappa score: 0.840
  639. -> test with 'GB'
  640. GB tn, fp: 597, 6
  641. GB fn, tp: 5, 26
  642. GB f1 score: 0.825
  643. GB cohens kappa score: 0.816
  644. -> test with 'KNN'
  645. KNN tn, fp: 594, 9
  646. KNN fn, tp: 10, 21
  647. KNN f1 score: 0.689
  648. KNN cohens kappa score: 0.673
  649. ------ Step 5/5: Slice 5/5 -------
  650. -> Reset the GAN
  651. -> Train generator for synthetic samples
  652. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:17, 1.95s/it] 20%|██ | 2/10 [00:03<00:16, 2.00s/it] 30%|███ | 3/10 [00:06<00:14, 2.01s/it] 40%|████ | 4/10 [00:08<00:12, 2.01s/it] 50%|█████ | 5/10 [00:10<00:10, 2.01s/it] 60%|██████ | 6/10 [00:12<00:08, 2.01s/it] 70%|███████ | 7/10 [00:14<00:06, 2.02s/it] 80%|████████ | 8/10 [00:16<00:04, 2.03s/it] 90%|█████████ | 9/10 [00:18<00:02, 2.01s/it] 100%|██████████| 10/10 [00:19<00:00, 1.97s/it] 100%|██████████| 10/10 [00:19<00:00, 2.00s/it]
  653. -> create 2288 synthetic samples
  654. -> test with 'LR'
  655. LR tn, fp: 576, 24
  656. LR fn, tp: 20, 7
  657. LR f1 score: 0.241
  658. LR cohens kappa score: 0.205
  659. LR average precision score: 0.196
  660. -> test with 'RF'
  661. RF tn, fp: 594, 6
  662. RF fn, tp: 9, 18
  663. RF f1 score: 0.706
  664. RF cohens kappa score: 0.693
  665. -> test with 'GB'
  666. GB tn, fp: 594, 6
  667. GB fn, tp: 9, 18
  668. GB f1 score: 0.706
  669. GB cohens kappa score: 0.693
  670. -> test with 'KNN'
  671. KNN tn, fp: 588, 12
  672. KNN fn, tp: 14, 13
  673. KNN f1 score: 0.500
  674. KNN cohens kappa score: 0.478
  675. ### Exercise is done.
  676. -----[ LR ]-----
  677. maximum:
  678. LR tn, fp: 594, 75
  679. LR fn, tp: 27, 16
  680. LR f1 score: 0.352
  681. LR cohens kappa score: 0.307
  682. LR average precision score: 0.269
  683. average:
  684. LR tn, fp: 561.24, 41.16
  685. LR fn, tp: 21.16, 9.04
  686. LR f1 score: 0.223
  687. LR cohens kappa score: 0.175
  688. LR average precision score: 0.184
  689. minimum:
  690. LR tn, fp: 528, 9
  691. LR fn, tp: 15, 3
  692. LR f1 score: 0.085
  693. LR cohens kappa score: 0.033
  694. LR average precision score: 0.113
  695. -----[ RF ]-----
  696. maximum:
  697. RF tn, fp: 603, 8
  698. RF fn, tp: 14, 26
  699. RF f1 score: 0.867
  700. RF cohens kappa score: 0.860
  701. average:
  702. RF tn, fp: 598.8, 3.6
  703. RF fn, tp: 8.6, 21.6
  704. RF f1 score: 0.779
  705. RF cohens kappa score: 0.769
  706. minimum:
  707. RF tn, fp: 594, 0
  708. RF fn, tp: 5, 17
  709. RF f1 score: 0.694
  710. RF cohens kappa score: 0.682
  711. -----[ GB ]-----
  712. maximum:
  713. GB tn, fp: 603, 9
  714. GB fn, tp: 12, 27
  715. GB f1 score: 0.900
  716. GB cohens kappa score: 0.895
  717. average:
  718. GB tn, fp: 597.88, 4.52
  719. GB fn, tp: 6.6, 23.6
  720. GB f1 score: 0.809
  721. GB cohens kappa score: 0.800
  722. minimum:
  723. GB tn, fp: 594, 0
  724. GB fn, tp: 4, 18
  725. GB f1 score: 0.706
  726. GB cohens kappa score: 0.693
  727. -----[ KNN ]-----
  728. maximum:
  729. KNN tn, fp: 598, 23
  730. KNN fn, tp: 15, 25
  731. KNN f1 score: 0.689
  732. KNN cohens kappa score: 0.673
  733. average:
  734. KNN tn, fp: 588.4, 14.0
  735. KNN fn, tp: 11.16, 19.04
  736. KNN f1 score: 0.601
  737. KNN cohens kappa score: 0.580
  738. minimum:
  739. KNN tn, fp: 580, 5
  740. KNN fn, tp: 6, 13
  741. KNN f1 score: 0.479
  742. KNN cohens kappa score: 0.448