folding_yeast5.log 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873
  1. ///////////////////////////////////////////
  2. // Running convGAN-proximary-full on folding_yeast5
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_yeast5'
  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. -> create 1117 synthetic samples
  16. -> test with GAN.predict
  17. GAN tn, fp: 283, 5
  18. GAN fn, tp: 5, 4
  19. GAN f1 score: 0.444
  20. GAN cohens kappa score: 0.427
  21. -> test with 'LR'
  22. LR tn, fp: 280, 8
  23. LR fn, tp: 0, 9
  24. LR f1 score: 0.692
  25. LR cohens kappa score: 0.680
  26. LR average precision score: 0.888
  27. -> test with 'GB'
  28. GB tn, fp: 286, 2
  29. GB fn, tp: 5, 4
  30. GB f1 score: 0.533
  31. GB cohens kappa score: 0.522
  32. -> test with 'KNN'
  33. KNN tn, fp: 280, 8
  34. KNN fn, tp: 0, 9
  35. KNN f1 score: 0.692
  36. KNN cohens kappa score: 0.680
  37. ------ Step 1/5: Slice 2/5 -------
  38. -> Reset the GAN
  39. -> Train generator for synthetic samples
  40. -> create 1117 synthetic samples
  41. -> test with GAN.predict
  42. GAN tn, fp: 261, 27
  43. GAN fn, tp: 1, 8
  44. GAN f1 score: 0.364
  45. GAN cohens kappa score: 0.331
  46. -> test with 'LR'
  47. LR tn, fp: 273, 15
  48. LR fn, tp: 0, 9
  49. LR f1 score: 0.545
  50. LR cohens kappa score: 0.524
  51. LR average precision score: 0.694
  52. -> test with 'GB'
  53. GB tn, fp: 284, 4
  54. GB fn, tp: 1, 8
  55. GB f1 score: 0.762
  56. GB cohens kappa score: 0.753
  57. -> test with 'KNN'
  58. KNN tn, fp: 274, 14
  59. KNN fn, tp: 0, 9
  60. KNN f1 score: 0.562
  61. KNN cohens kappa score: 0.543
  62. ------ Step 1/5: Slice 3/5 -------
  63. -> Reset the GAN
  64. -> Train generator for synthetic samples
  65. -> create 1117 synthetic samples
  66. -> test with GAN.predict
  67. GAN tn, fp: 281, 7
  68. GAN fn, tp: 1, 8
  69. GAN f1 score: 0.667
  70. GAN cohens kappa score: 0.654
  71. -> test with 'LR'
  72. LR tn, fp: 278, 10
  73. LR fn, tp: 0, 9
  74. LR f1 score: 0.643
  75. LR cohens kappa score: 0.628
  76. LR average precision score: 0.595
  77. -> test with 'GB'
  78. GB tn, fp: 284, 4
  79. GB fn, tp: 3, 6
  80. GB f1 score: 0.632
  81. GB cohens kappa score: 0.619
  82. -> test with 'KNN'
  83. KNN tn, fp: 278, 10
  84. KNN fn, tp: 0, 9
  85. KNN f1 score: 0.643
  86. KNN cohens kappa score: 0.628
  87. ------ Step 1/5: Slice 4/5 -------
  88. -> Reset the GAN
  89. -> Train generator for synthetic samples
  90. -> create 1117 synthetic samples
  91. -> test with GAN.predict
  92. GAN tn, fp: 285, 3
  93. GAN fn, tp: 2, 7
  94. GAN f1 score: 0.737
  95. GAN cohens kappa score: 0.728
  96. -> test with 'LR'
  97. LR tn, fp: 281, 7
  98. LR fn, tp: 0, 9
  99. LR f1 score: 0.720
  100. LR cohens kappa score: 0.709
  101. LR average precision score: 0.776
  102. -> test with 'GB'
  103. GB tn, fp: 288, 0
  104. GB fn, tp: 3, 6
  105. GB f1 score: 0.800
  106. GB cohens kappa score: 0.795
  107. -> test with 'KNN'
  108. KNN tn, fp: 286, 2
  109. KNN fn, tp: 0, 9
  110. KNN f1 score: 0.900
  111. KNN cohens kappa score: 0.897
  112. ------ Step 1/5: Slice 5/5 -------
  113. -> Reset the GAN
  114. -> Train generator for synthetic samples
  115. -> create 1116 synthetic samples
  116. -> test with GAN.predict
  117. GAN tn, fp: 279, 9
  118. GAN fn, tp: 1, 7
  119. GAN f1 score: 0.583
  120. GAN cohens kappa score: 0.568
  121. -> test with 'LR'
  122. LR tn, fp: 276, 12
  123. LR fn, tp: 0, 8
  124. LR f1 score: 0.571
  125. LR cohens kappa score: 0.554
  126. LR average precision score: 0.704
  127. -> test with 'GB'
  128. GB tn, fp: 285, 3
  129. GB fn, tp: 1, 7
  130. GB f1 score: 0.778
  131. GB cohens kappa score: 0.771
  132. -> test with 'KNN'
  133. KNN tn, fp: 276, 12
  134. KNN fn, tp: 0, 8
  135. KNN f1 score: 0.571
  136. KNN cohens kappa score: 0.554
  137. ====== Step 2/5 =======
  138. -> Shuffling data
  139. -> Spliting data to slices
  140. ------ Step 2/5: Slice 1/5 -------
  141. -> Reset the GAN
  142. -> Train generator for synthetic samples
  143. -> create 1117 synthetic samples
  144. -> test with GAN.predict
  145. GAN tn, fp: 279, 9
  146. GAN fn, tp: 0, 9
  147. GAN f1 score: 0.667
  148. GAN cohens kappa score: 0.653
  149. -> test with 'LR'
  150. LR tn, fp: 276, 12
  151. LR fn, tp: 0, 9
  152. LR f1 score: 0.600
  153. LR cohens kappa score: 0.582
  154. LR average precision score: 0.686
  155. -> test with 'GB'
  156. GB tn, fp: 285, 3
  157. GB fn, tp: 2, 7
  158. GB f1 score: 0.737
  159. GB cohens kappa score: 0.728
  160. -> test with 'KNN'
  161. KNN tn, fp: 279, 9
  162. KNN fn, tp: 0, 9
  163. KNN f1 score: 0.667
  164. KNN cohens kappa score: 0.653
  165. ------ Step 2/5: Slice 2/5 -------
  166. -> Reset the GAN
  167. -> Train generator for synthetic samples
  168. -> create 1117 synthetic samples
  169. -> test with GAN.predict
  170. GAN tn, fp: 274, 14
  171. GAN fn, tp: 5, 4
  172. GAN f1 score: 0.296
  173. GAN cohens kappa score: 0.267
  174. -> test with 'LR'
  175. LR tn, fp: 272, 16
  176. LR fn, tp: 1, 8
  177. LR f1 score: 0.485
  178. LR cohens kappa score: 0.461
  179. LR average precision score: 0.414
  180. -> test with 'GB'
  181. GB tn, fp: 280, 8
  182. GB fn, tp: 4, 5
  183. GB f1 score: 0.455
  184. GB cohens kappa score: 0.434
  185. -> test with 'KNN'
  186. KNN tn, fp: 276, 12
  187. KNN fn, tp: 1, 8
  188. KNN f1 score: 0.552
  189. KNN cohens kappa score: 0.532
  190. ------ Step 2/5: Slice 3/5 -------
  191. -> Reset the GAN
  192. -> Train generator for synthetic samples
  193. -> create 1117 synthetic samples
  194. -> test with GAN.predict
  195. GAN tn, fp: 282, 6
  196. GAN fn, tp: 1, 8
  197. GAN f1 score: 0.696
  198. GAN cohens kappa score: 0.684
  199. -> test with 'LR'
  200. LR tn, fp: 281, 7
  201. LR fn, tp: 0, 9
  202. LR f1 score: 0.720
  203. LR cohens kappa score: 0.709
  204. LR average precision score: 0.773
  205. -> test with 'GB'
  206. GB tn, fp: 286, 2
  207. GB fn, tp: 1, 8
  208. GB f1 score: 0.842
  209. GB cohens kappa score: 0.837
  210. -> test with 'KNN'
  211. KNN tn, fp: 282, 6
  212. KNN fn, tp: 0, 9
  213. KNN f1 score: 0.750
  214. KNN cohens kappa score: 0.740
  215. ------ Step 2/5: Slice 4/5 -------
  216. -> Reset the GAN
  217. -> Train generator for synthetic samples
  218. -> create 1117 synthetic samples
  219. -> test with GAN.predict
  220. GAN tn, fp: 281, 7
  221. GAN fn, tp: 0, 9
  222. GAN f1 score: 0.720
  223. GAN cohens kappa score: 0.709
  224. -> test with 'LR'
  225. LR tn, fp: 274, 14
  226. LR fn, tp: 0, 9
  227. LR f1 score: 0.562
  228. LR cohens kappa score: 0.543
  229. LR average precision score: 0.891
  230. -> test with 'GB'
  231. GB tn, fp: 285, 3
  232. GB fn, tp: 1, 8
  233. GB f1 score: 0.800
  234. GB cohens kappa score: 0.793
  235. -> test with 'KNN'
  236. KNN tn, fp: 278, 10
  237. KNN fn, tp: 0, 9
  238. KNN f1 score: 0.643
  239. KNN cohens kappa score: 0.628
  240. ------ Step 2/5: Slice 5/5 -------
  241. -> Reset the GAN
  242. -> Train generator for synthetic samples
  243. -> create 1116 synthetic samples
  244. -> test with GAN.predict
  245. GAN tn, fp: 273, 15
  246. GAN fn, tp: 2, 6
  247. GAN f1 score: 0.414
  248. GAN cohens kappa score: 0.390
  249. -> test with 'LR'
  250. LR tn, fp: 280, 8
  251. LR fn, tp: 0, 8
  252. LR f1 score: 0.667
  253. LR cohens kappa score: 0.654
  254. LR average precision score: 0.639
  255. -> test with 'GB'
  256. GB tn, fp: 286, 2
  257. GB fn, tp: 4, 4
  258. GB f1 score: 0.571
  259. GB cohens kappa score: 0.561
  260. -> test with 'KNN'
  261. KNN tn, fp: 282, 6
  262. KNN fn, tp: 0, 8
  263. KNN f1 score: 0.727
  264. KNN cohens kappa score: 0.718
  265. ====== Step 3/5 =======
  266. -> Shuffling data
  267. -> Spliting data to slices
  268. ------ Step 3/5: Slice 1/5 -------
  269. -> Reset the GAN
  270. -> Train generator for synthetic samples
  271. -> create 1117 synthetic samples
  272. -> test with GAN.predict
  273. GAN tn, fp: 281, 7
  274. GAN fn, tp: 2, 7
  275. GAN f1 score: 0.609
  276. GAN cohens kappa score: 0.594
  277. -> test with 'LR'
  278. LR tn, fp: 273, 15
  279. LR fn, tp: 0, 9
  280. LR f1 score: 0.545
  281. LR cohens kappa score: 0.524
  282. LR average precision score: 0.694
  283. -> test with 'GB'
  284. GB tn, fp: 286, 2
  285. GB fn, tp: 2, 7
  286. GB f1 score: 0.778
  287. GB cohens kappa score: 0.771
  288. -> test with 'KNN'
  289. KNN tn, fp: 274, 14
  290. KNN fn, tp: 0, 9
  291. KNN f1 score: 0.562
  292. KNN cohens kappa score: 0.543
  293. ------ Step 3/5: Slice 2/5 -------
  294. -> Reset the GAN
  295. -> Train generator for synthetic samples
  296. -> create 1117 synthetic samples
  297. -> test with GAN.predict
  298. GAN tn, fp: 280, 8
  299. GAN fn, tp: 2, 7
  300. GAN f1 score: 0.583
  301. GAN cohens kappa score: 0.567
  302. -> test with 'LR'
  303. LR tn, fp: 276, 12
  304. LR fn, tp: 0, 9
  305. LR f1 score: 0.600
  306. LR cohens kappa score: 0.582
  307. LR average precision score: 0.701
  308. -> test with 'GB'
  309. GB tn, fp: 285, 3
  310. GB fn, tp: 2, 7
  311. GB f1 score: 0.737
  312. GB cohens kappa score: 0.728
  313. -> test with 'KNN'
  314. KNN tn, fp: 276, 12
  315. KNN fn, tp: 0, 9
  316. KNN f1 score: 0.600
  317. KNN cohens kappa score: 0.582
  318. ------ Step 3/5: Slice 3/5 -------
  319. -> Reset the GAN
  320. -> Train generator for synthetic samples
  321. -> create 1117 synthetic samples
  322. -> test with GAN.predict
  323. GAN tn, fp: 283, 5
  324. GAN fn, tp: 3, 6
  325. GAN f1 score: 0.600
  326. GAN cohens kappa score: 0.586
  327. -> test with 'LR'
  328. LR tn, fp: 280, 8
  329. LR fn, tp: 0, 9
  330. LR f1 score: 0.692
  331. LR cohens kappa score: 0.680
  332. LR average precision score: 0.828
  333. -> test with 'GB'
  334. GB tn, fp: 287, 1
  335. GB fn, tp: 2, 7
  336. GB f1 score: 0.824
  337. GB cohens kappa score: 0.818
  338. -> test with 'KNN'
  339. KNN tn, fp: 283, 5
  340. KNN fn, tp: 0, 9
  341. KNN f1 score: 0.783
  342. KNN cohens kappa score: 0.774
  343. ------ Step 3/5: Slice 4/5 -------
  344. -> Reset the GAN
  345. -> Train generator for synthetic samples
  346. -> create 1117 synthetic samples
  347. -> test with GAN.predict
  348. GAN tn, fp: 263, 25
  349. GAN fn, tp: 3, 6
  350. GAN f1 score: 0.300
  351. GAN cohens kappa score: 0.266
  352. -> test with 'LR'
  353. LR tn, fp: 279, 9
  354. LR fn, tp: 0, 9
  355. LR f1 score: 0.667
  356. LR cohens kappa score: 0.653
  357. LR average precision score: 0.738
  358. -> test with 'GB'
  359. GB tn, fp: 286, 2
  360. GB fn, tp: 5, 4
  361. GB f1 score: 0.533
  362. GB cohens kappa score: 0.522
  363. -> test with 'KNN'
  364. KNN tn, fp: 282, 6
  365. KNN fn, tp: 1, 8
  366. KNN f1 score: 0.696
  367. KNN cohens kappa score: 0.684
  368. ------ Step 3/5: Slice 5/5 -------
  369. -> Reset the GAN
  370. -> Train generator for synthetic samples
  371. -> create 1116 synthetic samples
  372. -> test with GAN.predict
  373. GAN tn, fp: 277, 11
  374. GAN fn, tp: 3, 5
  375. GAN f1 score: 0.417
  376. GAN cohens kappa score: 0.395
  377. -> test with 'LR'
  378. LR tn, fp: 275, 13
  379. LR fn, tp: 0, 8
  380. LR f1 score: 0.552
  381. LR cohens kappa score: 0.533
  382. LR average precision score: 0.394
  383. -> test with 'GB'
  384. GB tn, fp: 283, 5
  385. GB fn, tp: 1, 7
  386. GB f1 score: 0.700
  387. GB cohens kappa score: 0.690
  388. -> test with 'KNN'
  389. KNN tn, fp: 276, 12
  390. KNN fn, tp: 0, 8
  391. KNN f1 score: 0.571
  392. KNN cohens kappa score: 0.554
  393. ====== Step 4/5 =======
  394. -> Shuffling data
  395. -> Spliting data to slices
  396. ------ Step 4/5: Slice 1/5 -------
  397. -> Reset the GAN
  398. -> Train generator for synthetic samples
  399. -> create 1117 synthetic samples
  400. -> test with GAN.predict
  401. GAN tn, fp: 279, 9
  402. GAN fn, tp: 1, 8
  403. GAN f1 score: 0.615
  404. GAN cohens kappa score: 0.600
  405. -> test with 'LR'
  406. LR tn, fp: 275, 13
  407. LR fn, tp: 0, 9
  408. LR f1 score: 0.581
  409. LR cohens kappa score: 0.562
  410. LR average precision score: 0.744
  411. -> test with 'GB'
  412. GB tn, fp: 285, 3
  413. GB fn, tp: 1, 8
  414. GB f1 score: 0.800
  415. GB cohens kappa score: 0.793
  416. -> test with 'KNN'
  417. KNN tn, fp: 277, 11
  418. KNN fn, tp: 0, 9
  419. KNN f1 score: 0.621
  420. KNN cohens kappa score: 0.604
  421. ------ Step 4/5: Slice 2/5 -------
  422. -> Reset the GAN
  423. -> Train generator for synthetic samples
  424. -> create 1117 synthetic samples
  425. -> test with GAN.predict
  426. GAN tn, fp: 278, 10
  427. GAN fn, tp: 4, 5
  428. GAN f1 score: 0.417
  429. GAN cohens kappa score: 0.394
  430. -> test with 'LR'
  431. LR tn, fp: 274, 14
  432. LR fn, tp: 1, 8
  433. LR f1 score: 0.516
  434. LR cohens kappa score: 0.494
  435. LR average precision score: 0.598
  436. -> test with 'GB'
  437. GB tn, fp: 287, 1
  438. GB fn, tp: 2, 7
  439. GB f1 score: 0.824
  440. GB cohens kappa score: 0.818
  441. -> test with 'KNN'
  442. KNN tn, fp: 281, 7
  443. KNN fn, tp: 0, 9
  444. KNN f1 score: 0.720
  445. KNN cohens kappa score: 0.709
  446. ------ Step 4/5: Slice 3/5 -------
  447. -> Reset the GAN
  448. -> Train generator for synthetic samples
  449. -> create 1117 synthetic samples
  450. -> test with GAN.predict
  451. GAN tn, fp: 278, 10
  452. GAN fn, tp: 3, 6
  453. GAN f1 score: 0.480
  454. GAN cohens kappa score: 0.459
  455. -> test with 'LR'
  456. LR tn, fp: 280, 8
  457. LR fn, tp: 1, 8
  458. LR f1 score: 0.640
  459. LR cohens kappa score: 0.625
  460. LR average precision score: 0.678
  461. -> test with 'GB'
  462. GB tn, fp: 283, 5
  463. GB fn, tp: 4, 5
  464. GB f1 score: 0.526
  465. GB cohens kappa score: 0.511
  466. -> test with 'KNN'
  467. KNN tn, fp: 279, 9
  468. KNN fn, tp: 2, 7
  469. KNN f1 score: 0.560
  470. KNN cohens kappa score: 0.542
  471. ------ Step 4/5: Slice 4/5 -------
  472. -> Reset the GAN
  473. -> Train generator for synthetic samples
  474. -> create 1117 synthetic samples
  475. -> test with GAN.predict
  476. GAN tn, fp: 282, 6
  477. GAN fn, tp: 1, 8
  478. GAN f1 score: 0.696
  479. GAN cohens kappa score: 0.684
  480. -> test with 'LR'
  481. LR tn, fp: 280, 8
  482. LR fn, tp: 0, 9
  483. LR f1 score: 0.692
  484. LR cohens kappa score: 0.680
  485. LR average precision score: 0.668
  486. -> test with 'GB'
  487. GB tn, fp: 287, 1
  488. GB fn, tp: 3, 6
  489. GB f1 score: 0.750
  490. GB cohens kappa score: 0.743
  491. -> test with 'KNN'
  492. KNN tn, fp: 280, 8
  493. KNN fn, tp: 1, 8
  494. KNN f1 score: 0.640
  495. KNN cohens kappa score: 0.625
  496. ------ Step 4/5: Slice 5/5 -------
  497. -> Reset the GAN
  498. -> Train generator for synthetic samples
  499. -> create 1116 synthetic samples
  500. -> test with GAN.predict
  501. GAN tn, fp: 283, 5
  502. GAN fn, tp: 1, 7
  503. GAN f1 score: 0.700
  504. GAN cohens kappa score: 0.690
  505. -> test with 'LR'
  506. LR tn, fp: 276, 12
  507. LR fn, tp: 0, 8
  508. LR f1 score: 0.571
  509. LR cohens kappa score: 0.554
  510. LR average precision score: 0.754
  511. -> test with 'GB'
  512. GB tn, fp: 285, 3
  513. GB fn, tp: 1, 7
  514. GB f1 score: 0.778
  515. GB cohens kappa score: 0.771
  516. -> test with 'KNN'
  517. KNN tn, fp: 274, 14
  518. KNN fn, tp: 0, 8
  519. KNN f1 score: 0.533
  520. KNN cohens kappa score: 0.514
  521. ====== Step 5/5 =======
  522. -> Shuffling data
  523. -> Spliting data to slices
  524. ------ Step 5/5: Slice 1/5 -------
  525. -> Reset the GAN
  526. -> Train generator for synthetic samples
  527. -> create 1117 synthetic samples
  528. -> test with GAN.predict
  529. GAN tn, fp: 276, 12
  530. GAN fn, tp: 0, 9
  531. GAN f1 score: 0.600
  532. GAN cohens kappa score: 0.582
  533. -> test with 'LR'
  534. LR tn, fp: 271, 17
  535. LR fn, tp: 0, 9
  536. LR f1 score: 0.514
  537. LR cohens kappa score: 0.491
  538. LR average precision score: 0.724
  539. -> test with 'GB'
  540. GB tn, fp: 285, 3
  541. GB fn, tp: 1, 8
  542. GB f1 score: 0.800
  543. GB cohens kappa score: 0.793
  544. -> test with 'KNN'
  545. KNN tn, fp: 273, 15
  546. KNN fn, tp: 0, 9
  547. KNN f1 score: 0.545
  548. KNN cohens kappa score: 0.524
  549. ------ Step 5/5: Slice 2/5 -------
  550. -> Reset the GAN
  551. -> Train generator for synthetic samples
  552. -> create 1117 synthetic samples
  553. -> test with GAN.predict
  554. GAN tn, fp: 285, 3
  555. GAN fn, tp: 4, 5
  556. GAN f1 score: 0.588
  557. GAN cohens kappa score: 0.576
  558. -> test with 'LR'
  559. LR tn, fp: 281, 7
  560. LR fn, tp: 0, 9
  561. LR f1 score: 0.720
  562. LR cohens kappa score: 0.709
  563. LR average precision score: 0.834
  564. -> test with 'GB'
  565. GB tn, fp: 287, 1
  566. GB fn, tp: 3, 6
  567. GB f1 score: 0.750
  568. GB cohens kappa score: 0.743
  569. -> test with 'KNN'
  570. KNN tn, fp: 283, 5
  571. KNN fn, tp: 1, 8
  572. KNN f1 score: 0.727
  573. KNN cohens kappa score: 0.717
  574. ------ Step 5/5: Slice 3/5 -------
  575. -> Reset the GAN
  576. -> Train generator for synthetic samples
  577. -> create 1117 synthetic samples
  578. -> test with GAN.predict
  579. GAN tn, fp: 284, 4
  580. GAN fn, tp: 1, 8
  581. GAN f1 score: 0.762
  582. GAN cohens kappa score: 0.753
  583. -> test with 'LR'
  584. LR tn, fp: 278, 10
  585. LR fn, tp: 0, 9
  586. LR f1 score: 0.643
  587. LR cohens kappa score: 0.628
  588. LR average precision score: 0.764
  589. -> test with 'GB'
  590. GB tn, fp: 286, 2
  591. GB fn, tp: 1, 8
  592. GB f1 score: 0.842
  593. GB cohens kappa score: 0.837
  594. -> test with 'KNN'
  595. KNN tn, fp: 282, 6
  596. KNN fn, tp: 0, 9
  597. KNN f1 score: 0.750
  598. KNN cohens kappa score: 0.740
  599. ------ Step 5/5: Slice 4/5 -------
  600. -> Reset the GAN
  601. -> Train generator for synthetic samples
  602. -> create 1117 synthetic samples
  603. -> test with GAN.predict
  604. GAN tn, fp: 277, 11
  605. GAN fn, tp: 4, 5
  606. GAN f1 score: 0.400
  607. GAN cohens kappa score: 0.376
  608. -> test with 'LR'
  609. LR tn, fp: 281, 7
  610. LR fn, tp: 1, 8
  611. LR f1 score: 0.667
  612. LR cohens kappa score: 0.654
  613. LR average precision score: 0.591
  614. -> test with 'GB'
  615. GB tn, fp: 287, 1
  616. GB fn, tp: 3, 6
  617. GB f1 score: 0.750
  618. GB cohens kappa score: 0.743
  619. -> test with 'KNN'
  620. KNN tn, fp: 283, 5
  621. KNN fn, tp: 0, 9
  622. KNN f1 score: 0.783
  623. KNN cohens kappa score: 0.774
  624. ------ Step 5/5: Slice 5/5 -------
  625. -> Reset the GAN
  626. -> Train generator for synthetic samples
  627. -> create 1116 synthetic samples
  628. -> test with GAN.predict
  629. GAN tn, fp: 283, 5
  630. GAN fn, tp: 3, 5
  631. GAN f1 score: 0.556
  632. GAN cohens kappa score: 0.542
  633. -> test with 'LR'
  634. LR tn, fp: 275, 13
  635. LR fn, tp: 1, 7
  636. LR f1 score: 0.500
  637. LR cohens kappa score: 0.480
  638. LR average precision score: 0.506
  639. -> test with 'GB'
  640. GB tn, fp: 282, 6
  641. GB fn, tp: 3, 5
  642. GB f1 score: 0.526
  643. GB cohens kappa score: 0.511
  644. -> test with 'KNN'
  645. KNN tn, fp: 274, 14
  646. KNN fn, tp: 1, 7
  647. KNN f1 score: 0.483
  648. KNN cohens kappa score: 0.462
  649. ### Exercise is done.
  650. -----[ LR ]-----
  651. maximum:
  652. LR tn, fp: 281, 17
  653. LR fn, tp: 1, 9
  654. LR f1 score: 0.720
  655. LR cohens kappa score: 0.709
  656. LR average precision score: 0.891
  657. average:
  658. LR tn, fp: 277.0, 11.0
  659. LR fn, tp: 0.2, 8.6
  660. LR f1 score: 0.612
  661. LR cohens kappa score: 0.596
  662. LR average precision score: 0.691
  663. minimum:
  664. LR tn, fp: 271, 7
  665. LR fn, tp: 0, 7
  666. LR f1 score: 0.485
  667. LR cohens kappa score: 0.461
  668. LR average precision score: 0.394
  669. -----[ GB ]-----
  670. maximum:
  671. GB tn, fp: 288, 8
  672. GB fn, tp: 5, 8
  673. GB f1 score: 0.842
  674. GB cohens kappa score: 0.837
  675. average:
  676. GB tn, fp: 285.2, 2.8
  677. GB fn, tp: 2.36, 6.44
  678. GB f1 score: 0.713
  679. GB cohens kappa score: 0.704
  680. minimum:
  681. GB tn, fp: 280, 0
  682. GB fn, tp: 1, 4
  683. GB f1 score: 0.455
  684. GB cohens kappa score: 0.434
  685. -----[ KNN ]-----
  686. maximum:
  687. KNN tn, fp: 286, 15
  688. KNN fn, tp: 2, 9
  689. KNN f1 score: 0.900
  690. KNN cohens kappa score: 0.897
  691. average:
  692. KNN tn, fp: 278.72, 9.28
  693. KNN fn, tp: 0.28, 8.52
  694. KNN f1 score: 0.651
  695. KNN cohens kappa score: 0.637
  696. minimum:
  697. KNN tn, fp: 273, 2
  698. KNN fn, tp: 0, 7
  699. KNN f1 score: 0.483
  700. KNN cohens kappa score: 0.462
  701. -----[ GAN ]-----
  702. maximum:
  703. GAN tn, fp: 285, 27
  704. GAN fn, tp: 5, 9
  705. GAN f1 score: 0.762
  706. GAN cohens kappa score: 0.753
  707. average:
  708. GAN tn, fp: 278.68, 9.32
  709. GAN fn, tp: 2.12, 6.68
  710. GAN f1 score: 0.556
  711. GAN cohens kappa score: 0.539
  712. minimum:
  713. GAN tn, fp: 261, 3
  714. GAN fn, tp: 0, 4
  715. GAN f1 score: 0.296
  716. GAN cohens kappa score: 0.266