folding_winequality-red-4.log 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. ///////////////////////////////////////////
  2. // Running CTAB-GAN on folding_winequality-red-4
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_winequality-red-4'
  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:11, 1.29s/it] 20%|██ | 2/10 [00:02<00:08, 1.11s/it] 30%|███ | 3/10 [00:03<00:07, 1.14s/it] 40%|████ | 4/10 [00:04<00:06, 1.17s/it] 50%|█████ | 5/10 [00:06<00:06, 1.27s/it] 60%|██████ | 6/10 [00:07<00:04, 1.23s/it] 70%|███████ | 7/10 [00:08<00:03, 1.18s/it] 80%|████████ | 8/10 [00:09<00:02, 1.19s/it] 90%|█████████ | 9/10 [00:10<00:01, 1.21s/it] 100%|██████████| 10/10 [00:12<00:00, 1.24s/it] 100%|██████████| 10/10 [00:12<00:00, 1.21s/it]
  16. -> create 1194 synthetic samples
  17. -> test with 'LR'
  18. LR tn, fp: 223, 87
  19. LR fn, tp: 2, 9
  20. LR f1 score: 0.168
  21. LR cohens kappa score: 0.114
  22. LR average precision score: 0.088
  23. -> test with 'RF'
  24. RF tn, fp: 309, 1
  25. RF fn, tp: 11, 0
  26. RF f1 score: 0.000
  27. RF cohens kappa score: -0.006
  28. -> test with 'GB'
  29. GB tn, fp: 305, 5
  30. GB fn, tp: 10, 1
  31. GB f1 score: 0.118
  32. GB cohens kappa score: 0.096
  33. -> test with 'KNN'
  34. KNN tn, fp: 278, 32
  35. KNN fn, tp: 11, 0
  36. KNN f1 score: 0.000
  37. KNN cohens kappa score: -0.054
  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:13, 1.46s/it] 20%|██ | 2/10 [00:02<00:10, 1.31s/it] 30%|███ | 3/10 [00:03<00:08, 1.17s/it] 40%|████ | 4/10 [00:04<00:06, 1.10s/it] 50%|█████ | 5/10 [00:05<00:05, 1.09s/it] 60%|██████ | 6/10 [00:06<00:04, 1.05s/it] 70%|███████ | 7/10 [00:07<00:03, 1.11s/it] 80%|████████ | 8/10 [00:08<00:02, 1.09s/it] 90%|█████████ | 9/10 [00:10<00:01, 1.10s/it] 100%|██████████| 10/10 [00:11<00:00, 1.13s/it] 100%|██████████| 10/10 [00:11<00:00, 1.13s/it]
  42. -> create 1194 synthetic samples
  43. -> test with 'LR'
  44. LR tn, fp: 277, 33
  45. LR fn, tp: 6, 5
  46. LR f1 score: 0.204
  47. LR cohens kappa score: 0.159
  48. LR average precision score: 0.112
  49. -> test with 'RF'
  50. RF tn, fp: 309, 1
  51. RF fn, tp: 11, 0
  52. RF f1 score: 0.000
  53. RF cohens kappa score: -0.006
  54. -> test with 'GB'
  55. GB tn, fp: 306, 4
  56. GB fn, tp: 10, 1
  57. GB f1 score: 0.125
  58. GB cohens kappa score: 0.106
  59. -> test with 'KNN'
  60. KNN tn, fp: 272, 38
  61. KNN fn, tp: 11, 0
  62. KNN f1 score: 0.000
  63. KNN cohens kappa score: -0.056
  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:01<00:09, 1.05s/it] 20%|██ | 2/10 [00:02<00:08, 1.06s/it] 30%|███ | 3/10 [00:03<00:08, 1.15s/it] 40%|████ | 4/10 [00:04<00:06, 1.14s/it] 50%|█████ | 5/10 [00:05<00:06, 1.24s/it] 60%|██████ | 6/10 [00:07<00:04, 1.23s/it] 70%|███████ | 7/10 [00:08<00:04, 1.34s/it] 80%|████████ | 8/10 [00:10<00:03, 1.57s/it] 90%|█████████ | 9/10 [00:12<00:01, 1.53s/it] 100%|██████████| 10/10 [00:13<00:00, 1.45s/it] 100%|██████████| 10/10 [00:13<00:00, 1.35s/it]
  68. -> create 1194 synthetic samples
  69. -> test with 'LR'
  70. LR tn, fp: 287, 23
  71. LR fn, tp: 6, 5
  72. LR f1 score: 0.256
  73. LR cohens kappa score: 0.218
  74. LR average precision score: 0.296
  75. -> test with 'RF'
  76. RF tn, fp: 309, 1
  77. RF fn, tp: 11, 0
  78. RF f1 score: 0.000
  79. RF cohens kappa score: -0.006
  80. -> test with 'GB'
  81. GB tn, fp: 304, 6
  82. GB fn, tp: 9, 2
  83. GB f1 score: 0.211
  84. GB cohens kappa score: 0.187
  85. -> test with 'KNN'
  86. KNN tn, fp: 280, 30
  87. KNN fn, tp: 11, 0
  88. KNN f1 score: 0.000
  89. KNN cohens kappa score: -0.053
  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:01<00:14, 1.60s/it] 20%|██ | 2/10 [00:02<00:11, 1.46s/it] 30%|███ | 3/10 [00:04<00:09, 1.31s/it] 40%|████ | 4/10 [00:05<00:08, 1.34s/it] 50%|█████ | 5/10 [00:06<00:06, 1.30s/it] 60%|██████ | 6/10 [00:07<00:05, 1.29s/it] 70%|███████ | 7/10 [00:09<00:03, 1.29s/it] 80%|████████ | 8/10 [00:10<00:02, 1.25s/it] 90%|█████████ | 9/10 [00:11<00:01, 1.20s/it] 100%|██████████| 10/10 [00:12<00:00, 1.21s/it] 100%|██████████| 10/10 [00:12<00:00, 1.28s/it]
  94. -> create 1194 synthetic samples
  95. -> test with 'LR'
  96. LR tn, fp: 269, 41
  97. LR fn, tp: 9, 2
  98. LR f1 score: 0.074
  99. LR cohens kappa score: 0.021
  100. LR average precision score: 0.059
  101. -> test with 'RF'
  102. RF tn, fp: 307, 3
  103. RF fn, tp: 11, 0
  104. RF f1 score: 0.000
  105. RF cohens kappa score: -0.015
  106. -> test with 'GB'
  107. GB tn, fp: 304, 6
  108. GB fn, tp: 11, 0
  109. GB f1 score: 0.000
  110. GB cohens kappa score: -0.025
  111. -> test with 'KNN'
  112. KNN tn, fp: 271, 39
  113. KNN fn, tp: 9, 2
  114. KNN f1 score: 0.077
  115. KNN cohens kappa score: 0.024
  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:08, 1.01it/s] 20%|██ | 2/10 [00:01<00:07, 1.01it/s] 30%|███ | 3/10 [00:02<00:06, 1.06it/s] 40%|████ | 4/10 [00:03<00:05, 1.10it/s] 50%|█████ | 5/10 [00:04<00:04, 1.09it/s] 60%|██████ | 6/10 [00:05<00:03, 1.07it/s] 70%|███████ | 7/10 [00:06<00:02, 1.04it/s] 80%|████████ | 8/10 [00:07<00:01, 1.03it/s] 90%|█████████ | 9/10 [00:08<00:01, 1.02s/it] 100%|██████████| 10/10 [00:10<00:00, 1.09s/it] 100%|██████████| 10/10 [00:10<00:00, 1.00s/it]
  120. -> create 1196 synthetic samples
  121. -> test with 'LR'
  122. LR tn, fp: 291, 15
  123. LR fn, tp: 6, 3
  124. LR f1 score: 0.222
  125. LR cohens kappa score: 0.191
  126. LR average precision score: 0.157
  127. -> test with 'RF'
  128. RF tn, fp: 305, 1
  129. RF fn, tp: 9, 0
  130. RF f1 score: 0.000
  131. RF cohens kappa score: -0.006
  132. -> test with 'GB'
  133. GB tn, fp: 304, 2
  134. GB fn, tp: 8, 1
  135. GB f1 score: 0.167
  136. GB cohens kappa score: 0.155
  137. -> test with 'KNN'
  138. KNN tn, fp: 277, 29
  139. KNN fn, tp: 7, 2
  140. KNN f1 score: 0.100
  141. KNN cohens kappa score: 0.058
  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:01<00:09, 1.03s/it] 20%|██ | 2/10 [00:01<00:07, 1.02it/s] 30%|███ | 3/10 [00:02<00:06, 1.01it/s] 40%|████ | 4/10 [00:03<00:05, 1.01it/s] 50%|█████ | 5/10 [00:04<00:04, 1.04it/s] 60%|██████ | 6/10 [00:05<00:03, 1.05it/s] 70%|███████ | 7/10 [00:06<00:02, 1.06it/s] 80%|████████ | 8/10 [00:07<00:01, 1.07it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.15it/s] 100%|██████████| 10/10 [00:09<00:00, 1.16it/s] 100%|██████████| 10/10 [00:09<00:00, 1.08it/s]
  149. -> create 1194 synthetic samples
  150. -> test with 'LR'
  151. LR tn, fp: 286, 24
  152. LR fn, tp: 8, 3
  153. LR f1 score: 0.158
  154. LR cohens kappa score: 0.115
  155. LR average precision score: 0.129
  156. -> test with 'RF'
  157. RF tn, fp: 309, 1
  158. RF fn, tp: 11, 0
  159. RF f1 score: 0.000
  160. RF cohens kappa score: -0.006
  161. -> test with 'GB'
  162. GB tn, fp: 309, 1
  163. GB fn, tp: 10, 1
  164. GB f1 score: 0.154
  165. GB cohens kappa score: 0.145
  166. -> test with 'KNN'
  167. KNN tn, fp: 288, 22
  168. KNN fn, tp: 9, 2
  169. KNN f1 score: 0.114
  170. KNN cohens kappa score: 0.071
  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:07, 1.13it/s] 20%|██ | 2/10 [00:01<00:07, 1.09it/s] 30%|███ | 3/10 [00:02<00:06, 1.15it/s] 40%|████ | 4/10 [00:03<00:05, 1.15it/s] 50%|█████ | 5/10 [00:04<00:04, 1.10it/s] 60%|██████ | 6/10 [00:05<00:03, 1.12it/s] 70%|███████ | 7/10 [00:06<00:02, 1.02it/s] 80%|████████ | 8/10 [00:07<00:01, 1.01it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.02it/s] 100%|██████████| 10/10 [00:09<00:00, 1.04it/s] 100%|██████████| 10/10 [00:09<00:00, 1.06it/s]
  175. -> create 1194 synthetic samples
  176. -> test with 'LR'
  177. LR tn, fp: 247, 63
  178. LR fn, tp: 6, 5
  179. LR f1 score: 0.127
  180. LR cohens kappa score: 0.072
  181. LR average precision score: 0.073
  182. -> test with 'RF'
  183. RF tn, fp: 307, 3
  184. RF fn, tp: 11, 0
  185. RF f1 score: 0.000
  186. RF cohens kappa score: -0.015
  187. -> test with 'GB'
  188. GB tn, fp: 303, 7
  189. GB fn, tp: 11, 0
  190. GB f1 score: 0.000
  191. GB cohens kappa score: -0.027
  192. -> test with 'KNN'
  193. KNN tn, fp: 286, 24
  194. KNN fn, tp: 9, 2
  195. KNN f1 score: 0.108
  196. KNN cohens kappa score: 0.063
  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:01<00:09, 1.06s/it] 20%|██ | 2/10 [00:01<00:07, 1.02it/s] 30%|███ | 3/10 [00:02<00:06, 1.04it/s] 40%|████ | 4/10 [00:03<00:05, 1.04it/s] 50%|█████ | 5/10 [00:04<00:04, 1.04it/s] 60%|██████ | 6/10 [00:05<00:03, 1.04it/s] 70%|███████ | 7/10 [00:06<00:02, 1.09it/s] 80%|████████ | 8/10 [00:07<00:01, 1.06it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.09it/s] 100%|██████████| 10/10 [00:09<00:00, 1.12it/s] 100%|██████████| 10/10 [00:09<00:00, 1.07it/s]
  201. -> create 1194 synthetic samples
  202. -> test with 'LR'
  203. LR tn, fp: 258, 52
  204. LR fn, tp: 7, 4
  205. LR f1 score: 0.119
  206. LR cohens kappa score: 0.066
  207. LR average precision score: 0.092
  208. -> test with 'RF'
  209. RF tn, fp: 306, 4
  210. RF fn, tp: 11, 0
  211. RF f1 score: 0.000
  212. RF cohens kappa score: -0.019
  213. -> test with 'GB'
  214. GB tn, fp: 302, 8
  215. GB fn, tp: 11, 0
  216. GB f1 score: 0.000
  217. GB cohens kappa score: -0.030
  218. -> test with 'KNN'
  219. KNN tn, fp: 267, 43
  220. KNN fn, tp: 10, 1
  221. KNN f1 score: 0.036
  222. KNN cohens kappa score: -0.020
  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:08, 1.01it/s] 20%|██ | 2/10 [00:02<00:08, 1.01s/it] 30%|███ | 3/10 [00:03<00:06, 1.00it/s] 40%|████ | 4/10 [00:03<00:05, 1.00it/s] 50%|█████ | 5/10 [00:04<00:04, 1.04it/s] 60%|██████ | 6/10 [00:05<00:03, 1.03it/s] 70%|███████ | 7/10 [00:06<00:02, 1.03it/s] 80%|████████ | 8/10 [00:07<00:02, 1.00s/it] 90%|█████████ | 9/10 [00:08<00:00, 1.04it/s] 100%|██████████| 10/10 [00:09<00:00, 1.01it/s] 100%|██████████| 10/10 [00:09<00:00, 1.01it/s]
  227. -> create 1194 synthetic samples
  228. -> test with 'LR'
  229. LR tn, fp: 228, 82
  230. LR fn, tp: 5, 6
  231. LR f1 score: 0.121
  232. LR cohens kappa score: 0.064
  233. LR average precision score: 0.202
  234. -> test with 'RF'
  235. RF tn, fp: 309, 1
  236. RF fn, tp: 11, 0
  237. RF f1 score: 0.000
  238. RF cohens kappa score: -0.006
  239. -> test with 'GB'
  240. GB tn, fp: 306, 4
  241. GB fn, tp: 10, 1
  242. GB f1 score: 0.125
  243. GB cohens kappa score: 0.106
  244. -> test with 'KNN'
  245. KNN tn, fp: 273, 37
  246. KNN fn, tp: 11, 0
  247. KNN f1 score: 0.000
  248. KNN cohens kappa score: -0.056
  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:01<00:09, 1.03s/it] 20%|██ | 2/10 [00:02<00:07, 1.00it/s] 30%|███ | 3/10 [00:02<00:06, 1.03it/s] 40%|████ | 4/10 [00:04<00:06, 1.05s/it] 50%|█████ | 5/10 [00:04<00:04, 1.07it/s] 60%|██████ | 6/10 [00:05<00:03, 1.09it/s] 70%|███████ | 7/10 [00:06<00:02, 1.00it/s] 80%|████████ | 8/10 [00:08<00:02, 1.06s/it] 90%|█████████ | 9/10 [00:09<00:01, 1.12s/it] 100%|██████████| 10/10 [00:10<00:00, 1.11s/it] 100%|██████████| 10/10 [00:10<00:00, 1.04s/it]
  253. -> create 1196 synthetic samples
  254. -> test with 'LR'
  255. LR tn, fp: 248, 58
  256. LR fn, tp: 6, 3
  257. LR f1 score: 0.086
  258. LR cohens kappa score: 0.038
  259. LR average precision score: 0.042
  260. -> test with 'RF'
  261. RF tn, fp: 305, 1
  262. RF fn, tp: 9, 0
  263. RF f1 score: 0.000
  264. RF cohens kappa score: -0.006
  265. -> test with 'GB'
  266. GB tn, fp: 297, 9
  267. GB fn, tp: 9, 0
  268. GB f1 score: 0.000
  269. GB cohens kappa score: -0.029
  270. -> test with 'KNN'
  271. KNN tn, fp: 269, 37
  272. KNN fn, tp: 8, 1
  273. KNN f1 score: 0.043
  274. KNN cohens kappa score: -0.004
  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:08, 1.06it/s] 20%|██ | 2/10 [00:01<00:07, 1.08it/s] 30%|███ | 3/10 [00:02<00:06, 1.14it/s] 40%|████ | 4/10 [00:03<00:05, 1.16it/s] 50%|█████ | 5/10 [00:04<00:04, 1.11it/s] 60%|██████ | 6/10 [00:05<00:03, 1.11it/s] 70%|███████ | 7/10 [00:06<00:02, 1.11it/s] 80%|████████ | 8/10 [00:07<00:01, 1.09it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.02it/s] 100%|██████████| 10/10 [00:09<00:00, 1.03s/it] 100%|██████████| 10/10 [00:09<00:00, 1.05it/s]
  282. -> create 1194 synthetic samples
  283. -> test with 'LR'
  284. LR tn, fp: 291, 19
  285. LR fn, tp: 7, 4
  286. LR f1 score: 0.235
  287. LR cohens kappa score: 0.198
  288. LR average precision score: 0.188
  289. -> test with 'RF'
  290. RF tn, fp: 310, 0
  291. RF fn, tp: 11, 0
  292. RF f1 score: 0.000
  293. RF cohens kappa score: 0.000
  294. -> test with 'GB'
  295. GB tn, fp: 308, 2
  296. GB fn, tp: 11, 0
  297. GB f1 score: 0.000
  298. GB cohens kappa score: -0.011
  299. -> test with 'KNN'
  300. KNN tn, fp: 286, 24
  301. KNN fn, tp: 10, 1
  302. KNN f1 score: 0.056
  303. KNN cohens kappa score: 0.008
  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:01<00:09, 1.08s/it] 20%|██ | 2/10 [00:02<00:08, 1.05s/it] 30%|███ | 3/10 [00:03<00:06, 1.01it/s] 40%|████ | 4/10 [00:04<00:05, 1.01it/s] 50%|█████ | 5/10 [00:04<00:04, 1.03it/s] 60%|██████ | 6/10 [00:05<00:03, 1.08it/s] 70%|███████ | 7/10 [00:06<00:02, 1.05it/s] 80%|████████ | 8/10 [00:07<00:01, 1.09it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.13it/s] 100%|██████████| 10/10 [00:09<00:00, 1.12it/s] 100%|██████████| 10/10 [00:09<00:00, 1.07it/s]
  308. -> create 1194 synthetic samples
  309. -> test with 'LR'
  310. LR tn, fp: 286, 24
  311. LR fn, tp: 7, 4
  312. LR f1 score: 0.205
  313. LR cohens kappa score: 0.164
  314. LR average precision score: 0.202
  315. -> test with 'RF'
  316. RF tn, fp: 309, 1
  317. RF fn, tp: 11, 0
  318. RF f1 score: 0.000
  319. RF cohens kappa score: -0.006
  320. -> test with 'GB'
  321. GB tn, fp: 305, 5
  322. GB fn, tp: 9, 2
  323. GB f1 score: 0.222
  324. GB cohens kappa score: 0.201
  325. -> test with 'KNN'
  326. KNN tn, fp: 279, 31
  327. KNN fn, tp: 10, 1
  328. KNN f1 score: 0.047
  329. KNN cohens kappa score: -0.005
  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:08, 1.01it/s] 20%|██ | 2/10 [00:02<00:08, 1.06s/it] 30%|███ | 3/10 [00:03<00:07, 1.04s/it] 40%|████ | 4/10 [00:03<00:05, 1.03it/s] 50%|█████ | 5/10 [00:04<00:04, 1.02it/s] 60%|██████ | 6/10 [00:05<00:03, 1.06it/s] 70%|███████ | 7/10 [00:06<00:02, 1.08it/s] 80%|████████ | 8/10 [00:07<00:01, 1.09it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.14it/s] 100%|██████████| 10/10 [00:09<00:00, 1.09it/s] 100%|██████████| 10/10 [00:09<00:00, 1.06it/s]
  334. -> create 1194 synthetic samples
  335. -> test with 'LR'
  336. LR tn, fp: 293, 17
  337. LR fn, tp: 11, 0
  338. LR f1 score: 0.000
  339. LR cohens kappa score: -0.043
  340. LR average precision score: 0.054
  341. -> test with 'RF'
  342. RF tn, fp: 310, 0
  343. RF fn, tp: 11, 0
  344. RF f1 score: 0.000
  345. RF cohens kappa score: 0.000
  346. -> test with 'GB'
  347. GB tn, fp: 308, 2
  348. GB fn, tp: 11, 0
  349. GB f1 score: 0.000
  350. GB cohens kappa score: -0.011
  351. -> test with 'KNN'
  352. KNN tn, fp: 271, 39
  353. KNN fn, tp: 9, 2
  354. KNN f1 score: 0.077
  355. KNN cohens kappa score: 0.024
  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:01<00:15, 1.75s/it] 20%|██ | 2/10 [00:03<00:16, 2.00s/it] 30%|███ | 3/10 [00:05<00:14, 2.03s/it] 40%|████ | 4/10 [00:08<00:13, 2.22s/it] 50%|█████ | 5/10 [00:10<00:09, 1.96s/it] 60%|██████ | 6/10 [00:11<00:07, 1.76s/it] 70%|███████ | 7/10 [00:12<00:04, 1.64s/it] 80%|████████ | 8/10 [00:14<00:03, 1.54s/it] 90%|█████████ | 9/10 [00:15<00:01, 1.37s/it] 100%|██████████| 10/10 [00:16<00:00, 1.32s/it] 100%|██████████| 10/10 [00:16<00:00, 1.63s/it]
  360. -> create 1194 synthetic samples
  361. -> test with 'LR'
  362. LR tn, fp: 254, 56
  363. LR fn, tp: 6, 5
  364. LR f1 score: 0.139
  365. LR cohens kappa score: 0.086
  366. LR average precision score: 0.076
  367. -> test with 'RF'
  368. RF tn, fp: 309, 1
  369. RF fn, tp: 11, 0
  370. RF f1 score: 0.000
  371. RF cohens kappa score: -0.006
  372. -> test with 'GB'
  373. GB tn, fp: 308, 2
  374. GB fn, tp: 10, 1
  375. GB f1 score: 0.143
  376. GB cohens kappa score: 0.130
  377. -> test with 'KNN'
  378. KNN tn, fp: 281, 29
  379. KNN fn, tp: 10, 1
  380. KNN f1 score: 0.049
  381. KNN cohens kappa score: -0.001
  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:01<00:10, 1.12s/it] 20%|██ | 2/10 [00:02<00:09, 1.16s/it] 30%|███ | 3/10 [00:03<00:08, 1.17s/it] 40%|████ | 4/10 [00:04<00:06, 1.12s/it] 50%|█████ | 5/10 [00:05<00:06, 1.21s/it] 60%|██████ | 6/10 [00:07<00:04, 1.21s/it] 70%|███████ | 7/10 [00:08<00:03, 1.28s/it] 80%|████████ | 8/10 [00:09<00:02, 1.31s/it] 90%|█████████ | 9/10 [00:10<00:01, 1.23s/it] 100%|██████████| 10/10 [00:12<00:00, 1.18s/it] 100%|██████████| 10/10 [00:12<00:00, 1.20s/it]
  386. -> create 1196 synthetic samples
  387. -> test with 'LR'
  388. LR tn, fp: 294, 12
  389. LR fn, tp: 8, 1
  390. LR f1 score: 0.091
  391. LR cohens kappa score: 0.059
  392. LR average precision score: 0.084
  393. -> test with 'RF'
  394. RF tn, fp: 306, 0
  395. RF fn, tp: 9, 0
  396. RF f1 score: 0.000
  397. RF cohens kappa score: 0.000
  398. -> test with 'GB'
  399. GB tn, fp: 305, 1
  400. GB fn, tp: 8, 1
  401. GB f1 score: 0.182
  402. GB cohens kappa score: 0.173
  403. -> test with 'KNN'
  404. KNN tn, fp: 286, 20
  405. KNN fn, tp: 6, 3
  406. KNN f1 score: 0.188
  407. KNN cohens kappa score: 0.153
  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:08<01:18, 8.69s/it] 20%|██ | 2/10 [00:12<00:45, 5.72s/it] 30%|███ | 3/10 [00:13<00:26, 3.80s/it] 40%|████ | 4/10 [00:14<00:16, 2.68s/it] 50%|█████ | 5/10 [00:15<00:10, 2.09s/it] 60%|██████ | 6/10 [00:16<00:07, 1.75s/it] 70%|███████ | 7/10 [00:18<00:04, 1.55s/it] 80%|████████ | 8/10 [00:19<00:02, 1.43s/it] 90%|█████████ | 9/10 [00:20<00:01, 1.43s/it] 100%|██████████| 10/10 [00:21<00:00, 1.39s/it] 100%|██████████| 10/10 [00:21<00:00, 2.20s/it]
  415. -> create 1194 synthetic samples
  416. -> test with 'LR'
  417. LR tn, fp: 263, 47
  418. LR fn, tp: 5, 6
  419. LR f1 score: 0.188
  420. LR cohens kappa score: 0.139
  421. LR average precision score: 0.292
  422. -> test with 'RF'
  423. RF tn, fp: 308, 2
  424. RF fn, tp: 11, 0
  425. RF f1 score: 0.000
  426. RF cohens kappa score: -0.011
  427. -> test with 'GB'
  428. GB tn, fp: 309, 1
  429. GB fn, tp: 11, 0
  430. GB f1 score: 0.000
  431. GB cohens kappa score: -0.006
  432. -> test with 'KNN'
  433. KNN tn, fp: 269, 41
  434. KNN fn, tp: 8, 3
  435. KNN f1 score: 0.109
  436. KNN cohens kappa score: 0.057
  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:01<00:12, 1.44s/it] 20%|██ | 2/10 [00:02<00:10, 1.35s/it] 30%|███ | 3/10 [00:04<00:09, 1.34s/it] 40%|████ | 4/10 [00:05<00:09, 1.53s/it] 50%|█████ | 5/10 [00:07<00:07, 1.40s/it] 60%|██████ | 6/10 [00:08<00:05, 1.36s/it] 70%|███████ | 7/10 [00:09<00:03, 1.28s/it] 80%|████████ | 8/10 [00:10<00:02, 1.30s/it] 90%|█████████ | 9/10 [00:11<00:01, 1.27s/it] 100%|██████████| 10/10 [00:13<00:00, 1.37s/it] 100%|██████████| 10/10 [00:13<00:00, 1.36s/it]
  441. -> create 1194 synthetic samples
  442. -> test with 'LR'
  443. LR tn, fp: 241, 69
  444. LR fn, tp: 6, 5
  445. LR f1 score: 0.118
  446. LR cohens kappa score: 0.062
  447. LR average precision score: 0.083
  448. -> test with 'RF'
  449. RF tn, fp: 304, 6
  450. RF fn, tp: 11, 0
  451. RF f1 score: 0.000
  452. RF cohens kappa score: -0.025
  453. -> test with 'GB'
  454. GB tn, fp: 301, 9
  455. GB fn, tp: 11, 0
  456. GB f1 score: 0.000
  457. GB cohens kappa score: -0.032
  458. -> test with 'KNN'
  459. KNN tn, fp: 280, 30
  460. KNN fn, tp: 11, 0
  461. KNN f1 score: 0.000
  462. KNN cohens kappa score: -0.053
  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:08, 1.05it/s] 20%|██ | 2/10 [00:02<00:08, 1.12s/it] 30%|███ | 3/10 [00:03<00:06, 1.02it/s] 40%|████ | 4/10 [00:04<00:06, 1.04s/it] 50%|█████ | 5/10 [00:05<00:05, 1.01s/it] 60%|██████ | 6/10 [00:06<00:04, 1.05s/it] 70%|███████ | 7/10 [00:07<00:03, 1.11s/it] 80%|████████ | 8/10 [00:08<00:02, 1.09s/it] 90%|█████████ | 9/10 [00:09<00:01, 1.14s/it] 100%|██████████| 10/10 [00:10<00:00, 1.16s/it] 100%|██████████| 10/10 [00:10<00:00, 1.10s/it]
  467. -> create 1194 synthetic samples
  468. -> test with 'LR'
  469. LR tn, fp: 249, 61
  470. LR fn, tp: 7, 4
  471. LR f1 score: 0.105
  472. LR cohens kappa score: 0.050
  473. LR average precision score: 0.053
  474. -> test with 'RF'
  475. RF tn, fp: 310, 0
  476. RF fn, tp: 11, 0
  477. RF f1 score: 0.000
  478. RF cohens kappa score: 0.000
  479. -> test with 'GB'
  480. GB tn, fp: 307, 3
  481. GB fn, tp: 11, 0
  482. GB f1 score: 0.000
  483. GB cohens kappa score: -0.015
  484. -> test with 'KNN'
  485. KNN tn, fp: 272, 38
  486. KNN fn, tp: 11, 0
  487. KNN f1 score: 0.000
  488. KNN cohens kappa score: -0.056
  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:08, 1.09it/s] 20%|██ | 2/10 [00:01<00:07, 1.10it/s] 30%|███ | 3/10 [00:02<00:06, 1.11it/s] 40%|████ | 4/10 [00:03<00:05, 1.07it/s] 50%|█████ | 5/10 [00:04<00:04, 1.06it/s] 60%|██████ | 6/10 [00:05<00:03, 1.08it/s] 70%|███████ | 7/10 [00:06<00:02, 1.10it/s] 80%|████████ | 8/10 [00:07<00:01, 1.09it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.09it/s] 100%|██████████| 10/10 [00:09<00:00, 1.06it/s] 100%|██████████| 10/10 [00:09<00:00, 1.08it/s]
  493. -> create 1194 synthetic samples
  494. -> test with 'LR'
  495. LR tn, fp: 227, 83
  496. LR fn, tp: 2, 9
  497. LR f1 score: 0.175
  498. LR cohens kappa score: 0.121
  499. LR average precision score: 0.087
  500. -> test with 'RF'
  501. RF tn, fp: 309, 1
  502. RF fn, tp: 11, 0
  503. RF f1 score: 0.000
  504. RF cohens kappa score: -0.006
  505. -> test with 'GB'
  506. GB tn, fp: 308, 2
  507. GB fn, tp: 9, 2
  508. GB f1 score: 0.267
  509. GB cohens kappa score: 0.253
  510. -> test with 'KNN'
  511. KNN tn, fp: 272, 38
  512. KNN fn, tp: 11, 0
  513. KNN f1 score: 0.000
  514. KNN cohens kappa score: -0.056
  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:08, 1.02it/s] 20%|██ | 2/10 [00:01<00:07, 1.01it/s] 30%|███ | 3/10 [00:02<00:06, 1.05it/s] 40%|████ | 4/10 [00:03<00:05, 1.12it/s] 50%|█████ | 5/10 [00:04<00:04, 1.15it/s] 60%|██████ | 6/10 [00:05<00:03, 1.16it/s] 70%|███████ | 7/10 [00:06<00:02, 1.16it/s] 80%|████████ | 8/10 [00:07<00:01, 1.17it/s] 90%|█████████ | 9/10 [00:07<00:00, 1.18it/s] 100%|██████████| 10/10 [00:08<00:00, 1.17it/s] 100%|██████████| 10/10 [00:08<00:00, 1.14it/s]
  519. -> create 1196 synthetic samples
  520. -> test with 'LR'
  521. LR tn, fp: 239, 67
  522. LR fn, tp: 7, 2
  523. LR f1 score: 0.051
  524. LR cohens kappa score: 0.001
  525. LR average precision score: 0.029
  526. -> test with 'RF'
  527. RF tn, fp: 305, 1
  528. RF fn, tp: 8, 1
  529. RF f1 score: 0.182
  530. RF cohens kappa score: 0.173
  531. -> test with 'GB'
  532. GB tn, fp: 300, 6
  533. GB fn, tp: 8, 1
  534. GB f1 score: 0.125
  535. GB cohens kappa score: 0.103
  536. -> test with 'KNN'
  537. KNN tn, fp: 265, 41
  538. KNN fn, tp: 9, 0
  539. KNN f1 score: 0.000
  540. KNN cohens kappa score: -0.049
  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:01<00:09, 1.08s/it] 20%|██ | 2/10 [00:02<00:09, 1.13s/it] 30%|███ | 3/10 [00:03<00:07, 1.10s/it] 40%|████ | 4/10 [00:04<00:06, 1.16s/it] 50%|█████ | 5/10 [00:05<00:05, 1.10s/it] 60%|██████ | 6/10 [00:06<00:04, 1.10s/it] 70%|███████ | 7/10 [00:07<00:03, 1.06s/it] 80%|████████ | 8/10 [00:08<00:02, 1.06s/it] 90%|█████████ | 9/10 [00:09<00:01, 1.01s/it] 100%|██████████| 10/10 [00:10<00:00, 1.02s/it] 100%|██████████| 10/10 [00:10<00:00, 1.06s/it]
  548. -> create 1194 synthetic samples
  549. -> test with 'LR'
  550. LR tn, fp: 213, 97
  551. LR fn, tp: 6, 5
  552. LR f1 score: 0.088
  553. LR cohens kappa score: 0.028
  554. LR average precision score: 0.076
  555. -> test with 'RF'
  556. RF tn, fp: 309, 1
  557. RF fn, tp: 11, 0
  558. RF f1 score: 0.000
  559. RF cohens kappa score: -0.006
  560. -> test with 'GB'
  561. GB tn, fp: 305, 5
  562. GB fn, tp: 11, 0
  563. GB f1 score: 0.000
  564. GB cohens kappa score: -0.022
  565. -> test with 'KNN'
  566. KNN tn, fp: 274, 36
  567. KNN fn, tp: 9, 2
  568. KNN f1 score: 0.082
  569. KNN cohens kappa score: 0.030
  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:01<00:09, 1.08s/it] 20%|██ | 2/10 [00:02<00:08, 1.03s/it] 30%|███ | 3/10 [00:03<00:06, 1.01it/s] 40%|████ | 4/10 [00:04<00:06, 1.00s/it] 50%|█████ | 5/10 [00:05<00:05, 1.05s/it] 60%|██████ | 6/10 [00:06<00:04, 1.02s/it] 70%|███████ | 7/10 [00:07<00:03, 1.06s/it] 80%|████████ | 8/10 [00:08<00:02, 1.03s/it] 90%|█████████ | 9/10 [00:09<00:01, 1.00s/it] 100%|██████████| 10/10 [00:10<00:00, 1.01it/s] 100%|██████████| 10/10 [00:10<00:00, 1.02s/it]
  574. -> create 1194 synthetic samples
  575. -> test with 'LR'
  576. LR tn, fp: 240, 70
  577. LR fn, tp: 7, 4
  578. LR f1 score: 0.094
  579. LR cohens kappa score: 0.037
  580. LR average precision score: 0.062
  581. -> test with 'RF'
  582. RF tn, fp: 310, 0
  583. RF fn, tp: 11, 0
  584. RF f1 score: 0.000
  585. RF cohens kappa score: 0.000
  586. -> test with 'GB'
  587. GB tn, fp: 307, 3
  588. GB fn, tp: 10, 1
  589. GB f1 score: 0.133
  590. GB cohens kappa score: 0.117
  591. -> test with 'KNN'
  592. KNN tn, fp: 279, 31
  593. KNN fn, tp: 10, 1
  594. KNN f1 score: 0.047
  595. KNN cohens kappa score: -0.005
  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:09, 1.07s/it] 20%|██ | 2/10 [00:02<00:08, 1.01s/it] 30%|███ | 3/10 [00:03<00:07, 1.01s/it] 40%|████ | 4/10 [00:04<00:06, 1.04s/it] 50%|█████ | 5/10 [00:04<00:04, 1.07it/s] 60%|██████ | 6/10 [00:05<00:03, 1.05it/s] 70%|███████ | 7/10 [00:06<00:02, 1.04it/s] 80%|████████ | 8/10 [00:08<00:02, 1.05s/it] 90%|█████████ | 9/10 [00:09<00:01, 1.08s/it] 100%|██████████| 10/10 [00:10<00:00, 1.10s/it] 100%|██████████| 10/10 [00:10<00:00, 1.04s/it]
  600. -> create 1194 synthetic samples
  601. -> test with 'LR'
  602. LR tn, fp: 300, 10
  603. LR fn, tp: 7, 4
  604. LR f1 score: 0.320
  605. LR cohens kappa score: 0.293
  606. LR average precision score: 0.250
  607. -> test with 'RF'
  608. RF tn, fp: 310, 0
  609. RF fn, tp: 11, 0
  610. RF f1 score: 0.000
  611. RF cohens kappa score: 0.000
  612. -> test with 'GB'
  613. GB tn, fp: 307, 3
  614. GB fn, tp: 11, 0
  615. GB f1 score: 0.000
  616. GB cohens kappa score: -0.015
  617. -> test with 'KNN'
  618. KNN tn, fp: 289, 21
  619. KNN fn, tp: 11, 0
  620. KNN f1 score: 0.000
  621. KNN cohens kappa score: -0.047
  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:08, 1.05it/s] 20%|██ | 2/10 [00:01<00:07, 1.04it/s] 30%|███ | 3/10 [00:02<00:07, 1.00s/it] 40%|████ | 4/10 [00:03<00:05, 1.02it/s] 50%|█████ | 5/10 [00:04<00:04, 1.06it/s] 60%|██████ | 6/10 [00:05<00:03, 1.10it/s] 70%|███████ | 7/10 [00:06<00:02, 1.06it/s] 80%|████████ | 8/10 [00:07<00:01, 1.03it/s] 90%|█████████ | 9/10 [00:08<00:00, 1.00it/s] 100%|██████████| 10/10 [00:09<00:00, 1.04s/it] 100%|██████████| 10/10 [00:09<00:00, 1.01it/s]
  626. -> create 1194 synthetic samples
  627. -> test with 'LR'
  628. LR tn, fp: 241, 69
  629. LR fn, tp: 5, 6
  630. LR f1 score: 0.140
  631. LR cohens kappa score: 0.085
  632. LR average precision score: 0.184
  633. -> test with 'RF'
  634. RF tn, fp: 307, 3
  635. RF fn, tp: 11, 0
  636. RF f1 score: 0.000
  637. RF cohens kappa score: -0.015
  638. -> test with 'GB'
  639. GB tn, fp: 305, 5
  640. GB fn, tp: 10, 1
  641. GB f1 score: 0.118
  642. GB cohens kappa score: 0.096
  643. -> test with 'KNN'
  644. KNN tn, fp: 282, 28
  645. KNN fn, tp: 11, 0
  646. KNN f1 score: 0.000
  647. KNN cohens kappa score: -0.052
  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:01<00:10, 1.21s/it] 20%|██ | 2/10 [00:02<00:08, 1.09s/it] 30%|███ | 3/10 [00:03<00:07, 1.02s/it] 40%|████ | 4/10 [00:04<00:06, 1.05s/it] 50%|█████ | 5/10 [00:05<00:05, 1.02s/it] 60%|██████ | 6/10 [00:06<00:03, 1.00it/s] 70%|███████ | 7/10 [00:07<00:02, 1.01it/s] 80%|████████ | 8/10 [00:08<00:01, 1.04it/s] 90%|█████████ | 9/10 [00:09<00:00, 1.04it/s] 100%|██████████| 10/10 [00:10<00:00, 1.01it/s] 100%|██████████| 10/10 [00:10<00:00, 1.01s/it]
  652. -> create 1196 synthetic samples
  653. -> test with 'LR'
  654. LR tn, fp: 269, 37
  655. LR fn, tp: 6, 3
  656. LR f1 score: 0.122
  657. LR cohens kappa score: 0.080
  658. LR average precision score: 0.095
  659. -> test with 'RF'
  660. RF tn, fp: 302, 4
  661. RF fn, tp: 9, 0
  662. RF f1 score: 0.000
  663. RF cohens kappa score: -0.018
  664. -> test with 'GB'
  665. GB tn, fp: 301, 5
  666. GB fn, tp: 9, 0
  667. GB f1 score: 0.000
  668. GB cohens kappa score: -0.021
  669. -> test with 'KNN'
  670. KNN tn, fp: 272, 34
  671. KNN fn, tp: 9, 0
  672. KNN f1 score: 0.000
  673. KNN cohens kappa score: -0.047
  674. ### Exercise is done.
  675. -----[ LR ]-----
  676. maximum:
  677. LR tn, fp: 300, 97
  678. LR fn, tp: 11, 9
  679. LR f1 score: 0.320
  680. LR cohens kappa score: 0.293
  681. LR average precision score: 0.296
  682. average:
  683. LR tn, fp: 260.56, 48.64
  684. LR fn, tp: 6.32, 4.28
  685. LR f1 score: 0.144
  686. LR cohens kappa score: 0.097
  687. LR average precision score: 0.123
  688. minimum:
  689. LR tn, fp: 213, 10
  690. LR fn, tp: 2, 0
  691. LR f1 score: 0.000
  692. LR cohens kappa score: -0.043
  693. LR average precision score: 0.029
  694. -----[ RF ]-----
  695. maximum:
  696. RF tn, fp: 310, 6
  697. RF fn, tp: 11, 1
  698. RF f1 score: 0.182
  699. RF cohens kappa score: 0.173
  700. average:
  701. RF tn, fp: 307.72, 1.48
  702. RF fn, tp: 10.56, 0.04
  703. RF f1 score: 0.007
  704. RF cohens kappa score: -0.000
  705. minimum:
  706. RF tn, fp: 302, 0
  707. RF fn, tp: 8, 0
  708. RF f1 score: 0.000
  709. RF cohens kappa score: -0.025
  710. -----[ GB ]-----
  711. maximum:
  712. GB tn, fp: 309, 9
  713. GB fn, tp: 11, 2
  714. GB f1 score: 0.267
  715. GB cohens kappa score: 0.253
  716. average:
  717. GB tn, fp: 304.96, 4.24
  718. GB fn, tp: 9.96, 0.64
  719. GB f1 score: 0.084
  720. GB cohens kappa score: 0.065
  721. minimum:
  722. GB tn, fp: 297, 1
  723. GB fn, tp: 8, 0
  724. GB f1 score: 0.000
  725. GB cohens kappa score: -0.032
  726. -----[ KNN ]-----
  727. maximum:
  728. KNN tn, fp: 289, 43
  729. KNN fn, tp: 11, 3
  730. KNN f1 score: 0.188
  731. KNN cohens kappa score: 0.153
  732. average:
  733. KNN tn, fp: 276.72, 32.48
  734. KNN fn, tp: 9.64, 0.96
  735. KNN f1 score: 0.045
  736. KNN cohens kappa score: -0.005
  737. minimum:
  738. KNN tn, fp: 265, 20
  739. KNN fn, tp: 6, 0
  740. KNN f1 score: 0.000
  741. KNN cohens kappa score: -0.056