folding_car-vgood.log 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. ///////////////////////////////////////////
  2. // Running CTAB-GAN on folding_car-vgood
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_car-vgood'
  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.52it/s] 20%|██ | 2/10 [00:01<00:05, 1.54it/s] 30%|███ | 3/10 [00:01<00:04, 1.54it/s] 40%|████ | 4/10 [00:02<00:03, 1.58it/s] 50%|█████ | 5/10 [00:03<00:03, 1.62it/s] 60%|██████ | 6/10 [00:03<00:02, 1.60it/s] 70%|███████ | 7/10 [00:04<00:01, 1.63it/s] 80%|████████ | 8/10 [00:04<00:01, 1.69it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.71it/s] 100%|██████████| 10/10 [00:06<00:00, 1.67it/s] 100%|██████████| 10/10 [00:06<00:00, 1.63it/s]
  16. -> create 1278 synthetic samples
  17. -> test with 'LR'
  18. LR tn, fp: 295, 38
  19. LR fn, tp: 0, 13
  20. LR f1 score: 0.406
  21. LR cohens kappa score: 0.368
  22. LR average precision score: 0.335
  23. -> test with 'RF'
  24. RF tn, fp: 333, 0
  25. RF fn, tp: 0, 13
  26. RF f1 score: 1.000
  27. RF cohens kappa score: 1.000
  28. -> test with 'GB'
  29. GB tn, fp: 333, 0
  30. GB fn, tp: 0, 13
  31. GB f1 score: 1.000
  32. GB cohens kappa score: 1.000
  33. -> test with 'KNN'
  34. KNN tn, fp: 322, 11
  35. KNN fn, tp: 0, 13
  36. KNN f1 score: 0.703
  37. KNN cohens kappa score: 0.687
  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:05, 1.73it/s] 20%|██ | 2/10 [00:01<00:04, 1.77it/s] 30%|███ | 3/10 [00:01<00:03, 1.75it/s] 40%|████ | 4/10 [00:02<00:03, 1.57it/s] 50%|█████ | 5/10 [00:03<00:04, 1.24it/s] 60%|██████ | 6/10 [00:04<00:03, 1.31it/s] 70%|███████ | 7/10 [00:04<00:02, 1.37it/s] 80%|████████ | 8/10 [00:05<00:01, 1.44it/s] 90%|█████████ | 9/10 [00:06<00:00, 1.49it/s] 100%|██████████| 10/10 [00:06<00:00, 1.54it/s] 100%|██████████| 10/10 [00:06<00:00, 1.48it/s]
  42. -> create 1278 synthetic samples
  43. -> test with 'LR'
  44. LR tn, fp: 314, 19
  45. LR fn, tp: 6, 7
  46. LR f1 score: 0.359
  47. LR cohens kappa score: 0.325
  48. LR average precision score: 0.274
  49. -> test with 'RF'
  50. RF tn, fp: 333, 0
  51. RF fn, tp: 2, 11
  52. RF f1 score: 0.917
  53. RF cohens kappa score: 0.914
  54. -> test with 'GB'
  55. GB tn, fp: 333, 0
  56. GB fn, tp: 0, 13
  57. GB f1 score: 1.000
  58. GB cohens kappa score: 1.000
  59. -> test with 'KNN'
  60. KNN tn, fp: 312, 21
  61. KNN fn, tp: 0, 13
  62. KNN f1 score: 0.553
  63. KNN cohens kappa score: 0.528
  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:05, 1.62it/s] 20%|██ | 2/10 [00:01<00:05, 1.51it/s] 30%|███ | 3/10 [00:01<00:04, 1.57it/s] 40%|████ | 4/10 [00:02<00:03, 1.61it/s] 50%|█████ | 5/10 [00:03<00:03, 1.60it/s] 60%|██████ | 6/10 [00:03<00:02, 1.64it/s] 70%|███████ | 7/10 [00:04<00:01, 1.67it/s] 80%|████████ | 8/10 [00:04<00:01, 1.68it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.61it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s]
  68. -> create 1278 synthetic samples
  69. -> test with 'LR'
  70. LR tn, fp: 302, 31
  71. LR fn, tp: 1, 12
  72. LR f1 score: 0.429
  73. LR cohens kappa score: 0.394
  74. LR average precision score: 0.397
  75. -> test with 'RF'
  76. RF tn, fp: 333, 0
  77. RF fn, tp: 2, 11
  78. RF f1 score: 0.917
  79. RF cohens kappa score: 0.914
  80. -> test with 'GB'
  81. GB tn, fp: 333, 0
  82. GB fn, tp: 1, 12
  83. GB f1 score: 0.960
  84. GB cohens kappa score: 0.959
  85. -> test with 'KNN'
  86. KNN tn, fp: 313, 20
  87. KNN fn, tp: 0, 13
  88. KNN f1 score: 0.565
  89. KNN cohens kappa score: 0.540
  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:05, 1.71it/s] 20%|██ | 2/10 [00:01<00:04, 1.65it/s] 30%|███ | 3/10 [00:01<00:04, 1.50it/s] 40%|████ | 4/10 [00:02<00:04, 1.40it/s] 50%|█████ | 5/10 [00:03<00:03, 1.49it/s] 60%|██████ | 6/10 [00:04<00:02, 1.45it/s] 70%|███████ | 7/10 [00:04<00:02, 1.45it/s] 80%|████████ | 8/10 [00:05<00:01, 1.41it/s] 90%|█████████ | 9/10 [00:06<00:00, 1.46it/s] 100%|██████████| 10/10 [00:06<00:00, 1.55it/s] 100%|██████████| 10/10 [00:06<00:00, 1.50it/s]
  94. -> create 1278 synthetic samples
  95. -> test with 'LR'
  96. LR tn, fp: 283, 50
  97. LR fn, tp: 0, 13
  98. LR f1 score: 0.342
  99. LR cohens kappa score: 0.298
  100. LR average precision score: 0.392
  101. -> test with 'RF'
  102. RF tn, fp: 333, 0
  103. RF fn, tp: 1, 12
  104. RF f1 score: 0.960
  105. RF cohens kappa score: 0.959
  106. -> test with 'GB'
  107. GB tn, fp: 333, 0
  108. GB fn, tp: 0, 13
  109. GB f1 score: 1.000
  110. GB cohens kappa score: 1.000
  111. -> test with 'KNN'
  112. KNN tn, fp: 320, 13
  113. KNN fn, tp: 0, 13
  114. KNN f1 score: 0.667
  115. KNN cohens kappa score: 0.649
  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:05, 1.68it/s] 20%|██ | 2/10 [00:01<00:04, 1.68it/s] 30%|███ | 3/10 [00:01<00:04, 1.64it/s] 40%|████ | 4/10 [00:02<00:03, 1.64it/s] 50%|█████ | 5/10 [00:03<00:03, 1.64it/s] 60%|██████ | 6/10 [00:03<00:02, 1.70it/s] 70%|███████ | 7/10 [00:04<00:01, 1.58it/s] 80%|████████ | 8/10 [00:04<00:01, 1.63it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.69it/s] 100%|██████████| 10/10 [00:06<00:00, 1.66it/s]
  120. -> create 1280 synthetic samples
  121. -> test with 'LR'
  122. LR tn, fp: 302, 29
  123. LR fn, tp: 3, 10
  124. LR f1 score: 0.385
  125. LR cohens kappa score: 0.348
  126. LR average precision score: 0.403
  127. -> test with 'RF'
  128. RF tn, fp: 331, 0
  129. RF fn, tp: 2, 11
  130. RF f1 score: 0.917
  131. RF cohens kappa score: 0.914
  132. -> test with 'GB'
  133. GB tn, fp: 329, 2
  134. GB fn, tp: 0, 13
  135. GB f1 score: 0.929
  136. GB cohens kappa score: 0.926
  137. -> test with 'KNN'
  138. KNN tn, fp: 318, 13
  139. KNN fn, tp: 0, 13
  140. KNN f1 score: 0.667
  141. KNN cohens kappa score: 0.649
  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:06, 1.31it/s] 20%|██ | 2/10 [00:01<00:05, 1.51it/s] 30%|███ | 3/10 [00:02<00:04, 1.53it/s] 40%|████ | 4/10 [00:02<00:03, 1.62it/s] 50%|█████ | 5/10 [00:03<00:03, 1.58it/s] 60%|██████ | 6/10 [00:03<00:02, 1.66it/s] 70%|███████ | 7/10 [00:04<00:01, 1.62it/s] 80%|████████ | 8/10 [00:05<00:01, 1.60it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.64it/s] 100%|██████████| 10/10 [00:06<00:00, 1.68it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s]
  149. -> create 1278 synthetic samples
  150. -> test with 'LR'
  151. LR tn, fp: 279, 54
  152. LR fn, tp: 0, 13
  153. LR f1 score: 0.325
  154. LR cohens kappa score: 0.280
  155. LR average precision score: 0.259
  156. -> test with 'RF'
  157. RF tn, fp: 333, 0
  158. RF fn, tp: 1, 12
  159. RF f1 score: 0.960
  160. RF cohens kappa score: 0.959
  161. -> test with 'GB'
  162. GB tn, fp: 333, 0
  163. GB fn, tp: 0, 13
  164. GB f1 score: 1.000
  165. GB cohens kappa score: 1.000
  166. -> test with 'KNN'
  167. KNN tn, fp: 310, 23
  168. KNN fn, tp: 0, 13
  169. KNN f1 score: 0.531
  170. KNN cohens kappa score: 0.503
  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:05, 1.63it/s] 20%|██ | 2/10 [00:01<00:04, 1.73it/s] 30%|███ | 3/10 [00:01<00:04, 1.65it/s] 40%|████ | 4/10 [00:02<00:03, 1.70it/s] 50%|█████ | 5/10 [00:02<00:02, 1.75it/s] 60%|██████ | 6/10 [00:03<00:02, 1.68it/s] 70%|███████ | 7/10 [00:04<00:01, 1.65it/s] 80%|████████ | 8/10 [00:04<00:01, 1.67it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.65it/s] 100%|██████████| 10/10 [00:05<00:00, 1.65it/s] 100%|██████████| 10/10 [00:05<00:00, 1.67it/s]
  175. -> create 1278 synthetic samples
  176. -> test with 'LR'
  177. LR tn, fp: 305, 28
  178. LR fn, tp: 5, 8
  179. LR f1 score: 0.327
  180. LR cohens kappa score: 0.287
  181. LR average precision score: 0.274
  182. -> test with 'RF'
  183. RF tn, fp: 333, 0
  184. RF fn, tp: 0, 13
  185. RF f1 score: 1.000
  186. RF cohens kappa score: 1.000
  187. -> test with 'GB'
  188. GB tn, fp: 332, 1
  189. GB fn, tp: 0, 13
  190. GB f1 score: 0.963
  191. GB cohens kappa score: 0.961
  192. -> test with 'KNN'
  193. KNN tn, fp: 313, 20
  194. KNN fn, tp: 3, 10
  195. KNN f1 score: 0.465
  196. KNN cohens kappa score: 0.436
  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:06, 1.31it/s] 20%|██ | 2/10 [00:01<00:05, 1.40it/s] 30%|███ | 3/10 [00:01<00:04, 1.57it/s] 40%|████ | 4/10 [00:02<00:03, 1.56it/s] 50%|█████ | 5/10 [00:03<00:03, 1.64it/s] 60%|██████ | 6/10 [00:03<00:02, 1.61it/s] 70%|███████ | 7/10 [00:04<00:01, 1.57it/s] 80%|████████ | 8/10 [00:05<00:01, 1.62it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.58it/s] 100%|██████████| 10/10 [00:06<00:00, 1.57it/s]
  201. -> create 1278 synthetic samples
  202. -> test with 'LR'
  203. LR tn, fp: 311, 22
  204. LR fn, tp: 4, 9
  205. LR f1 score: 0.409
  206. LR cohens kappa score: 0.376
  207. LR average precision score: 0.355
  208. -> test with 'RF'
  209. RF tn, fp: 333, 0
  210. RF fn, tp: 1, 12
  211. RF f1 score: 0.960
  212. RF cohens kappa score: 0.959
  213. -> test with 'GB'
  214. GB tn, fp: 332, 1
  215. GB fn, tp: 1, 12
  216. GB f1 score: 0.923
  217. GB cohens kappa score: 0.920
  218. -> test with 'KNN'
  219. KNN tn, fp: 319, 14
  220. KNN fn, tp: 0, 13
  221. KNN f1 score: 0.650
  222. KNN cohens kappa score: 0.631
  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:06, 1.42it/s] 20%|██ | 2/10 [00:01<00:05, 1.60it/s] 30%|███ | 3/10 [00:01<00:04, 1.69it/s] 40%|████ | 4/10 [00:02<00:03, 1.72it/s] 50%|█████ | 5/10 [00:03<00:03, 1.60it/s] 60%|██████ | 6/10 [00:03<00:02, 1.61it/s] 70%|███████ | 7/10 [00:04<00:01, 1.64it/s] 80%|████████ | 8/10 [00:04<00:01, 1.65it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.66it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s] 100%|██████████| 10/10 [00:06<00:00, 1.63it/s]
  227. -> create 1278 synthetic samples
  228. -> test with 'LR'
  229. LR tn, fp: 317, 16
  230. LR fn, tp: 6, 7
  231. LR f1 score: 0.389
  232. LR cohens kappa score: 0.358
  233. LR average precision score: 0.357
  234. -> test with 'RF'
  235. RF tn, fp: 333, 0
  236. RF fn, tp: 1, 12
  237. RF f1 score: 0.960
  238. RF cohens kappa score: 0.959
  239. -> test with 'GB'
  240. GB tn, fp: 333, 0
  241. GB fn, tp: 2, 11
  242. GB f1 score: 0.917
  243. GB cohens kappa score: 0.914
  244. -> test with 'KNN'
  245. KNN tn, fp: 322, 11
  246. KNN fn, tp: 0, 13
  247. KNN f1 score: 0.703
  248. KNN cohens kappa score: 0.687
  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:05, 1.71it/s] 20%|██ | 2/10 [00:01<00:04, 1.78it/s] 30%|███ | 3/10 [00:01<00:04, 1.69it/s] 40%|████ | 4/10 [00:02<00:03, 1.59it/s] 50%|█████ | 5/10 [00:03<00:03, 1.65it/s] 60%|██████ | 6/10 [00:03<00:02, 1.62it/s] 70%|███████ | 7/10 [00:04<00:01, 1.66it/s] 80%|████████ | 8/10 [00:04<00:01, 1.71it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.76it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s] 100%|██████████| 10/10 [00:06<00:00, 1.66it/s]
  253. -> create 1280 synthetic samples
  254. -> test with 'LR'
  255. LR tn, fp: 318, 13
  256. LR fn, tp: 4, 9
  257. LR f1 score: 0.514
  258. LR cohens kappa score: 0.490
  259. LR average precision score: 0.434
  260. -> test with 'RF'
  261. RF tn, fp: 331, 0
  262. RF fn, tp: 1, 12
  263. RF f1 score: 0.960
  264. RF cohens kappa score: 0.958
  265. -> test with 'GB'
  266. GB tn, fp: 331, 0
  267. GB fn, tp: 0, 13
  268. GB f1 score: 1.000
  269. GB cohens kappa score: 1.000
  270. -> test with 'KNN'
  271. KNN tn, fp: 326, 5
  272. KNN fn, tp: 6, 7
  273. KNN f1 score: 0.560
  274. KNN cohens kappa score: 0.543
  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:06, 1.32it/s] 20%|██ | 2/10 [00:01<00:05, 1.53it/s] 30%|███ | 3/10 [00:01<00:04, 1.59it/s] 40%|████ | 4/10 [00:02<00:03, 1.50it/s] 50%|█████ | 5/10 [00:03<00:03, 1.59it/s] 60%|██████ | 6/10 [00:03<00:02, 1.65it/s] 70%|███████ | 7/10 [00:04<00:01, 1.72it/s] 80%|████████ | 8/10 [00:04<00:01, 1.68it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.63it/s] 100%|██████████| 10/10 [00:06<00:00, 1.67it/s] 100%|██████████| 10/10 [00:06<00:00, 1.62it/s]
  282. -> create 1278 synthetic samples
  283. -> test with 'LR'
  284. LR tn, fp: 286, 47
  285. LR fn, tp: 0, 13
  286. LR f1 score: 0.356
  287. LR cohens kappa score: 0.314
  288. LR average precision score: 0.312
  289. -> test with 'RF'
  290. RF tn, fp: 332, 1
  291. RF fn, tp: 3, 10
  292. RF f1 score: 0.833
  293. RF cohens kappa score: 0.827
  294. -> test with 'GB'
  295. GB tn, fp: 333, 0
  296. GB fn, tp: 1, 12
  297. GB f1 score: 0.960
  298. GB cohens kappa score: 0.959
  299. -> test with 'KNN'
  300. KNN tn, fp: 320, 13
  301. KNN fn, tp: 1, 12
  302. KNN f1 score: 0.632
  303. KNN cohens kappa score: 0.612
  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:08, 1.05it/s] 20%|██ | 2/10 [00:01<00:06, 1.31it/s] 30%|███ | 3/10 [00:02<00:05, 1.31it/s] 40%|████ | 4/10 [00:03<00:04, 1.39it/s] 50%|█████ | 5/10 [00:03<00:03, 1.43it/s] 60%|██████ | 6/10 [00:04<00:02, 1.54it/s] 70%|███████ | 7/10 [00:04<00:01, 1.62it/s] 80%|████████ | 8/10 [00:05<00:01, 1.67it/s] 90%|█████████ | 9/10 [00:06<00:00, 1.51it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s] 100%|██████████| 10/10 [00:06<00:00, 1.50it/s]
  308. -> create 1278 synthetic samples
  309. -> test with 'LR'
  310. LR tn, fp: 291, 42
  311. LR fn, tp: 0, 13
  312. LR f1 score: 0.382
  313. LR cohens kappa score: 0.342
  314. LR average precision score: 0.397
  315. -> test with 'RF'
  316. RF tn, fp: 333, 0
  317. RF fn, tp: 2, 11
  318. RF f1 score: 0.917
  319. RF cohens kappa score: 0.914
  320. -> test with 'GB'
  321. GB tn, fp: 333, 0
  322. GB fn, tp: 0, 13
  323. GB f1 score: 1.000
  324. GB cohens kappa score: 1.000
  325. -> test with 'KNN'
  326. KNN tn, fp: 318, 15
  327. KNN fn, tp: 1, 12
  328. KNN f1 score: 0.600
  329. KNN cohens kappa score: 0.579
  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:05, 1.56it/s] 20%|██ | 2/10 [00:01<00:05, 1.60it/s] 30%|███ | 3/10 [00:01<00:04, 1.65it/s] 40%|████ | 4/10 [00:02<00:03, 1.71it/s] 50%|█████ | 5/10 [00:03<00:03, 1.66it/s] 60%|██████ | 6/10 [00:03<00:02, 1.64it/s] 70%|███████ | 7/10 [00:04<00:01, 1.68it/s] 80%|████████ | 8/10 [00:04<00:01, 1.72it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.75it/s] 100%|██████████| 10/10 [00:05<00:00, 1.66it/s] 100%|██████████| 10/10 [00:05<00:00, 1.67it/s]
  334. -> create 1278 synthetic samples
  335. -> test with 'LR'
  336. LR tn, fp: 297, 36
  337. LR fn, tp: 2, 11
  338. LR f1 score: 0.367
  339. LR cohens kappa score: 0.327
  340. LR average precision score: 0.327
  341. -> test with 'RF'
  342. RF tn, fp: 333, 0
  343. RF fn, tp: 1, 12
  344. RF f1 score: 0.960
  345. RF cohens kappa score: 0.959
  346. -> test with 'GB'
  347. GB tn, fp: 331, 2
  348. GB fn, tp: 0, 13
  349. GB f1 score: 0.929
  350. GB cohens kappa score: 0.926
  351. -> test with 'KNN'
  352. KNN tn, fp: 307, 26
  353. KNN fn, tp: 0, 13
  354. KNN f1 score: 0.500
  355. KNN cohens kappa score: 0.470
  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:05, 1.56it/s] 20%|██ | 2/10 [00:01<00:05, 1.53it/s] 30%|███ | 3/10 [00:01<00:04, 1.63it/s] 40%|████ | 4/10 [00:02<00:03, 1.69it/s] 50%|█████ | 5/10 [00:03<00:02, 1.67it/s] 60%|██████ | 6/10 [00:03<00:02, 1.65it/s] 70%|███████ | 7/10 [00:04<00:01, 1.63it/s] 80%|████████ | 8/10 [00:05<00:01, 1.53it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.56it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s]
  360. -> create 1278 synthetic samples
  361. -> test with 'LR'
  362. LR tn, fp: 294, 39
  363. LR fn, tp: 1, 12
  364. LR f1 score: 0.375
  365. LR cohens kappa score: 0.335
  366. LR average precision score: 0.332
  367. -> test with 'RF'
  368. RF tn, fp: 333, 0
  369. RF fn, tp: 0, 13
  370. RF f1 score: 1.000
  371. RF cohens kappa score: 1.000
  372. -> test with 'GB'
  373. GB tn, fp: 333, 0
  374. GB fn, tp: 0, 13
  375. GB f1 score: 1.000
  376. GB cohens kappa score: 1.000
  377. -> test with 'KNN'
  378. KNN tn, fp: 318, 15
  379. KNN fn, tp: 2, 11
  380. KNN f1 score: 0.564
  381. KNN cohens kappa score: 0.541
  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:05, 1.78it/s] 20%|██ | 2/10 [00:01<00:05, 1.59it/s] 30%|███ | 3/10 [00:01<00:04, 1.63it/s] 40%|████ | 4/10 [00:02<00:03, 1.50it/s] 50%|█████ | 5/10 [00:03<00:03, 1.52it/s] 60%|██████ | 6/10 [00:03<00:02, 1.47it/s] 70%|███████ | 7/10 [00:04<00:02, 1.30it/s] 80%|████████ | 8/10 [00:06<00:01, 1.00it/s] 90%|█████████ | 9/10 [00:07<00:00, 1.10it/s] 100%|██████████| 10/10 [00:07<00:00, 1.19it/s] 100%|██████████| 10/10 [00:07<00:00, 1.28it/s]
  386. -> create 1280 synthetic samples
  387. -> test with 'LR'
  388. LR tn, fp: 317, 14
  389. LR fn, tp: 8, 5
  390. LR f1 score: 0.312
  391. LR cohens kappa score: 0.280
  392. LR average precision score: 0.370
  393. -> test with 'RF'
  394. RF tn, fp: 331, 0
  395. RF fn, tp: 2, 11
  396. RF f1 score: 0.917
  397. RF cohens kappa score: 0.914
  398. -> test with 'GB'
  399. GB tn, fp: 331, 0
  400. GB fn, tp: 1, 12
  401. GB f1 score: 0.960
  402. GB cohens kappa score: 0.958
  403. -> test with 'KNN'
  404. KNN tn, fp: 320, 11
  405. KNN fn, tp: 0, 13
  406. KNN f1 score: 0.703
  407. KNN cohens kappa score: 0.687
  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:05, 1.76it/s] 20%|██ | 2/10 [00:01<00:04, 1.74it/s] 30%|███ | 3/10 [00:01<00:03, 1.77it/s] 40%|████ | 4/10 [00:02<00:03, 1.62it/s] 50%|█████ | 5/10 [00:03<00:03, 1.63it/s] 60%|██████ | 6/10 [00:03<00:02, 1.69it/s] 70%|███████ | 7/10 [00:04<00:01, 1.73it/s] 80%|████████ | 8/10 [00:04<00:01, 1.64it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.67it/s] 100%|██████████| 10/10 [00:05<00:00, 1.71it/s] 100%|██████████| 10/10 [00:05<00:00, 1.69it/s]
  415. -> create 1278 synthetic samples
  416. -> test with 'LR'
  417. LR tn, fp: 318, 15
  418. LR fn, tp: 5, 8
  419. LR f1 score: 0.444
  420. LR cohens kappa score: 0.416
  421. LR average precision score: 0.355
  422. -> test with 'RF'
  423. RF tn, fp: 333, 0
  424. RF fn, tp: 0, 13
  425. RF f1 score: 1.000
  426. RF cohens kappa score: 1.000
  427. -> test with 'GB'
  428. GB tn, fp: 333, 0
  429. GB fn, tp: 0, 13
  430. GB f1 score: 1.000
  431. GB cohens kappa score: 1.000
  432. -> test with 'KNN'
  433. KNN tn, fp: 315, 18
  434. KNN fn, tp: 1, 12
  435. KNN f1 score: 0.558
  436. KNN cohens kappa score: 0.534
  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:05, 1.73it/s] 20%|██ | 2/10 [00:01<00:04, 1.79it/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.78it/s] 60%|██████ | 6/10 [00:03<00:02, 1.58it/s] 70%|███████ | 7/10 [00:04<00:01, 1.62it/s] 80%|████████ | 8/10 [00:04<00:01, 1.64it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.58it/s] 100%|██████████| 10/10 [00:06<00:00, 1.38it/s] 100%|██████████| 10/10 [00:06<00:00, 1.56it/s]
  441. -> create 1278 synthetic samples
  442. -> test with 'LR'
  443. LR tn, fp: 303, 30
  444. LR fn, tp: 1, 12
  445. LR f1 score: 0.436
  446. LR cohens kappa score: 0.402
  447. LR average precision score: 0.506
  448. -> test with 'RF'
  449. RF tn, fp: 333, 0
  450. RF fn, tp: 1, 12
  451. RF f1 score: 0.960
  452. RF cohens kappa score: 0.959
  453. -> test with 'GB'
  454. GB tn, fp: 332, 1
  455. GB fn, tp: 0, 13
  456. GB f1 score: 0.963
  457. GB cohens kappa score: 0.961
  458. -> test with 'KNN'
  459. KNN tn, fp: 316, 17
  460. KNN fn, tp: 0, 13
  461. KNN f1 score: 0.605
  462. KNN cohens kappa score: 0.583
  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:05, 1.60it/s] 20%|██ | 2/10 [00:01<00:04, 1.68it/s] 30%|███ | 3/10 [00:01<00:04, 1.56it/s] 40%|████ | 4/10 [00:02<00:03, 1.52it/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.67it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.69it/s] 100%|██████████| 10/10 [00:06<00:00, 1.49it/s] 100%|██████████| 10/10 [00:06<00:00, 1.57it/s]
  467. -> create 1278 synthetic samples
  468. -> test with 'LR'
  469. LR tn, fp: 272, 61
  470. LR fn, tp: 0, 13
  471. LR f1 score: 0.299
  472. LR cohens kappa score: 0.251
  473. LR average precision score: 0.316
  474. -> test with 'RF'
  475. RF tn, fp: 333, 0
  476. RF fn, tp: 0, 13
  477. RF f1 score: 1.000
  478. RF cohens kappa score: 1.000
  479. -> test with 'GB'
  480. GB tn, fp: 333, 0
  481. GB fn, tp: 0, 13
  482. GB f1 score: 1.000
  483. GB cohens kappa score: 1.000
  484. -> test with 'KNN'
  485. KNN tn, fp: 328, 5
  486. KNN fn, tp: 0, 13
  487. KNN f1 score: 0.839
  488. KNN cohens kappa score: 0.831
  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:05, 1.73it/s] 20%|██ | 2/10 [00:01<00:04, 1.72it/s] 30%|███ | 3/10 [00:02<00:05, 1.30it/s] 40%|████ | 4/10 [00:02<00:04, 1.43it/s] 50%|█████ | 5/10 [00:03<00:03, 1.48it/s] 60%|██████ | 6/10 [00:04<00:03, 1.30it/s] 70%|███████ | 7/10 [00:05<00:02, 1.05it/s] 80%|████████ | 8/10 [00:06<00:02, 1.04s/it] 90%|█████████ | 9/10 [00:07<00:00, 1.06it/s] 100%|██████████| 10/10 [00:08<00:00, 1.05it/s] 100%|██████████| 10/10 [00:08<00:00, 1.16it/s]
  493. -> create 1278 synthetic samples
  494. -> test with 'LR'
  495. LR tn, fp: 313, 20
  496. LR fn, tp: 3, 10
  497. LR f1 score: 0.465
  498. LR cohens kappa score: 0.436
  499. LR average precision score: 0.288
  500. -> test with 'RF'
  501. RF tn, fp: 333, 0
  502. RF fn, tp: 2, 11
  503. RF f1 score: 0.917
  504. RF cohens kappa score: 0.914
  505. -> test with 'GB'
  506. GB tn, fp: 332, 1
  507. GB fn, tp: 0, 13
  508. GB f1 score: 0.963
  509. GB cohens kappa score: 0.961
  510. -> test with 'KNN'
  511. KNN tn, fp: 318, 15
  512. KNN fn, tp: 0, 13
  513. KNN f1 score: 0.634
  514. KNN cohens kappa score: 0.614
  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:07, 1.14it/s] 20%|██ | 2/10 [00:01<00:05, 1.44it/s] 30%|███ | 3/10 [00:02<00:04, 1.54it/s] 40%|████ | 4/10 [00:02<00:03, 1.51it/s] 50%|█████ | 5/10 [00:03<00:03, 1.57it/s] 60%|██████ | 6/10 [00:03<00:02, 1.65it/s] 70%|███████ | 7/10 [00:04<00:01, 1.67it/s] 80%|████████ | 8/10 [00:05<00:01, 1.56it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.69it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s]
  519. -> create 1280 synthetic samples
  520. -> test with 'LR'
  521. LR tn, fp: 284, 47
  522. LR fn, tp: 0, 13
  523. LR f1 score: 0.356
  524. LR cohens kappa score: 0.314
  525. LR average precision score: 0.335
  526. -> test with 'RF'
  527. RF tn, fp: 331, 0
  528. RF fn, tp: 2, 11
  529. RF f1 score: 0.917
  530. RF cohens kappa score: 0.914
  531. -> test with 'GB'
  532. GB tn, fp: 331, 0
  533. GB fn, tp: 0, 13
  534. GB f1 score: 1.000
  535. GB cohens kappa score: 1.000
  536. -> test with 'KNN'
  537. KNN tn, fp: 312, 19
  538. KNN fn, tp: 1, 12
  539. KNN f1 score: 0.545
  540. KNN cohens kappa score: 0.520
  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:06, 1.38it/s] 20%|██ | 2/10 [00:01<00:05, 1.46it/s] 30%|███ | 3/10 [00:01<00:04, 1.58it/s] 40%|████ | 4/10 [00:02<00:03, 1.63it/s] 50%|█████ | 5/10 [00:03<00:03, 1.59it/s] 60%|██████ | 6/10 [00:03<00:02, 1.61it/s] 70%|███████ | 7/10 [00:04<00:01, 1.64it/s] 80%|████████ | 8/10 [00:05<00:01, 1.61it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.54it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s] 100%|██████████| 10/10 [00:06<00:00, 1.58it/s]
  548. -> create 1278 synthetic samples
  549. -> test with 'LR'
  550. LR tn, fp: 276, 57
  551. LR fn, tp: 0, 13
  552. LR f1 score: 0.313
  553. LR cohens kappa score: 0.267
  554. LR average precision score: 0.261
  555. -> test with 'RF'
  556. RF tn, fp: 333, 0
  557. RF fn, tp: 3, 10
  558. RF f1 score: 0.870
  559. RF cohens kappa score: 0.865
  560. -> test with 'GB'
  561. GB tn, fp: 333, 0
  562. GB fn, tp: 0, 13
  563. GB f1 score: 1.000
  564. GB cohens kappa score: 1.000
  565. -> test with 'KNN'
  566. KNN tn, fp: 317, 16
  567. KNN fn, tp: 1, 12
  568. KNN f1 score: 0.585
  569. KNN cohens kappa score: 0.563
  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.89it/s] 20%|██ | 2/10 [00:01<00:04, 1.87it/s] 30%|███ | 3/10 [00:01<00:03, 1.84it/s] 40%|████ | 4/10 [00:02<00:03, 1.85it/s] 50%|█████ | 5/10 [00:02<00:02, 1.85it/s] 60%|██████ | 6/10 [00:03<00:02, 1.86it/s] 70%|███████ | 7/10 [00:03<00:01, 1.79it/s] 80%|████████ | 8/10 [00:04<00:01, 1.77it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.79it/s] 100%|██████████| 10/10 [00:05<00:00, 1.80it/s] 100%|██████████| 10/10 [00:05<00:00, 1.82it/s]
  574. -> create 1278 synthetic samples
  575. -> test with 'LR'
  576. LR tn, fp: 281, 52
  577. LR fn, tp: 0, 13
  578. LR f1 score: 0.333
  579. LR cohens kappa score: 0.289
  580. LR average precision score: 0.331
  581. -> test with 'RF'
  582. RF tn, fp: 333, 0
  583. RF fn, tp: 3, 10
  584. RF f1 score: 0.870
  585. RF cohens kappa score: 0.865
  586. -> test with 'GB'
  587. GB tn, fp: 333, 0
  588. GB fn, tp: 0, 13
  589. GB f1 score: 1.000
  590. GB cohens kappa score: 1.000
  591. -> test with 'KNN'
  592. KNN tn, fp: 323, 10
  593. KNN fn, tp: 0, 13
  594. KNN f1 score: 0.722
  595. KNN cohens kappa score: 0.708
  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.97it/s] 20%|██ | 2/10 [00:00<00:03, 2.05it/s] 30%|███ | 3/10 [00:01<00:03, 2.02it/s] 40%|████ | 4/10 [00:01<00:02, 2.00it/s] 50%|█████ | 5/10 [00:02<00:02, 2.00it/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.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.90it/s] 100%|██████████| 10/10 [00:05<00:00, 1.94it/s]
  600. -> create 1278 synthetic samples
  601. -> test with 'LR'
  602. LR tn, fp: 307, 26
  603. LR fn, tp: 3, 10
  604. LR f1 score: 0.408
  605. LR cohens kappa score: 0.374
  606. LR average precision score: 0.361
  607. -> test with 'RF'
  608. RF tn, fp: 333, 0
  609. RF fn, tp: 1, 12
  610. RF f1 score: 0.960
  611. RF cohens kappa score: 0.959
  612. -> test with 'GB'
  613. GB tn, fp: 333, 0
  614. GB fn, tp: 0, 13
  615. GB f1 score: 1.000
  616. GB cohens kappa score: 1.000
  617. -> test with 'KNN'
  618. KNN tn, fp: 316, 17
  619. KNN fn, tp: 0, 13
  620. KNN f1 score: 0.605
  621. KNN cohens kappa score: 0.583
  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.83it/s] 20%|██ | 2/10 [00:01<00:04, 1.92it/s] 30%|███ | 3/10 [00:01<00:03, 1.87it/s] 40%|████ | 4/10 [00:02<00:03, 1.78it/s] 50%|█████ | 5/10 [00:02<00:02, 1.75it/s] 60%|██████ | 6/10 [00:03<00:02, 1.75it/s] 70%|███████ | 7/10 [00:03<00:01, 1.72it/s] 80%|████████ | 8/10 [00:04<00:01, 1.75it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.81it/s] 100%|██████████| 10/10 [00:05<00:00, 1.81it/s] 100%|██████████| 10/10 [00:05<00:00, 1.79it/s]
  626. -> create 1278 synthetic samples
  627. -> test with 'LR'
  628. LR tn, fp: 314, 19
  629. LR fn, tp: 8, 5
  630. LR f1 score: 0.270
  631. LR cohens kappa score: 0.233
  632. LR average precision score: 0.289
  633. -> test with 'RF'
  634. RF tn, fp: 333, 0
  635. RF fn, tp: 1, 12
  636. RF f1 score: 0.960
  637. RF cohens kappa score: 0.959
  638. -> test with 'GB'
  639. GB tn, fp: 333, 0
  640. GB fn, tp: 1, 12
  641. GB f1 score: 0.960
  642. GB cohens kappa score: 0.959
  643. -> test with 'KNN'
  644. KNN tn, fp: 317, 16
  645. KNN fn, tp: 0, 13
  646. KNN f1 score: 0.619
  647. KNN cohens kappa score: 0.598
  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.74it/s] 20%|██ | 2/10 [00:01<00:04, 1.81it/s] 30%|███ | 3/10 [00:01<00:03, 1.81it/s] 40%|████ | 4/10 [00:02<00:03, 1.84it/s] 50%|█████ | 5/10 [00:02<00:02, 1.85it/s] 60%|██████ | 6/10 [00:03<00:02, 1.85it/s] 70%|███████ | 7/10 [00:03<00:01, 1.83it/s] 80%|████████ | 8/10 [00:04<00:01, 1.78it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.79it/s] 100%|██████████| 10/10 [00:05<00:00, 1.79it/s] 100%|██████████| 10/10 [00:05<00:00, 1.81it/s]
  652. -> create 1280 synthetic samples
  653. -> test with 'LR'
  654. LR tn, fp: 311, 20
  655. LR fn, tp: 3, 10
  656. LR f1 score: 0.465
  657. LR cohens kappa score: 0.435
  658. LR average precision score: 0.447
  659. -> test with 'RF'
  660. RF tn, fp: 331, 0
  661. RF fn, tp: 1, 12
  662. RF f1 score: 0.960
  663. RF cohens kappa score: 0.958
  664. -> test with 'GB'
  665. GB tn, fp: 329, 2
  666. GB fn, tp: 0, 13
  667. GB f1 score: 0.929
  668. GB cohens kappa score: 0.926
  669. -> test with 'KNN'
  670. KNN tn, fp: 318, 13
  671. KNN fn, tp: 0, 13
  672. KNN f1 score: 0.667
  673. KNN cohens kappa score: 0.649
  674. ### Exercise is done.
  675. -----[ LR ]-----
  676. maximum:
  677. LR tn, fp: 318, 61
  678. LR fn, tp: 8, 13
  679. LR f1 score: 0.514
  680. LR cohens kappa score: 0.490
  681. LR average precision score: 0.506
  682. average:
  683. LR tn, fp: 299.6, 33.0
  684. LR fn, tp: 2.52, 10.48
  685. LR f1 score: 0.379
  686. LR cohens kappa score: 0.342
  687. LR average precision score: 0.348
  688. minimum:
  689. LR tn, fp: 272, 13
  690. LR fn, tp: 0, 5
  691. LR f1 score: 0.270
  692. LR cohens kappa score: 0.233
  693. LR average precision score: 0.259
  694. -----[ RF ]-----
  695. maximum:
  696. RF tn, fp: 333, 1
  697. RF fn, tp: 3, 13
  698. RF f1 score: 1.000
  699. RF cohens kappa score: 1.000
  700. average:
  701. RF tn, fp: 332.56, 0.04
  702. RF fn, tp: 1.32, 11.68
  703. RF f1 score: 0.944
  704. RF cohens kappa score: 0.942
  705. minimum:
  706. RF tn, fp: 331, 0
  707. RF fn, tp: 0, 10
  708. RF f1 score: 0.833
  709. RF cohens kappa score: 0.827
  710. -----[ GB ]-----
  711. maximum:
  712. GB tn, fp: 333, 2
  713. GB fn, tp: 2, 13
  714. GB f1 score: 1.000
  715. GB cohens kappa score: 1.000
  716. average:
  717. GB tn, fp: 332.2, 0.4
  718. GB fn, tp: 0.28, 12.72
  719. GB f1 score: 0.974
  720. GB cohens kappa score: 0.973
  721. minimum:
  722. GB tn, fp: 329, 0
  723. GB fn, tp: 0, 11
  724. GB f1 score: 0.917
  725. GB cohens kappa score: 0.914
  726. -----[ KNN ]-----
  727. maximum:
  728. KNN tn, fp: 328, 26
  729. KNN fn, tp: 6, 13
  730. KNN f1 score: 0.839
  731. KNN cohens kappa score: 0.831
  732. average:
  733. KNN tn, fp: 317.52, 15.08
  734. KNN fn, tp: 0.64, 12.36
  735. KNN f1 score: 0.618
  736. KNN cohens kappa score: 0.597
  737. minimum:
  738. KNN tn, fp: 307, 5
  739. KNN fn, tp: 0, 7
  740. KNN f1 score: 0.465
  741. KNN cohens kappa score: 0.436