folding_hypothyroid.log 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  1. ///////////////////////////////////////////
  2. // Running SpheredNoise on folding_hypothyroid
  3. ///////////////////////////////////////////
  4. Load 'data_input/folding_hypothyroid'
  5. from pickle file
  6. non empty cut in data_input/folding_hypothyroid! (1 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. Train 2409/120 points
  17. -> new disc
  18. -> calc distances
  19. -> statistics
  20. trained 120 points min:1.0 max:91.88035698668132
  21. -> create 2289 synthetic samples
  22. -> test with 'LR'
  23. LR tn, fp: 597, 6
  24. LR fn, tp: 20, 11
  25. LR f1 score: 0.458
  26. LR cohens kappa score: 0.439
  27. LR average precision score: 0.527
  28. -> test with 'GB'
  29. GB tn, fp: 601, 2
  30. GB fn, tp: 7, 24
  31. GB f1 score: 0.842
  32. GB cohens kappa score: 0.835
  33. -> test with 'KNN'
  34. KNN tn, fp: 600, 3
  35. KNN fn, tp: 15, 16
  36. KNN f1 score: 0.640
  37. KNN cohens kappa score: 0.626
  38. ------ Step 1/5: Slice 2/5 -------
  39. -> Reset the GAN
  40. -> Train generator for synthetic samples
  41. Train 2409/120 points
  42. -> new disc
  43. -> calc distances
  44. -> statistics
  45. trained 120 points min:7.416198487095663 max:91.88035698668132
  46. -> create 2289 synthetic samples
  47. -> test with 'LR'
  48. LR tn, fp: 592, 11
  49. LR fn, tp: 19, 12
  50. LR f1 score: 0.444
  51. LR cohens kappa score: 0.420
  52. LR average precision score: 0.503
  53. -> test with 'GB'
  54. GB tn, fp: 594, 9
  55. GB fn, tp: 9, 22
  56. GB f1 score: 0.710
  57. GB cohens kappa score: 0.695
  58. -> test with 'KNN'
  59. KNN tn, fp: 596, 7
  60. KNN fn, tp: 15, 16
  61. KNN f1 score: 0.593
  62. KNN cohens kappa score: 0.575
  63. ------ Step 1/5: Slice 3/5 -------
  64. -> Reset the GAN
  65. -> Train generator for synthetic samples
  66. Train 2409/120 points
  67. -> new disc
  68. -> calc distances
  69. -> statistics
  70. trained 120 points min:1.0 max:91.97282207261013
  71. -> create 2289 synthetic samples
  72. -> test with 'LR'
  73. LR tn, fp: 594, 9
  74. LR fn, tp: 24, 7
  75. LR f1 score: 0.298
  76. LR cohens kappa score: 0.274
  77. LR average precision score: 0.420
  78. -> test with 'GB'
  79. GB tn, fp: 600, 3
  80. GB fn, tp: 7, 24
  81. GB f1 score: 0.828
  82. GB cohens kappa score: 0.819
  83. -> test with 'KNN'
  84. KNN tn, fp: 599, 4
  85. KNN fn, tp: 16, 15
  86. KNN f1 score: 0.600
  87. KNN cohens kappa score: 0.585
  88. ------ Step 1/5: Slice 4/5 -------
  89. -> Reset the GAN
  90. -> Train generator for synthetic samples
  91. Train 2409/120 points
  92. -> new disc
  93. -> calc distances
  94. -> statistics
  95. trained 120 points min:1.0 max:91.88035698668132
  96. -> create 2289 synthetic samples
  97. -> test with 'LR'
  98. LR tn, fp: 594, 9
  99. LR fn, tp: 21, 10
  100. LR f1 score: 0.400
  101. LR cohens kappa score: 0.377
  102. LR average precision score: 0.412
  103. -> test with 'GB'
  104. GB tn, fp: 600, 3
  105. GB fn, tp: 11, 20
  106. GB f1 score: 0.741
  107. GB cohens kappa score: 0.729
  108. -> test with 'KNN'
  109. KNN tn, fp: 601, 2
  110. KNN fn, tp: 16, 15
  111. KNN f1 score: 0.625
  112. KNN cohens kappa score: 0.612
  113. ------ Step 1/5: Slice 5/5 -------
  114. -> Reset the GAN
  115. -> Train generator for synthetic samples
  116. Train 2412/124 points
  117. -> new disc
  118. -> calc distances
  119. -> statistics
  120. trained 124 points min:1.0 max:90.58145505565695
  121. -> create 2288 synthetic samples
  122. -> test with 'LR'
  123. LR tn, fp: 596, 4
  124. LR fn, tp: 17, 10
  125. LR f1 score: 0.488
  126. LR cohens kappa score: 0.472
  127. LR average precision score: 0.566
  128. -> test with 'GB'
  129. GB tn, fp: 598, 2
  130. GB fn, tp: 5, 22
  131. GB f1 score: 0.863
  132. GB cohens kappa score: 0.857
  133. -> test with 'KNN'
  134. KNN tn, fp: 597, 3
  135. KNN fn, tp: 16, 11
  136. KNN f1 score: 0.537
  137. KNN cohens kappa score: 0.523
  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. Train 2409/120 points
  145. -> new disc
  146. -> calc distances
  147. -> statistics
  148. trained 120 points min:1.0 max:91.97282207261013
  149. -> create 2289 synthetic samples
  150. -> test with 'LR'
  151. LR tn, fp: 596, 7
  152. LR fn, tp: 20, 11
  153. LR f1 score: 0.449
  154. LR cohens kappa score: 0.428
  155. LR average precision score: 0.484
  156. -> test with 'GB'
  157. GB tn, fp: 596, 7
  158. GB fn, tp: 12, 19
  159. GB f1 score: 0.667
  160. GB cohens kappa score: 0.651
  161. -> test with 'KNN'
  162. KNN tn, fp: 598, 5
  163. KNN fn, tp: 22, 9
  164. KNN f1 score: 0.400
  165. KNN cohens kappa score: 0.381
  166. ------ Step 2/5: Slice 2/5 -------
  167. -> Reset the GAN
  168. -> Train generator for synthetic samples
  169. Train 2409/120 points
  170. -> new disc
  171. -> calc distances
  172. -> statistics
  173. trained 120 points min:7.416198487095663 max:91.88035698668132
  174. -> create 2289 synthetic samples
  175. -> test with 'LR'
  176. LR tn, fp: 593, 10
  177. LR fn, tp: 24, 7
  178. LR f1 score: 0.292
  179. LR cohens kappa score: 0.266
  180. LR average precision score: 0.492
  181. -> test with 'GB'
  182. GB tn, fp: 597, 6
  183. GB fn, tp: 9, 22
  184. GB f1 score: 0.746
  185. GB cohens kappa score: 0.733
  186. -> test with 'KNN'
  187. KNN tn, fp: 600, 3
  188. KNN fn, tp: 15, 16
  189. KNN f1 score: 0.640
  190. KNN cohens kappa score: 0.626
  191. ------ Step 2/5: Slice 3/5 -------
  192. -> Reset the GAN
  193. -> Train generator for synthetic samples
  194. Train 2409/120 points
  195. -> new disc
  196. -> calc distances
  197. -> statistics
  198. trained 120 points min:1.0 max:91.88035698668132
  199. -> create 2289 synthetic samples
  200. -> test with 'LR'
  201. LR tn, fp: 595, 8
  202. LR fn, tp: 17, 14
  203. LR f1 score: 0.528
  204. LR cohens kappa score: 0.508
  205. LR average precision score: 0.555
  206. -> test with 'GB'
  207. GB tn, fp: 600, 3
  208. GB fn, tp: 12, 19
  209. GB f1 score: 0.717
  210. GB cohens kappa score: 0.705
  211. -> test with 'KNN'
  212. KNN tn, fp: 601, 2
  213. KNN fn, tp: 16, 15
  214. KNN f1 score: 0.625
  215. KNN cohens kappa score: 0.612
  216. ------ Step 2/5: Slice 4/5 -------
  217. -> Reset the GAN
  218. -> Train generator for synthetic samples
  219. Train 2409/120 points
  220. -> new disc
  221. -> calc distances
  222. -> statistics
  223. trained 120 points min:9.219544457292887 max:91.88035698668132
  224. -> create 2289 synthetic samples
  225. -> test with 'LR'
  226. LR tn, fp: 596, 7
  227. LR fn, tp: 26, 5
  228. LR f1 score: 0.233
  229. LR cohens kappa score: 0.211
  230. LR average precision score: 0.409
  231. -> test with 'GB'
  232. GB tn, fp: 599, 4
  233. GB fn, tp: 6, 25
  234. GB f1 score: 0.833
  235. GB cohens kappa score: 0.825
  236. -> test with 'KNN'
  237. KNN tn, fp: 596, 7
  238. KNN fn, tp: 16, 15
  239. KNN f1 score: 0.566
  240. KNN cohens kappa score: 0.548
  241. ------ Step 2/5: Slice 5/5 -------
  242. -> Reset the GAN
  243. -> Train generator for synthetic samples
  244. Train 2412/124 points
  245. -> new disc
  246. -> calc distances
  247. -> statistics
  248. trained 124 points min:1.0 max:75.78918128598566
  249. -> create 2288 synthetic samples
  250. -> test with 'LR'
  251. LR tn, fp: 592, 8
  252. LR fn, tp: 16, 11
  253. LR f1 score: 0.478
  254. LR cohens kappa score: 0.459
  255. LR average precision score: 0.573
  256. -> test with 'GB'
  257. GB tn, fp: 597, 3
  258. GB fn, tp: 5, 22
  259. GB f1 score: 0.846
  260. GB cohens kappa score: 0.840
  261. -> test with 'KNN'
  262. KNN tn, fp: 595, 5
  263. KNN fn, tp: 12, 15
  264. KNN f1 score: 0.638
  265. KNN cohens kappa score: 0.625
  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. Train 2409/120 points
  273. -> new disc
  274. -> calc distances
  275. -> statistics
  276. trained 120 points min:7.416198487095663 max:91.88035698668132
  277. -> create 2289 synthetic samples
  278. -> test with 'LR'
  279. LR tn, fp: 599, 4
  280. LR fn, tp: 22, 9
  281. LR f1 score: 0.409
  282. LR cohens kappa score: 0.392
  283. LR average precision score: 0.559
  284. -> test with 'GB'
  285. GB tn, fp: 603, 0
  286. GB fn, tp: 12, 19
  287. GB f1 score: 0.760
  288. GB cohens kappa score: 0.751
  289. -> test with 'KNN'
  290. KNN tn, fp: 602, 1
  291. KNN fn, tp: 19, 12
  292. KNN f1 score: 0.545
  293. KNN cohens kappa score: 0.532
  294. ------ Step 3/5: Slice 2/5 -------
  295. -> Reset the GAN
  296. -> Train generator for synthetic samples
  297. Train 2409/120 points
  298. -> new disc
  299. -> calc distances
  300. -> statistics
  301. trained 120 points min:1.0 max:76.87652437513027
  302. -> create 2289 synthetic samples
  303. -> test with 'LR'
  304. LR tn, fp: 593, 10
  305. LR fn, tp: 22, 9
  306. LR f1 score: 0.360
  307. LR cohens kappa score: 0.335
  308. LR average precision score: 0.348
  309. -> test with 'GB'
  310. GB tn, fp: 595, 8
  311. GB fn, tp: 6, 25
  312. GB f1 score: 0.781
  313. GB cohens kappa score: 0.770
  314. -> test with 'KNN'
  315. KNN tn, fp: 598, 5
  316. KNN fn, tp: 16, 15
  317. KNN f1 score: 0.588
  318. KNN cohens kappa score: 0.572
  319. ------ Step 3/5: Slice 3/5 -------
  320. -> Reset the GAN
  321. -> Train generator for synthetic samples
  322. Train 2409/120 points
  323. -> new disc
  324. -> calc distances
  325. -> statistics
  326. trained 120 points min:1.0 max:91.88035698668132
  327. -> create 2289 synthetic samples
  328. -> test with 'LR'
  329. LR tn, fp: 594, 9
  330. LR fn, tp: 16, 15
  331. LR f1 score: 0.545
  332. LR cohens kappa score: 0.525
  333. LR average precision score: 0.665
  334. -> test with 'GB'
  335. GB tn, fp: 598, 5
  336. GB fn, tp: 5, 26
  337. GB f1 score: 0.839
  338. GB cohens kappa score: 0.830
  339. -> test with 'KNN'
  340. KNN tn, fp: 596, 7
  341. KNN fn, tp: 15, 16
  342. KNN f1 score: 0.593
  343. KNN cohens kappa score: 0.575
  344. ------ Step 3/5: Slice 4/5 -------
  345. -> Reset the GAN
  346. -> Train generator for synthetic samples
  347. Train 2409/120 points
  348. -> new disc
  349. -> calc distances
  350. -> statistics
  351. trained 120 points min:9.0 max:91.97282207261013
  352. -> create 2289 synthetic samples
  353. -> test with 'LR'
  354. LR tn, fp: 597, 6
  355. LR fn, tp: 19, 12
  356. LR f1 score: 0.490
  357. LR cohens kappa score: 0.471
  358. LR average precision score: 0.512
  359. -> test with 'GB'
  360. GB tn, fp: 597, 6
  361. GB fn, tp: 10, 21
  362. GB f1 score: 0.724
  363. GB cohens kappa score: 0.711
  364. -> test with 'KNN'
  365. KNN tn, fp: 599, 4
  366. KNN fn, tp: 17, 14
  367. KNN f1 score: 0.571
  368. KNN cohens kappa score: 0.555
  369. ------ Step 3/5: Slice 5/5 -------
  370. -> Reset the GAN
  371. -> Train generator for synthetic samples
  372. Train 2412/124 points
  373. -> new disc
  374. -> calc distances
  375. -> statistics
  376. trained 124 points min:1.0 max:91.88035698668132
  377. -> create 2288 synthetic samples
  378. -> test with 'LR'
  379. LR tn, fp: 595, 5
  380. LR fn, tp: 22, 5
  381. LR f1 score: 0.270
  382. LR cohens kappa score: 0.253
  383. LR average precision score: 0.356
  384. -> test with 'GB'
  385. GB tn, fp: 597, 3
  386. GB fn, tp: 8, 19
  387. GB f1 score: 0.776
  388. GB cohens kappa score: 0.766
  389. -> test with 'KNN'
  390. KNN tn, fp: 599, 1
  391. KNN fn, tp: 14, 13
  392. KNN f1 score: 0.634
  393. KNN cohens kappa score: 0.623
  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. Train 2409/120 points
  401. -> new disc
  402. -> calc distances
  403. -> statistics
  404. trained 120 points min:7.416198487095663 max:91.97282207261013
  405. -> create 2289 synthetic samples
  406. -> test with 'LR'
  407. LR tn, fp: 592, 11
  408. LR fn, tp: 21, 10
  409. LR f1 score: 0.385
  410. LR cohens kappa score: 0.359
  411. LR average precision score: 0.393
  412. -> test with 'GB'
  413. GB tn, fp: 598, 5
  414. GB fn, tp: 4, 27
  415. GB f1 score: 0.857
  416. GB cohens kappa score: 0.850
  417. -> test with 'KNN'
  418. KNN tn, fp: 600, 3
  419. KNN fn, tp: 21, 10
  420. KNN f1 score: 0.455
  421. KNN cohens kappa score: 0.438
  422. ------ Step 4/5: Slice 2/5 -------
  423. -> Reset the GAN
  424. -> Train generator for synthetic samples
  425. Train 2409/120 points
  426. -> new disc
  427. -> calc distances
  428. -> statistics
  429. trained 120 points min:1.0 max:91.88035698668132
  430. -> create 2289 synthetic samples
  431. -> test with 'LR'
  432. LR tn, fp: 595, 8
  433. LR fn, tp: 21, 10
  434. LR f1 score: 0.408
  435. LR cohens kappa score: 0.386
  436. LR average precision score: 0.495
  437. -> test with 'GB'
  438. GB tn, fp: 599, 4
  439. GB fn, tp: 8, 23
  440. GB f1 score: 0.793
  441. GB cohens kappa score: 0.783
  442. -> test with 'KNN'
  443. KNN tn, fp: 599, 4
  444. KNN fn, tp: 18, 13
  445. KNN f1 score: 0.542
  446. KNN cohens kappa score: 0.525
  447. ------ Step 4/5: Slice 3/5 -------
  448. -> Reset the GAN
  449. -> Train generator for synthetic samples
  450. Train 2409/120 points
  451. -> new disc
  452. -> calc distances
  453. -> statistics
  454. trained 120 points min:1.0 max:91.88035698668132
  455. -> create 2289 synthetic samples
  456. -> test with 'LR'
  457. LR tn, fp: 599, 4
  458. LR fn, tp: 22, 9
  459. LR f1 score: 0.409
  460. LR cohens kappa score: 0.392
  461. LR average precision score: 0.632
  462. -> test with 'GB'
  463. GB tn, fp: 599, 4
  464. GB fn, tp: 7, 24
  465. GB f1 score: 0.814
  466. GB cohens kappa score: 0.804
  467. -> test with 'KNN'
  468. KNN tn, fp: 600, 3
  469. KNN fn, tp: 17, 14
  470. KNN f1 score: 0.583
  471. KNN cohens kappa score: 0.568
  472. ------ Step 4/5: Slice 4/5 -------
  473. -> Reset the GAN
  474. -> Train generator for synthetic samples
  475. Train 2409/120 points
  476. -> new disc
  477. -> calc distances
  478. -> statistics
  479. trained 120 points min:1.0 max:75.78918128598566
  480. -> create 2289 synthetic samples
  481. -> test with 'LR'
  482. LR tn, fp: 594, 9
  483. LR fn, tp: 18, 13
  484. LR f1 score: 0.491
  485. LR cohens kappa score: 0.469
  486. LR average precision score: 0.501
  487. -> test with 'GB'
  488. GB tn, fp: 600, 3
  489. GB fn, tp: 8, 23
  490. GB f1 score: 0.807
  491. GB cohens kappa score: 0.798
  492. -> test with 'KNN'
  493. KNN tn, fp: 597, 6
  494. KNN fn, tp: 17, 14
  495. KNN f1 score: 0.549
  496. KNN cohens kappa score: 0.531
  497. ------ Step 4/5: Slice 5/5 -------
  498. -> Reset the GAN
  499. -> Train generator for synthetic samples
  500. Train 2412/124 points
  501. -> new disc
  502. -> calc distances
  503. -> statistics
  504. trained 124 points min:9.0 max:91.88035698668132
  505. -> create 2288 synthetic samples
  506. -> test with 'LR'
  507. LR tn, fp: 593, 7
  508. LR fn, tp: 19, 8
  509. LR f1 score: 0.381
  510. LR cohens kappa score: 0.361
  511. LR average precision score: 0.436
  512. -> test with 'GB'
  513. GB tn, fp: 595, 5
  514. GB fn, tp: 9, 18
  515. GB f1 score: 0.720
  516. GB cohens kappa score: 0.708
  517. -> test with 'KNN'
  518. KNN tn, fp: 593, 7
  519. KNN fn, tp: 12, 15
  520. KNN f1 score: 0.612
  521. KNN cohens kappa score: 0.597
  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. Train 2409/120 points
  529. -> new disc
  530. -> calc distances
  531. -> statistics
  532. trained 120 points min:1.0 max:91.88035698668132
  533. -> create 2289 synthetic samples
  534. -> test with 'LR'
  535. LR tn, fp: 589, 14
  536. LR fn, tp: 19, 12
  537. LR f1 score: 0.421
  538. LR cohens kappa score: 0.394
  539. LR average precision score: 0.480
  540. -> test with 'GB'
  541. GB tn, fp: 599, 4
  542. GB fn, tp: 9, 22
  543. GB f1 score: 0.772
  544. GB cohens kappa score: 0.761
  545. -> test with 'KNN'
  546. KNN tn, fp: 599, 4
  547. KNN fn, tp: 17, 14
  548. KNN f1 score: 0.571
  549. KNN cohens kappa score: 0.555
  550. ------ Step 5/5: Slice 2/5 -------
  551. -> Reset the GAN
  552. -> Train generator for synthetic samples
  553. Train 2409/120 points
  554. -> new disc
  555. -> calc distances
  556. -> statistics
  557. trained 120 points min:1.0 max:91.88035698668132
  558. -> create 2289 synthetic samples
  559. -> test with 'LR'
  560. LR tn, fp: 598, 5
  561. LR fn, tp: 20, 11
  562. LR f1 score: 0.468
  563. LR cohens kappa score: 0.450
  564. LR average precision score: 0.480
  565. -> test with 'GB'
  566. GB tn, fp: 600, 3
  567. GB fn, tp: 8, 23
  568. GB f1 score: 0.807
  569. GB cohens kappa score: 0.798
  570. -> test with 'KNN'
  571. KNN tn, fp: 599, 4
  572. KNN fn, tp: 18, 13
  573. KNN f1 score: 0.542
  574. KNN cohens kappa score: 0.525
  575. ------ Step 5/5: Slice 3/5 -------
  576. -> Reset the GAN
  577. -> Train generator for synthetic samples
  578. Train 2409/120 points
  579. -> new disc
  580. -> calc distances
  581. -> statistics
  582. trained 120 points min:7.416198487095663 max:91.88035698668132
  583. -> create 2289 synthetic samples
  584. -> test with 'LR'
  585. LR tn, fp: 593, 10
  586. LR fn, tp: 18, 13
  587. LR f1 score: 0.481
  588. LR cohens kappa score: 0.459
  589. LR average precision score: 0.553
  590. -> test with 'GB'
  591. GB tn, fp: 598, 5
  592. GB fn, tp: 14, 17
  593. GB f1 score: 0.642
  594. GB cohens kappa score: 0.626
  595. -> test with 'KNN'
  596. KNN tn, fp: 598, 5
  597. KNN fn, tp: 18, 13
  598. KNN f1 score: 0.531
  599. KNN cohens kappa score: 0.513
  600. ------ Step 5/5: Slice 4/5 -------
  601. -> Reset the GAN
  602. -> Train generator for synthetic samples
  603. Train 2409/120 points
  604. -> new disc
  605. -> calc distances
  606. -> statistics
  607. trained 120 points min:1.0 max:91.88035698668132
  608. -> create 2289 synthetic samples
  609. -> test with 'LR'
  610. LR tn, fp: 601, 2
  611. LR fn, tp: 22, 9
  612. LR f1 score: 0.429
  613. LR cohens kappa score: 0.414
  614. LR average precision score: 0.552
  615. -> test with 'GB'
  616. GB tn, fp: 600, 3
  617. GB fn, tp: 6, 25
  618. GB f1 score: 0.847
  619. GB cohens kappa score: 0.840
  620. -> test with 'KNN'
  621. KNN tn, fp: 601, 2
  622. KNN fn, tp: 14, 17
  623. KNN f1 score: 0.680
  624. KNN cohens kappa score: 0.668
  625. ------ Step 5/5: Slice 5/5 -------
  626. -> Reset the GAN
  627. -> Train generator for synthetic samples
  628. Train 2412/124 points
  629. -> new disc
  630. -> calc distances
  631. -> statistics
  632. trained 124 points min:1.0 max:75.78918128598566
  633. -> create 2288 synthetic samples
  634. -> test with 'LR'
  635. LR tn, fp: 590, 10
  636. LR fn, tp: 21, 6
  637. LR f1 score: 0.279
  638. LR cohens kappa score: 0.255
  639. LR average precision score: 0.399
  640. -> test with 'GB'
  641. GB tn, fp: 596, 4
  642. GB fn, tp: 8, 19
  643. GB f1 score: 0.760
  644. GB cohens kappa score: 0.750
  645. -> test with 'KNN'
  646. KNN tn, fp: 597, 3
  647. KNN fn, tp: 17, 10
  648. KNN f1 score: 0.500
  649. KNN cohens kappa score: 0.486
  650. ### Exercise is done.
  651. -----[ LR ]-----
  652. maximum:
  653. LR tn, fp: 601, 14
  654. LR fn, tp: 26, 15
  655. LR f1 score: 0.545
  656. LR cohens kappa score: 0.525
  657. LR average precision score: 0.665
  658. average:
  659. LR tn, fp: 594.68, 7.72
  660. LR fn, tp: 20.24, 9.96
  661. LR f1 score: 0.412
  662. LR cohens kappa score: 0.391
  663. LR average precision score: 0.492
  664. minimum:
  665. LR tn, fp: 589, 2
  666. LR fn, tp: 16, 5
  667. LR f1 score: 0.233
  668. LR cohens kappa score: 0.211
  669. LR average precision score: 0.348
  670. -----[ GB ]-----
  671. maximum:
  672. GB tn, fp: 603, 9
  673. GB fn, tp: 14, 27
  674. GB f1 score: 0.863
  675. GB cohens kappa score: 0.857
  676. average:
  677. GB tn, fp: 598.24, 4.16
  678. GB fn, tp: 8.2, 22.0
  679. GB f1 score: 0.780
  680. GB cohens kappa score: 0.769
  681. minimum:
  682. GB tn, fp: 594, 0
  683. GB fn, tp: 4, 17
  684. GB f1 score: 0.642
  685. GB cohens kappa score: 0.626
  686. -----[ KNN ]-----
  687. maximum:
  688. KNN tn, fp: 602, 7
  689. KNN fn, tp: 22, 17
  690. KNN f1 score: 0.680
  691. KNN cohens kappa score: 0.668
  692. average:
  693. KNN tn, fp: 598.4, 4.0
  694. KNN fn, tp: 16.36, 13.84
  695. KNN f1 score: 0.574
  696. KNN cohens kappa score: 0.559
  697. minimum:
  698. KNN tn, fp: 593, 1
  699. KNN fn, tp: 12, 9
  700. KNN f1 score: 0.400
  701. KNN cohens kappa score: 0.381