folding_hypothyroid.log 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  1. ///////////////////////////////////////////
  2. // Running ProWRAS 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. -> create 2289 synthetic samples
  17. -> test with 'LR'
  18. LR tn, fp: 551, 52
  19. LR fn, tp: 6, 25
  20. LR f1 score: 0.463
  21. LR cohens kappa score: 0.423
  22. LR average precision score: 0.511
  23. -> test with 'GB'
  24. GB tn, fp: 598, 5
  25. GB fn, tp: 8, 23
  26. GB f1 score: 0.780
  27. GB cohens kappa score: 0.769
  28. -> test with 'KNN'
  29. KNN tn, fp: 587, 16
  30. KNN fn, tp: 6, 25
  31. KNN f1 score: 0.694
  32. KNN cohens kappa score: 0.676
  33. ------ Step 1/5: Slice 2/5 -------
  34. -> Reset the GAN
  35. -> Train generator for synthetic samples
  36. -> create 2289 synthetic samples
  37. -> test with 'LR'
  38. LR tn, fp: 529, 74
  39. LR fn, tp: 5, 26
  40. LR f1 score: 0.397
  41. LR cohens kappa score: 0.348
  42. LR average precision score: 0.469
  43. -> test with 'GB'
  44. GB tn, fp: 594, 9
  45. GB fn, tp: 3, 28
  46. GB f1 score: 0.824
  47. GB cohens kappa score: 0.814
  48. -> test with 'KNN'
  49. KNN tn, fp: 582, 21
  50. KNN fn, tp: 6, 25
  51. KNN f1 score: 0.649
  52. KNN cohens kappa score: 0.628
  53. ------ Step 1/5: Slice 3/5 -------
  54. -> Reset the GAN
  55. -> Train generator for synthetic samples
  56. -> create 2289 synthetic samples
  57. -> test with 'LR'
  58. LR tn, fp: 532, 71
  59. LR fn, tp: 7, 24
  60. LR f1 score: 0.381
  61. LR cohens kappa score: 0.332
  62. LR average precision score: 0.363
  63. -> test with 'GB'
  64. GB tn, fp: 597, 6
  65. GB fn, tp: 5, 26
  66. GB f1 score: 0.825
  67. GB cohens kappa score: 0.816
  68. -> test with 'KNN'
  69. KNN tn, fp: 586, 17
  70. KNN fn, tp: 9, 22
  71. KNN f1 score: 0.629
  72. KNN cohens kappa score: 0.607
  73. ------ Step 1/5: Slice 4/5 -------
  74. -> Reset the GAN
  75. -> Train generator for synthetic samples
  76. -> create 2289 synthetic samples
  77. -> test with 'LR'
  78. LR tn, fp: 521, 82
  79. LR fn, tp: 5, 26
  80. LR f1 score: 0.374
  81. LR cohens kappa score: 0.323
  82. LR average precision score: 0.393
  83. -> test with 'GB'
  84. GB tn, fp: 599, 4
  85. GB fn, tp: 11, 20
  86. GB f1 score: 0.727
  87. GB cohens kappa score: 0.715
  88. -> test with 'KNN'
  89. KNN tn, fp: 580, 23
  90. KNN fn, tp: 12, 19
  91. KNN f1 score: 0.521
  92. KNN cohens kappa score: 0.492
  93. ------ Step 1/5: Slice 5/5 -------
  94. -> Reset the GAN
  95. -> Train generator for synthetic samples
  96. -> create 2288 synthetic samples
  97. -> test with 'LR'
  98. LR tn, fp: 540, 60
  99. LR fn, tp: 3, 24
  100. LR f1 score: 0.432
  101. LR cohens kappa score: 0.393
  102. LR average precision score: 0.559
  103. -> test with 'GB'
  104. GB tn, fp: 596, 4
  105. GB fn, tp: 5, 22
  106. GB f1 score: 0.830
  107. GB cohens kappa score: 0.823
  108. -> test with 'KNN'
  109. KNN tn, fp: 583, 17
  110. KNN fn, tp: 6, 21
  111. KNN f1 score: 0.646
  112. KNN cohens kappa score: 0.627
  113. ====== Step 2/5 =======
  114. -> Shuffling data
  115. -> Spliting data to slices
  116. ------ Step 2/5: Slice 1/5 -------
  117. -> Reset the GAN
  118. -> Train generator for synthetic samples
  119. -> create 2289 synthetic samples
  120. -> test with 'LR'
  121. LR tn, fp: 543, 60
  122. LR fn, tp: 8, 23
  123. LR f1 score: 0.404
  124. LR cohens kappa score: 0.358
  125. LR average precision score: 0.484
  126. -> test with 'GB'
  127. GB tn, fp: 597, 6
  128. GB fn, tp: 8, 23
  129. GB f1 score: 0.767
  130. GB cohens kappa score: 0.755
  131. -> test with 'KNN'
  132. KNN tn, fp: 586, 17
  133. KNN fn, tp: 9, 22
  134. KNN f1 score: 0.629
  135. KNN cohens kappa score: 0.607
  136. ------ Step 2/5: Slice 2/5 -------
  137. -> Reset the GAN
  138. -> Train generator for synthetic samples
  139. -> create 2289 synthetic samples
  140. -> test with 'LR'
  141. LR tn, fp: 547, 56
  142. LR fn, tp: 6, 25
  143. LR f1 score: 0.446
  144. LR cohens kappa score: 0.404
  145. LR average precision score: 0.491
  146. -> test with 'GB'
  147. GB tn, fp: 597, 6
  148. GB fn, tp: 2, 29
  149. GB f1 score: 0.879
  150. GB cohens kappa score: 0.872
  151. -> test with 'KNN'
  152. KNN tn, fp: 581, 22
  153. KNN fn, tp: 7, 24
  154. KNN f1 score: 0.623
  155. KNN cohens kappa score: 0.600
  156. ------ Step 2/5: Slice 3/5 -------
  157. -> Reset the GAN
  158. -> Train generator for synthetic samples
  159. -> create 2289 synthetic samples
  160. -> test with 'LR'
  161. LR tn, fp: 526, 77
  162. LR fn, tp: 4, 27
  163. LR f1 score: 0.400
  164. LR cohens kappa score: 0.351
  165. LR average precision score: 0.593
  166. -> test with 'GB'
  167. GB tn, fp: 599, 4
  168. GB fn, tp: 10, 21
  169. GB f1 score: 0.750
  170. GB cohens kappa score: 0.739
  171. -> test with 'KNN'
  172. KNN tn, fp: 581, 22
  173. KNN fn, tp: 8, 23
  174. KNN f1 score: 0.605
  175. KNN cohens kappa score: 0.581
  176. ------ Step 2/5: Slice 4/5 -------
  177. -> Reset the GAN
  178. -> Train generator for synthetic samples
  179. -> create 2289 synthetic samples
  180. -> test with 'LR'
  181. LR tn, fp: 529, 74
  182. LR fn, tp: 7, 24
  183. LR f1 score: 0.372
  184. LR cohens kappa score: 0.322
  185. LR average precision score: 0.312
  186. -> test with 'GB'
  187. GB tn, fp: 598, 5
  188. GB fn, tp: 9, 22
  189. GB f1 score: 0.759
  190. GB cohens kappa score: 0.747
  191. -> test with 'KNN'
  192. KNN tn, fp: 587, 16
  193. KNN fn, tp: 8, 23
  194. KNN f1 score: 0.657
  195. KNN cohens kappa score: 0.637
  196. ------ Step 2/5: Slice 5/5 -------
  197. -> Reset the GAN
  198. -> Train generator for synthetic samples
  199. -> create 2288 synthetic samples
  200. -> test with 'LR'
  201. LR tn, fp: 514, 86
  202. LR fn, tp: 1, 26
  203. LR f1 score: 0.374
  204. LR cohens kappa score: 0.327
  205. LR average precision score: 0.526
  206. -> test with 'GB'
  207. GB tn, fp: 594, 6
  208. GB fn, tp: 4, 23
  209. GB f1 score: 0.821
  210. GB cohens kappa score: 0.813
  211. -> test with 'KNN'
  212. KNN tn, fp: 584, 16
  213. KNN fn, tp: 5, 22
  214. KNN f1 score: 0.677
  215. KNN cohens kappa score: 0.660
  216. ====== Step 3/5 =======
  217. -> Shuffling data
  218. -> Spliting data to slices
  219. ------ Step 3/5: Slice 1/5 -------
  220. -> Reset the GAN
  221. -> Train generator for synthetic samples
  222. -> create 2289 synthetic samples
  223. -> test with 'LR'
  224. LR tn, fp: 533, 70
  225. LR fn, tp: 6, 25
  226. LR f1 score: 0.397
  227. LR cohens kappa score: 0.349
  228. LR average precision score: 0.499
  229. -> test with 'GB'
  230. GB tn, fp: 601, 2
  231. GB fn, tp: 8, 23
  232. GB f1 score: 0.821
  233. GB cohens kappa score: 0.813
  234. -> test with 'KNN'
  235. KNN tn, fp: 591, 12
  236. KNN fn, tp: 12, 19
  237. KNN f1 score: 0.613
  238. KNN cohens kappa score: 0.593
  239. ------ Step 3/5: Slice 2/5 -------
  240. -> Reset the GAN
  241. -> Train generator for synthetic samples
  242. -> create 2289 synthetic samples
  243. -> test with 'LR'
  244. LR tn, fp: 549, 54
  245. LR fn, tp: 12, 19
  246. LR f1 score: 0.365
  247. LR cohens kappa score: 0.319
  248. LR average precision score: 0.333
  249. -> test with 'GB'
  250. GB tn, fp: 593, 10
  251. GB fn, tp: 5, 26
  252. GB f1 score: 0.776
  253. GB cohens kappa score: 0.764
  254. -> test with 'KNN'
  255. KNN tn, fp: 569, 34
  256. KNN fn, tp: 6, 25
  257. KNN f1 score: 0.556
  258. KNN cohens kappa score: 0.525
  259. ------ Step 3/5: Slice 3/5 -------
  260. -> Reset the GAN
  261. -> Train generator for synthetic samples
  262. -> create 2289 synthetic samples
  263. -> test with 'LR'
  264. LR tn, fp: 532, 71
  265. LR fn, tp: 1, 30
  266. LR f1 score: 0.455
  267. LR cohens kappa score: 0.410
  268. LR average precision score: 0.600
  269. -> test with 'GB'
  270. GB tn, fp: 595, 8
  271. GB fn, tp: 6, 25
  272. GB f1 score: 0.781
  273. GB cohens kappa score: 0.770
  274. -> test with 'KNN'
  275. KNN tn, fp: 580, 23
  276. KNN fn, tp: 8, 23
  277. KNN f1 score: 0.597
  278. KNN cohens kappa score: 0.572
  279. ------ Step 3/5: Slice 4/5 -------
  280. -> Reset the GAN
  281. -> Train generator for synthetic samples
  282. -> create 2289 synthetic samples
  283. -> test with 'LR'
  284. LR tn, fp: 516, 87
  285. LR fn, tp: 3, 28
  286. LR f1 score: 0.384
  287. LR cohens kappa score: 0.332
  288. LR average precision score: 0.483
  289. -> test with 'GB'
  290. GB tn, fp: 591, 12
  291. GB fn, tp: 10, 21
  292. GB f1 score: 0.656
  293. GB cohens kappa score: 0.638
  294. -> test with 'KNN'
  295. KNN tn, fp: 580, 23
  296. KNN fn, tp: 11, 20
  297. KNN f1 score: 0.541
  298. KNN cohens kappa score: 0.513
  299. ------ Step 3/5: Slice 5/5 -------
  300. -> Reset the GAN
  301. -> Train generator for synthetic samples
  302. -> create 2288 synthetic samples
  303. -> test with 'LR'
  304. LR tn, fp: 532, 68
  305. LR fn, tp: 6, 21
  306. LR f1 score: 0.362
  307. LR cohens kappa score: 0.317
  308. LR average precision score: 0.361
  309. -> test with 'GB'
  310. GB tn, fp: 597, 3
  311. GB fn, tp: 4, 23
  312. GB f1 score: 0.868
  313. GB cohens kappa score: 0.862
  314. -> test with 'KNN'
  315. KNN tn, fp: 586, 14
  316. KNN fn, tp: 4, 23
  317. KNN f1 score: 0.719
  318. KNN cohens kappa score: 0.704
  319. ====== Step 4/5 =======
  320. -> Shuffling data
  321. -> Spliting data to slices
  322. ------ Step 4/5: Slice 1/5 -------
  323. -> Reset the GAN
  324. -> Train generator for synthetic samples
  325. -> create 2289 synthetic samples
  326. -> test with 'LR'
  327. LR tn, fp: 532, 71
  328. LR fn, tp: 5, 26
  329. LR f1 score: 0.406
  330. LR cohens kappa score: 0.359
  331. LR average precision score: 0.418
  332. -> test with 'GB'
  333. GB tn, fp: 595, 8
  334. GB fn, tp: 4, 27
  335. GB f1 score: 0.818
  336. GB cohens kappa score: 0.808
  337. -> test with 'KNN'
  338. KNN tn, fp: 577, 26
  339. KNN fn, tp: 9, 22
  340. KNN f1 score: 0.557
  341. KNN cohens kappa score: 0.529
  342. ------ Step 4/5: Slice 2/5 -------
  343. -> Reset the GAN
  344. -> Train generator for synthetic samples
  345. -> create 2289 synthetic samples
  346. -> test with 'LR'
  347. LR tn, fp: 547, 56
  348. LR fn, tp: 6, 25
  349. LR f1 score: 0.446
  350. LR cohens kappa score: 0.404
  351. LR average precision score: 0.458
  352. -> test with 'GB'
  353. GB tn, fp: 597, 6
  354. GB fn, tp: 8, 23
  355. GB f1 score: 0.767
  356. GB cohens kappa score: 0.755
  357. -> test with 'KNN'
  358. KNN tn, fp: 585, 18
  359. KNN fn, tp: 8, 23
  360. KNN f1 score: 0.639
  361. KNN cohens kappa score: 0.618
  362. ------ Step 4/5: Slice 3/5 -------
  363. -> Reset the GAN
  364. -> Train generator for synthetic samples
  365. -> create 2289 synthetic samples
  366. -> test with 'LR'
  367. LR tn, fp: 523, 80
  368. LR fn, tp: 3, 28
  369. LR f1 score: 0.403
  370. LR cohens kappa score: 0.354
  371. LR average precision score: 0.590
  372. -> test with 'GB'
  373. GB tn, fp: 601, 2
  374. GB fn, tp: 7, 24
  375. GB f1 score: 0.842
  376. GB cohens kappa score: 0.835
  377. -> test with 'KNN'
  378. KNN tn, fp: 589, 14
  379. KNN fn, tp: 6, 25
  380. KNN f1 score: 0.714
  381. KNN cohens kappa score: 0.698
  382. ------ Step 4/5: Slice 4/5 -------
  383. -> Reset the GAN
  384. -> Train generator for synthetic samples
  385. -> create 2289 synthetic samples
  386. -> test with 'LR'
  387. LR tn, fp: 521, 82
  388. LR fn, tp: 4, 27
  389. LR f1 score: 0.386
  390. LR cohens kappa score: 0.335
  391. LR average precision score: 0.456
  392. -> test with 'GB'
  393. GB tn, fp: 600, 3
  394. GB fn, tp: 7, 24
  395. GB f1 score: 0.828
  396. GB cohens kappa score: 0.819
  397. -> test with 'KNN'
  398. KNN tn, fp: 579, 24
  399. KNN fn, tp: 8, 23
  400. KNN f1 score: 0.590
  401. KNN cohens kappa score: 0.564
  402. ------ Step 4/5: Slice 5/5 -------
  403. -> Reset the GAN
  404. -> Train generator for synthetic samples
  405. -> create 2288 synthetic samples
  406. -> test with 'LR'
  407. LR tn, fp: 538, 62
  408. LR fn, tp: 9, 18
  409. LR f1 score: 0.336
  410. LR cohens kappa score: 0.291
  411. LR average precision score: 0.410
  412. -> test with 'GB'
  413. GB tn, fp: 598, 2
  414. GB fn, tp: 9, 18
  415. GB f1 score: 0.766
  416. GB cohens kappa score: 0.757
  417. -> test with 'KNN'
  418. KNN tn, fp: 573, 27
  419. KNN fn, tp: 5, 22
  420. KNN f1 score: 0.579
  421. KNN cohens kappa score: 0.554
  422. ====== Step 5/5 =======
  423. -> Shuffling data
  424. -> Spliting data to slices
  425. ------ Step 5/5: Slice 1/5 -------
  426. -> Reset the GAN
  427. -> Train generator for synthetic samples
  428. -> create 2289 synthetic samples
  429. -> test with 'LR'
  430. LR tn, fp: 539, 64
  431. LR fn, tp: 6, 25
  432. LR f1 score: 0.417
  433. LR cohens kappa score: 0.371
  434. LR average precision score: 0.458
  435. -> test with 'GB'
  436. GB tn, fp: 595, 8
  437. GB fn, tp: 10, 21
  438. GB f1 score: 0.700
  439. GB cohens kappa score: 0.685
  440. -> test with 'KNN'
  441. KNN tn, fp: 582, 21
  442. KNN fn, tp: 9, 22
  443. KNN f1 score: 0.595
  444. KNN cohens kappa score: 0.570
  445. ------ Step 5/5: Slice 2/5 -------
  446. -> Reset the GAN
  447. -> Train generator for synthetic samples
  448. -> create 2289 synthetic samples
  449. -> test with 'LR'
  450. LR tn, fp: 533, 70
  451. LR fn, tp: 6, 25
  452. LR f1 score: 0.397
  453. LR cohens kappa score: 0.349
  454. LR average precision score: 0.518
  455. -> test with 'GB'
  456. GB tn, fp: 600, 3
  457. GB fn, tp: 5, 26
  458. GB f1 score: 0.867
  459. GB cohens kappa score: 0.860
  460. -> test with 'KNN'
  461. KNN tn, fp: 586, 17
  462. KNN fn, tp: 7, 24
  463. KNN f1 score: 0.667
  464. KNN cohens kappa score: 0.647
  465. ------ Step 5/5: Slice 3/5 -------
  466. -> Reset the GAN
  467. -> Train generator for synthetic samples
  468. -> create 2289 synthetic samples
  469. -> test with 'LR'
  470. LR tn, fp: 524, 79
  471. LR fn, tp: 4, 27
  472. LR f1 score: 0.394
  473. LR cohens kappa score: 0.345
  474. LR average precision score: 0.517
  475. -> test with 'GB'
  476. GB tn, fp: 598, 5
  477. GB fn, tp: 11, 20
  478. GB f1 score: 0.714
  479. GB cohens kappa score: 0.701
  480. -> test with 'KNN'
  481. KNN tn, fp: 576, 27
  482. KNN fn, tp: 9, 22
  483. KNN f1 score: 0.550
  484. KNN cohens kappa score: 0.521
  485. ------ Step 5/5: Slice 4/5 -------
  486. -> Reset the GAN
  487. -> Train generator for synthetic samples
  488. -> create 2289 synthetic samples
  489. -> test with 'LR'
  490. LR tn, fp: 528, 75
  491. LR fn, tp: 4, 27
  492. LR f1 score: 0.406
  493. LR cohens kappa score: 0.358
  494. LR average precision score: 0.549
  495. -> test with 'GB'
  496. GB tn, fp: 598, 5
  497. GB fn, tp: 4, 27
  498. GB f1 score: 0.857
  499. GB cohens kappa score: 0.850
  500. -> test with 'KNN'
  501. KNN tn, fp: 580, 23
  502. KNN fn, tp: 8, 23
  503. KNN f1 score: 0.597
  504. KNN cohens kappa score: 0.572
  505. ------ Step 5/5: Slice 5/5 -------
  506. -> Reset the GAN
  507. -> Train generator for synthetic samples
  508. -> create 2288 synthetic samples
  509. -> test with 'LR'
  510. LR tn, fp: 533, 67
  511. LR fn, tp: 4, 23
  512. LR f1 score: 0.393
  513. LR cohens kappa score: 0.350
  514. LR average precision score: 0.370
  515. -> test with 'GB'
  516. GB tn, fp: 596, 4
  517. GB fn, tp: 10, 17
  518. GB f1 score: 0.708
  519. GB cohens kappa score: 0.697
  520. -> test with 'KNN'
  521. KNN tn, fp: 582, 18
  522. KNN fn, tp: 10, 17
  523. KNN f1 score: 0.548
  524. KNN cohens kappa score: 0.525
  525. ### Exercise is done.
  526. -----[ LR ]-----
  527. maximum:
  528. LR tn, fp: 551, 87
  529. LR fn, tp: 12, 30
  530. LR f1 score: 0.463
  531. LR cohens kappa score: 0.423
  532. LR average precision score: 0.600
  533. average:
  534. LR tn, fp: 532.48, 69.92
  535. LR fn, tp: 5.24, 24.96
  536. LR f1 score: 0.400
  537. LR cohens kappa score: 0.353
  538. LR average precision score: 0.469
  539. minimum:
  540. LR tn, fp: 514, 52
  541. LR fn, tp: 1, 18
  542. LR f1 score: 0.336
  543. LR cohens kappa score: 0.291
  544. LR average precision score: 0.312
  545. -----[ GB ]-----
  546. maximum:
  547. GB tn, fp: 601, 12
  548. GB fn, tp: 11, 29
  549. GB f1 score: 0.879
  550. GB cohens kappa score: 0.872
  551. average:
  552. GB tn, fp: 596.96, 5.44
  553. GB fn, tp: 6.92, 23.28
  554. GB f1 score: 0.789
  555. GB cohens kappa score: 0.779
  556. minimum:
  557. GB tn, fp: 591, 2
  558. GB fn, tp: 2, 17
  559. GB f1 score: 0.656
  560. GB cohens kappa score: 0.638
  561. -----[ KNN ]-----
  562. maximum:
  563. KNN tn, fp: 591, 34
  564. KNN fn, tp: 12, 25
  565. KNN f1 score: 0.719
  566. KNN cohens kappa score: 0.704
  567. average:
  568. KNN tn, fp: 582.08, 20.32
  569. KNN fn, tp: 7.84, 22.36
  570. KNN f1 score: 0.616
  571. KNN cohens kappa score: 0.593
  572. minimum:
  573. KNN tn, fp: 569, 12
  574. KNN fn, tp: 4, 17
  575. KNN f1 score: 0.521
  576. KNN cohens kappa score: 0.492