folding_flare-F.log 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899
  1. ///////////////////////////////////////////
  2. // Running CTAB-GAN on folding_flare-F
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_flare-F'
  5. from pickle file
  6. non empty cut in data_input/folding_flare-F! (23 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:00<00:05, 1.78it/s] 20%|██ | 2/10 [00:01<00:04, 1.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.87it/s] 40%|████ | 4/10 [00:02<00:03, 1.86it/s] 50%|█████ | 5/10 [00:02<00:02, 1.90it/s] 60%|██████ | 6/10 [00:03<00:02, 1.90it/s] 70%|███████ | 7/10 [00:03<00:01, 1.90it/s] 80%|████████ | 8/10 [00:04<00:01, 1.93it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s]
  17. -> create 784 synthetic samples
  18. -> test with 'LR'
  19. LR tn, fp: 188, 17
  20. LR fn, tp: 7, 2
  21. LR f1 score: 0.143
  22. LR cohens kappa score: 0.091
  23. LR average precision score: 0.120
  24. -> test with 'RF'
  25. RF tn, fp: 197, 8
  26. RF fn, tp: 8, 1
  27. RF f1 score: 0.111
  28. RF cohens kappa score: 0.072
  29. -> test with 'GB'
  30. GB tn, fp: 200, 5
  31. GB fn, tp: 8, 1
  32. GB f1 score: 0.133
  33. GB cohens kappa score: 0.103
  34. -> test with 'KNN'
  35. KNN tn, fp: 177, 28
  36. KNN fn, tp: 5, 4
  37. KNN f1 score: 0.195
  38. KNN cohens kappa score: 0.139
  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:00<00:04, 1.81it/s] 20%|██ | 2/10 [00:01<00:04, 1.68it/s] 30%|███ | 3/10 [00:01<00:04, 1.73it/s] 40%|████ | 4/10 [00:02<00:03, 1.75it/s] 50%|█████ | 5/10 [00:03<00:03, 1.61it/s] 60%|██████ | 6/10 [00:03<00:02, 1.58it/s] 70%|███████ | 7/10 [00:04<00:01, 1.63it/s] 80%|████████ | 8/10 [00:04<00:01, 1.70it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.70it/s] 100%|██████████| 10/10 [00:06<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.66it/s]
  43. -> create 784 synthetic samples
  44. -> test with 'LR'
  45. LR tn, fp: 196, 9
  46. LR fn, tp: 3, 6
  47. LR f1 score: 0.500
  48. LR cohens kappa score: 0.472
  49. LR average precision score: 0.424
  50. -> test with 'RF'
  51. RF tn, fp: 201, 4
  52. RF fn, tp: 7, 2
  53. RF f1 score: 0.267
  54. RF cohens kappa score: 0.241
  55. -> test with 'GB'
  56. GB tn, fp: 203, 2
  57. GB fn, tp: 7, 2
  58. GB f1 score: 0.308
  59. GB cohens kappa score: 0.289
  60. -> test with 'KNN'
  61. KNN tn, fp: 188, 17
  62. KNN fn, tp: 3, 6
  63. KNN f1 score: 0.375
  64. KNN cohens kappa score: 0.335
  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:04<00:36, 4.05s/it] 20%|██ | 2/10 [00:05<00:20, 2.58s/it] 30%|███ | 3/10 [00:06<00:11, 1.68s/it] 40%|████ | 4/10 [00:06<00:07, 1.33s/it] 50%|█████ | 5/10 [00:07<00:05, 1.18s/it] 60%|██████ | 6/10 [00:08<00:03, 1.03it/s] 70%|███████ | 7/10 [00:09<00:02, 1.13it/s] 80%|████████ | 8/10 [00:09<00:01, 1.26it/s] 90%|█████████ | 9/10 [00:10<00:00, 1.40it/s] 100%|██████████| 10/10 [00:10<00:00, 1.51it/s] 100%|██████████| 10/10 [00:10<00:00, 1.09s/it]
  69. -> create 784 synthetic samples
  70. -> test with 'LR'
  71. LR tn, fp: 179, 26
  72. LR fn, tp: 2, 7
  73. LR f1 score: 0.333
  74. LR cohens kappa score: 0.286
  75. LR average precision score: 0.285
  76. -> test with 'RF'
  77. RF tn, fp: 203, 2
  78. RF fn, tp: 9, 0
  79. RF f1 score: 0.000
  80. RF cohens kappa score: -0.016
  81. -> test with 'GB'
  82. GB tn, fp: 204, 1
  83. GB fn, tp: 8, 1
  84. GB f1 score: 0.182
  85. GB cohens kappa score: 0.169
  86. -> test with 'KNN'
  87. KNN tn, fp: 183, 22
  88. KNN fn, tp: 4, 5
  89. KNN f1 score: 0.278
  90. KNN cohens kappa score: 0.229
  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:00<00:04, 1.89it/s] 20%|██ | 2/10 [00:01<00:04, 1.94it/s] 30%|███ | 3/10 [00:01<00:03, 1.88it/s] 40%|████ | 4/10 [00:02<00:03, 1.82it/s] 50%|█████ | 5/10 [00:02<00:02, 1.68it/s] 60%|██████ | 6/10 [00:03<00:02, 1.71it/s] 70%|███████ | 7/10 [00:03<00:01, 1.75it/s] 80%|████████ | 8/10 [00:04<00:01, 1.65it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.56it/s] 100%|██████████| 10/10 [00:05<00:00, 1.63it/s] 100%|██████████| 10/10 [00:05<00:00, 1.69it/s]
  95. -> create 784 synthetic samples
  96. -> test with 'LR'
  97. LR tn, fp: 185, 20
  98. LR fn, tp: 0, 9
  99. LR f1 score: 0.474
  100. LR cohens kappa score: 0.438
  101. LR average precision score: 0.642
  102. -> test with 'RF'
  103. RF tn, fp: 204, 1
  104. RF fn, tp: 9, 0
  105. RF f1 score: 0.000
  106. RF cohens kappa score: -0.008
  107. -> test with 'GB'
  108. GB tn, fp: 204, 1
  109. GB fn, tp: 7, 2
  110. GB f1 score: 0.333
  111. GB cohens kappa score: 0.319
  112. -> test with 'KNN'
  113. KNN tn, fp: 193, 12
  114. KNN fn, tp: 4, 5
  115. KNN f1 score: 0.385
  116. KNN cohens kappa score: 0.349
  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:00<00:04, 1.91it/s] 20%|██ | 2/10 [00:01<00:04, 1.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.86it/s] 40%|████ | 4/10 [00:02<00:03, 1.85it/s] 50%|█████ | 5/10 [00:02<00:02, 1.86it/s] 60%|██████ | 6/10 [00:03<00:02, 1.81it/s] 70%|███████ | 7/10 [00:03<00:01, 1.79it/s] 80%|████████ | 8/10 [00:04<00:01, 1.80it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.81it/s] 100%|██████████| 10/10 [00:05<00:00, 1.82it/s] 100%|██████████| 10/10 [00:05<00:00, 1.83it/s]
  121. -> create 784 synthetic samples
  122. -> test with 'LR'
  123. LR tn, fp: 183, 20
  124. LR fn, tp: 3, 4
  125. LR f1 score: 0.258
  126. LR cohens kappa score: 0.218
  127. LR average precision score: 0.177
  128. -> test with 'RF'
  129. RF tn, fp: 199, 4
  130. RF fn, tp: 7, 0
  131. RF f1 score: 0.000
  132. RF cohens kappa score: -0.025
  133. -> test with 'GB'
  134. GB tn, fp: 200, 3
  135. GB fn, tp: 6, 1
  136. GB f1 score: 0.182
  137. GB cohens kappa score: 0.161
  138. -> test with 'KNN'
  139. KNN tn, fp: 185, 18
  140. KNN fn, tp: 4, 3
  141. KNN f1 score: 0.214
  142. KNN cohens kappa score: 0.173
  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:00<00:05, 1.61it/s] 20%|██ | 2/10 [00:01<00:04, 1.76it/s] 30%|███ | 3/10 [00:01<00:03, 1.80it/s] 40%|████ | 4/10 [00:02<00:03, 1.86it/s] 50%|█████ | 5/10 [00:02<00:02, 1.88it/s] 60%|██████ | 6/10 [00:03<00:02, 1.88it/s] 70%|███████ | 7/10 [00:03<00:01, 1.86it/s] 80%|████████ | 8/10 [00:04<00:01, 1.85it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.85it/s] 100%|██████████| 10/10 [00:05<00:00, 1.84it/s] 100%|██████████| 10/10 [00:05<00:00, 1.84it/s]
  150. -> create 784 synthetic samples
  151. -> test with 'LR'
  152. LR tn, fp: 185, 20
  153. LR fn, tp: 2, 7
  154. LR f1 score: 0.389
  155. LR cohens kappa score: 0.348
  156. LR average precision score: 0.427
  157. -> test with 'RF'
  158. RF tn, fp: 202, 3
  159. RF fn, tp: 7, 2
  160. RF f1 score: 0.286
  161. RF cohens kappa score: 0.264
  162. -> test with 'GB'
  163. GB tn, fp: 200, 5
  164. GB fn, tp: 7, 2
  165. GB f1 score: 0.250
  166. GB cohens kappa score: 0.221
  167. -> test with 'KNN'
  168. KNN tn, fp: 188, 17
  169. KNN fn, tp: 3, 6
  170. KNN f1 score: 0.375
  171. KNN cohens kappa score: 0.335
  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:00<00:05, 1.63it/s] 20%|██ | 2/10 [00:01<00:04, 1.74it/s] 30%|███ | 3/10 [00:01<00:04, 1.74it/s] 40%|████ | 4/10 [00:02<00:03, 1.74it/s] 50%|█████ | 5/10 [00:02<00:02, 1.79it/s] 60%|██████ | 6/10 [00:03<00:02, 1.78it/s] 70%|███████ | 7/10 [00:03<00:01, 1.79it/s] 80%|████████ | 8/10 [00:04<00:01, 1.81it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.83it/s] 100%|██████████| 10/10 [00:05<00:00, 1.88it/s] 100%|██████████| 10/10 [00:05<00:00, 1.81it/s]
  176. -> create 784 synthetic samples
  177. -> test with 'LR'
  178. LR tn, fp: 193, 12
  179. LR fn, tp: 5, 4
  180. LR f1 score: 0.320
  181. LR cohens kappa score: 0.281
  182. LR average precision score: 0.275
  183. -> test with 'RF'
  184. RF tn, fp: 202, 3
  185. RF fn, tp: 9, 0
  186. RF f1 score: 0.000
  187. RF cohens kappa score: -0.021
  188. -> test with 'GB'
  189. GB tn, fp: 203, 2
  190. GB fn, tp: 8, 1
  191. GB f1 score: 0.167
  192. GB cohens kappa score: 0.149
  193. -> test with 'KNN'
  194. KNN tn, fp: 193, 12
  195. KNN fn, tp: 7, 2
  196. KNN f1 score: 0.174
  197. KNN cohens kappa score: 0.129
  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:00<00:04, 1.92it/s] 20%|██ | 2/10 [00:01<00:04, 1.89it/s] 30%|███ | 3/10 [00:01<00:03, 1.89it/s] 40%|████ | 4/10 [00:02<00:03, 1.90it/s] 50%|█████ | 5/10 [00:02<00:02, 1.92it/s] 60%|██████ | 6/10 [00:03<00:02, 1.91it/s] 70%|███████ | 7/10 [00:03<00:01, 1.89it/s] 80%|████████ | 8/10 [00:04<00:01, 1.90it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.88it/s] 100%|██████████| 10/10 [00:05<00:00, 1.85it/s] 100%|██████████| 10/10 [00:05<00:00, 1.88it/s]
  202. -> create 784 synthetic samples
  203. -> test with 'LR'
  204. LR tn, fp: 177, 28
  205. LR fn, tp: 2, 7
  206. LR f1 score: 0.318
  207. LR cohens kappa score: 0.269
  208. LR average precision score: 0.282
  209. -> test with 'RF'
  210. RF tn, fp: 203, 2
  211. RF fn, tp: 8, 1
  212. RF f1 score: 0.167
  213. RF cohens kappa score: 0.149
  214. -> test with 'GB'
  215. GB tn, fp: 204, 1
  216. GB fn, tp: 8, 1
  217. GB f1 score: 0.182
  218. GB cohens kappa score: 0.169
  219. -> test with 'KNN'
  220. KNN tn, fp: 186, 19
  221. KNN fn, tp: 5, 4
  222. KNN f1 score: 0.250
  223. KNN cohens kappa score: 0.202
  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:00<00:04, 1.88it/s] 20%|██ | 2/10 [00:01<00:04, 1.94it/s] 30%|███ | 3/10 [00:01<00:03, 1.89it/s] 40%|████ | 4/10 [00:02<00:03, 1.95it/s] 50%|█████ | 5/10 [00:02<00:02, 1.96it/s] 60%|██████ | 6/10 [00:03<00:02, 1.96it/s] 70%|███████ | 7/10 [00:03<00:01, 1.91it/s] 80%|████████ | 8/10 [00:04<00:01, 1.91it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.88it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  228. -> create 784 synthetic samples
  229. -> test with 'LR'
  230. LR tn, fp: 200, 5
  231. LR fn, tp: 6, 3
  232. LR f1 score: 0.353
  233. LR cohens kappa score: 0.326
  234. LR average precision score: 0.242
  235. -> test with 'RF'
  236. RF tn, fp: 202, 3
  237. RF fn, tp: 7, 2
  238. RF f1 score: 0.286
  239. RF cohens kappa score: 0.264
  240. -> test with 'GB'
  241. GB tn, fp: 204, 1
  242. GB fn, tp: 8, 1
  243. GB f1 score: 0.182
  244. GB cohens kappa score: 0.169
  245. -> test with 'KNN'
  246. KNN tn, fp: 192, 13
  247. KNN fn, tp: 5, 4
  248. KNN f1 score: 0.308
  249. KNN cohens kappa score: 0.267
  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:00<00:04, 1.96it/s] 20%|██ | 2/10 [00:01<00:04, 1.98it/s] 30%|███ | 3/10 [00:01<00:03, 1.93it/s] 40%|████ | 4/10 [00:02<00:03, 1.90it/s] 50%|█████ | 5/10 [00:02<00:02, 1.92it/s] 60%|██████ | 6/10 [00:03<00:02, 1.93it/s] 70%|███████ | 7/10 [00:03<00:01, 1.96it/s] 80%|████████ | 8/10 [00:04<00:01, 1.96it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s]
  254. -> create 784 synthetic samples
  255. -> test with 'LR'
  256. LR tn, fp: 173, 30
  257. LR fn, tp: 0, 7
  258. LR f1 score: 0.318
  259. LR cohens kappa score: 0.278
  260. LR average precision score: 0.389
  261. -> test with 'RF'
  262. RF tn, fp: 202, 1
  263. RF fn, tp: 6, 1
  264. RF f1 score: 0.222
  265. RF cohens kappa score: 0.211
  266. -> test with 'GB'
  267. GB tn, fp: 201, 2
  268. GB fn, tp: 6, 1
  269. GB f1 score: 0.200
  270. GB cohens kappa score: 0.184
  271. -> test with 'KNN'
  272. KNN tn, fp: 179, 24
  273. KNN fn, tp: 2, 5
  274. KNN f1 score: 0.278
  275. KNN cohens kappa score: 0.237
  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:00<00:04, 2.06it/s] 20%|██ | 2/10 [00:01<00:04, 1.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.94it/s] 40%|████ | 4/10 [00:02<00:03, 1.94it/s] 50%|█████ | 5/10 [00:02<00:02, 2.00it/s] 60%|██████ | 6/10 [00:03<00:01, 2.01it/s] 70%|███████ | 7/10 [00:03<00:01, 1.99it/s] 80%|████████ | 8/10 [00:04<00:01, 1.93it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.96it/s]
  283. -> create 784 synthetic samples
  284. -> test with 'LR'
  285. LR tn, fp: 182, 23
  286. LR fn, tp: 1, 8
  287. LR f1 score: 0.400
  288. LR cohens kappa score: 0.358
  289. LR average precision score: 0.620
  290. -> test with 'RF'
  291. RF tn, fp: 204, 1
  292. RF fn, tp: 9, 0
  293. RF f1 score: 0.000
  294. RF cohens kappa score: -0.008
  295. -> test with 'GB'
  296. GB tn, fp: 205, 0
  297. GB fn, tp: 9, 0
  298. GB f1 score: 0.000
  299. GB cohens kappa score: 0.000
  300. -> test with 'KNN'
  301. KNN tn, fp: 193, 12
  302. KNN fn, tp: 3, 6
  303. KNN f1 score: 0.444
  304. KNN cohens kappa score: 0.411
  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:00<00:04, 1.92it/s] 20%|██ | 2/10 [00:01<00:04, 1.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.99it/s] 40%|████ | 4/10 [00:02<00:03, 1.97it/s] 50%|█████ | 5/10 [00:02<00:02, 1.94it/s] 60%|██████ | 6/10 [00:03<00:02, 1.94it/s] 70%|███████ | 7/10 [00:03<00:01, 1.97it/s] 80%|████████ | 8/10 [00:04<00:01, 1.96it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.96it/s]
  309. -> create 784 synthetic samples
  310. -> test with 'LR'
  311. LR tn, fp: 176, 29
  312. LR fn, tp: 3, 6
  313. LR f1 score: 0.273
  314. LR cohens kappa score: 0.221
  315. LR average precision score: 0.249
  316. -> test with 'RF'
  317. RF tn, fp: 198, 7
  318. RF fn, tp: 7, 2
  319. RF f1 score: 0.222
  320. RF cohens kappa score: 0.188
  321. -> test with 'GB'
  322. GB tn, fp: 197, 8
  323. GB fn, tp: 5, 4
  324. GB f1 score: 0.381
  325. GB cohens kappa score: 0.350
  326. -> test with 'KNN'
  327. KNN tn, fp: 179, 26
  328. KNN fn, tp: 5, 4
  329. KNN f1 score: 0.205
  330. KNN cohens kappa score: 0.150
  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:00<00:04, 1.89it/s] 20%|██ | 2/10 [00:01<00:04, 1.91it/s] 30%|███ | 3/10 [00:01<00:03, 1.89it/s] 40%|████ | 4/10 [00:02<00:03, 1.92it/s] 50%|█████ | 5/10 [00:02<00:02, 1.97it/s] 60%|██████ | 6/10 [00:03<00:02, 1.99it/s] 70%|███████ | 7/10 [00:03<00:01, 1.99it/s] 80%|████████ | 8/10 [00:04<00:01, 1.97it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.91it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  335. -> create 784 synthetic samples
  336. -> test with 'LR'
  337. LR tn, fp: 182, 23
  338. LR fn, tp: 2, 7
  339. LR f1 score: 0.359
  340. LR cohens kappa score: 0.315
  341. LR average precision score: 0.297
  342. -> test with 'RF'
  343. RF tn, fp: 203, 2
  344. RF fn, tp: 9, 0
  345. RF f1 score: 0.000
  346. RF cohens kappa score: -0.016
  347. -> test with 'GB'
  348. GB tn, fp: 204, 1
  349. GB fn, tp: 9, 0
  350. GB f1 score: 0.000
  351. GB cohens kappa score: -0.008
  352. -> test with 'KNN'
  353. KNN tn, fp: 186, 19
  354. KNN fn, tp: 2, 7
  355. KNN f1 score: 0.400
  356. KNN cohens kappa score: 0.360
  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:00<00:04, 1.87it/s] 20%|██ | 2/10 [00:01<00:04, 1.88it/s] 30%|███ | 3/10 [00:01<00:03, 1.84it/s] 40%|████ | 4/10 [00:02<00:03, 1.88it/s] 50%|█████ | 5/10 [00:02<00:02, 1.94it/s] 60%|██████ | 6/10 [00:03<00:02, 1.93it/s] 70%|███████ | 7/10 [00:03<00:01, 1.91it/s] 80%|████████ | 8/10 [00:04<00:01, 1.94it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.90it/s]
  361. -> create 784 synthetic samples
  362. -> test with 'LR'
  363. LR tn, fp: 188, 17
  364. LR fn, tp: 4, 5
  365. LR f1 score: 0.323
  366. LR cohens kappa score: 0.280
  367. LR average precision score: 0.308
  368. -> test with 'RF'
  369. RF tn, fp: 204, 1
  370. RF fn, tp: 9, 0
  371. RF f1 score: 0.000
  372. RF cohens kappa score: -0.008
  373. -> test with 'GB'
  374. GB tn, fp: 205, 0
  375. GB fn, tp: 9, 0
  376. GB f1 score: 0.000
  377. GB cohens kappa score: 0.000
  378. -> test with 'KNN'
  379. KNN tn, fp: 190, 15
  380. KNN fn, tp: 3, 6
  381. KNN f1 score: 0.400
  382. KNN cohens kappa score: 0.362
  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:00<00:04, 1.98it/s] 20%|██ | 2/10 [00:01<00:04, 1.98it/s] 30%|███ | 3/10 [00:01<00:03, 2.02it/s] 40%|████ | 4/10 [00:02<00:03, 1.96it/s] 50%|█████ | 5/10 [00:02<00:02, 1.93it/s] 60%|██████ | 6/10 [00:03<00:02, 1.91it/s] 70%|███████ | 7/10 [00:03<00:01, 1.90it/s] 80%|████████ | 8/10 [00:04<00:01, 1.88it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s]
  387. -> create 784 synthetic samples
  388. -> test with 'LR'
  389. LR tn, fp: 169, 34
  390. LR fn, tp: 2, 5
  391. LR f1 score: 0.217
  392. LR cohens kappa score: 0.171
  393. LR average precision score: 0.242
  394. -> test with 'RF'
  395. RF tn, fp: 198, 5
  396. RF fn, tp: 7, 0
  397. RF f1 score: 0.000
  398. RF cohens kappa score: -0.029
  399. -> test with 'GB'
  400. GB tn, fp: 199, 4
  401. GB fn, tp: 6, 1
  402. GB f1 score: 0.167
  403. GB cohens kappa score: 0.143
  404. -> test with 'KNN'
  405. KNN tn, fp: 187, 16
  406. KNN fn, tp: 5, 2
  407. KNN f1 score: 0.160
  408. KNN cohens kappa score: 0.118
  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:00<00:04, 1.87it/s] 20%|██ | 2/10 [00:01<00:04, 1.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.87it/s] 40%|████ | 4/10 [00:02<00:03, 1.95it/s] 50%|█████ | 5/10 [00:02<00:02, 1.99it/s] 60%|██████ | 6/10 [00:03<00:02, 1.99it/s] 70%|███████ | 7/10 [00:03<00:01, 1.95it/s] 80%|████████ | 8/10 [00:04<00:01, 1.92it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.91it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  416. -> create 784 synthetic samples
  417. -> test with 'LR'
  418. LR tn, fp: 175, 30
  419. LR fn, tp: 4, 5
  420. LR f1 score: 0.227
  421. LR cohens kappa score: 0.172
  422. LR average precision score: 0.164
  423. -> test with 'RF'
  424. RF tn, fp: 198, 7
  425. RF fn, tp: 9, 0
  426. RF f1 score: 0.000
  427. RF cohens kappa score: -0.038
  428. -> test with 'GB'
  429. GB tn, fp: 201, 4
  430. GB fn, tp: 9, 0
  431. GB f1 score: 0.000
  432. GB cohens kappa score: -0.027
  433. -> test with 'KNN'
  434. KNN tn, fp: 188, 17
  435. KNN fn, tp: 7, 2
  436. KNN f1 score: 0.143
  437. KNN cohens kappa score: 0.091
  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:00<00:04, 2.04it/s] 20%|██ | 2/10 [00:00<00:03, 2.06it/s] 30%|███ | 3/10 [00:01<00:03, 2.01it/s] 40%|████ | 4/10 [00:01<00:03, 2.00it/s] 50%|█████ | 5/10 [00:02<00:02, 1.99it/s] 60%|██████ | 6/10 [00:03<00:02, 1.95it/s] 70%|███████ | 7/10 [00:03<00:01, 1.93it/s] 80%|████████ | 8/10 [00:04<00:01, 1.91it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.96it/s]
  442. -> create 784 synthetic samples
  443. -> test with 'LR'
  444. LR tn, fp: 197, 8
  445. LR fn, tp: 3, 6
  446. LR f1 score: 0.522
  447. LR cohens kappa score: 0.496
  448. LR average precision score: 0.531
  449. -> test with 'RF'
  450. RF tn, fp: 202, 3
  451. RF fn, tp: 9, 0
  452. RF f1 score: 0.000
  453. RF cohens kappa score: -0.021
  454. -> test with 'GB'
  455. GB tn, fp: 205, 0
  456. GB fn, tp: 9, 0
  457. GB f1 score: 0.000
  458. GB cohens kappa score: 0.000
  459. -> test with 'KNN'
  460. KNN tn, fp: 189, 16
  461. KNN fn, tp: 7, 2
  462. KNN f1 score: 0.148
  463. KNN cohens kappa score: 0.098
  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:00<00:04, 1.98it/s] 20%|██ | 2/10 [00:01<00:04, 1.94it/s] 30%|███ | 3/10 [00:01<00:03, 1.91it/s] 40%|████ | 4/10 [00:02<00:03, 1.90it/s] 50%|█████ | 5/10 [00:02<00:02, 1.91it/s] 60%|██████ | 6/10 [00:03<00:02, 1.96it/s] 70%|███████ | 7/10 [00:03<00:01, 1.96it/s] 80%|████████ | 8/10 [00:04<00:01, 1.95it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  468. -> create 784 synthetic samples
  469. -> test with 'LR'
  470. LR tn, fp: 194, 11
  471. LR fn, tp: 6, 3
  472. LR f1 score: 0.261
  473. LR cohens kappa score: 0.221
  474. LR average precision score: 0.214
  475. -> test with 'RF'
  476. RF tn, fp: 204, 1
  477. RF fn, tp: 7, 2
  478. RF f1 score: 0.333
  479. RF cohens kappa score: 0.319
  480. -> test with 'GB'
  481. GB tn, fp: 203, 2
  482. GB fn, tp: 8, 1
  483. GB f1 score: 0.167
  484. GB cohens kappa score: 0.149
  485. -> test with 'KNN'
  486. KNN tn, fp: 190, 15
  487. KNN fn, tp: 7, 2
  488. KNN f1 score: 0.154
  489. KNN cohens kappa score: 0.105
  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:00<00:04, 1.87it/s] 20%|██ | 2/10 [00:01<00:04, 1.89it/s] 30%|███ | 3/10 [00:01<00:03, 1.94it/s] 40%|████ | 4/10 [00:02<00:03, 1.91it/s] 50%|█████ | 5/10 [00:02<00:02, 1.93it/s] 60%|██████ | 6/10 [00:03<00:02, 1.92it/s] 70%|███████ | 7/10 [00:03<00:01, 1.92it/s] 80%|████████ | 8/10 [00:04<00:01, 1.94it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  494. -> create 784 synthetic samples
  495. -> test with 'LR'
  496. LR tn, fp: 186, 19
  497. LR fn, tp: 3, 6
  498. LR f1 score: 0.353
  499. LR cohens kappa score: 0.310
  500. LR average precision score: 0.381
  501. -> test with 'RF'
  502. RF tn, fp: 203, 2
  503. RF fn, tp: 9, 0
  504. RF f1 score: 0.000
  505. RF cohens kappa score: -0.016
  506. -> test with 'GB'
  507. GB tn, fp: 201, 4
  508. GB fn, tp: 7, 2
  509. GB f1 score: 0.267
  510. GB cohens kappa score: 0.241
  511. -> test with 'KNN'
  512. KNN tn, fp: 192, 13
  513. KNN fn, tp: 5, 4
  514. KNN f1 score: 0.308
  515. KNN cohens kappa score: 0.267
  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:00<00:04, 1.87it/s] 20%|██ | 2/10 [00:01<00:04, 1.92it/s] 30%|███ | 3/10 [00:01<00:03, 1.99it/s] 40%|████ | 4/10 [00:01<00:02, 2.04it/s] 50%|█████ | 5/10 [00:02<00:02, 1.90it/s] 60%|██████ | 6/10 [00:03<00:02, 1.87it/s] 70%|███████ | 7/10 [00:03<00:01, 1.87it/s] 80%|████████ | 8/10 [00:04<00:01, 1.90it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s]
  520. -> create 784 synthetic samples
  521. -> test with 'LR'
  522. LR tn, fp: 194, 9
  523. LR fn, tp: 1, 6
  524. LR f1 score: 0.545
  525. LR cohens kappa score: 0.524
  526. LR average precision score: 0.624
  527. -> test with 'RF'
  528. RF tn, fp: 201, 2
  529. RF fn, tp: 7, 0
  530. RF f1 score: 0.000
  531. RF cohens kappa score: -0.015
  532. -> test with 'GB'
  533. GB tn, fp: 202, 1
  534. GB fn, tp: 7, 0
  535. GB f1 score: 0.000
  536. GB cohens kappa score: -0.008
  537. -> test with 'KNN'
  538. KNN tn, fp: 185, 18
  539. KNN fn, tp: 3, 4
  540. KNN f1 score: 0.276
  541. KNN cohens kappa score: 0.237
  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:00<00:04, 2.12it/s] 20%|██ | 2/10 [00:00<00:04, 1.98it/s] 30%|███ | 3/10 [00:01<00:03, 1.93it/s] 40%|████ | 4/10 [00:02<00:03, 1.92it/s] 50%|█████ | 5/10 [00:02<00:02, 1.91it/s] 60%|██████ | 6/10 [00:03<00:02, 1.90it/s] 70%|███████ | 7/10 [00:03<00:01, 1.90it/s] 80%|████████ | 8/10 [00:04<00:01, 1.93it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.96it/s] 100%|██████████| 10/10 [00:05<00:00, 2.00it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s]
  549. -> create 784 synthetic samples
  550. -> test with 'LR'
  551. LR tn, fp: 182, 23
  552. LR fn, tp: 4, 5
  553. LR f1 score: 0.270
  554. LR cohens kappa score: 0.221
  555. LR average precision score: 0.214
  556. -> test with 'RF'
  557. RF tn, fp: 204, 1
  558. RF fn, tp: 8, 1
  559. RF f1 score: 0.182
  560. RF cohens kappa score: 0.169
  561. -> test with 'GB'
  562. GB tn, fp: 202, 3
  563. GB fn, tp: 8, 1
  564. GB f1 score: 0.154
  565. GB cohens kappa score: 0.131
  566. -> test with 'KNN'
  567. KNN tn, fp: 186, 19
  568. KNN fn, tp: 3, 6
  569. KNN f1 score: 0.353
  570. KNN cohens kappa score: 0.310
  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:00<00:04, 1.91it/s] 20%|██ | 2/10 [00:01<00:04, 1.98it/s] 30%|███ | 3/10 [00:01<00:03, 1.93it/s] 40%|████ | 4/10 [00:02<00:03, 1.91it/s] 50%|█████ | 5/10 [00:02<00:02, 1.90it/s] 60%|██████ | 6/10 [00:03<00:02, 1.93it/s] 70%|███████ | 7/10 [00:03<00:01, 1.91it/s] 80%|████████ | 8/10 [00:04<00:01, 1.90it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  575. -> create 784 synthetic samples
  576. -> test with 'LR'
  577. LR tn, fp: 186, 19
  578. LR fn, tp: 3, 6
  579. LR f1 score: 0.353
  580. LR cohens kappa score: 0.310
  581. LR average precision score: 0.327
  582. -> test with 'RF'
  583. RF tn, fp: 204, 1
  584. RF fn, tp: 9, 0
  585. RF f1 score: 0.000
  586. RF cohens kappa score: -0.008
  587. -> test with 'GB'
  588. GB tn, fp: 205, 0
  589. GB fn, tp: 7, 2
  590. GB f1 score: 0.364
  591. GB cohens kappa score: 0.354
  592. -> test with 'KNN'
  593. KNN tn, fp: 191, 14
  594. KNN fn, tp: 5, 4
  595. KNN f1 score: 0.296
  596. KNN cohens kappa score: 0.254
  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:00<00:04, 1.93it/s] 20%|██ | 2/10 [00:01<00:04, 1.97it/s] 30%|███ | 3/10 [00:01<00:03, 1.98it/s] 40%|████ | 4/10 [00:02<00:03, 1.96it/s] 50%|█████ | 5/10 [00:02<00:02, 1.93it/s] 60%|██████ | 6/10 [00:03<00:02, 1.94it/s] 70%|███████ | 7/10 [00:03<00:01, 1.94it/s] 80%|████████ | 8/10 [00:04<00:01, 1.99it/s] 90%|█████████ | 9/10 [00:04<00:00, 2.00it/s] 100%|██████████| 10/10 [00:05<00:00, 2.04it/s] 100%|██████████| 10/10 [00:05<00:00, 1.99it/s]
  601. -> create 784 synthetic samples
  602. -> test with 'LR'
  603. LR tn, fp: 184, 21
  604. LR fn, tp: 0, 9
  605. LR f1 score: 0.462
  606. LR cohens kappa score: 0.424
  607. LR average precision score: 0.427
  608. -> test with 'RF'
  609. RF tn, fp: 205, 0
  610. RF fn, tp: 8, 1
  611. RF f1 score: 0.200
  612. RF cohens kappa score: 0.193
  613. -> test with 'GB'
  614. GB tn, fp: 205, 0
  615. GB fn, tp: 7, 2
  616. GB f1 score: 0.364
  617. GB cohens kappa score: 0.354
  618. -> test with 'KNN'
  619. KNN tn, fp: 182, 23
  620. KNN fn, tp: 1, 8
  621. KNN f1 score: 0.400
  622. KNN cohens kappa score: 0.358
  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:00<00:04, 1.83it/s] 20%|██ | 2/10 [00:01<00:04, 1.86it/s] 30%|███ | 3/10 [00:01<00:03, 1.86it/s] 40%|████ | 4/10 [00:02<00:03, 1.87it/s] 50%|█████ | 5/10 [00:02<00:02, 1.89it/s] 60%|██████ | 6/10 [00:03<00:02, 1.85it/s] 70%|███████ | 7/10 [00:03<00:01, 1.89it/s] 80%|████████ | 8/10 [00:04<00:01, 1.91it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.90it/s]
  627. -> create 784 synthetic samples
  628. -> test with 'LR'
  629. LR tn, fp: 188, 17
  630. LR fn, tp: 5, 4
  631. LR f1 score: 0.267
  632. LR cohens kappa score: 0.221
  633. LR average precision score: 0.275
  634. -> test with 'RF'
  635. RF tn, fp: 202, 3
  636. RF fn, tp: 9, 0
  637. RF f1 score: 0.000
  638. RF cohens kappa score: -0.021
  639. -> test with 'GB'
  640. GB tn, fp: 202, 3
  641. GB fn, tp: 9, 0
  642. GB f1 score: 0.000
  643. GB cohens kappa score: -0.021
  644. -> test with 'KNN'
  645. KNN tn, fp: 195, 10
  646. KNN fn, tp: 7, 2
  647. KNN f1 score: 0.190
  648. KNN cohens kappa score: 0.150
  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:00<00:04, 2.07it/s] 20%|██ | 2/10 [00:01<00:04, 1.96it/s] 30%|███ | 3/10 [00:01<00:03, 1.91it/s] 40%|████ | 4/10 [00:02<00:03, 1.97it/s] 50%|█████ | 5/10 [00:02<00:02, 1.96it/s] 60%|██████ | 6/10 [00:03<00:02, 1.94it/s] 70%|███████ | 7/10 [00:03<00:01, 1.92it/s] 80%|████████ | 8/10 [00:04<00:01, 1.90it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s]
  653. -> create 784 synthetic samples
  654. -> test with 'LR'
  655. LR tn, fp: 182, 21
  656. LR fn, tp: 2, 5
  657. LR f1 score: 0.303
  658. LR cohens kappa score: 0.264
  659. LR average precision score: 0.283
  660. -> test with 'RF'
  661. RF tn, fp: 197, 6
  662. RF fn, tp: 7, 0
  663. RF f1 score: 0.000
  664. RF cohens kappa score: -0.032
  665. -> test with 'GB'
  666. GB tn, fp: 199, 4
  667. GB fn, tp: 6, 1
  668. GB f1 score: 0.167
  669. GB cohens kappa score: 0.143
  670. -> test with 'KNN'
  671. KNN tn, fp: 188, 15
  672. KNN fn, tp: 6, 1
  673. KNN f1 score: 0.087
  674. KNN cohens kappa score: 0.043
  675. ### Exercise is done.
  676. -----[ LR ]-----
  677. maximum:
  678. LR tn, fp: 200, 34
  679. LR fn, tp: 7, 9
  680. LR f1 score: 0.545
  681. LR cohens kappa score: 0.524
  682. LR average precision score: 0.642
  683. average:
  684. LR tn, fp: 184.96, 19.64
  685. LR fn, tp: 2.92, 5.68
  686. LR f1 score: 0.342
  687. LR cohens kappa score: 0.301
  688. LR average precision score: 0.337
  689. minimum:
  690. LR tn, fp: 169, 5
  691. LR fn, tp: 0, 2
  692. LR f1 score: 0.143
  693. LR cohens kappa score: 0.091
  694. LR average precision score: 0.120
  695. -----[ RF ]-----
  696. maximum:
  697. RF tn, fp: 205, 8
  698. RF fn, tp: 9, 2
  699. RF f1 score: 0.333
  700. RF cohens kappa score: 0.319
  701. average:
  702. RF tn, fp: 201.68, 2.92
  703. RF fn, tp: 8.0, 0.6
  704. RF f1 score: 0.091
  705. RF cohens kappa score: 0.071
  706. minimum:
  707. RF tn, fp: 197, 0
  708. RF fn, tp: 6, 0
  709. RF f1 score: 0.000
  710. RF cohens kappa score: -0.038
  711. -----[ GB ]-----
  712. maximum:
  713. GB tn, fp: 205, 8
  714. GB fn, tp: 9, 4
  715. GB f1 score: 0.381
  716. GB cohens kappa score: 0.354
  717. average:
  718. GB tn, fp: 202.32, 2.28
  719. GB fn, tp: 7.52, 1.08
  720. GB f1 score: 0.166
  721. GB cohens kappa score: 0.149
  722. minimum:
  723. GB tn, fp: 197, 0
  724. GB fn, tp: 5, 0
  725. GB f1 score: 0.000
  726. GB cohens kappa score: -0.027
  727. -----[ KNN ]-----
  728. maximum:
  729. KNN tn, fp: 195, 28
  730. KNN fn, tp: 7, 8
  731. KNN f1 score: 0.444
  732. KNN cohens kappa score: 0.411
  733. average:
  734. KNN tn, fp: 187.4, 17.2
  735. KNN fn, tp: 4.44, 4.16
  736. KNN f1 score: 0.272
  737. KNN cohens kappa score: 0.228
  738. minimum:
  739. KNN tn, fp: 177, 10
  740. KNN fn, tp: 1, 1
  741. KNN f1 score: 0.087
  742. KNN cohens kappa score: 0.043