folding_flare-F.log 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874
  1. ///////////////////////////////////////////
  2. // Running convGAN-majority-full on folding_flare-F
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_flare-F'
  5. from pickle file
  6. non empty cut in data_input/folding_flare-F! (23 points)
  7. Data loaded.
  8. -> Shuffling data
  9. ### Start exercise for synthetic point generator
  10. ====== Step 1/5 =======
  11. -> Shuffling data
  12. -> Spliting data to slices
  13. ------ Step 1/5: Slice 1/5 -------
  14. -> Reset the GAN
  15. -> Train generator for synthetic samples
  16. -> create 784 synthetic samples
  17. -> test with GAN.predict
  18. GAN tn, fp: 194, 11
  19. GAN fn, tp: 8, 1
  20. GAN f1 score: 0.095
  21. GAN cohens kappa score: 0.050
  22. -> test with 'LR'
  23. LR tn, fp: 181, 24
  24. LR fn, tp: 8, 1
  25. LR f1 score: 0.059
  26. LR cohens kappa score: -0.003
  27. LR average precision score: 0.084
  28. -> test with 'GB'
  29. GB tn, fp: 200, 5
  30. GB fn, tp: 8, 1
  31. GB f1 score: 0.133
  32. GB cohens kappa score: 0.103
  33. -> test with 'KNN'
  34. KNN tn, fp: 180, 25
  35. KNN fn, tp: 5, 4
  36. KNN f1 score: 0.211
  37. KNN cohens kappa score: 0.156
  38. ------ Step 1/5: Slice 2/5 -------
  39. -> Reset the GAN
  40. -> Train generator for synthetic samples
  41. -> create 784 synthetic samples
  42. -> test with GAN.predict
  43. GAN tn, fp: 193, 12
  44. GAN fn, tp: 4, 5
  45. GAN f1 score: 0.385
  46. GAN cohens kappa score: 0.349
  47. -> test with 'LR'
  48. LR tn, fp: 162, 43
  49. LR fn, tp: 1, 8
  50. LR f1 score: 0.267
  51. LR cohens kappa score: 0.210
  52. LR average precision score: 0.348
  53. -> test with 'GB'
  54. GB tn, fp: 201, 4
  55. GB fn, tp: 8, 1
  56. GB f1 score: 0.143
  57. GB cohens kappa score: 0.116
  58. -> test with 'KNN'
  59. KNN tn, fp: 165, 40
  60. KNN fn, tp: 2, 7
  61. KNN f1 score: 0.250
  62. KNN cohens kappa score: 0.193
  63. ------ Step 1/5: Slice 3/5 -------
  64. -> Reset the GAN
  65. -> Train generator for synthetic samples
  66. -> create 784 synthetic samples
  67. -> test with GAN.predict
  68. GAN tn, fp: 197, 8
  69. GAN fn, tp: 4, 5
  70. GAN f1 score: 0.455
  71. GAN cohens kappa score: 0.426
  72. -> test with 'LR'
  73. LR tn, fp: 181, 24
  74. LR fn, tp: 4, 5
  75. LR f1 score: 0.263
  76. LR cohens kappa score: 0.213
  77. LR average precision score: 0.432
  78. -> test with 'GB'
  79. GB tn, fp: 204, 1
  80. GB fn, tp: 8, 1
  81. GB f1 score: 0.182
  82. GB cohens kappa score: 0.169
  83. -> test with 'KNN'
  84. KNN tn, fp: 173, 32
  85. KNN fn, tp: 4, 5
  86. KNN f1 score: 0.217
  87. KNN cohens kappa score: 0.161
  88. ------ Step 1/5: Slice 4/5 -------
  89. -> Reset the GAN
  90. -> Train generator for synthetic samples
  91. -> create 784 synthetic samples
  92. -> test with GAN.predict
  93. GAN tn, fp: 201, 4
  94. GAN fn, tp: 8, 1
  95. GAN f1 score: 0.143
  96. GAN cohens kappa score: 0.116
  97. -> test with 'LR'
  98. LR tn, fp: 187, 18
  99. LR fn, tp: 0, 9
  100. LR f1 score: 0.500
  101. LR cohens kappa score: 0.466
  102. LR average precision score: 0.740
  103. -> test with 'GB'
  104. GB tn, fp: 204, 1
  105. GB fn, tp: 7, 2
  106. GB f1 score: 0.333
  107. GB cohens kappa score: 0.319
  108. -> test with 'KNN'
  109. KNN tn, fp: 189, 16
  110. KNN fn, tp: 5, 4
  111. KNN f1 score: 0.276
  112. KNN cohens kappa score: 0.231
  113. ------ Step 1/5: Slice 5/5 -------
  114. -> Reset the GAN
  115. -> Train generator for synthetic samples
  116. -> create 784 synthetic samples
  117. -> test with GAN.predict
  118. GAN tn, fp: 189, 14
  119. GAN fn, tp: 2, 5
  120. GAN f1 score: 0.385
  121. GAN cohens kappa score: 0.353
  122. -> test with 'LR'
  123. LR tn, fp: 178, 25
  124. LR fn, tp: 3, 4
  125. LR f1 score: 0.222
  126. LR cohens kappa score: 0.178
  127. LR average precision score: 0.294
  128. -> test with 'GB'
  129. GB tn, fp: 201, 2
  130. GB fn, tp: 7, 0
  131. GB f1 score: 0.000
  132. GB cohens kappa score: -0.015
  133. -> test with 'KNN'
  134. KNN tn, fp: 175, 28
  135. KNN fn, tp: 2, 5
  136. KNN f1 score: 0.250
  137. KNN cohens kappa score: 0.206
  138. ====== Step 2/5 =======
  139. -> Shuffling data
  140. -> Spliting data to slices
  141. ------ Step 2/5: Slice 1/5 -------
  142. -> Reset the GAN
  143. -> Train generator for synthetic samples
  144. -> create 784 synthetic samples
  145. -> test with GAN.predict
  146. GAN tn, fp: 194, 11
  147. GAN fn, tp: 2, 7
  148. GAN f1 score: 0.519
  149. GAN cohens kappa score: 0.490
  150. -> test with 'LR'
  151. LR tn, fp: 177, 28
  152. LR fn, tp: 2, 7
  153. LR f1 score: 0.318
  154. LR cohens kappa score: 0.269
  155. LR average precision score: 0.482
  156. -> test with 'GB'
  157. GB tn, fp: 201, 4
  158. GB fn, tp: 8, 1
  159. GB f1 score: 0.143
  160. GB cohens kappa score: 0.116
  161. -> test with 'KNN'
  162. KNN tn, fp: 177, 28
  163. KNN fn, tp: 2, 7
  164. KNN f1 score: 0.318
  165. KNN cohens kappa score: 0.269
  166. ------ Step 2/5: Slice 2/5 -------
  167. -> Reset the GAN
  168. -> Train generator for synthetic samples
  169. -> create 784 synthetic samples
  170. -> test with GAN.predict
  171. GAN tn, fp: 191, 14
  172. GAN fn, tp: 4, 5
  173. GAN f1 score: 0.357
  174. GAN cohens kappa score: 0.318
  175. -> test with 'LR'
  176. LR tn, fp: 175, 30
  177. LR fn, tp: 4, 5
  178. LR f1 score: 0.227
  179. LR cohens kappa score: 0.172
  180. LR average precision score: 0.487
  181. -> test with 'GB'
  182. GB tn, fp: 203, 2
  183. GB fn, tp: 9, 0
  184. GB f1 score: 0.000
  185. GB cohens kappa score: -0.016
  186. -> test with 'KNN'
  187. KNN tn, fp: 180, 25
  188. KNN fn, tp: 2, 7
  189. KNN f1 score: 0.341
  190. KNN cohens kappa score: 0.295
  191. ------ Step 2/5: Slice 3/5 -------
  192. -> Reset the GAN
  193. -> Train generator for synthetic samples
  194. -> create 784 synthetic samples
  195. -> test with GAN.predict
  196. GAN tn, fp: 199, 6
  197. GAN fn, tp: 7, 2
  198. GAN f1 score: 0.235
  199. GAN cohens kappa score: 0.204
  200. -> test with 'LR'
  201. LR tn, fp: 176, 29
  202. LR fn, tp: 3, 6
  203. LR f1 score: 0.273
  204. LR cohens kappa score: 0.221
  205. LR average precision score: 0.387
  206. -> test with 'GB'
  207. GB tn, fp: 202, 3
  208. GB fn, tp: 8, 1
  209. GB f1 score: 0.154
  210. GB cohens kappa score: 0.131
  211. -> test with 'KNN'
  212. KNN tn, fp: 182, 23
  213. KNN fn, tp: 5, 4
  214. KNN f1 score: 0.222
  215. KNN cohens kappa score: 0.170
  216. ------ Step 2/5: Slice 4/5 -------
  217. -> Reset the GAN
  218. -> Train generator for synthetic samples
  219. -> create 784 synthetic samples
  220. -> test with GAN.predict
  221. GAN tn, fp: 197, 8
  222. GAN fn, tp: 6, 3
  223. GAN f1 score: 0.300
  224. GAN cohens kappa score: 0.266
  225. -> test with 'LR'
  226. LR tn, fp: 187, 18
  227. LR fn, tp: 4, 5
  228. LR f1 score: 0.312
  229. LR cohens kappa score: 0.268
  230. LR average precision score: 0.295
  231. -> test with 'GB'
  232. GB tn, fp: 202, 3
  233. GB fn, tp: 8, 1
  234. GB f1 score: 0.154
  235. GB cohens kappa score: 0.131
  236. -> test with 'KNN'
  237. KNN tn, fp: 178, 27
  238. KNN fn, tp: 3, 6
  239. KNN f1 score: 0.286
  240. KNN cohens kappa score: 0.235
  241. ------ Step 2/5: Slice 5/5 -------
  242. -> Reset the GAN
  243. -> Train generator for synthetic samples
  244. -> create 784 synthetic samples
  245. -> test with GAN.predict
  246. GAN tn, fp: 189, 14
  247. GAN fn, tp: 3, 4
  248. GAN f1 score: 0.320
  249. GAN cohens kappa score: 0.286
  250. -> test with 'LR'
  251. LR tn, fp: 175, 28
  252. LR fn, tp: 0, 7
  253. LR f1 score: 0.333
  254. LR cohens kappa score: 0.294
  255. LR average precision score: 0.398
  256. -> test with 'GB'
  257. GB tn, fp: 201, 2
  258. GB fn, tp: 6, 1
  259. GB f1 score: 0.200
  260. GB cohens kappa score: 0.184
  261. -> test with 'KNN'
  262. KNN tn, fp: 174, 29
  263. KNN fn, tp: 1, 6
  264. KNN f1 score: 0.286
  265. KNN cohens kappa score: 0.244
  266. ====== Step 3/5 =======
  267. -> Shuffling data
  268. -> Spliting data to slices
  269. ------ Step 3/5: Slice 1/5 -------
  270. -> Reset the GAN
  271. -> Train generator for synthetic samples
  272. -> create 784 synthetic samples
  273. -> test with GAN.predict
  274. GAN tn, fp: 203, 2
  275. GAN fn, tp: 5, 4
  276. GAN f1 score: 0.533
  277. GAN cohens kappa score: 0.517
  278. -> test with 'LR'
  279. LR tn, fp: 188, 17
  280. LR fn, tp: 2, 7
  281. LR f1 score: 0.424
  282. LR cohens kappa score: 0.387
  283. LR average precision score: 0.770
  284. -> test with 'GB'
  285. GB tn, fp: 205, 0
  286. GB fn, tp: 8, 1
  287. GB f1 score: 0.200
  288. GB cohens kappa score: 0.193
  289. -> test with 'KNN'
  290. KNN tn, fp: 190, 15
  291. KNN fn, tp: 4, 5
  292. KNN f1 score: 0.345
  293. KNN cohens kappa score: 0.304
  294. ------ Step 3/5: Slice 2/5 -------
  295. -> Reset the GAN
  296. -> Train generator for synthetic samples
  297. -> create 784 synthetic samples
  298. -> test with GAN.predict
  299. GAN tn, fp: 187, 18
  300. GAN fn, tp: 5, 4
  301. GAN f1 score: 0.258
  302. GAN cohens kappa score: 0.211
  303. -> test with 'LR'
  304. LR tn, fp: 172, 33
  305. LR fn, tp: 2, 7
  306. LR f1 score: 0.286
  307. LR cohens kappa score: 0.233
  308. LR average precision score: 0.271
  309. -> test with 'GB'
  310. GB tn, fp: 195, 10
  311. GB fn, tp: 5, 4
  312. GB f1 score: 0.348
  313. GB cohens kappa score: 0.313
  314. -> test with 'KNN'
  315. KNN tn, fp: 175, 30
  316. KNN fn, tp: 3, 6
  317. KNN f1 score: 0.267
  318. KNN cohens kappa score: 0.214
  319. ------ Step 3/5: Slice 3/5 -------
  320. -> Reset the GAN
  321. -> Train generator for synthetic samples
  322. -> create 784 synthetic samples
  323. -> test with GAN.predict
  324. GAN tn, fp: 202, 3
  325. GAN fn, tp: 5, 4
  326. GAN f1 score: 0.500
  327. GAN cohens kappa score: 0.481
  328. -> test with 'LR'
  329. LR tn, fp: 181, 24
  330. LR fn, tp: 3, 6
  331. LR f1 score: 0.308
  332. LR cohens kappa score: 0.260
  333. LR average precision score: 0.491
  334. -> test with 'GB'
  335. GB tn, fp: 205, 0
  336. GB fn, tp: 9, 0
  337. GB f1 score: 0.000
  338. GB cohens kappa score: 0.000
  339. -> test with 'KNN'
  340. KNN tn, fp: 172, 33
  341. KNN fn, tp: 2, 7
  342. KNN f1 score: 0.286
  343. KNN cohens kappa score: 0.233
  344. ------ Step 3/5: Slice 4/5 -------
  345. -> Reset the GAN
  346. -> Train generator for synthetic samples
  347. -> create 784 synthetic samples
  348. -> test with GAN.predict
  349. GAN tn, fp: 193, 12
  350. GAN fn, tp: 5, 4
  351. GAN f1 score: 0.320
  352. GAN cohens kappa score: 0.281
  353. -> test with 'LR'
  354. LR tn, fp: 189, 16
  355. LR fn, tp: 5, 4
  356. LR f1 score: 0.276
  357. LR cohens kappa score: 0.231
  358. LR average precision score: 0.315
  359. -> test with 'GB'
  360. GB tn, fp: 204, 1
  361. GB fn, tp: 9, 0
  362. GB f1 score: 0.000
  363. GB cohens kappa score: -0.008
  364. -> test with 'KNN'
  365. KNN tn, fp: 185, 20
  366. KNN fn, tp: 4, 5
  367. KNN f1 score: 0.294
  368. KNN cohens kappa score: 0.248
  369. ------ Step 3/5: Slice 5/5 -------
  370. -> Reset the GAN
  371. -> Train generator for synthetic samples
  372. -> create 784 synthetic samples
  373. -> test with GAN.predict
  374. GAN tn, fp: 196, 7
  375. GAN fn, tp: 6, 1
  376. GAN f1 score: 0.133
  377. GAN cohens kappa score: 0.101
  378. -> test with 'LR'
  379. LR tn, fp: 168, 35
  380. LR fn, tp: 1, 6
  381. LR f1 score: 0.250
  382. LR cohens kappa score: 0.205
  383. LR average precision score: 0.261
  384. -> test with 'GB'
  385. GB tn, fp: 199, 4
  386. GB fn, tp: 6, 1
  387. GB f1 score: 0.167
  388. GB cohens kappa score: 0.143
  389. -> test with 'KNN'
  390. KNN tn, fp: 188, 15
  391. KNN fn, tp: 6, 1
  392. KNN f1 score: 0.087
  393. KNN cohens kappa score: 0.043
  394. ====== Step 4/5 =======
  395. -> Shuffling data
  396. -> Spliting data to slices
  397. ------ Step 4/5: Slice 1/5 -------
  398. -> Reset the GAN
  399. -> Train generator for synthetic samples
  400. -> create 784 synthetic samples
  401. -> test with GAN.predict
  402. GAN tn, fp: 195, 10
  403. GAN fn, tp: 6, 3
  404. GAN f1 score: 0.273
  405. GAN cohens kappa score: 0.235
  406. -> test with 'LR'
  407. LR tn, fp: 180, 25
  408. LR fn, tp: 2, 7
  409. LR f1 score: 0.341
  410. LR cohens kappa score: 0.295
  411. LR average precision score: 0.192
  412. -> test with 'GB'
  413. GB tn, fp: 202, 3
  414. GB fn, tp: 9, 0
  415. GB f1 score: 0.000
  416. GB cohens kappa score: -0.021
  417. -> test with 'KNN'
  418. KNN tn, fp: 182, 23
  419. KNN fn, tp: 4, 5
  420. KNN f1 score: 0.270
  421. KNN cohens kappa score: 0.221
  422. ------ Step 4/5: Slice 2/5 -------
  423. -> Reset the GAN
  424. -> Train generator for synthetic samples
  425. -> create 784 synthetic samples
  426. -> test with GAN.predict
  427. GAN tn, fp: 203, 2
  428. GAN fn, tp: 8, 1
  429. GAN f1 score: 0.167
  430. GAN cohens kappa score: 0.149
  431. -> test with 'LR'
  432. LR tn, fp: 186, 19
  433. LR fn, tp: 4, 5
  434. LR f1 score: 0.303
  435. LR cohens kappa score: 0.258
  436. LR average precision score: 0.579
  437. -> test with 'GB'
  438. GB tn, fp: 201, 4
  439. GB fn, tp: 8, 1
  440. GB f1 score: 0.143
  441. GB cohens kappa score: 0.116
  442. -> test with 'KNN'
  443. KNN tn, fp: 184, 21
  444. KNN fn, tp: 4, 5
  445. KNN f1 score: 0.286
  446. KNN cohens kappa score: 0.238
  447. ------ Step 4/5: Slice 3/5 -------
  448. -> Reset the GAN
  449. -> Train generator for synthetic samples
  450. -> create 784 synthetic samples
  451. -> test with GAN.predict
  452. GAN tn, fp: 191, 14
  453. GAN fn, tp: 4, 5
  454. GAN f1 score: 0.357
  455. GAN cohens kappa score: 0.318
  456. -> test with 'LR'
  457. LR tn, fp: 173, 32
  458. LR fn, tp: 4, 5
  459. LR f1 score: 0.217
  460. LR cohens kappa score: 0.161
  461. LR average precision score: 0.311
  462. -> test with 'GB'
  463. GB tn, fp: 204, 1
  464. GB fn, tp: 8, 1
  465. GB f1 score: 0.182
  466. GB cohens kappa score: 0.169
  467. -> test with 'KNN'
  468. KNN tn, fp: 181, 24
  469. KNN fn, tp: 3, 6
  470. KNN f1 score: 0.308
  471. KNN cohens kappa score: 0.260
  472. ------ Step 4/5: Slice 4/5 -------
  473. -> Reset the GAN
  474. -> Train generator for synthetic samples
  475. -> create 784 synthetic samples
  476. -> test with GAN.predict
  477. GAN tn, fp: 195, 10
  478. GAN fn, tp: 7, 2
  479. GAN f1 score: 0.190
  480. GAN cohens kappa score: 0.150
  481. -> test with 'LR'
  482. LR tn, fp: 179, 26
  483. LR fn, tp: 2, 7
  484. LR f1 score: 0.333
  485. LR cohens kappa score: 0.286
  486. LR average precision score: 0.384
  487. -> test with 'GB'
  488. GB tn, fp: 201, 4
  489. GB fn, tp: 7, 2
  490. GB f1 score: 0.267
  491. GB cohens kappa score: 0.241
  492. -> test with 'KNN'
  493. KNN tn, fp: 184, 21
  494. KNN fn, tp: 3, 6
  495. KNN f1 score: 0.333
  496. KNN cohens kappa score: 0.288
  497. ------ Step 4/5: Slice 5/5 -------
  498. -> Reset the GAN
  499. -> Train generator for synthetic samples
  500. -> create 784 synthetic samples
  501. -> test with GAN.predict
  502. GAN tn, fp: 197, 6
  503. GAN fn, tp: 6, 1
  504. GAN f1 score: 0.143
  505. GAN cohens kappa score: 0.113
  506. -> test with 'LR'
  507. LR tn, fp: 181, 22
  508. LR fn, tp: 2, 5
  509. LR f1 score: 0.294
  510. LR cohens kappa score: 0.255
  511. LR average precision score: 0.361
  512. -> test with 'GB'
  513. GB tn, fp: 202, 1
  514. GB fn, tp: 7, 0
  515. GB f1 score: 0.000
  516. GB cohens kappa score: -0.008
  517. -> test with 'KNN'
  518. KNN tn, fp: 177, 26
  519. KNN fn, tp: 3, 4
  520. KNN f1 score: 0.216
  521. KNN cohens kappa score: 0.171
  522. ====== Step 5/5 =======
  523. -> Shuffling data
  524. -> Spliting data to slices
  525. ------ Step 5/5: Slice 1/5 -------
  526. -> Reset the GAN
  527. -> Train generator for synthetic samples
  528. -> create 784 synthetic samples
  529. -> test with GAN.predict
  530. GAN tn, fp: 193, 12
  531. GAN fn, tp: 4, 5
  532. GAN f1 score: 0.385
  533. GAN cohens kappa score: 0.349
  534. -> test with 'LR'
  535. LR tn, fp: 180, 25
  536. LR fn, tp: 4, 5
  537. LR f1 score: 0.256
  538. LR cohens kappa score: 0.205
  539. LR average precision score: 0.258
  540. -> test with 'GB'
  541. GB tn, fp: 202, 3
  542. GB fn, tp: 8, 1
  543. GB f1 score: 0.154
  544. GB cohens kappa score: 0.131
  545. -> test with 'KNN'
  546. KNN tn, fp: 179, 26
  547. KNN fn, tp: 3, 6
  548. KNN f1 score: 0.293
  549. KNN cohens kappa score: 0.243
  550. ------ Step 5/5: Slice 2/5 -------
  551. -> Reset the GAN
  552. -> Train generator for synthetic samples
  553. -> create 784 synthetic samples
  554. -> test with GAN.predict
  555. GAN tn, fp: 196, 9
  556. GAN fn, tp: 6, 3
  557. GAN f1 score: 0.286
  558. GAN cohens kappa score: 0.250
  559. -> test with 'LR'
  560. LR tn, fp: 177, 28
  561. LR fn, tp: 2, 7
  562. LR f1 score: 0.318
  563. LR cohens kappa score: 0.269
  564. LR average precision score: 0.421
  565. -> test with 'GB'
  566. GB tn, fp: 204, 1
  567. GB fn, tp: 9, 0
  568. GB f1 score: 0.000
  569. GB cohens kappa score: -0.008
  570. -> test with 'KNN'
  571. KNN tn, fp: 170, 35
  572. KNN fn, tp: 3, 6
  573. KNN f1 score: 0.240
  574. KNN cohens kappa score: 0.184
  575. ------ Step 5/5: Slice 3/5 -------
  576. -> Reset the GAN
  577. -> Train generator for synthetic samples
  578. -> create 784 synthetic samples
  579. -> test with GAN.predict
  580. GAN tn, fp: 191, 14
  581. GAN fn, tp: 5, 4
  582. GAN f1 score: 0.296
  583. GAN cohens kappa score: 0.254
  584. -> test with 'LR'
  585. LR tn, fp: 178, 27
  586. LR fn, tp: 0, 9
  587. LR f1 score: 0.400
  588. LR cohens kappa score: 0.357
  589. LR average precision score: 0.490
  590. -> test with 'GB'
  591. GB tn, fp: 204, 1
  592. GB fn, tp: 8, 1
  593. GB f1 score: 0.182
  594. GB cohens kappa score: 0.169
  595. -> test with 'KNN'
  596. KNN tn, fp: 177, 28
  597. KNN fn, tp: 4, 5
  598. KNN f1 score: 0.238
  599. KNN cohens kappa score: 0.184
  600. ------ Step 5/5: Slice 4/5 -------
  601. -> Reset the GAN
  602. -> Train generator for synthetic samples
  603. -> create 784 synthetic samples
  604. -> test with GAN.predict
  605. GAN tn, fp: 202, 3
  606. GAN fn, tp: 6, 3
  607. GAN f1 score: 0.400
  608. GAN cohens kappa score: 0.379
  609. -> test with 'LR'
  610. LR tn, fp: 181, 24
  611. LR fn, tp: 5, 4
  612. LR f1 score: 0.216
  613. LR cohens kappa score: 0.163
  614. LR average precision score: 0.198
  615. -> test with 'GB'
  616. GB tn, fp: 203, 2
  617. GB fn, tp: 9, 0
  618. GB f1 score: 0.000
  619. GB cohens kappa score: -0.016
  620. -> test with 'KNN'
  621. KNN tn, fp: 188, 17
  622. KNN fn, tp: 6, 3
  623. KNN f1 score: 0.207
  624. KNN cohens kappa score: 0.158
  625. ------ Step 5/5: Slice 5/5 -------
  626. -> Reset the GAN
  627. -> Train generator for synthetic samples
  628. -> create 784 synthetic samples
  629. -> test with GAN.predict
  630. GAN tn, fp: 192, 11
  631. GAN fn, tp: 5, 2
  632. GAN f1 score: 0.200
  633. GAN cohens kappa score: 0.164
  634. -> test with 'LR'
  635. LR tn, fp: 175, 28
  636. LR fn, tp: 2, 5
  637. LR f1 score: 0.250
  638. LR cohens kappa score: 0.206
  639. LR average precision score: 0.439
  640. -> test with 'GB'
  641. GB tn, fp: 197, 6
  642. GB fn, tp: 5, 2
  643. GB f1 score: 0.267
  644. GB cohens kappa score: 0.240
  645. -> test with 'KNN'
  646. KNN tn, fp: 178, 25
  647. KNN fn, tp: 3, 4
  648. KNN f1 score: 0.222
  649. KNN cohens kappa score: 0.178
  650. ### Exercise is done.
  651. -----[ LR ]-----
  652. maximum:
  653. LR tn, fp: 189, 43
  654. LR fn, tp: 8, 9
  655. LR f1 score: 0.500
  656. LR cohens kappa score: 0.466
  657. LR average precision score: 0.770
  658. average:
  659. LR tn, fp: 178.68, 25.92
  660. LR fn, tp: 2.76, 5.84
  661. LR f1 score: 0.290
  662. LR cohens kappa score: 0.242
  663. LR average precision score: 0.388
  664. minimum:
  665. LR tn, fp: 162, 16
  666. LR fn, tp: 0, 1
  667. LR f1 score: 0.059
  668. LR cohens kappa score: -0.003
  669. LR average precision score: 0.084
  670. -----[ GB ]-----
  671. maximum:
  672. GB tn, fp: 205, 10
  673. GB fn, tp: 9, 4
  674. GB f1 score: 0.348
  675. GB cohens kappa score: 0.319
  676. average:
  677. GB tn, fp: 201.88, 2.72
  678. GB fn, tp: 7.68, 0.92
  679. GB f1 score: 0.134
  680. GB cohens kappa score: 0.116
  681. minimum:
  682. GB tn, fp: 195, 0
  683. GB fn, tp: 5, 0
  684. GB f1 score: 0.000
  685. GB cohens kappa score: -0.021
  686. -----[ KNN ]-----
  687. maximum:
  688. KNN tn, fp: 190, 40
  689. KNN fn, tp: 6, 7
  690. KNN f1 score: 0.345
  691. KNN cohens kappa score: 0.304
  692. average:
  693. KNN tn, fp: 179.32, 25.28
  694. KNN fn, tp: 3.44, 5.16
  695. KNN f1 score: 0.262
  696. KNN cohens kappa score: 0.213
  697. minimum:
  698. KNN tn, fp: 165, 15
  699. KNN fn, tp: 1, 1
  700. KNN f1 score: 0.087
  701. KNN cohens kappa score: 0.043
  702. -----[ GAN ]-----
  703. maximum:
  704. GAN tn, fp: 203, 18
  705. GAN fn, tp: 8, 7
  706. GAN f1 score: 0.533
  707. GAN cohens kappa score: 0.517
  708. average:
  709. GAN tn, fp: 195.2, 9.4
  710. GAN fn, tp: 5.24, 3.36
  711. GAN f1 score: 0.305
  712. GAN cohens kappa score: 0.272
  713. minimum:
  714. GAN tn, fp: 187, 2
  715. GAN fn, tp: 2, 1
  716. GAN f1 score: 0.095
  717. GAN cohens kappa score: 0.050