folding_yeast6.log 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. ///////////////////////////////////////////
  2. // Running CTAB-GAN on folding_yeast6
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_yeast6'
  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:05, 1.63it/s] 20%|██ | 2/10 [00:01<00:04, 1.80it/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.88it/s] 60%|██████ | 6/10 [00:03<00:02, 1.91it/s] 70%|███████ | 7/10 [00:03<00:01, 1.93it/s] 80%|████████ | 8/10 [00:04<00:01, 1.93it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.91it/s] 100%|██████████| 10/10 [00:05<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.88it/s]
  16. -> create 1131 synthetic samples
  17. -> test with 'LR'
  18. LR tn, fp: 281, 9
  19. LR fn, tp: 1, 6
  20. LR f1 score: 0.545
  21. LR cohens kappa score: 0.530
  22. LR average precision score: 0.692
  23. -> test with 'RF'
  24. RF tn, fp: 289, 1
  25. RF fn, tp: 4, 3
  26. RF f1 score: 0.545
  27. RF cohens kappa score: 0.538
  28. -> test with 'GB'
  29. GB tn, fp: 287, 3
  30. GB fn, tp: 3, 4
  31. GB f1 score: 0.571
  32. GB cohens kappa score: 0.561
  33. -> test with 'KNN'
  34. KNN tn, fp: 277, 13
  35. KNN fn, tp: 3, 4
  36. KNN f1 score: 0.333
  37. KNN cohens kappa score: 0.310
  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.91it/s] 20%|██ | 2/10 [00:01<00:04, 1.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.97it/s] 40%|████ | 4/10 [00:02<00:03, 1.89it/s] 50%|█████ | 5/10 [00:02<00:02, 1.93it/s] 60%|██████ | 6/10 [00:03<00:02, 1.98it/s] 70%|███████ | 7/10 [00:03<00:01, 2.00it/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, 2.00it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  42. -> create 1131 synthetic samples
  43. -> test with 'LR'
  44. LR tn, fp: 274, 16
  45. LR fn, tp: 3, 4
  46. LR f1 score: 0.296
  47. LR cohens kappa score: 0.271
  48. LR average precision score: 0.286
  49. -> test with 'RF'
  50. RF tn, fp: 287, 3
  51. RF fn, tp: 5, 2
  52. RF f1 score: 0.333
  53. RF cohens kappa score: 0.320
  54. -> test with 'GB'
  55. GB tn, fp: 286, 4
  56. GB fn, tp: 4, 3
  57. GB f1 score: 0.429
  58. GB cohens kappa score: 0.415
  59. -> test with 'KNN'
  60. KNN tn, fp: 277, 13
  61. KNN fn, tp: 2, 5
  62. KNN f1 score: 0.400
  63. KNN cohens kappa score: 0.379
  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.91it/s] 20%|██ | 2/10 [00:01<00:04, 1.90it/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.97it/s] 60%|██████ | 6/10 [00:03<00:02, 1.99it/s] 70%|███████ | 7/10 [00:03<00:01, 2.00it/s] 80%|████████ | 8/10 [00:04<00:00, 2.01it/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]
  68. -> create 1131 synthetic samples
  69. -> test with 'LR'
  70. LR tn, fp: 286, 4
  71. LR fn, tp: 4, 3
  72. LR f1 score: 0.429
  73. LR cohens kappa score: 0.415
  74. LR average precision score: 0.387
  75. -> test with 'RF'
  76. RF tn, fp: 290, 0
  77. RF fn, tp: 5, 2
  78. RF f1 score: 0.444
  79. RF cohens kappa score: 0.439
  80. -> test with 'GB'
  81. GB tn, fp: 290, 0
  82. GB fn, tp: 3, 4
  83. GB f1 score: 0.727
  84. GB cohens kappa score: 0.723
  85. -> test with 'KNN'
  86. KNN tn, fp: 284, 6
  87. KNN fn, tp: 2, 5
  88. KNN f1 score: 0.556
  89. KNN cohens kappa score: 0.542
  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, 1.90it/s] 20%|██ | 2/10 [00:01<00:03, 2.02it/s] 30%|███ | 3/10 [00:01<00:03, 1.94it/s] 40%|████ | 4/10 [00:02<00:03, 1.97it/s] 50%|█████ | 5/10 [00:02<00:02, 1.98it/s] 60%|██████ | 6/10 [00:03<00:02, 1.97it/s] 70%|███████ | 7/10 [00:03<00:01, 1.95it/s] 80%|████████ | 8/10 [00:04<00:01, 1.99it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.98it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  94. -> create 1131 synthetic samples
  95. -> test with 'LR'
  96. LR tn, fp: 265, 25
  97. LR fn, tp: 1, 6
  98. LR f1 score: 0.316
  99. LR cohens kappa score: 0.288
  100. LR average precision score: 0.533
  101. -> test with 'RF'
  102. RF tn, fp: 289, 1
  103. RF fn, tp: 4, 3
  104. RF f1 score: 0.545
  105. RF cohens kappa score: 0.538
  106. -> test with 'GB'
  107. GB tn, fp: 289, 1
  108. GB fn, tp: 4, 3
  109. GB f1 score: 0.545
  110. GB cohens kappa score: 0.538
  111. -> test with 'KNN'
  112. KNN tn, fp: 284, 6
  113. KNN fn, tp: 4, 3
  114. KNN f1 score: 0.375
  115. KNN cohens kappa score: 0.358
  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.86it/s] 20%|██ | 2/10 [00:01<00:04, 1.92it/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.92it/s] 60%|██████ | 6/10 [00:03<00:02, 1.94it/s] 70%|███████ | 7/10 [00:03<00:01, 1.93it/s] 80%|████████ | 8/10 [00:04<00:01, 1.95it/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.92it/s]
  120. -> create 1132 synthetic samples
  121. -> test with 'LR'
  122. LR tn, fp: 249, 40
  123. LR fn, tp: 0, 7
  124. LR f1 score: 0.259
  125. LR cohens kappa score: 0.227
  126. LR average precision score: 0.379
  127. -> test with 'RF'
  128. RF tn, fp: 288, 1
  129. RF fn, tp: 5, 2
  130. RF f1 score: 0.400
  131. RF cohens kappa score: 0.391
  132. -> test with 'GB'
  133. GB tn, fp: 286, 3
  134. GB fn, tp: 4, 3
  135. GB f1 score: 0.462
  136. GB cohens kappa score: 0.450
  137. -> test with 'KNN'
  138. KNN tn, fp: 279, 10
  139. KNN fn, tp: 1, 6
  140. KNN f1 score: 0.522
  141. KNN cohens kappa score: 0.505
  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.87it/s] 20%|██ | 2/10 [00:01<00:04, 1.87it/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.92it/s] 60%|██████ | 6/10 [00:03<00:02, 1.90it/s] 70%|███████ | 7/10 [00:03<00:01, 1.92it/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.97it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  149. -> create 1131 synthetic samples
  150. -> test with 'LR'
  151. LR tn, fp: 267, 23
  152. LR fn, tp: 1, 6
  153. LR f1 score: 0.333
  154. LR cohens kappa score: 0.307
  155. LR average precision score: 0.605
  156. -> test with 'RF'
  157. RF tn, fp: 289, 1
  158. RF fn, tp: 5, 2
  159. RF f1 score: 0.400
  160. RF cohens kappa score: 0.391
  161. -> test with 'GB'
  162. GB tn, fp: 286, 4
  163. GB fn, tp: 3, 4
  164. GB f1 score: 0.533
  165. GB cohens kappa score: 0.521
  166. -> test with 'KNN'
  167. KNN tn, fp: 271, 19
  168. KNN fn, tp: 3, 4
  169. KNN f1 score: 0.267
  170. KNN cohens kappa score: 0.239
  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.94it/s] 20%|██ | 2/10 [00:01<00:04, 1.98it/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.97it/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.91it/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]
  175. -> create 1131 synthetic samples
  176. -> test with 'LR'
  177. LR tn, fp: 260, 30
  178. LR fn, tp: 0, 7
  179. LR f1 score: 0.318
  180. LR cohens kappa score: 0.290
  181. LR average precision score: 0.289
  182. -> test with 'RF'
  183. RF tn, fp: 289, 1
  184. RF fn, tp: 5, 2
  185. RF f1 score: 0.400
  186. RF cohens kappa score: 0.391
  187. -> test with 'GB'
  188. GB tn, fp: 288, 2
  189. GB fn, tp: 5, 2
  190. GB f1 score: 0.364
  191. GB cohens kappa score: 0.353
  192. -> test with 'KNN'
  193. KNN tn, fp: 278, 12
  194. KNN fn, tp: 0, 7
  195. KNN f1 score: 0.538
  196. KNN cohens kappa score: 0.522
  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.97it/s] 20%|██ | 2/10 [00:01<00:04, 1.97it/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.98it/s] 60%|██████ | 6/10 [00:03<00:01, 2.00it/s] 70%|███████ | 7/10 [00:03<00:01, 2.00it/s] 80%|████████ | 8/10 [00:04<00:00, 2.01it/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.98it/s]
  201. -> create 1131 synthetic samples
  202. -> test with 'LR'
  203. LR tn, fp: 259, 31
  204. LR fn, tp: 1, 6
  205. LR f1 score: 0.273
  206. LR cohens kappa score: 0.243
  207. LR average precision score: 0.393
  208. -> test with 'RF'
  209. RF tn, fp: 289, 1
  210. RF fn, tp: 6, 1
  211. RF f1 score: 0.222
  212. RF cohens kappa score: 0.214
  213. -> test with 'GB'
  214. GB tn, fp: 288, 2
  215. GB fn, tp: 4, 3
  216. GB f1 score: 0.500
  217. GB cohens kappa score: 0.490
  218. -> test with 'KNN'
  219. KNN tn, fp: 277, 13
  220. KNN fn, tp: 3, 4
  221. KNN f1 score: 0.333
  222. KNN cohens kappa score: 0.310
  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, 2.01it/s] 20%|██ | 2/10 [00:00<00:03, 2.01it/s] 30%|███ | 3/10 [00:01<00:03, 2.05it/s] 40%|████ | 4/10 [00:01<00:02, 2.01it/s] 50%|█████ | 5/10 [00:02<00:02, 2.00it/s] 60%|██████ | 6/10 [00:02<00:01, 2.02it/s] 70%|███████ | 7/10 [00:03<00:01, 2.03it/s] 80%|████████ | 8/10 [00:03<00:01, 1.98it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.98it/s]
  227. -> create 1131 synthetic samples
  228. -> test with 'LR'
  229. LR tn, fp: 265, 25
  230. LR fn, tp: 2, 5
  231. LR f1 score: 0.270
  232. LR cohens kappa score: 0.241
  233. LR average precision score: 0.338
  234. -> test with 'RF'
  235. RF tn, fp: 289, 1
  236. RF fn, tp: 5, 2
  237. RF f1 score: 0.400
  238. RF cohens kappa score: 0.391
  239. -> test with 'GB'
  240. GB tn, fp: 285, 5
  241. GB fn, tp: 5, 2
  242. GB f1 score: 0.286
  243. GB cohens kappa score: 0.268
  244. -> test with 'KNN'
  245. KNN tn, fp: 272, 18
  246. KNN fn, tp: 4, 3
  247. KNN f1 score: 0.214
  248. KNN cohens kappa score: 0.185
  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.95it/s] 40%|████ | 4/10 [00:02<00:03, 1.99it/s] 50%|█████ | 5/10 [00:02<00:02, 1.95it/s] 60%|██████ | 6/10 [00:03<00:02, 1.92it/s] 70%|███████ | 7/10 [00:03<00:01, 1.94it/s] 80%|████████ | 8/10 [00:04<00:01, 1.96it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.87it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  253. -> create 1132 synthetic samples
  254. -> test with 'LR'
  255. LR tn, fp: 280, 9
  256. LR fn, tp: 3, 4
  257. LR f1 score: 0.400
  258. LR cohens kappa score: 0.381
  259. LR average precision score: 0.478
  260. -> test with 'RF'
  261. RF tn, fp: 289, 0
  262. RF fn, tp: 5, 2
  263. RF f1 score: 0.444
  264. RF cohens kappa score: 0.439
  265. -> test with 'GB'
  266. GB tn, fp: 289, 0
  267. GB fn, tp: 6, 1
  268. GB f1 score: 0.250
  269. GB cohens kappa score: 0.246
  270. -> test with 'KNN'
  271. KNN tn, fp: 281, 8
  272. KNN fn, tp: 3, 4
  273. KNN f1 score: 0.421
  274. KNN cohens kappa score: 0.403
  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:04, 2.08it/s] 20%|██ | 2/10 [00:00<00:03, 2.02it/s] 30%|███ | 3/10 [00:01<00:03, 2.00it/s] 40%|████ | 4/10 [00:01<00:02, 2.01it/s] 50%|█████ | 5/10 [00:02<00:02, 2.02it/s] 60%|██████ | 6/10 [00:02<00:01, 2.01it/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.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s] 100%|██████████| 10/10 [00:05<00:00, 1.98it/s]
  282. -> create 1131 synthetic samples
  283. -> test with 'LR'
  284. LR tn, fp: 275, 15
  285. LR fn, tp: 2, 5
  286. LR f1 score: 0.370
  287. LR cohens kappa score: 0.348
  288. LR average precision score: 0.517
  289. -> test with 'RF'
  290. RF tn, fp: 289, 1
  291. RF fn, tp: 5, 2
  292. RF f1 score: 0.400
  293. RF cohens kappa score: 0.391
  294. -> test with 'GB'
  295. GB tn, fp: 289, 1
  296. GB fn, tp: 3, 4
  297. GB f1 score: 0.667
  298. GB cohens kappa score: 0.660
  299. -> test with 'KNN'
  300. KNN tn, fp: 275, 15
  301. KNN fn, tp: 2, 5
  302. KNN f1 score: 0.370
  303. KNN cohens kappa score: 0.348
  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, 1.87it/s] 20%|██ | 2/10 [00:01<00:04, 1.84it/s] 30%|███ | 3/10 [00:01<00:03, 1.85it/s] 40%|████ | 4/10 [00:02<00:03, 1.86it/s] 50%|█████ | 5/10 [00:02<00:02, 1.87it/s] 60%|██████ | 6/10 [00:03<00:02, 1.88it/s] 70%|███████ | 7/10 [00:03<00:01, 1.88it/s] 80%|████████ | 8/10 [00:04<00:01, 1.93it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.89it/s]
  308. -> create 1131 synthetic samples
  309. -> test with 'LR'
  310. LR tn, fp: 266, 24
  311. LR fn, tp: 0, 7
  312. LR f1 score: 0.368
  313. LR cohens kappa score: 0.343
  314. LR average precision score: 0.429
  315. -> test with 'RF'
  316. RF tn, fp: 290, 0
  317. RF fn, tp: 3, 4
  318. RF f1 score: 0.727
  319. RF cohens kappa score: 0.723
  320. -> test with 'GB'
  321. GB tn, fp: 289, 1
  322. GB fn, tp: 4, 3
  323. GB f1 score: 0.545
  324. GB cohens kappa score: 0.538
  325. -> test with 'KNN'
  326. KNN tn, fp: 282, 8
  327. KNN fn, tp: 2, 5
  328. KNN f1 score: 0.500
  329. KNN cohens kappa score: 0.484
  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.92it/s] 20%|██ | 2/10 [00:01<00:04, 1.91it/s] 30%|███ | 3/10 [00:01<00:03, 1.93it/s] 40%|████ | 4/10 [00:02<00:03, 1.98it/s] 50%|█████ | 5/10 [00:02<00:02, 2.01it/s] 60%|██████ | 6/10 [00:03<00:02, 1.99it/s] 70%|███████ | 7/10 [00:03<00:01, 2.01it/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.98it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  334. -> create 1131 synthetic samples
  335. -> test with 'LR'
  336. LR tn, fp: 286, 4
  337. LR fn, tp: 5, 2
  338. LR f1 score: 0.308
  339. LR cohens kappa score: 0.292
  340. LR average precision score: 0.501
  341. -> test with 'RF'
  342. RF tn, fp: 289, 1
  343. RF fn, tp: 6, 1
  344. RF f1 score: 0.222
  345. RF cohens kappa score: 0.214
  346. -> test with 'GB'
  347. GB tn, fp: 289, 1
  348. GB fn, tp: 6, 1
  349. GB f1 score: 0.222
  350. GB cohens kappa score: 0.214
  351. -> test with 'KNN'
  352. KNN tn, fp: 285, 5
  353. KNN fn, tp: 3, 4
  354. KNN f1 score: 0.500
  355. KNN cohens kappa score: 0.486
  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.91it/s] 20%|██ | 2/10 [00:01<00:04, 1.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.97it/s] 40%|████ | 4/10 [00:02<00:03, 1.97it/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, 2.02it/s] 80%|████████ | 8/10 [00:04<00:01, 1.97it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s] 100%|██████████| 10/10 [00:05<00:00, 1.95it/s]
  360. -> create 1131 synthetic samples
  361. -> test with 'LR'
  362. LR tn, fp: 249, 41
  363. LR fn, tp: 1, 6
  364. LR f1 score: 0.222
  365. LR cohens kappa score: 0.189
  366. LR average precision score: 0.262
  367. -> test with 'RF'
  368. RF tn, fp: 288, 2
  369. RF fn, tp: 4, 3
  370. RF f1 score: 0.500
  371. RF cohens kappa score: 0.490
  372. -> test with 'GB'
  373. GB tn, fp: 286, 4
  374. GB fn, tp: 4, 3
  375. GB f1 score: 0.429
  376. GB cohens kappa score: 0.415
  377. -> test with 'KNN'
  378. KNN tn, fp: 274, 16
  379. KNN fn, tp: 2, 5
  380. KNN f1 score: 0.357
  381. KNN cohens kappa score: 0.334
  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.90it/s] 20%|██ | 2/10 [00:01<00:04, 1.98it/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.95it/s] 60%|██████ | 6/10 [00:03<00:02, 1.98it/s] 70%|███████ | 7/10 [00:03<00:01, 2.00it/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.96it/s] 100%|██████████| 10/10 [00:05<00:00, 1.96it/s]
  386. -> create 1132 synthetic samples
  387. -> test with 'LR'
  388. LR tn, fp: 285, 4
  389. LR fn, tp: 2, 5
  390. LR f1 score: 0.625
  391. LR cohens kappa score: 0.615
  392. LR average precision score: 0.529
  393. -> test with 'RF'
  394. RF tn, fp: 289, 0
  395. RF fn, tp: 7, 0
  396. RF f1 score: 0.000
  397. RF cohens kappa score: 0.000
  398. -> test with 'GB'
  399. GB tn, fp: 288, 1
  400. GB fn, tp: 7, 0
  401. GB f1 score: 0.000
  402. GB cohens kappa score: -0.006
  403. -> test with 'KNN'
  404. KNN tn, fp: 285, 4
  405. KNN fn, tp: 2, 5
  406. KNN f1 score: 0.625
  407. KNN cohens kappa score: 0.615
  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:06, 1.50it/s] 20%|██ | 2/10 [00:01<00:04, 1.76it/s] 30%|███ | 3/10 [00:01<00:03, 1.90it/s] 40%|████ | 4/10 [00:02<00:03, 1.96it/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.94it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  415. -> create 1131 synthetic samples
  416. -> test with 'LR'
  417. LR tn, fp: 257, 33
  418. LR fn, tp: 0, 7
  419. LR f1 score: 0.298
  420. LR cohens kappa score: 0.269
  421. LR average precision score: 0.567
  422. -> test with 'RF'
  423. RF tn, fp: 290, 0
  424. RF fn, tp: 5, 2
  425. RF f1 score: 0.444
  426. RF cohens kappa score: 0.439
  427. -> test with 'GB'
  428. GB tn, fp: 289, 1
  429. GB fn, tp: 3, 4
  430. GB f1 score: 0.667
  431. GB cohens kappa score: 0.660
  432. -> test with 'KNN'
  433. KNN tn, fp: 280, 10
  434. KNN fn, tp: 1, 6
  435. KNN f1 score: 0.522
  436. KNN cohens kappa score: 0.506
  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.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.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.96it/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.91it/s] 100%|██████████| 10/10 [00:05<00:00, 1.93it/s]
  441. -> create 1131 synthetic samples
  442. -> test with 'LR'
  443. LR tn, fp: 254, 36
  444. LR fn, tp: 2, 5
  445. LR f1 score: 0.208
  446. LR cohens kappa score: 0.175
  447. LR average precision score: 0.162
  448. -> test with 'RF'
  449. RF tn, fp: 288, 2
  450. RF fn, tp: 4, 3
  451. RF f1 score: 0.500
  452. RF cohens kappa score: 0.490
  453. -> test with 'GB'
  454. GB tn, fp: 287, 3
  455. GB fn, tp: 5, 2
  456. GB f1 score: 0.333
  457. GB cohens kappa score: 0.320
  458. -> test with 'KNN'
  459. KNN tn, fp: 277, 13
  460. KNN fn, tp: 2, 5
  461. KNN f1 score: 0.400
  462. KNN cohens kappa score: 0.379
  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.98it/s] 20%|██ | 2/10 [00:01<00:04, 1.93it/s] 30%|███ | 3/10 [00:01<00:03, 1.91it/s] 40%|████ | 4/10 [00:02<00:03, 1.92it/s] 50%|█████ | 5/10 [00:02<00:02, 1.96it/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.89it/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.91it/s]
  467. -> create 1131 synthetic samples
  468. -> test with 'LR'
  469. LR tn, fp: 281, 9
  470. LR fn, tp: 2, 5
  471. LR f1 score: 0.476
  472. LR cohens kappa score: 0.459
  473. LR average precision score: 0.447
  474. -> test with 'RF'
  475. RF tn, fp: 289, 1
  476. RF fn, tp: 3, 4
  477. RF f1 score: 0.667
  478. RF cohens kappa score: 0.660
  479. -> test with 'GB'
  480. GB tn, fp: 286, 4
  481. GB fn, tp: 2, 5
  482. GB f1 score: 0.625
  483. GB cohens kappa score: 0.615
  484. -> test with 'KNN'
  485. KNN tn, fp: 278, 12
  486. KNN fn, tp: 2, 5
  487. KNN f1 score: 0.417
  488. KNN cohens kappa score: 0.397
  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.90it/s] 20%|██ | 2/10 [00:01<00:04, 1.90it/s] 30%|███ | 3/10 [00:01<00:03, 1.79it/s] 40%|████ | 4/10 [00:02<00:03, 1.76it/s] 50%|█████ | 5/10 [00:02<00:02, 1.72it/s] 60%|██████ | 6/10 [00:03<00:02, 1.73it/s] 70%|███████ | 7/10 [00:03<00:01, 1.80it/s] 80%|████████ | 8/10 [00:04<00:01, 1.84it/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.81it/s]
  493. -> create 1131 synthetic samples
  494. -> test with 'LR'
  495. LR tn, fp: 286, 4
  496. LR fn, tp: 2, 5
  497. LR f1 score: 0.625
  498. LR cohens kappa score: 0.615
  499. LR average precision score: 0.646
  500. -> test with 'RF'
  501. RF tn, fp: 290, 0
  502. RF fn, tp: 4, 3
  503. RF f1 score: 0.600
  504. RF cohens kappa score: 0.594
  505. -> test with 'GB'
  506. GB tn, fp: 289, 1
  507. GB fn, tp: 5, 2
  508. GB f1 score: 0.400
  509. GB cohens kappa score: 0.391
  510. -> test with 'KNN'
  511. KNN tn, fp: 285, 5
  512. KNN fn, tp: 3, 4
  513. KNN f1 score: 0.500
  514. KNN cohens kappa score: 0.486
  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:05, 1.77it/s] 20%|██ | 2/10 [00:01<00:04, 1.86it/s] 30%|███ | 3/10 [00:01<00:03, 1.81it/s] 40%|████ | 4/10 [00:02<00:03, 1.81it/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.88it/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.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.88it/s]
  519. -> create 1132 synthetic samples
  520. -> test with 'LR'
  521. LR tn, fp: 264, 25
  522. LR fn, tp: 2, 5
  523. LR f1 score: 0.270
  524. LR cohens kappa score: 0.241
  525. LR average precision score: 0.564
  526. -> test with 'RF'
  527. RF tn, fp: 289, 0
  528. RF fn, tp: 4, 3
  529. RF f1 score: 0.600
  530. RF cohens kappa score: 0.594
  531. -> test with 'GB'
  532. GB tn, fp: 288, 1
  533. GB fn, tp: 4, 3
  534. GB f1 score: 0.545
  535. GB cohens kappa score: 0.537
  536. -> test with 'KNN'
  537. KNN tn, fp: 276, 13
  538. KNN fn, tp: 4, 3
  539. KNN f1 score: 0.261
  540. KNN cohens kappa score: 0.236
  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, 2.06it/s] 20%|██ | 2/10 [00:00<00:03, 2.05it/s] 30%|███ | 3/10 [00:01<00:03, 1.96it/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.97it/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.96it/s] 100%|██████████| 10/10 [00:05<00:00, 1.99it/s] 100%|██████████| 10/10 [00:05<00:00, 1.97it/s]
  548. -> create 1131 synthetic samples
  549. -> test with 'LR'
  550. LR tn, fp: 283, 7
  551. LR fn, tp: 2, 5
  552. LR f1 score: 0.526
  553. LR cohens kappa score: 0.512
  554. LR average precision score: 0.315
  555. -> test with 'RF'
  556. RF tn, fp: 289, 1
  557. RF fn, tp: 3, 4
  558. RF f1 score: 0.667
  559. RF cohens kappa score: 0.660
  560. -> test with 'GB'
  561. GB tn, fp: 286, 4
  562. GB fn, tp: 3, 4
  563. GB f1 score: 0.533
  564. GB cohens kappa score: 0.521
  565. -> test with 'KNN'
  566. KNN tn, fp: 278, 12
  567. KNN fn, tp: 1, 6
  568. KNN f1 score: 0.480
  569. KNN cohens kappa score: 0.462
  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.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.87it/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.84it/s] 80%|████████ | 8/10 [00:04<00:01, 1.83it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.85it/s] 100%|██████████| 10/10 [00:06<00:00, 1.25it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s]
  574. -> create 1131 synthetic samples
  575. -> test with 'LR'
  576. LR tn, fp: 288, 2
  577. LR fn, tp: 6, 1
  578. LR f1 score: 0.200
  579. LR cohens kappa score: 0.189
  580. LR average precision score: 0.210
  581. -> test with 'RF'
  582. RF tn, fp: 289, 1
  583. RF fn, tp: 5, 2
  584. RF f1 score: 0.400
  585. RF cohens kappa score: 0.391
  586. -> test with 'GB'
  587. GB tn, fp: 288, 2
  588. GB fn, tp: 5, 2
  589. GB f1 score: 0.364
  590. GB cohens kappa score: 0.353
  591. -> test with 'KNN'
  592. KNN tn, fp: 282, 8
  593. KNN fn, tp: 4, 3
  594. KNN f1 score: 0.333
  595. KNN cohens kappa score: 0.314
  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:01<00:13, 1.45s/it] 20%|██ | 2/10 [00:01<00:07, 1.09it/s] 30%|███ | 3/10 [00:02<00:05, 1.36it/s] 40%|████ | 4/10 [00:03<00:03, 1.52it/s] 50%|█████ | 5/10 [00:03<00:03, 1.56it/s] 60%|██████ | 6/10 [00:04<00:02, 1.60it/s] 70%|███████ | 7/10 [00:04<00:01, 1.63it/s] 80%|████████ | 8/10 [00:05<00:01, 1.62it/s] 90%|█████████ | 9/10 [00:06<00:00, 1.68it/s] 100%|██████████| 10/10 [00:06<00:00, 1.72it/s] 100%|██████████| 10/10 [00:06<00:00, 1.52it/s]
  600. -> create 1131 synthetic samples
  601. -> test with 'LR'
  602. LR tn, fp: 289, 1
  603. LR fn, tp: 4, 3
  604. LR f1 score: 0.545
  605. LR cohens kappa score: 0.538
  606. LR average precision score: 0.467
  607. -> test with 'RF'
  608. RF tn, fp: 289, 1
  609. RF fn, tp: 2, 5
  610. RF f1 score: 0.769
  611. RF cohens kappa score: 0.764
  612. -> test with 'GB'
  613. GB tn, fp: 289, 1
  614. GB fn, tp: 2, 5
  615. GB f1 score: 0.769
  616. GB cohens kappa score: 0.764
  617. -> test with 'KNN'
  618. KNN tn, fp: 278, 12
  619. KNN fn, tp: 1, 6
  620. KNN f1 score: 0.480
  621. KNN cohens kappa score: 0.462
  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.91it/s] 20%|██ | 2/10 [00:01<00:04, 1.88it/s] 30%|███ | 3/10 [00:01<00:03, 1.88it/s] 40%|████ | 4/10 [00:02<00:03, 1.86it/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.88it/s] 80%|████████ | 8/10 [00:04<00:01, 1.90it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.89it/s] 100%|██████████| 10/10 [00:05<00:00, 1.89it/s]
  626. -> create 1131 synthetic samples
  627. -> test with 'LR'
  628. LR tn, fp: 287, 3
  629. LR fn, tp: 4, 3
  630. LR f1 score: 0.462
  631. LR cohens kappa score: 0.450
  632. LR average precision score: 0.391
  633. -> test with 'RF'
  634. RF tn, fp: 290, 0
  635. RF fn, tp: 5, 2
  636. RF f1 score: 0.444
  637. RF cohens kappa score: 0.439
  638. -> test with 'GB'
  639. GB tn, fp: 289, 1
  640. GB fn, tp: 5, 2
  641. GB f1 score: 0.400
  642. GB cohens kappa score: 0.391
  643. -> test with 'KNN'
  644. KNN tn, fp: 284, 6
  645. KNN fn, tp: 3, 4
  646. KNN f1 score: 0.471
  647. KNN cohens kappa score: 0.455
  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:05, 1.69it/s] 20%|██ | 2/10 [00:01<00:04, 1.82it/s] 30%|███ | 3/10 [00:01<00:03, 1.86it/s] 40%|████ | 4/10 [00:02<00:03, 1.86it/s] 50%|█████ | 5/10 [00:02<00:02, 1.92it/s] 60%|██████ | 6/10 [00:03<00:02, 1.96it/s] 70%|███████ | 7/10 [00:03<00:01, 1.93it/s] 80%|████████ | 8/10 [00:04<00:01, 1.95it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.93it/s] 100%|██████████| 10/10 [00:05<00:00, 1.92it/s] 100%|██████████| 10/10 [00:05<00:00, 1.91it/s]
  652. -> create 1132 synthetic samples
  653. -> test with 'LR'
  654. LR tn, fp: 281, 8
  655. LR fn, tp: 3, 4
  656. LR f1 score: 0.421
  657. LR cohens kappa score: 0.403
  658. LR average precision score: 0.316
  659. -> test with 'RF'
  660. RF tn, fp: 288, 1
  661. RF fn, tp: 5, 2
  662. RF f1 score: 0.400
  663. RF cohens kappa score: 0.391
  664. -> test with 'GB'
  665. GB tn, fp: 288, 1
  666. GB fn, tp: 5, 2
  667. GB f1 score: 0.400
  668. GB cohens kappa score: 0.391
  669. -> test with 'KNN'
  670. KNN tn, fp: 285, 4
  671. KNN fn, tp: 4, 3
  672. KNN f1 score: 0.429
  673. KNN cohens kappa score: 0.415
  674. ### Exercise is done.
  675. -----[ LR ]-----
  676. maximum:
  677. LR tn, fp: 289, 41
  678. LR fn, tp: 6, 7
  679. LR f1 score: 0.625
  680. LR cohens kappa score: 0.615
  681. LR average precision score: 0.692
  682. average:
  683. LR tn, fp: 272.68, 17.12
  684. LR fn, tp: 2.12, 4.88
  685. LR f1 score: 0.375
  686. LR cohens kappa score: 0.353
  687. LR average precision score: 0.428
  688. minimum:
  689. LR tn, fp: 249, 1
  690. LR fn, tp: 0, 1
  691. LR f1 score: 0.200
  692. LR cohens kappa score: 0.175
  693. LR average precision score: 0.162
  694. -----[ RF ]-----
  695. maximum:
  696. RF tn, fp: 290, 3
  697. RF fn, tp: 7, 5
  698. RF f1 score: 0.769
  699. RF cohens kappa score: 0.764
  700. average:
  701. RF tn, fp: 288.96, 0.84
  702. RF fn, tp: 4.56, 2.44
  703. RF f1 score: 0.459
  704. RF cohens kappa score: 0.452
  705. minimum:
  706. RF tn, fp: 287, 0
  707. RF fn, tp: 2, 0
  708. RF f1 score: 0.000
  709. RF cohens kappa score: 0.000
  710. -----[ GB ]-----
  711. maximum:
  712. GB tn, fp: 290, 5
  713. GB fn, tp: 7, 5
  714. GB f1 score: 0.769
  715. GB cohens kappa score: 0.764
  716. average:
  717. GB tn, fp: 287.76, 2.04
  718. GB fn, tp: 4.16, 2.84
  719. GB f1 score: 0.463
  720. GB cohens kappa score: 0.453
  721. minimum:
  722. GB tn, fp: 285, 0
  723. GB fn, tp: 2, 0
  724. GB f1 score: 0.000
  725. GB cohens kappa score: -0.006
  726. -----[ KNN ]-----
  727. maximum:
  728. KNN tn, fp: 285, 19
  729. KNN fn, tp: 4, 7
  730. KNN f1 score: 0.625
  731. KNN cohens kappa score: 0.615
  732. average:
  733. KNN tn, fp: 279.36, 10.44
  734. KNN fn, tp: 2.44, 4.56
  735. KNN f1 score: 0.424
  736. KNN cohens kappa score: 0.405
  737. minimum:
  738. KNN tn, fp: 271, 4
  739. KNN fn, tp: 0, 3
  740. KNN f1 score: 0.214
  741. KNN cohens kappa score: 0.185