folding_yeast4.log 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. ///////////////////////////////////////////
  2. // Running CTAB-GAN on folding_yeast4
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_yeast4'
  5. from pickle file
  6. Data loaded.
  7. -> Shuffling data
  8. ### Start exercise for synthetic point generator
  9. ====== Step 1/5 =======
  10. -> Shuffling data
  11. -> Spliting data to slices
  12. ------ Step 1/5: Slice 1/5 -------
  13. -> Reset the GAN
  14. -> Train generator for synthetic samples
  15. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.80it/s] 20%|██ | 2/10 [00:01<00:04, 1.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.88it/s] 40%|████ | 4/10 [00:02<00:03, 1.88it/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.89it/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.96it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  16. -> create 1106 synthetic samples
  17. -> test with 'LR'
  18. LR tn, fp: 266, 21
  19. LR fn, tp: 4, 7
  20. LR f1 score: 0.359
  21. LR cohens kappa score: 0.323
  22. LR average precision score: 0.263
  23. -> test with 'RF'
  24. RF tn, fp: 286, 1
  25. RF fn, tp: 10, 1
  26. RF f1 score: 0.154
  27. RF cohens kappa score: 0.144
  28. -> test with 'GB'
  29. GB tn, fp: 285, 2
  30. GB fn, tp: 9, 2
  31. GB f1 score: 0.267
  32. GB cohens kappa score: 0.252
  33. -> test with 'KNN'
  34. KNN tn, fp: 277, 10
  35. KNN fn, tp: 4, 7
  36. KNN f1 score: 0.500
  37. KNN cohens kappa score: 0.477
  38. ------ Step 1/5: Slice 2/5 -------
  39. -> Reset the GAN
  40. -> Train generator for synthetic samples
  41. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.99it/s] 20%|██ | 2/10 [00:01<00:04, 1.82it/s] 30%|███ | 3/10 [00:01<00:03, 1.98it/s] 40%|████ | 4/10 [00:02<00:02, 2.02it/s] 50%|█████ | 5/10 [00:02<00:02, 2.08it/s] 60%|██████ | 6/10 [00:02<00:01, 2.11it/s] 70%|███████ | 7/10 [00:03<00:01, 2.10it/s] 80%|████████ | 8/10 [00:03<00:00, 2.04it/s] 90%|█████████ | 9/10 [00:04<00:00, 2.00it/s] 100%|██████████| 10/10 [00:04<00:00, 1.96it/s] 100%|██████████| 10/10 [00:04<00:00, 2.00it/s]
  42. -> create 1106 synthetic samples
  43. -> test with 'LR'
  44. LR tn, fp: 286, 1
  45. LR fn, tp: 9, 2
  46. LR f1 score: 0.286
  47. LR cohens kappa score: 0.274
  48. LR average precision score: 0.498
  49. -> test with 'RF'
  50. RF tn, fp: 286, 1
  51. RF fn, tp: 7, 4
  52. RF f1 score: 0.500
  53. RF cohens kappa score: 0.488
  54. -> test with 'GB'
  55. GB tn, fp: 282, 5
  56. GB fn, tp: 7, 4
  57. GB f1 score: 0.400
  58. GB cohens kappa score: 0.379
  59. -> test with 'KNN'
  60. KNN tn, fp: 263, 24
  61. KNN fn, tp: 8, 3
  62. KNN f1 score: 0.158
  63. KNN cohens kappa score: 0.111
  64. ------ Step 1/5: Slice 3/5 -------
  65. -> Reset the GAN
  66. -> Train generator for synthetic samples
  67. 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.88it/s] 30%|███ | 3/10 [00:01<00:03, 1.87it/s] 40%|████ | 4/10 [00:02<00:03, 1.91it/s] 50%|█████ | 5/10 [00:02<00:02, 1.98it/s] 60%|██████ | 6/10 [00:03<00:01, 2.03it/s] 70%|███████ | 7/10 [00:03<00:01, 1.97it/s] 80%|████████ | 8/10 [00:04<00:01, 1.92it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s]
  68. -> create 1106 synthetic samples
  69. -> test with 'LR'
  70. LR tn, fp: 286, 1
  71. LR fn, tp: 11, 0
  72. LR f1 score: 0.000
  73. LR cohens kappa score: -0.006
  74. LR average precision score: 0.228
  75. -> test with 'RF'
  76. RF tn, fp: 287, 0
  77. RF fn, tp: 10, 1
  78. RF f1 score: 0.167
  79. RF cohens kappa score: 0.162
  80. -> test with 'GB'
  81. GB tn, fp: 286, 1
  82. GB fn, tp: 10, 1
  83. GB f1 score: 0.154
  84. GB cohens kappa score: 0.144
  85. -> test with 'KNN'
  86. KNN tn, fp: 272, 15
  87. KNN fn, tp: 8, 3
  88. KNN f1 score: 0.207
  89. KNN cohens kappa score: 0.169
  90. ------ Step 1/5: Slice 4/5 -------
  91. -> Reset the GAN
  92. -> Train generator for synthetic samples
  93. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 2.05it/s] 20%|██ | 2/10 [00:01<00:04, 1.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.98it/s] 40%|████ | 4/10 [00:02<00:02, 2.00it/s] 50%|█████ | 5/10 [00:02<00:02, 1.99it/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.97it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.96it/s]
  94. -> create 1106 synthetic samples
  95. -> test with 'LR'
  96. LR tn, fp: 270, 17
  97. LR fn, tp: 8, 3
  98. LR f1 score: 0.194
  99. LR cohens kappa score: 0.153
  100. LR average precision score: 0.152
  101. -> test with 'RF'
  102. RF tn, fp: 284, 3
  103. RF fn, tp: 8, 3
  104. RF f1 score: 0.353
  105. RF cohens kappa score: 0.336
  106. -> test with 'GB'
  107. GB tn, fp: 282, 5
  108. GB fn, tp: 8, 3
  109. GB f1 score: 0.316
  110. GB cohens kappa score: 0.294
  111. -> test with 'KNN'
  112. KNN tn, fp: 267, 20
  113. KNN fn, tp: 7, 4
  114. KNN f1 score: 0.229
  115. KNN cohens kappa score: 0.187
  116. ------ Step 1/5: Slice 5/5 -------
  117. -> Reset the GAN
  118. -> Train generator for synthetic samples
  119. 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.99it/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.98it/s] 60%|██████ | 6/10 [00:03<00:02, 1.99it/s] 70%|███████ | 7/10 [00:03<00:01, 1.98it/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, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  120. -> create 1104 synthetic samples
  121. -> test with 'LR'
  122. LR tn, fp: 279, 6
  123. LR fn, tp: 6, 1
  124. LR f1 score: 0.143
  125. LR cohens kappa score: 0.122
  126. LR average precision score: 0.260
  127. -> test with 'RF'
  128. RF tn, fp: 285, 0
  129. RF fn, tp: 5, 2
  130. RF f1 score: 0.444
  131. RF cohens kappa score: 0.438
  132. -> test with 'GB'
  133. GB tn, fp: 283, 2
  134. GB fn, tp: 5, 2
  135. GB f1 score: 0.364
  136. GB cohens kappa score: 0.352
  137. -> test with 'KNN'
  138. KNN tn, fp: 275, 10
  139. KNN fn, tp: 6, 1
  140. KNN f1 score: 0.111
  141. KNN cohens kappa score: 0.084
  142. ====== Step 2/5 =======
  143. -> Shuffling data
  144. -> Spliting data to slices
  145. ------ Step 2/5: Slice 1/5 -------
  146. -> Reset the GAN
  147. -> Train generator for synthetic samples
  148. 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.89it/s] 30%|███ | 3/10 [00:01<00:03, 1.94it/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.91it/s] 70%|███████ | 7/10 [00:03<00:01, 1.90it/s] 80%|████████ | 8/10 [00:04<00:01, 1.90it/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.92it/s]
  149. -> create 1106 synthetic samples
  150. -> test with 'LR'
  151. LR tn, fp: 271, 16
  152. LR fn, tp: 8, 3
  153. LR f1 score: 0.200
  154. LR cohens kappa score: 0.161
  155. LR average precision score: 0.162
  156. -> test with 'RF'
  157. RF tn, fp: 287, 0
  158. RF fn, tp: 11, 0
  159. RF f1 score: 0.000
  160. RF cohens kappa score: 0.000
  161. -> test with 'GB'
  162. GB tn, fp: 284, 3
  163. GB fn, tp: 10, 1
  164. GB f1 score: 0.133
  165. GB cohens kappa score: 0.116
  166. -> test with 'KNN'
  167. KNN tn, fp: 272, 15
  168. KNN fn, tp: 8, 3
  169. KNN f1 score: 0.207
  170. KNN cohens kappa score: 0.169
  171. ------ Step 2/5: Slice 2/5 -------
  172. -> Reset the GAN
  173. -> Train generator for synthetic samples
  174. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.99it/s] 20%|██ | 2/10 [00:00<00:03, 2.05it/s] 30%|███ | 3/10 [00:01<00:03, 1.98it/s] 40%|████ | 4/10 [00:01<00:02, 2.02it/s] 50%|█████ | 5/10 [00:02<00:02, 2.01it/s] 60%|██████ | 6/10 [00:03<00:02, 1.97it/s] 70%|███████ | 7/10 [00:03<00:01, 1.94it/s] 80%|████████ | 8/10 [00:04<00:01, 1.92it/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.96it/s]
  175. -> create 1106 synthetic samples
  176. -> test with 'LR'
  177. LR tn, fp: 261, 26
  178. LR fn, tp: 2, 9
  179. LR f1 score: 0.391
  180. LR cohens kappa score: 0.355
  181. LR average precision score: 0.334
  182. -> test with 'RF'
  183. RF tn, fp: 284, 3
  184. RF fn, tp: 8, 3
  185. RF f1 score: 0.353
  186. RF cohens kappa score: 0.336
  187. -> test with 'GB'
  188. GB tn, fp: 284, 3
  189. GB fn, tp: 6, 5
  190. GB f1 score: 0.526
  191. GB cohens kappa score: 0.511
  192. -> test with 'KNN'
  193. KNN tn, fp: 263, 24
  194. KNN fn, tp: 4, 7
  195. KNN f1 score: 0.333
  196. KNN cohens kappa score: 0.295
  197. ------ Step 2/5: Slice 3/5 -------
  198. -> Reset the GAN
  199. -> Train generator for synthetic samples
  200. 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.94it/s] 30%|███ | 3/10 [00:01<00:03, 1.99it/s] 40%|████ | 4/10 [00:02<00:03, 1.98it/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.95it/s] 80%|████████ | 8/10 [00:04<00:01, 1.98it/s] 90%|█████████ | 9/10 [00:04<00:00, 2.00it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  201. -> create 1106 synthetic samples
  202. -> test with 'LR'
  203. LR tn, fp: 285, 2
  204. LR fn, tp: 8, 3
  205. LR f1 score: 0.375
  206. LR cohens kappa score: 0.360
  207. LR average precision score: 0.382
  208. -> test with 'RF'
  209. RF tn, fp: 285, 2
  210. RF fn, tp: 9, 2
  211. RF f1 score: 0.267
  212. RF cohens kappa score: 0.252
  213. -> test with 'GB'
  214. GB tn, fp: 285, 2
  215. GB fn, tp: 8, 3
  216. GB f1 score: 0.375
  217. GB cohens kappa score: 0.360
  218. -> test with 'KNN'
  219. KNN tn, fp: 278, 9
  220. KNN fn, tp: 7, 4
  221. KNN f1 score: 0.333
  222. KNN cohens kappa score: 0.306
  223. ------ Step 2/5: Slice 4/5 -------
  224. -> Reset the GAN
  225. -> Train generator for synthetic samples
  226. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.86it/s] 20%|██ | 2/10 [00:01<00:04, 1.85it/s] 30%|███ | 3/10 [00:01<00:03, 1.91it/s] 40%|████ | 4/10 [00:02<00:03, 1.93it/s] 50%|█████ | 5/10 [00:02<00:02, 1.91it/s] 60%|██████ | 6/10 [00:03<00:02, 1.91it/s] 70%|███████ | 7/10 [00:03<00:01, 1.94it/s] 80%|████████ | 8/10 [00:04<00:01, 1.94it/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.91it/s]
  227. -> create 1106 synthetic samples
  228. -> test with 'LR'
  229. LR tn, fp: 283, 4
  230. LR fn, tp: 8, 3
  231. LR f1 score: 0.333
  232. LR cohens kappa score: 0.314
  233. LR average precision score: 0.338
  234. -> test with 'RF'
  235. RF tn, fp: 286, 1
  236. RF fn, tp: 11, 0
  237. RF f1 score: 0.000
  238. RF cohens kappa score: -0.006
  239. -> test with 'GB'
  240. GB tn, fp: 286, 1
  241. GB fn, tp: 6, 5
  242. GB f1 score: 0.588
  243. GB cohens kappa score: 0.577
  244. -> test with 'KNN'
  245. KNN tn, fp: 269, 18
  246. KNN fn, tp: 5, 6
  247. KNN f1 score: 0.343
  248. KNN cohens kappa score: 0.308
  249. ------ Step 2/5: Slice 5/5 -------
  250. -> Reset the GAN
  251. -> Train generator for synthetic samples
  252. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.86it/s] 20%|██ | 2/10 [00:01<00:04, 1.88it/s] 30%|███ | 3/10 [00:01<00:03, 1.89it/s] 40%|████ | 4/10 [00:02<00:03, 1.87it/s] 50%|█████ | 5/10 [00:02<00:02, 1.90it/s] 60%|██████ | 6/10 [00:03<00:02, 1.92it/s] 70%|███████ | 7/10 [00:03<00:01, 1.97it/s] 80%|████████ | 8/10 [00:04<00:01, 1.94it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.96it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s]
  253. -> create 1104 synthetic samples
  254. -> test with 'LR'
  255. LR tn, fp: 270, 15
  256. LR fn, tp: 3, 4
  257. LR f1 score: 0.308
  258. LR cohens kappa score: 0.283
  259. LR average precision score: 0.365
  260. -> test with 'RF'
  261. RF tn, fp: 285, 0
  262. RF fn, tp: 6, 1
  263. RF f1 score: 0.250
  264. RF cohens kappa score: 0.245
  265. -> test with 'GB'
  266. GB tn, fp: 284, 1
  267. GB fn, tp: 6, 1
  268. GB f1 score: 0.222
  269. GB cohens kappa score: 0.214
  270. -> test with 'KNN'
  271. KNN tn, fp: 268, 17
  272. KNN fn, tp: 4, 3
  273. KNN f1 score: 0.222
  274. KNN cohens kappa score: 0.194
  275. ====== Step 3/5 =======
  276. -> Shuffling data
  277. -> Spliting data to slices
  278. ------ Step 3/5: Slice 1/5 -------
  279. -> Reset the GAN
  280. -> Train generator for synthetic samples
  281. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:05, 1.69it/s] 20%|██ | 2/10 [00:01<00:04, 1.71it/s] 30%|███ | 3/10 [00:01<00:04, 1.72it/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.84it/s] 70%|███████ | 7/10 [00:03<00:01, 1.87it/s] 80%|████████ | 8/10 [00:04<00:01, 1.87it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.87it/s] 100%|██████████| 10/10 [00:05<00:00, 1.87it/s] 100%|██████████| 10/10 [00:05<00:00, 1.82it/s]
  282. -> create 1106 synthetic samples
  283. -> test with 'LR'
  284. LR tn, fp: 284, 3
  285. LR fn, tp: 10, 1
  286. LR f1 score: 0.133
  287. LR cohens kappa score: 0.116
  288. LR average precision score: 0.229
  289. -> test with 'RF'
  290. RF tn, fp: 286, 1
  291. RF fn, tp: 10, 1
  292. RF f1 score: 0.154
  293. RF cohens kappa score: 0.144
  294. -> test with 'GB'
  295. GB tn, fp: 284, 3
  296. GB fn, tp: 9, 2
  297. GB f1 score: 0.250
  298. GB cohens kappa score: 0.232
  299. -> test with 'KNN'
  300. KNN tn, fp: 261, 26
  301. KNN fn, tp: 8, 3
  302. KNN f1 score: 0.150
  303. KNN cohens kappa score: 0.102
  304. ------ Step 3/5: Slice 2/5 -------
  305. -> Reset the GAN
  306. -> Train generator for synthetic samples
  307. 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.99it/s] 30%|███ | 3/10 [00:01<00:03, 1.93it/s] 40%|████ | 4/10 [00:02<00:03, 1.93it/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.93it/s] 80%|████████ | 8/10 [00:04<00:01, 1.90it/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]
  308. -> create 1106 synthetic samples
  309. -> test with 'LR'
  310. LR tn, fp: 272, 15
  311. LR fn, tp: 3, 8
  312. LR f1 score: 0.471
  313. LR cohens kappa score: 0.443
  314. LR average precision score: 0.266
  315. -> test with 'RF'
  316. RF tn, fp: 286, 1
  317. RF fn, tp: 9, 2
  318. RF f1 score: 0.286
  319. RF cohens kappa score: 0.274
  320. -> test with 'GB'
  321. GB tn, fp: 286, 1
  322. GB fn, tp: 9, 2
  323. GB f1 score: 0.286
  324. GB cohens kappa score: 0.274
  325. -> test with 'KNN'
  326. KNN tn, fp: 277, 10
  327. KNN fn, tp: 7, 4
  328. KNN f1 score: 0.320
  329. KNN cohens kappa score: 0.291
  330. ------ Step 3/5: Slice 3/5 -------
  331. -> Reset the GAN
  332. -> Train generator for synthetic samples
  333. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.85it/s] 20%|██ | 2/10 [00:01<00:04, 1.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.91it/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.98it/s] 70%|███████ | 7/10 [00:03<00:01, 1.95it/s] 80%|████████ | 8/10 [00:04<00:01, 1.97it/s] 90%|█████████ | 9/10 [00:04<00:00, 2.00it/s] 100%|██████████| 10/10 [00:05<00:00, 2.00it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  334. -> create 1106 synthetic samples
  335. -> test with 'LR'
  336. LR tn, fp: 254, 33
  337. LR fn, tp: 5, 6
  338. LR f1 score: 0.240
  339. LR cohens kappa score: 0.194
  340. LR average precision score: 0.257
  341. -> test with 'RF'
  342. RF tn, fp: 284, 3
  343. RF fn, tp: 9, 2
  344. RF f1 score: 0.250
  345. RF cohens kappa score: 0.232
  346. -> test with 'GB'
  347. GB tn, fp: 284, 3
  348. GB fn, tp: 8, 3
  349. GB f1 score: 0.353
  350. GB cohens kappa score: 0.336
  351. -> test with 'KNN'
  352. KNN tn, fp: 270, 17
  353. KNN fn, tp: 8, 3
  354. KNN f1 score: 0.194
  355. KNN cohens kappa score: 0.153
  356. ------ Step 3/5: Slice 4/5 -------
  357. -> Reset the GAN
  358. -> Train generator for synthetic samples
  359. 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.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.95it/s] 40%|████ | 4/10 [00:02<00:03, 1.97it/s] 50%|█████ | 5/10 [00:02<00:02, 1.99it/s] 60%|██████ | 6/10 [00:03<00:02, 1.94it/s] 70%|███████ | 7/10 [00:03<00:01, 1.95it/s] 80%|████████ | 8/10 [00:04<00:00, 2.00it/s] 90%|█████████ | 9/10 [00:04<00:00, 2.00it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  360. -> create 1106 synthetic samples
  361. -> test with 'LR'
  362. LR tn, fp: 278, 9
  363. LR fn, tp: 6, 5
  364. LR f1 score: 0.400
  365. LR cohens kappa score: 0.374
  366. LR average precision score: 0.263
  367. -> test with 'RF'
  368. RF tn, fp: 286, 1
  369. RF fn, tp: 10, 1
  370. RF f1 score: 0.154
  371. RF cohens kappa score: 0.144
  372. -> test with 'GB'
  373. GB tn, fp: 284, 3
  374. GB fn, tp: 8, 3
  375. GB f1 score: 0.353
  376. GB cohens kappa score: 0.336
  377. -> test with 'KNN'
  378. KNN tn, fp: 269, 18
  379. KNN fn, tp: 6, 5
  380. KNN f1 score: 0.294
  381. KNN cohens kappa score: 0.257
  382. ------ Step 3/5: Slice 5/5 -------
  383. -> Reset the GAN
  384. -> Train generator for synthetic samples
  385. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.86it/s] 20%|██ | 2/10 [00:01<00:04, 1.90it/s] 30%|███ | 3/10 [00:01<00:03, 1.90it/s] 40%|████ | 4/10 [00:02<00:03, 1.89it/s] 50%|█████ | 5/10 [00:02<00:02, 1.85it/s] 60%|██████ | 6/10 [00:03<00:02, 1.87it/s] 70%|███████ | 7/10 [00:03<00:01, 1.86it/s] 80%|████████ | 8/10 [00:04<00:01, 1.87it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.89it/s]
  386. -> create 1104 synthetic samples
  387. -> test with 'LR'
  388. LR tn, fp: 280, 5
  389. LR fn, tp: 4, 3
  390. LR f1 score: 0.400
  391. LR cohens kappa score: 0.384
  392. LR average precision score: 0.374
  393. -> test with 'RF'
  394. RF tn, fp: 285, 0
  395. RF fn, tp: 5, 2
  396. RF f1 score: 0.444
  397. RF cohens kappa score: 0.438
  398. -> test with 'GB'
  399. GB tn, fp: 283, 2
  400. GB fn, tp: 4, 3
  401. GB f1 score: 0.500
  402. GB cohens kappa score: 0.490
  403. -> test with 'KNN'
  404. KNN tn, fp: 265, 20
  405. KNN fn, tp: 4, 3
  406. KNN f1 score: 0.200
  407. KNN cohens kappa score: 0.169
  408. ====== Step 4/5 =======
  409. -> Shuffling data
  410. -> Spliting data to slices
  411. ------ Step 4/5: Slice 1/5 -------
  412. -> Reset the GAN
  413. -> Train generator for synthetic samples
  414. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.95it/s] 20%|██ | 2/10 [00:01<00:04, 1.95it/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.89it/s] 60%|██████ | 6/10 [00:03<00:02, 1.89it/s] 70%|███████ | 7/10 [00:03<00:01, 1.91it/s] 80%|████████ | 8/10 [00:04<00:01, 1.92it/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]
  415. -> create 1106 synthetic samples
  416. -> test with 'LR'
  417. LR tn, fp: 284, 3
  418. LR fn, tp: 8, 3
  419. LR f1 score: 0.353
  420. LR cohens kappa score: 0.336
  421. LR average precision score: 0.358
  422. -> test with 'RF'
  423. RF tn, fp: 287, 0
  424. RF fn, tp: 8, 3
  425. RF f1 score: 0.429
  426. RF cohens kappa score: 0.419
  427. -> test with 'GB'
  428. GB tn, fp: 286, 1
  429. GB fn, tp: 11, 0
  430. GB f1 score: 0.000
  431. GB cohens kappa score: -0.006
  432. -> test with 'KNN'
  433. KNN tn, fp: 273, 14
  434. KNN fn, tp: 8, 3
  435. KNN f1 score: 0.214
  436. KNN cohens kappa score: 0.177
  437. ------ Step 4/5: Slice 2/5 -------
  438. -> Reset the GAN
  439. -> Train generator for synthetic samples
  440. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.86it/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, 1.92it/s] 60%|██████ | 6/10 [00:03<00:02, 1.90it/s] 70%|███████ | 7/10 [00:03<00:01, 1.93it/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.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  441. -> create 1106 synthetic samples
  442. -> test with 'LR'
  443. LR tn, fp: 284, 3
  444. LR fn, tp: 9, 2
  445. LR f1 score: 0.250
  446. LR cohens kappa score: 0.232
  447. LR average precision score: 0.363
  448. -> test with 'RF'
  449. RF tn, fp: 286, 1
  450. RF fn, tp: 10, 1
  451. RF f1 score: 0.154
  452. RF cohens kappa score: 0.144
  453. -> test with 'GB'
  454. GB tn, fp: 286, 1
  455. GB fn, tp: 6, 5
  456. GB f1 score: 0.588
  457. GB cohens kappa score: 0.577
  458. -> test with 'KNN'
  459. KNN tn, fp: 268, 19
  460. KNN fn, tp: 5, 6
  461. KNN f1 score: 0.333
  462. KNN cohens kappa score: 0.297
  463. ------ Step 4/5: Slice 3/5 -------
  464. -> Reset the GAN
  465. -> Train generator for synthetic samples
  466. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.90it/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.93it/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.91it/s] 80%|████████ | 8/10 [00:04<00:01, 1.93it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.96it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  467. -> create 1106 synthetic samples
  468. -> test with 'LR'
  469. LR tn, fp: 264, 23
  470. LR fn, tp: 6, 5
  471. LR f1 score: 0.256
  472. LR cohens kappa score: 0.215
  473. LR average precision score: 0.176
  474. -> test with 'RF'
  475. RF tn, fp: 283, 4
  476. RF fn, tp: 10, 1
  477. RF f1 score: 0.125
  478. RF cohens kappa score: 0.104
  479. -> test with 'GB'
  480. GB tn, fp: 282, 5
  481. GB fn, tp: 8, 3
  482. GB f1 score: 0.316
  483. GB cohens kappa score: 0.294
  484. -> test with 'KNN'
  485. KNN tn, fp: 269, 18
  486. KNN fn, tp: 7, 4
  487. KNN f1 score: 0.242
  488. KNN cohens kappa score: 0.203
  489. ------ Step 4/5: Slice 4/5 -------
  490. -> Reset the GAN
  491. -> Train generator for synthetic samples
  492. 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.89it/s] 30%|███ | 3/10 [00:01<00:03, 1.92it/s] 40%|████ | 4/10 [00:02<00:03, 1.94it/s] 50%|█████ | 5/10 [00:02<00:02, 1.88it/s] 60%|██████ | 6/10 [00:03<00:02, 1.90it/s] 70%|███████ | 7/10 [00:03<00:01, 1.91it/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.99it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s]
  493. -> create 1106 synthetic samples
  494. -> test with 'LR'
  495. LR tn, fp: 214, 73
  496. LR fn, tp: 2, 9
  497. LR f1 score: 0.194
  498. LR cohens kappa score: 0.137
  499. LR average precision score: 0.170
  500. -> test with 'RF'
  501. RF tn, fp: 285, 2
  502. RF fn, tp: 9, 2
  503. RF f1 score: 0.267
  504. RF cohens kappa score: 0.252
  505. -> test with 'GB'
  506. GB tn, fp: 283, 4
  507. GB fn, tp: 8, 3
  508. GB f1 score: 0.333
  509. GB cohens kappa score: 0.314
  510. -> test with 'KNN'
  511. KNN tn, fp: 252, 35
  512. KNN fn, tp: 5, 6
  513. KNN f1 score: 0.231
  514. KNN cohens kappa score: 0.183
  515. ------ Step 4/5: Slice 5/5 -------
  516. -> Reset the GAN
  517. -> Train generator for synthetic samples
  518. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 2.14it/s] 20%|██ | 2/10 [00:01<00:04, 1.91it/s] 30%|███ | 3/10 [00:01<00:03, 1.88it/s] 40%|████ | 4/10 [00:02<00:03, 1.88it/s] 50%|█████ | 5/10 [00:02<00:02, 1.88it/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.87it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  519. -> create 1104 synthetic samples
  520. -> test with 'LR'
  521. LR tn, fp: 266, 19
  522. LR fn, tp: 3, 4
  523. LR f1 score: 0.267
  524. LR cohens kappa score: 0.239
  525. LR average precision score: 0.287
  526. -> test with 'RF'
  527. RF tn, fp: 284, 1
  528. RF fn, tp: 3, 4
  529. RF f1 score: 0.667
  530. RF cohens kappa score: 0.660
  531. -> test with 'GB'
  532. GB tn, fp: 281, 4
  533. GB fn, tp: 3, 4
  534. GB f1 score: 0.533
  535. GB cohens kappa score: 0.521
  536. -> test with 'KNN'
  537. KNN tn, fp: 265, 20
  538. KNN fn, tp: 3, 4
  539. KNN f1 score: 0.258
  540. KNN cohens kappa score: 0.229
  541. ====== Step 5/5 =======
  542. -> Shuffling data
  543. -> Spliting data to slices
  544. ------ Step 5/5: Slice 1/5 -------
  545. -> Reset the GAN
  546. -> Train generator for synthetic samples
  547. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.95it/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.95it/s] 50%|█████ | 5/10 [00:02<00:02, 1.95it/s] 60%|██████ | 6/10 [00:03<00:02, 1.96it/s] 70%|███████ | 7/10 [00:03<00:01, 1.98it/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.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s]
  548. -> create 1106 synthetic samples
  549. -> test with 'LR'
  550. LR tn, fp: 252, 35
  551. LR fn, tp: 8, 3
  552. LR f1 score: 0.122
  553. LR cohens kappa score: 0.069
  554. LR average precision score: 0.136
  555. -> test with 'RF'
  556. RF tn, fp: 285, 2
  557. RF fn, tp: 11, 0
  558. RF f1 score: 0.000
  559. RF cohens kappa score: -0.011
  560. -> test with 'GB'
  561. GB tn, fp: 284, 3
  562. GB fn, tp: 10, 1
  563. GB f1 score: 0.133
  564. GB cohens kappa score: 0.116
  565. -> test with 'KNN'
  566. KNN tn, fp: 274, 13
  567. KNN fn, tp: 9, 2
  568. KNN f1 score: 0.154
  569. KNN cohens kappa score: 0.116
  570. ------ Step 5/5: Slice 2/5 -------
  571. -> Reset the GAN
  572. -> Train generator for synthetic samples
  573. 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:04, 1.86it/s] 20%|██ | 2/10 [00:01<00:04, 1.88it/s] 30%|███ | 3/10 [00:01<00:03, 1.89it/s] 40%|████ | 4/10 [00:02<00:03, 1.89it/s] 50%|█████ | 5/10 [00:02<00:02, 1.91it/s] 60%|██████ | 6/10 [00:03<00:02, 1.95it/s] 70%|███████ | 7/10 [00:03<00:01, 1.94it/s] 80%|████████ | 8/10 [00:04<00:01, 1.98it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.99it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s]
  574. -> create 1106 synthetic samples
  575. -> test with 'LR'
  576. LR tn, fp: 276, 11
  577. LR fn, tp: 4, 7
  578. LR f1 score: 0.483
  579. LR cohens kappa score: 0.458
  580. LR average precision score: 0.305
  581. -> test with 'RF'
  582. RF tn, fp: 285, 2
  583. RF fn, tp: 8, 3
  584. RF f1 score: 0.375
  585. RF cohens kappa score: 0.360
  586. -> test with 'GB'
  587. GB tn, fp: 286, 1
  588. GB fn, tp: 8, 3
  589. GB f1 score: 0.400
  590. GB cohens kappa score: 0.388
  591. -> test with 'KNN'
  592. KNN tn, fp: 262, 25
  593. KNN fn, tp: 3, 8
  594. KNN f1 score: 0.364
  595. KNN cohens kappa score: 0.326
  596. ------ Step 5/5: Slice 3/5 -------
  597. -> Reset the GAN
  598. -> Train generator for synthetic samples
  599. 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.86it/s] 50%|█████ | 5/10 [00:02<00:02, 1.83it/s] 60%|██████ | 6/10 [00:03<00:02, 1.87it/s] 70%|███████ | 7/10 [00:03<00:01, 1.85it/s] 80%|████████ | 8/10 [00:04<00:01, 1.84it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.87it/s] 100%|██████████| 10/10 [00:05<00:00, 1.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.87it/s]
  600. -> create 1106 synthetic samples
  601. -> test with 'LR'
  602. LR tn, fp: 286, 1
  603. LR fn, tp: 9, 2
  604. LR f1 score: 0.286
  605. LR cohens kappa score: 0.274
  606. LR average precision score: 0.427
  607. -> test with 'RF'
  608. RF tn, fp: 287, 0
  609. RF fn, tp: 10, 1
  610. RF f1 score: 0.167
  611. RF cohens kappa score: 0.162
  612. -> test with 'GB'
  613. GB tn, fp: 286, 1
  614. GB fn, tp: 8, 3
  615. GB f1 score: 0.400
  616. GB cohens kappa score: 0.388
  617. -> test with 'KNN'
  618. KNN tn, fp: 270, 17
  619. KNN fn, tp: 8, 3
  620. KNN f1 score: 0.194
  621. KNN cohens kappa score: 0.153
  622. ------ Step 5/5: Slice 4/5 -------
  623. -> Reset the GAN
  624. -> Train generator for synthetic samples
  625. 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.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.88it/s] 40%|████ | 4/10 [00:02<00:03, 1.88it/s] 50%|█████ | 5/10 [00:02<00:02, 1.87it/s] 60%|██████ | 6/10 [00:03<00:02, 1.86it/s] 70%|███████ | 7/10 [00:03<00:01, 1.86it/s] 80%|████████ | 8/10 [00:04<00:01, 1.89it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.96it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  626. -> create 1106 synthetic samples
  627. -> test with 'LR'
  628. LR tn, fp: 275, 12
  629. LR fn, tp: 6, 5
  630. LR f1 score: 0.357
  631. LR cohens kappa score: 0.327
  632. LR average precision score: 0.279
  633. -> test with 'RF'
  634. RF tn, fp: 285, 2
  635. RF fn, tp: 10, 1
  636. RF f1 score: 0.143
  637. RF cohens kappa score: 0.129
  638. -> test with 'GB'
  639. GB tn, fp: 281, 6
  640. GB fn, tp: 9, 2
  641. GB f1 score: 0.211
  642. GB cohens kappa score: 0.185
  643. -> test with 'KNN'
  644. KNN tn, fp: 267, 20
  645. KNN fn, tp: 7, 4
  646. KNN f1 score: 0.229
  647. KNN cohens kappa score: 0.187
  648. ------ Step 5/5: Slice 5/5 -------
  649. -> Reset the GAN
  650. -> Train generator for synthetic samples
  651. 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.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.96it/s] 40%|████ | 4/10 [00:02<00:03, 1.94it/s] 50%|█████ | 5/10 [00:02<00:02, 1.92it/s] 60%|██████ | 6/10 [00:03<00:02, 1.95it/s] 70%|███████ | 7/10 [00:03<00:01, 1.95it/s] 80%|████████ | 8/10 [00:04<00:01, 1.97it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.96it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s]
  652. -> create 1104 synthetic samples
  653. -> test with 'LR'
  654. LR tn, fp: 281, 4
  655. LR fn, tp: 5, 2
  656. LR f1 score: 0.308
  657. LR cohens kappa score: 0.292
  658. LR average precision score: 0.235
  659. -> test with 'RF'
  660. RF tn, fp: 284, 1
  661. RF fn, tp: 6, 1
  662. RF f1 score: 0.222
  663. RF cohens kappa score: 0.214
  664. -> test with 'GB'
  665. GB tn, fp: 281, 4
  666. GB fn, tp: 5, 2
  667. GB f1 score: 0.308
  668. GB cohens kappa score: 0.292
  669. -> test with 'KNN'
  670. KNN tn, fp: 272, 13
  671. KNN fn, tp: 3, 4
  672. KNN f1 score: 0.333
  673. KNN cohens kappa score: 0.310
  674. ### Exercise is done.
  675. -----[ LR ]-----
  676. maximum:
  677. LR tn, fp: 286, 73
  678. LR fn, tp: 11, 9
  679. LR f1 score: 0.483
  680. LR cohens kappa score: 0.458
  681. LR average precision score: 0.498
  682. average:
  683. LR tn, fp: 272.28, 14.32
  684. LR fn, tp: 6.2, 4.0
  685. LR f1 score: 0.284
  686. LR cohens kappa score: 0.257
  687. LR average precision score: 0.284
  688. minimum:
  689. LR tn, fp: 214, 1
  690. LR fn, tp: 2, 0
  691. LR f1 score: 0.000
  692. LR cohens kappa score: -0.006
  693. LR average precision score: 0.136
  694. -----[ RF ]-----
  695. maximum:
  696. RF tn, fp: 287, 4
  697. RF fn, tp: 11, 4
  698. RF f1 score: 0.667
  699. RF cohens kappa score: 0.660
  700. average:
  701. RF tn, fp: 285.32, 1.28
  702. RF fn, tp: 8.52, 1.68
  703. RF f1 score: 0.253
  704. RF cohens kappa score: 0.242
  705. minimum:
  706. RF tn, fp: 283, 0
  707. RF fn, tp: 3, 0
  708. RF f1 score: 0.000
  709. RF cohens kappa score: -0.011
  710. -----[ GB ]-----
  711. maximum:
  712. GB tn, fp: 286, 6
  713. GB fn, tp: 11, 5
  714. GB f1 score: 0.588
  715. GB cohens kappa score: 0.577
  716. average:
  717. GB tn, fp: 283.92, 2.68
  718. GB fn, tp: 7.56, 2.64
  719. GB f1 score: 0.332
  720. GB cohens kappa score: 0.317
  721. minimum:
  722. GB tn, fp: 281, 1
  723. GB fn, tp: 3, 0
  724. GB f1 score: 0.000
  725. GB cohens kappa score: -0.006
  726. -----[ KNN ]-----
  727. maximum:
  728. KNN tn, fp: 278, 35
  729. KNN fn, tp: 9, 8
  730. KNN f1 score: 0.500
  731. KNN cohens kappa score: 0.477
  732. average:
  733. KNN tn, fp: 268.72, 17.88
  734. KNN fn, tp: 6.08, 4.12
  735. KNN f1 score: 0.254
  736. KNN cohens kappa score: 0.218
  737. minimum:
  738. KNN tn, fp: 252, 9
  739. KNN fn, tp: 3, 1
  740. KNN f1 score: 0.111
  741. KNN cohens kappa score: 0.084