folding_car_good.log 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. ///////////////////////////////////////////
  2. // Running CTAB-GAN on folding_car_good
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_car_good'
  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:01<00:10, 1.13s/it] 20%|██ | 2/10 [00:02<00:09, 1.13s/it] 30%|███ | 3/10 [00:03<00:08, 1.28s/it] 40%|████ | 4/10 [00:04<00:07, 1.18s/it] 50%|█████ | 5/10 [00:06<00:06, 1.30s/it] 60%|██████ | 6/10 [00:07<00:04, 1.17s/it] 70%|███████ | 7/10 [00:08<00:03, 1.08s/it] 80%|████████ | 8/10 [00:08<00:01, 1.03it/s] 90%|█████████ | 9/10 [00:09<00:00, 1.20it/s] 100%|██████████| 10/10 [00:09<00:00, 1.38it/s] 100%|██████████| 10/10 [00:09<00:00, 1.02it/s]
  16. -> create 1272 synthetic samples
  17. -> test with 'LR'
  18. LR tn, fp: 162, 170
  19. LR fn, tp: 4, 10
  20. LR f1 score: 0.103
  21. LR cohens kappa score: 0.030
  22. LR average precision score: 0.058
  23. -> test with 'RF'
  24. RF tn, fp: 332, 0
  25. RF fn, tp: 5, 9
  26. RF f1 score: 0.783
  27. RF cohens kappa score: 0.775
  28. -> test with 'GB'
  29. GB tn, fp: 329, 3
  30. GB fn, tp: 6, 8
  31. GB f1 score: 0.640
  32. GB cohens kappa score: 0.627
  33. -> test with 'KNN'
  34. KNN tn, fp: 294, 38
  35. KNN fn, tp: 0, 14
  36. KNN f1 score: 0.424
  37. KNN cohens kappa score: 0.385
  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:01<00:12, 1.42s/it] 20%|██ | 2/10 [00:02<00:09, 1.18s/it] 30%|███ | 3/10 [00:03<00:08, 1.15s/it] 40%|████ | 4/10 [00:04<00:06, 1.00s/it] 50%|█████ | 5/10 [00:05<00:04, 1.12it/s] 60%|██████ | 6/10 [00:05<00:03, 1.23it/s] 70%|███████ | 7/10 [00:06<00:02, 1.29it/s] 80%|████████ | 8/10 [00:07<00:01, 1.34it/s] 90%|█████████ | 9/10 [00:07<00:00, 1.46it/s] 100%|██████████| 10/10 [00:08<00:00, 1.56it/s] 100%|██████████| 10/10 [00:08<00:00, 1.22it/s]
  42. -> create 1272 synthetic samples
  43. -> test with 'LR'
  44. LR tn, fp: 177, 155
  45. LR fn, tp: 2, 12
  46. LR f1 score: 0.133
  47. LR cohens kappa score: 0.063
  48. LR average precision score: 0.064
  49. -> test with 'RF'
  50. RF tn, fp: 331, 1
  51. RF fn, tp: 5, 9
  52. RF f1 score: 0.750
  53. RF cohens kappa score: 0.741
  54. -> test with 'GB'
  55. GB tn, fp: 331, 1
  56. GB fn, tp: 6, 8
  57. GB f1 score: 0.696
  58. GB cohens kappa score: 0.686
  59. -> test with 'KNN'
  60. KNN tn, fp: 280, 52
  61. KNN fn, tp: 2, 12
  62. KNN f1 score: 0.308
  63. KNN cohens kappa score: 0.258
  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.90it/s] 20%|██ | 2/10 [00:01<00:05, 1.48it/s] 30%|███ | 3/10 [00:01<00:04, 1.53it/s] 40%|████ | 4/10 [00:02<00:03, 1.59it/s] 50%|█████ | 5/10 [00:03<00:02, 1.67it/s] 60%|██████ | 6/10 [00:03<00:02, 1.56it/s] 70%|███████ | 7/10 [00:04<00:01, 1.64it/s] 80%|████████ | 8/10 [00:04<00:01, 1.69it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.73it/s] 100%|██████████| 10/10 [00:06<00:00, 1.64it/s] 100%|██████████| 10/10 [00:06<00:00, 1.64it/s]
  68. -> create 1272 synthetic samples
  69. -> test with 'LR'
  70. LR tn, fp: 180, 152
  71. LR fn, tp: 5, 9
  72. LR f1 score: 0.103
  73. LR cohens kappa score: 0.031
  74. LR average precision score: 0.063
  75. -> test with 'RF'
  76. RF tn, fp: 332, 0
  77. RF fn, tp: 7, 7
  78. RF f1 score: 0.667
  79. RF cohens kappa score: 0.657
  80. -> test with 'GB'
  81. GB tn, fp: 331, 1
  82. GB fn, tp: 3, 11
  83. GB f1 score: 0.846
  84. GB cohens kappa score: 0.840
  85. -> test with 'KNN'
  86. KNN tn, fp: 296, 36
  87. KNN fn, tp: 0, 14
  88. KNN f1 score: 0.438
  89. KNN cohens kappa score: 0.400
  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.06it/s] 20%|██ | 2/10 [00:00<00:03, 2.11it/s] 30%|███ | 3/10 [00:01<00:03, 2.13it/s] 40%|████ | 4/10 [00:01<00:02, 2.03it/s] 50%|█████ | 5/10 [00:02<00:02, 1.97it/s] 60%|██████ | 6/10 [00:02<00:02, 1.97it/s] 70%|███████ | 7/10 [00:03<00:01, 2.02it/s] 80%|████████ | 8/10 [00:03<00:00, 2.05it/s] 90%|█████████ | 9/10 [00:04<00:00, 1.97it/s] 100%|██████████| 10/10 [00:04<00:00, 1.99it/s] 100%|██████████| 10/10 [00:04<00:00, 2.01it/s]
  94. -> create 1272 synthetic samples
  95. -> test with 'LR'
  96. LR tn, fp: 195, 137
  97. LR fn, tp: 5, 9
  98. LR f1 score: 0.112
  99. LR cohens kappa score: 0.042
  100. LR average precision score: 0.069
  101. -> test with 'RF'
  102. RF tn, fp: 332, 0
  103. RF fn, tp: 8, 6
  104. RF f1 score: 0.600
  105. RF cohens kappa score: 0.590
  106. -> test with 'GB'
  107. GB tn, fp: 332, 0
  108. GB fn, tp: 4, 10
  109. GB f1 score: 0.833
  110. GB cohens kappa score: 0.828
  111. -> test with 'KNN'
  112. KNN tn, fp: 275, 57
  113. KNN fn, tp: 1, 13
  114. KNN f1 score: 0.310
  115. KNN cohens kappa score: 0.260
  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:06, 1.41it/s] 20%|██ | 2/10 [00:01<00:04, 1.60it/s] 30%|███ | 3/10 [00:01<00:04, 1.64it/s] 40%|████ | 4/10 [00:02<00:03, 1.65it/s] 50%|█████ | 5/10 [00:03<00:03, 1.61it/s] 60%|██████ | 6/10 [00:03<00:02, 1.64it/s] 70%|███████ | 7/10 [00:04<00:01, 1.61it/s] 80%|████████ | 8/10 [00:04<00:01, 1.62it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.68it/s] 100%|██████████| 10/10 [00:06<00:00, 1.64it/s]
  120. -> create 1272 synthetic samples
  121. -> test with 'LR'
  122. LR tn, fp: 188, 143
  123. LR fn, tp: 5, 8
  124. LR f1 score: 0.098
  125. LR cohens kappa score: 0.030
  126. LR average precision score: 0.044
  127. -> test with 'RF'
  128. RF tn, fp: 331, 0
  129. RF fn, tp: 6, 7
  130. RF f1 score: 0.700
  131. RF cohens kappa score: 0.692
  132. -> test with 'GB'
  133. GB tn, fp: 328, 3
  134. GB fn, tp: 2, 11
  135. GB f1 score: 0.815
  136. GB cohens kappa score: 0.807
  137. -> test with 'KNN'
  138. KNN tn, fp: 293, 38
  139. KNN fn, tp: 1, 12
  140. KNN f1 score: 0.381
  141. KNN cohens kappa score: 0.341
  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:07, 1.28it/s] 20%|██ | 2/10 [00:01<00:06, 1.29it/s] 30%|███ | 3/10 [00:02<00:04, 1.44it/s] 40%|████ | 4/10 [00:02<00:04, 1.48it/s] 50%|█████ | 5/10 [00:03<00:03, 1.33it/s] 60%|██████ | 6/10 [00:04<00:03, 1.28it/s] 70%|███████ | 7/10 [00:05<00:02, 1.40it/s] 80%|████████ | 8/10 [00:05<00:01, 1.45it/s] 90%|█████████ | 9/10 [00:06<00:00, 1.51it/s] 100%|██████████| 10/10 [00:07<00:00, 1.47it/s] 100%|██████████| 10/10 [00:07<00:00, 1.42it/s]
  149. -> create 1272 synthetic samples
  150. -> test with 'LR'
  151. LR tn, fp: 170, 162
  152. LR fn, tp: 5, 9
  153. LR f1 score: 0.097
  154. LR cohens kappa score: 0.024
  155. LR average precision score: 0.066
  156. -> test with 'RF'
  157. RF tn, fp: 332, 0
  158. RF fn, tp: 5, 9
  159. RF f1 score: 0.783
  160. RF cohens kappa score: 0.775
  161. -> test with 'GB'
  162. GB tn, fp: 331, 1
  163. GB fn, tp: 5, 9
  164. GB f1 score: 0.750
  165. GB cohens kappa score: 0.741
  166. -> test with 'KNN'
  167. KNN tn, fp: 285, 47
  168. KNN fn, tp: 3, 11
  169. KNN f1 score: 0.306
  170. KNN cohens kappa score: 0.257
  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.67it/s] 20%|██ | 2/10 [00:01<00:04, 1.69it/s] 30%|███ | 3/10 [00:01<00:03, 1.76it/s] 40%|████ | 4/10 [00:02<00:03, 1.75it/s] 50%|█████ | 5/10 [00:02<00:02, 1.75it/s] 60%|██████ | 6/10 [00:03<00:02, 1.72it/s] 70%|███████ | 7/10 [00:04<00:01, 1.75it/s] 80%|████████ | 8/10 [00:04<00:01, 1.75it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.68it/s] 100%|██████████| 10/10 [00:05<00:00, 1.70it/s] 100%|██████████| 10/10 [00:05<00:00, 1.72it/s]
  175. -> create 1272 synthetic samples
  176. -> test with 'LR'
  177. LR tn, fp: 170, 162
  178. LR fn, tp: 4, 10
  179. LR f1 score: 0.108
  180. LR cohens kappa score: 0.035
  181. LR average precision score: 0.068
  182. -> test with 'RF'
  183. RF tn, fp: 332, 0
  184. RF fn, tp: 3, 11
  185. RF f1 score: 0.880
  186. RF cohens kappa score: 0.876
  187. -> test with 'GB'
  188. GB tn, fp: 331, 1
  189. GB fn, tp: 3, 11
  190. GB f1 score: 0.846
  191. GB cohens kappa score: 0.840
  192. -> test with 'KNN'
  193. KNN tn, fp: 306, 26
  194. KNN fn, tp: 0, 14
  195. KNN f1 score: 0.519
  196. KNN cohens kappa score: 0.488
  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.42it/s] 30%|███ | 3/10 [00:02<00:04, 1.52it/s] 40%|████ | 4/10 [00:02<00:03, 1.55it/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.61it/s] 80%|████████ | 8/10 [00:05<00:01, 1.52it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.45it/s] 100%|██████████| 10/10 [00:06<00:00, 1.44it/s] 100%|██████████| 10/10 [00:06<00:00, 1.50it/s]
  201. -> create 1272 synthetic samples
  202. -> test with 'LR'
  203. LR tn, fp: 190, 142
  204. LR fn, tp: 4, 10
  205. LR f1 score: 0.120
  206. LR cohens kappa score: 0.050
  207. LR average precision score: 0.064
  208. -> test with 'RF'
  209. RF tn, fp: 332, 0
  210. RF fn, tp: 7, 7
  211. RF f1 score: 0.667
  212. RF cohens kappa score: 0.657
  213. -> test with 'GB'
  214. GB tn, fp: 332, 0
  215. GB fn, tp: 5, 9
  216. GB f1 score: 0.783
  217. GB cohens kappa score: 0.775
  218. -> test with 'KNN'
  219. KNN tn, fp: 285, 47
  220. KNN fn, tp: 4, 10
  221. KNN f1 score: 0.282
  222. KNN cohens kappa score: 0.232
  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:05, 1.64it/s] 20%|██ | 2/10 [00:01<00:04, 1.64it/s] 30%|███ | 3/10 [00:01<00:04, 1.65it/s] 40%|████ | 4/10 [00:02<00:03, 1.55it/s] 50%|█████ | 5/10 [00:03<00:03, 1.59it/s] 60%|██████ | 6/10 [00:03<00:02, 1.66it/s] 70%|███████ | 7/10 [00:04<00:02, 1.47it/s] 80%|████████ | 8/10 [00:05<00:01, 1.55it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.59it/s] 100%|██████████| 10/10 [00:06<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s]
  227. -> create 1272 synthetic samples
  228. -> test with 'LR'
  229. LR tn, fp: 185, 147
  230. LR fn, tp: 6, 8
  231. LR f1 score: 0.095
  232. LR cohens kappa score: 0.022
  233. LR average precision score: 0.052
  234. -> test with 'RF'
  235. RF tn, fp: 332, 0
  236. RF fn, tp: 9, 5
  237. RF f1 score: 0.526
  238. RF cohens kappa score: 0.516
  239. -> test with 'GB'
  240. GB tn, fp: 331, 1
  241. GB fn, tp: 4, 10
  242. GB f1 score: 0.800
  243. GB cohens kappa score: 0.793
  244. -> test with 'KNN'
  245. KNN tn, fp: 275, 57
  246. KNN fn, tp: 0, 14
  247. KNN f1 score: 0.329
  248. KNN cohens kappa score: 0.281
  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.59it/s] 20%|██ | 2/10 [00:01<00:04, 1.63it/s] 30%|███ | 3/10 [00:01<00:04, 1.56it/s] 40%|████ | 4/10 [00:02<00:03, 1.64it/s] 50%|█████ | 5/10 [00:03<00:02, 1.68it/s] 60%|██████ | 6/10 [00:03<00:02, 1.69it/s] 70%|███████ | 7/10 [00:04<00:01, 1.66it/s] 80%|████████ | 8/10 [00:04<00:01, 1.66it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.64it/s] 100%|██████████| 10/10 [00:06<00:00, 1.66it/s] 100%|██████████| 10/10 [00:06<00:00, 1.65it/s]
  253. -> create 1272 synthetic samples
  254. -> test with 'LR'
  255. LR tn, fp: 196, 135
  256. LR fn, tp: 3, 10
  257. LR f1 score: 0.127
  258. LR cohens kappa score: 0.061
  259. LR average precision score: 0.079
  260. -> test with 'RF'
  261. RF tn, fp: 331, 0
  262. RF fn, tp: 6, 7
  263. RF f1 score: 0.700
  264. RF cohens kappa score: 0.692
  265. -> test with 'GB'
  266. GB tn, fp: 330, 1
  267. GB fn, tp: 4, 9
  268. GB f1 score: 0.783
  269. GB cohens kappa score: 0.775
  270. -> test with 'KNN'
  271. KNN tn, fp: 282, 49
  272. KNN fn, tp: 0, 13
  273. KNN f1 score: 0.347
  274. KNN cohens kappa score: 0.303
  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.45it/s] 20%|██ | 2/10 [00:01<00:05, 1.48it/s] 30%|███ | 3/10 [00:01<00:04, 1.57it/s] 40%|████ | 4/10 [00:02<00:03, 1.67it/s] 50%|█████ | 5/10 [00:03<00:02, 1.68it/s] 60%|██████ | 6/10 [00:03<00:02, 1.63it/s] 70%|███████ | 7/10 [00:04<00:01, 1.60it/s] 80%|████████ | 8/10 [00:04<00:01, 1.60it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.58it/s] 100%|██████████| 10/10 [00:06<00:00, 1.59it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s]
  282. -> create 1272 synthetic samples
  283. -> test with 'LR'
  284. LR tn, fp: 163, 169
  285. LR fn, tp: 3, 11
  286. LR f1 score: 0.113
  287. LR cohens kappa score: 0.041
  288. LR average precision score: 0.082
  289. -> test with 'RF'
  290. RF tn, fp: 332, 0
  291. RF fn, tp: 7, 7
  292. RF f1 score: 0.667
  293. RF cohens kappa score: 0.657
  294. -> test with 'GB'
  295. GB tn, fp: 332, 0
  296. GB fn, tp: 2, 12
  297. GB f1 score: 0.923
  298. GB cohens kappa score: 0.920
  299. -> test with 'KNN'
  300. KNN tn, fp: 270, 62
  301. KNN fn, tp: 0, 14
  302. KNN f1 score: 0.311
  303. KNN cohens kappa score: 0.261
  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:05, 1.77it/s] 20%|██ | 2/10 [00:01<00:04, 1.66it/s] 30%|███ | 3/10 [00:01<00:04, 1.55it/s] 40%|████ | 4/10 [00:02<00:03, 1.61it/s] 50%|█████ | 5/10 [00:03<00:03, 1.57it/s] 60%|██████ | 6/10 [00:03<00:02, 1.63it/s] 70%|███████ | 7/10 [00:04<00:01, 1.59it/s] 80%|████████ | 8/10 [00:04<00:01, 1.66it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.64it/s] 100%|██████████| 10/10 [00:06<00:00, 1.57it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s]
  308. -> create 1272 synthetic samples
  309. -> test with 'LR'
  310. LR tn, fp: 185, 147
  311. LR fn, tp: 4, 10
  312. LR f1 score: 0.117
  313. LR cohens kappa score: 0.046
  314. LR average precision score: 0.062
  315. -> test with 'RF'
  316. RF tn, fp: 332, 0
  317. RF fn, tp: 7, 7
  318. RF f1 score: 0.667
  319. RF cohens kappa score: 0.657
  320. -> test with 'GB'
  321. GB tn, fp: 330, 2
  322. GB fn, tp: 4, 10
  323. GB f1 score: 0.769
  324. GB cohens kappa score: 0.760
  325. -> test with 'KNN'
  326. KNN tn, fp: 274, 58
  327. KNN fn, tp: 0, 14
  328. KNN f1 score: 0.326
  329. KNN cohens kappa score: 0.277
  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:06, 1.39it/s] 20%|██ | 2/10 [00:01<00:04, 1.60it/s] 30%|███ | 3/10 [00:01<00:04, 1.68it/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.65it/s] 70%|███████ | 7/10 [00:04<00:01, 1.67it/s] 80%|████████ | 8/10 [00:04<00:01, 1.67it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.61it/s] 100%|██████████| 10/10 [00:06<00:00, 1.66it/s] 100%|██████████| 10/10 [00:06<00:00, 1.65it/s]
  334. -> create 1272 synthetic samples
  335. -> test with 'LR'
  336. LR tn, fp: 183, 149
  337. LR fn, tp: 4, 10
  338. LR f1 score: 0.116
  339. LR cohens kappa score: 0.045
  340. LR average precision score: 0.073
  341. -> test with 'RF'
  342. RF tn, fp: 332, 0
  343. RF fn, tp: 6, 8
  344. RF f1 score: 0.727
  345. RF cohens kappa score: 0.719
  346. -> test with 'GB'
  347. GB tn, fp: 330, 2
  348. GB fn, tp: 7, 7
  349. GB f1 score: 0.609
  350. GB cohens kappa score: 0.596
  351. -> test with 'KNN'
  352. KNN tn, fp: 284, 48
  353. KNN fn, tp: 1, 13
  354. KNN f1 score: 0.347
  355. KNN cohens kappa score: 0.301
  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.57it/s] 20%|██ | 2/10 [00:01<00:05, 1.59it/s] 30%|███ | 3/10 [00:01<00:04, 1.69it/s] 40%|████ | 4/10 [00:02<00:03, 1.65it/s] 50%|█████ | 5/10 [00:03<00:02, 1.69it/s] 60%|██████ | 6/10 [00:03<00:02, 1.59it/s] 70%|███████ | 7/10 [00:04<00:01, 1.62it/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.63it/s] 100%|██████████| 10/10 [00:06<00:00, 1.63it/s]
  360. -> create 1272 synthetic samples
  361. -> test with 'LR'
  362. LR tn, fp: 162, 170
  363. LR fn, tp: 2, 12
  364. LR f1 score: 0.122
  365. LR cohens kappa score: 0.051
  366. LR average precision score: 0.073
  367. -> test with 'RF'
  368. RF tn, fp: 331, 1
  369. RF fn, tp: 6, 8
  370. RF f1 score: 0.696
  371. RF cohens kappa score: 0.686
  372. -> test with 'GB'
  373. GB tn, fp: 332, 0
  374. GB fn, tp: 6, 8
  375. GB f1 score: 0.727
  376. GB cohens kappa score: 0.719
  377. -> test with 'KNN'
  378. KNN tn, fp: 293, 39
  379. KNN fn, tp: 0, 14
  380. KNN f1 score: 0.418
  381. KNN cohens kappa score: 0.378
  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.73it/s] 20%|██ | 2/10 [00:01<00:04, 1.66it/s] 30%|███ | 3/10 [00:01<00:04, 1.69it/s] 40%|████ | 4/10 [00:02<00:03, 1.57it/s] 50%|█████ | 5/10 [00:03<00:03, 1.57it/s] 60%|██████ | 6/10 [00:03<00:02, 1.61it/s] 70%|███████ | 7/10 [00:04<00:01, 1.61it/s] 80%|████████ | 8/10 [00:04<00:01, 1.62it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.64it/s] 100%|██████████| 10/10 [00:06<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.63it/s]
  386. -> create 1272 synthetic samples
  387. -> test with 'LR'
  388. LR tn, fp: 181, 150
  389. LR fn, tp: 6, 7
  390. LR f1 score: 0.082
  391. LR cohens kappa score: 0.013
  392. LR average precision score: 0.078
  393. -> test with 'RF'
  394. RF tn, fp: 331, 0
  395. RF fn, tp: 6, 7
  396. RF f1 score: 0.700
  397. RF cohens kappa score: 0.692
  398. -> test with 'GB'
  399. GB tn, fp: 330, 1
  400. GB fn, tp: 5, 8
  401. GB f1 score: 0.727
  402. GB cohens kappa score: 0.719
  403. -> test with 'KNN'
  404. KNN tn, fp: 270, 61
  405. KNN fn, tp: 0, 13
  406. KNN f1 score: 0.299
  407. KNN cohens kappa score: 0.251
  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.64it/s] 20%|██ | 2/10 [00:01<00:04, 1.67it/s] 30%|███ | 3/10 [00:01<00:04, 1.49it/s] 40%|████ | 4/10 [00:02<00:03, 1.60it/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.70it/s] 80%|████████ | 8/10 [00:04<00:01, 1.73it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.74it/s] 100%|██████████| 10/10 [00:05<00:00, 1.76it/s] 100%|██████████| 10/10 [00:05<00:00, 1.69it/s]
  415. -> create 1272 synthetic samples
  416. -> test with 'LR'
  417. LR tn, fp: 171, 161
  418. LR fn, tp: 4, 10
  419. LR f1 score: 0.108
  420. LR cohens kappa score: 0.036
  421. LR average precision score: 0.075
  422. -> test with 'RF'
  423. RF tn, fp: 331, 1
  424. RF fn, tp: 5, 9
  425. RF f1 score: 0.750
  426. RF cohens kappa score: 0.741
  427. -> test with 'GB'
  428. GB tn, fp: 332, 0
  429. GB fn, tp: 0, 14
  430. GB f1 score: 1.000
  431. GB cohens kappa score: 1.000
  432. -> test with 'KNN'
  433. KNN tn, fp: 305, 27
  434. KNN fn, tp: 0, 14
  435. KNN f1 score: 0.509
  436. KNN cohens kappa score: 0.478
  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:06, 1.32it/s] 20%|██ | 2/10 [00:01<00:05, 1.54it/s] 30%|███ | 3/10 [00:02<00:04, 1.49it/s] 40%|████ | 4/10 [00:02<00:03, 1.61it/s] 50%|█████ | 5/10 [00:03<00:03, 1.64it/s] 60%|██████ | 6/10 [00:03<00:02, 1.65it/s] 70%|███████ | 7/10 [00:04<00:01, 1.64it/s] 80%|████████ | 8/10 [00:05<00:01, 1.62it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.67it/s] 100%|██████████| 10/10 [00:06<00:00, 1.62it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s]
  441. -> create 1272 synthetic samples
  442. -> test with 'LR'
  443. LR tn, fp: 175, 157
  444. LR fn, tp: 5, 9
  445. LR f1 score: 0.100
  446. LR cohens kappa score: 0.027
  447. LR average precision score: 0.054
  448. -> test with 'RF'
  449. RF tn, fp: 332, 0
  450. RF fn, tp: 11, 3
  451. RF f1 score: 0.353
  452. RF cohens kappa score: 0.344
  453. -> test with 'GB'
  454. GB tn, fp: 330, 2
  455. GB fn, tp: 7, 7
  456. GB f1 score: 0.609
  457. GB cohens kappa score: 0.596
  458. -> test with 'KNN'
  459. KNN tn, fp: 271, 61
  460. KNN fn, tp: 0, 14
  461. KNN f1 score: 0.315
  462. KNN cohens kappa score: 0.264
  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:06, 1.50it/s] 20%|██ | 2/10 [00:01<00:05, 1.58it/s] 30%|███ | 3/10 [00:01<00:04, 1.70it/s] 40%|████ | 4/10 [00:02<00:03, 1.53it/s] 50%|█████ | 5/10 [00:03<00:03, 1.58it/s] 60%|██████ | 6/10 [00:03<00:02, 1.58it/s] 70%|███████ | 7/10 [00:04<00:01, 1.57it/s] 80%|████████ | 8/10 [00:05<00:01, 1.51it/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.57it/s]
  467. -> create 1272 synthetic samples
  468. -> test with 'LR'
  469. LR tn, fp: 179, 153
  470. LR fn, tp: 5, 9
  471. LR f1 score: 0.102
  472. LR cohens kappa score: 0.030
  473. LR average precision score: 0.087
  474. -> test with 'RF'
  475. RF tn, fp: 331, 1
  476. RF fn, tp: 6, 8
  477. RF f1 score: 0.696
  478. RF cohens kappa score: 0.686
  479. -> test with 'GB'
  480. GB tn, fp: 330, 2
  481. GB fn, tp: 3, 11
  482. GB f1 score: 0.815
  483. GB cohens kappa score: 0.807
  484. -> test with 'KNN'
  485. KNN tn, fp: 282, 50
  486. KNN fn, tp: 0, 14
  487. KNN f1 score: 0.359
  488. KNN cohens kappa score: 0.313
  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.68it/s] 20%|██ | 2/10 [00:01<00:04, 1.71it/s] 30%|███ | 3/10 [00:01<00:04, 1.67it/s] 40%|████ | 4/10 [00:02<00:03, 1.58it/s] 50%|█████ | 5/10 [00:03<00:03, 1.46it/s] 60%|██████ | 6/10 [00:03<00:02, 1.44it/s] 70%|███████ | 7/10 [00:05<00:02, 1.14it/s] 80%|████████ | 8/10 [00:06<00:01, 1.15it/s] 90%|█████████ | 9/10 [00:06<00:00, 1.22it/s] 100%|██████████| 10/10 [00:07<00:00, 1.36it/s] 100%|██████████| 10/10 [00:07<00:00, 1.36it/s]
  493. -> create 1272 synthetic samples
  494. -> test with 'LR'
  495. LR tn, fp: 178, 154
  496. LR fn, tp: 6, 8
  497. LR f1 score: 0.091
  498. LR cohens kappa score: 0.018
  499. LR average precision score: 0.053
  500. -> test with 'RF'
  501. RF tn, fp: 332, 0
  502. RF fn, tp: 6, 8
  503. RF f1 score: 0.727
  504. RF cohens kappa score: 0.719
  505. -> test with 'GB'
  506. GB tn, fp: 331, 1
  507. GB fn, tp: 2, 12
  508. GB f1 score: 0.889
  509. GB cohens kappa score: 0.884
  510. -> test with 'KNN'
  511. KNN tn, fp: 299, 33
  512. KNN fn, tp: 0, 14
  513. KNN f1 score: 0.459
  514. KNN cohens kappa score: 0.423
  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:06, 1.30it/s] 20%|██ | 2/10 [00:01<00:05, 1.48it/s] 30%|███ | 3/10 [00:01<00:04, 1.60it/s] 40%|████ | 4/10 [00:02<00:03, 1.63it/s] 50%|█████ | 5/10 [00:03<00:03, 1.61it/s] 60%|██████ | 6/10 [00:03<00:02, 1.66it/s] 70%|███████ | 7/10 [00:04<00:01, 1.71it/s] 80%|████████ | 8/10 [00:04<00:01, 1.70it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.74it/s] 100%|██████████| 10/10 [00:06<00:00, 1.61it/s] 100%|██████████| 10/10 [00:06<00:00, 1.62it/s]
  519. -> create 1272 synthetic samples
  520. -> test with 'LR'
  521. LR tn, fp: 162, 169
  522. LR fn, tp: 1, 12
  523. LR f1 score: 0.124
  524. LR cohens kappa score: 0.057
  525. LR average precision score: 0.121
  526. -> test with 'RF'
  527. RF tn, fp: 330, 1
  528. RF fn, tp: 9, 4
  529. RF f1 score: 0.444
  530. RF cohens kappa score: 0.433
  531. -> test with 'GB'
  532. GB tn, fp: 330, 1
  533. GB fn, tp: 5, 8
  534. GB f1 score: 0.727
  535. GB cohens kappa score: 0.719
  536. -> test with 'KNN'
  537. KNN tn, fp: 312, 19
  538. KNN fn, tp: 3, 10
  539. KNN f1 score: 0.476
  540. KNN cohens kappa score: 0.447
  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.43it/s] 20%|██ | 2/10 [00:01<00:05, 1.37it/s] 30%|███ | 3/10 [00:02<00:04, 1.46it/s] 40%|████ | 4/10 [00:02<00:03, 1.56it/s] 50%|█████ | 5/10 [00:03<00:03, 1.61it/s] 60%|██████ | 6/10 [00:03<00:02, 1.67it/s] 70%|███████ | 7/10 [00:04<00:01, 1.66it/s] 80%|████████ | 8/10 [00:05<00:01, 1.63it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.62it/s] 100%|██████████| 10/10 [00:06<00:00, 1.65it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s]
  548. -> create 1272 synthetic samples
  549. -> test with 'LR'
  550. LR tn, fp: 168, 164
  551. LR fn, tp: 5, 9
  552. LR f1 score: 0.096
  553. LR cohens kappa score: 0.023
  554. LR average precision score: 0.055
  555. -> test with 'RF'
  556. RF tn, fp: 332, 0
  557. RF fn, tp: 10, 4
  558. RF f1 score: 0.444
  559. RF cohens kappa score: 0.434
  560. -> test with 'GB'
  561. GB tn, fp: 331, 1
  562. GB fn, tp: 9, 5
  563. GB f1 score: 0.500
  564. GB cohens kappa score: 0.488
  565. -> test with 'KNN'
  566. KNN tn, fp: 295, 37
  567. KNN fn, tp: 0, 14
  568. KNN f1 score: 0.431
  569. KNN cohens kappa score: 0.392
  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:07, 1.26it/s] 20%|██ | 2/10 [00:01<00:05, 1.45it/s] 30%|███ | 3/10 [00:02<00:04, 1.47it/s] 40%|████ | 4/10 [00:02<00:04, 1.48it/s] 50%|█████ | 5/10 [00:03<00:03, 1.56it/s] 60%|██████ | 6/10 [00:03<00:02, 1.54it/s] 70%|███████ | 7/10 [00:04<00:01, 1.60it/s] 80%|████████ | 8/10 [00:05<00:01, 1.66it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.70it/s] 100%|██████████| 10/10 [00:06<00:00, 1.71it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s]
  574. -> create 1272 synthetic samples
  575. -> test with 'LR'
  576. LR tn, fp: 195, 137
  577. LR fn, tp: 6, 8
  578. LR f1 score: 0.101
  579. LR cohens kappa score: 0.029
  580. LR average precision score: 0.086
  581. -> test with 'RF'
  582. RF tn, fp: 332, 0
  583. RF fn, tp: 6, 8
  584. RF f1 score: 0.727
  585. RF cohens kappa score: 0.719
  586. -> test with 'GB'
  587. GB tn, fp: 331, 1
  588. GB fn, tp: 7, 7
  589. GB f1 score: 0.636
  590. GB cohens kappa score: 0.625
  591. -> test with 'KNN'
  592. KNN tn, fp: 280, 52
  593. KNN fn, tp: 0, 14
  594. KNN f1 score: 0.350
  595. KNN cohens kappa score: 0.303
  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:07, 1.26it/s] 20%|██ | 2/10 [00:01<00:05, 1.46it/s] 30%|███ | 3/10 [00:02<00:05, 1.21it/s] 40%|████ | 4/10 [00:02<00:04, 1.36it/s] 50%|█████ | 5/10 [00:03<00:03, 1.43it/s] 60%|██████ | 6/10 [00:04<00:03, 1.28it/s] 70%|███████ | 7/10 [00:06<00:03, 1.12s/it] 80%|████████ | 8/10 [00:07<00:02, 1.13s/it] 90%|█████████ | 9/10 [00:08<00:01, 1.01s/it] 100%|██████████| 10/10 [00:09<00:00, 1.01s/it] 100%|██████████| 10/10 [00:09<00:00, 1.08it/s]
  600. -> create 1272 synthetic samples
  601. -> test with 'LR'
  602. LR tn, fp: 191, 141
  603. LR fn, tp: 5, 9
  604. LR f1 score: 0.110
  605. LR cohens kappa score: 0.039
  606. LR average precision score: 0.081
  607. -> test with 'RF'
  608. RF tn, fp: 332, 0
  609. RF fn, tp: 6, 8
  610. RF f1 score: 0.727
  611. RF cohens kappa score: 0.719
  612. -> test with 'GB'
  613. GB tn, fp: 329, 3
  614. GB fn, tp: 3, 11
  615. GB f1 score: 0.786
  616. GB cohens kappa score: 0.777
  617. -> test with 'KNN'
  618. KNN tn, fp: 294, 38
  619. KNN fn, tp: 4, 10
  620. KNN f1 score: 0.323
  621. KNN cohens kappa score: 0.277
  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:07, 1.25it/s] 20%|██ | 2/10 [00:01<00:05, 1.51it/s] 30%|███ | 3/10 [00:01<00:04, 1.56it/s] 40%|████ | 4/10 [00:02<00:03, 1.53it/s] 50%|█████ | 5/10 [00:03<00:03, 1.61it/s] 60%|██████ | 6/10 [00:03<00:02, 1.67it/s] 70%|███████ | 7/10 [00:04<00:01, 1.71it/s] 80%|████████ | 8/10 [00:04<00:01, 1.75it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.78it/s] 100%|██████████| 10/10 [00:05<00:00, 1.78it/s] 100%|██████████| 10/10 [00:05<00:00, 1.67it/s]
  626. -> create 1272 synthetic samples
  627. -> test with 'LR'
  628. LR tn, fp: 174, 158
  629. LR fn, tp: 2, 12
  630. LR f1 score: 0.130
  631. LR cohens kappa score: 0.060
  632. LR average precision score: 0.082
  633. -> test with 'RF'
  634. RF tn, fp: 332, 0
  635. RF fn, tp: 7, 7
  636. RF f1 score: 0.667
  637. RF cohens kappa score: 0.657
  638. -> test with 'GB'
  639. GB tn, fp: 331, 1
  640. GB fn, tp: 7, 7
  641. GB f1 score: 0.636
  642. GB cohens kappa score: 0.625
  643. -> test with 'KNN'
  644. KNN tn, fp: 291, 41
  645. KNN fn, tp: 0, 14
  646. KNN f1 score: 0.406
  647. KNN cohens kappa score: 0.365
  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:06, 1.39it/s] 20%|██ | 2/10 [00:01<00:05, 1.47it/s] 30%|███ | 3/10 [00:01<00:04, 1.58it/s] 40%|████ | 4/10 [00:02<00:03, 1.60it/s] 50%|█████ | 5/10 [00:03<00:03, 1.55it/s] 60%|██████ | 6/10 [00:03<00:02, 1.54it/s] 70%|███████ | 7/10 [00:04<00:01, 1.55it/s] 80%|████████ | 8/10 [00:05<00:01, 1.58it/s] 90%|█████████ | 9/10 [00:05<00:00, 1.63it/s] 100%|██████████| 10/10 [00:06<00:00, 1.68it/s] 100%|██████████| 10/10 [00:06<00:00, 1.60it/s]
  652. -> create 1272 synthetic samples
  653. -> test with 'LR'
  654. LR tn, fp: 181, 150
  655. LR fn, tp: 5, 8
  656. LR f1 score: 0.094
  657. LR cohens kappa score: 0.026
  658. LR average precision score: 0.073
  659. -> test with 'RF'
  660. RF tn, fp: 330, 1
  661. RF fn, tp: 6, 7
  662. RF f1 score: 0.667
  663. RF cohens kappa score: 0.657
  664. -> test with 'GB'
  665. GB tn, fp: 330, 1
  666. GB fn, tp: 0, 13
  667. GB f1 score: 0.963
  668. GB cohens kappa score: 0.961
  669. -> test with 'KNN'
  670. KNN tn, fp: 293, 38
  671. KNN fn, tp: 0, 13
  672. KNN f1 score: 0.406
  673. KNN cohens kappa score: 0.368
  674. ### Exercise is done.
  675. -----[ LR ]-----
  676. maximum:
  677. LR tn, fp: 196, 170
  678. LR fn, tp: 6, 12
  679. LR f1 score: 0.133
  680. LR cohens kappa score: 0.063
  681. LR average precision score: 0.121
  682. average:
  683. LR tn, fp: 178.44, 153.36
  684. LR fn, tp: 4.24, 9.56
  685. LR f1 score: 0.108
  686. LR cohens kappa score: 0.037
  687. LR average precision score: 0.071
  688. minimum:
  689. LR tn, fp: 162, 135
  690. LR fn, tp: 1, 7
  691. LR f1 score: 0.082
  692. LR cohens kappa score: 0.013
  693. LR average precision score: 0.044
  694. -----[ RF ]-----
  695. maximum:
  696. RF tn, fp: 332, 1
  697. RF fn, tp: 11, 11
  698. RF f1 score: 0.880
  699. RF cohens kappa score: 0.876
  700. average:
  701. RF tn, fp: 331.56, 0.24
  702. RF fn, tp: 6.6, 7.2
  703. RF f1 score: 0.669
  704. RF cohens kappa score: 0.660
  705. minimum:
  706. RF tn, fp: 330, 0
  707. RF fn, tp: 3, 3
  708. RF f1 score: 0.353
  709. RF cohens kappa score: 0.344
  710. -----[ GB ]-----
  711. maximum:
  712. GB tn, fp: 332, 3
  713. GB fn, tp: 9, 14
  714. GB f1 score: 1.000
  715. GB cohens kappa score: 1.000
  716. average:
  717. GB tn, fp: 330.6, 1.2
  718. GB fn, tp: 4.36, 9.44
  719. GB f1 score: 0.764
  720. GB cohens kappa score: 0.756
  721. minimum:
  722. GB tn, fp: 328, 0
  723. GB fn, tp: 0, 5
  724. GB f1 score: 0.500
  725. GB cohens kappa score: 0.488
  726. -----[ KNN ]-----
  727. maximum:
  728. KNN tn, fp: 312, 62
  729. KNN fn, tp: 4, 14
  730. KNN f1 score: 0.519
  731. KNN cohens kappa score: 0.488
  732. average:
  733. KNN tn, fp: 287.36, 44.44
  734. KNN fn, tp: 0.76, 13.04
  735. KNN f1 score: 0.375
  736. KNN cohens kappa score: 0.332
  737. minimum:
  738. KNN tn, fp: 270, 19
  739. KNN fn, tp: 0, 10
  740. KNN f1 score: 0.282
  741. KNN cohens kappa score: 0.232