folding_flare-F.log 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  1. ///////////////////////////////////////////
  2. // Running ProWRAS 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 'LR'
  18. LR tn, fp: 178, 27
  19. LR fn, tp: 6, 3
  20. LR f1 score: 0.154
  21. LR cohens kappa score: 0.095
  22. LR average precision score: 0.091
  23. -> test with 'GB'
  24. GB tn, fp: 196, 9
  25. GB fn, tp: 8, 1
  26. GB f1 score: 0.105
  27. GB cohens kappa score: 0.064
  28. -> test with 'KNN'
  29. KNN tn, fp: 184, 21
  30. KNN fn, tp: 5, 4
  31. KNN f1 score: 0.235
  32. KNN cohens kappa score: 0.185
  33. ------ Step 1/5: Slice 2/5 -------
  34. -> Reset the GAN
  35. -> Train generator for synthetic samples
  36. -> create 784 synthetic samples
  37. -> test with 'LR'
  38. LR tn, fp: 157, 48
  39. LR fn, tp: 1, 8
  40. LR f1 score: 0.246
  41. LR cohens kappa score: 0.187
  42. LR average precision score: 0.381
  43. -> test with 'GB'
  44. GB tn, fp: 202, 3
  45. GB fn, tp: 7, 2
  46. GB f1 score: 0.286
  47. GB cohens kappa score: 0.264
  48. -> test with 'KNN'
  49. KNN tn, fp: 179, 26
  50. KNN fn, tp: 4, 5
  51. KNN f1 score: 0.250
  52. KNN cohens kappa score: 0.198
  53. ------ Step 1/5: Slice 3/5 -------
  54. -> Reset the GAN
  55. -> Train generator for synthetic samples
  56. -> create 784 synthetic samples
  57. -> test with 'LR'
  58. LR tn, fp: 177, 28
  59. LR fn, tp: 4, 5
  60. LR f1 score: 0.238
  61. LR cohens kappa score: 0.184
  62. LR average precision score: 0.271
  63. -> test with 'GB'
  64. GB tn, fp: 205, 0
  65. GB fn, tp: 8, 1
  66. GB f1 score: 0.200
  67. GB cohens kappa score: 0.193
  68. -> test with 'KNN'
  69. KNN tn, fp: 181, 24
  70. KNN fn, tp: 5, 4
  71. KNN f1 score: 0.216
  72. KNN cohens kappa score: 0.163
  73. ------ Step 1/5: Slice 4/5 -------
  74. -> Reset the GAN
  75. -> Train generator for synthetic samples
  76. -> create 784 synthetic samples
  77. -> test with 'LR'
  78. LR tn, fp: 185, 20
  79. LR fn, tp: 0, 9
  80. LR f1 score: 0.474
  81. LR cohens kappa score: 0.438
  82. LR average precision score: 0.590
  83. -> test with 'GB'
  84. GB tn, fp: 204, 1
  85. GB fn, tp: 8, 1
  86. GB f1 score: 0.182
  87. GB cohens kappa score: 0.169
  88. -> test with 'KNN'
  89. KNN tn, fp: 189, 16
  90. KNN fn, tp: 5, 4
  91. KNN f1 score: 0.276
  92. KNN cohens kappa score: 0.231
  93. ------ Step 1/5: Slice 5/5 -------
  94. -> Reset the GAN
  95. -> Train generator for synthetic samples
  96. -> create 784 synthetic samples
  97. -> test with 'LR'
  98. LR tn, fp: 175, 28
  99. LR fn, tp: 3, 4
  100. LR f1 score: 0.205
  101. LR cohens kappa score: 0.159
  102. LR average precision score: 0.198
  103. -> test with 'GB'
  104. GB tn, fp: 201, 2
  105. GB fn, tp: 5, 2
  106. GB f1 score: 0.364
  107. GB cohens kappa score: 0.348
  108. -> test with 'KNN'
  109. KNN tn, fp: 187, 16
  110. KNN fn, tp: 2, 5
  111. KNN f1 score: 0.357
  112. KNN cohens kappa score: 0.323
  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 784 synthetic samples
  120. -> test with 'LR'
  121. LR tn, fp: 171, 34
  122. LR fn, tp: 2, 7
  123. LR f1 score: 0.280
  124. LR cohens kappa score: 0.227
  125. LR average precision score: 0.365
  126. -> test with 'GB'
  127. GB tn, fp: 199, 6
  128. GB fn, tp: 7, 2
  129. GB f1 score: 0.235
  130. GB cohens kappa score: 0.204
  131. -> test with 'KNN'
  132. KNN tn, fp: 184, 21
  133. KNN fn, tp: 2, 7
  134. KNN f1 score: 0.378
  135. KNN cohens kappa score: 0.336
  136. ------ Step 2/5: Slice 2/5 -------
  137. -> Reset the GAN
  138. -> Train generator for synthetic samples
  139. -> create 784 synthetic samples
  140. -> test with 'LR'
  141. LR tn, fp: 172, 33
  142. LR fn, tp: 3, 6
  143. LR f1 score: 0.250
  144. LR cohens kappa score: 0.195
  145. LR average precision score: 0.391
  146. -> test with 'GB'
  147. GB tn, fp: 203, 2
  148. GB fn, tp: 9, 0
  149. GB f1 score: 0.000
  150. GB cohens kappa score: -0.016
  151. -> test with 'KNN'
  152. KNN tn, fp: 183, 22
  153. KNN fn, tp: 4, 5
  154. KNN f1 score: 0.278
  155. KNN cohens kappa score: 0.229
  156. ------ Step 2/5: Slice 3/5 -------
  157. -> Reset the GAN
  158. -> Train generator for synthetic samples
  159. -> create 784 synthetic samples
  160. -> test with 'LR'
  161. LR tn, fp: 177, 28
  162. LR fn, tp: 3, 6
  163. LR f1 score: 0.279
  164. LR cohens kappa score: 0.228
  165. LR average precision score: 0.253
  166. -> test with 'GB'
  167. GB tn, fp: 202, 3
  168. GB fn, tp: 8, 1
  169. GB f1 score: 0.154
  170. GB cohens kappa score: 0.131
  171. -> test with 'KNN'
  172. KNN tn, fp: 189, 16
  173. KNN fn, tp: 5, 4
  174. KNN f1 score: 0.276
  175. KNN cohens kappa score: 0.231
  176. ------ Step 2/5: Slice 4/5 -------
  177. -> Reset the GAN
  178. -> Train generator for synthetic samples
  179. -> create 784 synthetic samples
  180. -> test with 'LR'
  181. LR tn, fp: 185, 20
  182. LR fn, tp: 4, 5
  183. LR f1 score: 0.294
  184. LR cohens kappa score: 0.248
  185. LR average precision score: 0.315
  186. -> test with 'GB'
  187. GB tn, fp: 205, 0
  188. GB fn, tp: 8, 1
  189. GB f1 score: 0.200
  190. GB cohens kappa score: 0.193
  191. -> test with 'KNN'
  192. KNN tn, fp: 189, 16
  193. KNN fn, tp: 6, 3
  194. KNN f1 score: 0.214
  195. KNN cohens kappa score: 0.167
  196. ------ Step 2/5: Slice 5/5 -------
  197. -> Reset the GAN
  198. -> Train generator for synthetic samples
  199. -> create 784 synthetic samples
  200. -> test with 'LR'
  201. LR tn, fp: 171, 32
  202. LR fn, tp: 0, 7
  203. LR f1 score: 0.304
  204. LR cohens kappa score: 0.263
  205. LR average precision score: 0.312
  206. -> test with 'GB'
  207. GB tn, fp: 199, 4
  208. GB fn, tp: 6, 1
  209. GB f1 score: 0.167
  210. GB cohens kappa score: 0.143
  211. -> test with 'KNN'
  212. KNN tn, fp: 184, 19
  213. KNN fn, tp: 2, 5
  214. KNN f1 score: 0.323
  215. KNN cohens kappa score: 0.286
  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 784 synthetic samples
  223. -> test with 'LR'
  224. LR tn, fp: 188, 17
  225. LR fn, tp: 2, 7
  226. LR f1 score: 0.424
  227. LR cohens kappa score: 0.387
  228. LR average precision score: 0.739
  229. -> test with 'GB'
  230. GB tn, fp: 205, 0
  231. GB fn, tp: 9, 0
  232. GB f1 score: 0.000
  233. GB cohens kappa score: 0.000
  234. -> test with 'KNN'
  235. KNN tn, fp: 198, 7
  236. KNN fn, tp: 4, 5
  237. KNN f1 score: 0.476
  238. KNN cohens kappa score: 0.450
  239. ------ Step 3/5: Slice 2/5 -------
  240. -> Reset the GAN
  241. -> Train generator for synthetic samples
  242. -> create 784 synthetic samples
  243. -> test with 'LR'
  244. LR tn, fp: 168, 37
  245. LR fn, tp: 2, 7
  246. LR f1 score: 0.264
  247. LR cohens kappa score: 0.209
  248. LR average precision score: 0.243
  249. -> test with 'GB'
  250. GB tn, fp: 193, 12
  251. GB fn, tp: 5, 4
  252. GB f1 score: 0.320
  253. GB cohens kappa score: 0.281
  254. -> test with 'KNN'
  255. KNN tn, fp: 182, 23
  256. KNN fn, tp: 4, 5
  257. KNN f1 score: 0.270
  258. KNN cohens kappa score: 0.221
  259. ------ Step 3/5: Slice 3/5 -------
  260. -> Reset the GAN
  261. -> Train generator for synthetic samples
  262. -> create 784 synthetic samples
  263. -> test with 'LR'
  264. LR tn, fp: 174, 31
  265. LR fn, tp: 3, 6
  266. LR f1 score: 0.261
  267. LR cohens kappa score: 0.207
  268. LR average precision score: 0.466
  269. -> test with 'GB'
  270. GB tn, fp: 205, 0
  271. GB fn, tp: 9, 0
  272. GB f1 score: 0.000
  273. GB cohens kappa score: 0.000
  274. -> test with 'KNN'
  275. KNN tn, fp: 182, 23
  276. KNN fn, tp: 3, 6
  277. KNN f1 score: 0.316
  278. KNN cohens kappa score: 0.269
  279. ------ Step 3/5: Slice 4/5 -------
  280. -> Reset the GAN
  281. -> Train generator for synthetic samples
  282. -> create 784 synthetic samples
  283. -> test with 'LR'
  284. LR tn, fp: 182, 23
  285. LR fn, tp: 4, 5
  286. LR f1 score: 0.270
  287. LR cohens kappa score: 0.221
  288. LR average precision score: 0.313
  289. -> test with 'GB'
  290. GB tn, fp: 204, 1
  291. GB fn, tp: 9, 0
  292. GB f1 score: 0.000
  293. GB cohens kappa score: -0.008
  294. -> test with 'KNN'
  295. KNN tn, fp: 189, 16
  296. KNN fn, tp: 4, 5
  297. KNN f1 score: 0.333
  298. KNN cohens kappa score: 0.292
  299. ------ Step 3/5: Slice 5/5 -------
  300. -> Reset the GAN
  301. -> Train generator for synthetic samples
  302. -> create 784 synthetic samples
  303. -> test with 'LR'
  304. LR tn, fp: 162, 41
  305. LR fn, tp: 1, 6
  306. LR f1 score: 0.222
  307. LR cohens kappa score: 0.174
  308. LR average precision score: 0.277
  309. -> test with 'GB'
  310. GB tn, fp: 198, 5
  311. GB fn, tp: 7, 0
  312. GB f1 score: 0.000
  313. GB cohens kappa score: -0.029
  314. -> test with 'KNN'
  315. KNN tn, fp: 184, 19
  316. KNN fn, tp: 3, 4
  317. KNN f1 score: 0.267
  318. KNN cohens kappa score: 0.227
  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 784 synthetic samples
  326. -> test with 'LR'
  327. LR tn, fp: 177, 28
  328. LR fn, tp: 2, 7
  329. LR f1 score: 0.318
  330. LR cohens kappa score: 0.269
  331. LR average precision score: 0.212
  332. -> test with 'GB'
  333. GB tn, fp: 198, 7
  334. GB fn, tp: 9, 0
  335. GB f1 score: 0.000
  336. GB cohens kappa score: -0.038
  337. -> test with 'KNN'
  338. KNN tn, fp: 183, 22
  339. KNN fn, tp: 3, 6
  340. KNN f1 score: 0.324
  341. KNN cohens kappa score: 0.278
  342. ------ Step 4/5: Slice 2/5 -------
  343. -> Reset the GAN
  344. -> Train generator for synthetic samples
  345. -> create 784 synthetic samples
  346. -> test with 'LR'
  347. LR tn, fp: 182, 23
  348. LR fn, tp: 2, 7
  349. LR f1 score: 0.359
  350. LR cohens kappa score: 0.315
  351. LR average precision score: 0.545
  352. -> test with 'GB'
  353. GB tn, fp: 202, 3
  354. GB fn, tp: 8, 1
  355. GB f1 score: 0.154
  356. GB cohens kappa score: 0.131
  357. -> test with 'KNN'
  358. KNN tn, fp: 186, 19
  359. KNN fn, tp: 6, 3
  360. KNN f1 score: 0.194
  361. KNN cohens kappa score: 0.142
  362. ------ Step 4/5: Slice 3/5 -------
  363. -> Reset the GAN
  364. -> Train generator for synthetic samples
  365. -> create 784 synthetic samples
  366. -> test with 'LR'
  367. LR tn, fp: 170, 35
  368. LR fn, tp: 4, 5
  369. LR f1 score: 0.204
  370. LR cohens kappa score: 0.145
  371. LR average precision score: 0.286
  372. -> test with 'GB'
  373. GB tn, fp: 202, 3
  374. GB fn, tp: 8, 1
  375. GB f1 score: 0.154
  376. GB cohens kappa score: 0.131
  377. -> test with 'KNN'
  378. KNN tn, fp: 182, 23
  379. KNN fn, tp: 3, 6
  380. KNN f1 score: 0.316
  381. KNN cohens kappa score: 0.269
  382. ------ Step 4/5: Slice 4/5 -------
  383. -> Reset the GAN
  384. -> Train generator for synthetic samples
  385. -> create 784 synthetic samples
  386. -> test with 'LR'
  387. LR tn, fp: 173, 32
  388. LR fn, tp: 2, 7
  389. LR f1 score: 0.292
  390. LR cohens kappa score: 0.240
  391. LR average precision score: 0.437
  392. -> test with 'GB'
  393. GB tn, fp: 200, 5
  394. GB fn, tp: 6, 3
  395. GB f1 score: 0.353
  396. GB cohens kappa score: 0.326
  397. -> test with 'KNN'
  398. KNN tn, fp: 190, 15
  399. KNN fn, tp: 3, 6
  400. KNN f1 score: 0.400
  401. KNN cohens kappa score: 0.362
  402. ------ Step 4/5: Slice 5/5 -------
  403. -> Reset the GAN
  404. -> Train generator for synthetic samples
  405. -> create 784 synthetic samples
  406. -> test with 'LR'
  407. LR tn, fp: 171, 32
  408. LR fn, tp: 2, 5
  409. LR f1 score: 0.227
  410. LR cohens kappa score: 0.181
  411. LR average precision score: 0.562
  412. -> test with 'GB'
  413. GB tn, fp: 202, 1
  414. GB fn, tp: 7, 0
  415. GB f1 score: 0.000
  416. GB cohens kappa score: -0.008
  417. -> test with 'KNN'
  418. KNN tn, fp: 184, 19
  419. KNN fn, tp: 3, 4
  420. KNN f1 score: 0.267
  421. KNN cohens kappa score: 0.227
  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 784 synthetic samples
  429. -> test with 'LR'
  430. LR tn, fp: 180, 25
  431. LR fn, tp: 4, 5
  432. LR f1 score: 0.256
  433. LR cohens kappa score: 0.205
  434. LR average precision score: 0.189
  435. -> test with 'GB'
  436. GB tn, fp: 203, 2
  437. GB fn, tp: 8, 1
  438. GB f1 score: 0.167
  439. GB cohens kappa score: 0.149
  440. -> test with 'KNN'
  441. KNN tn, fp: 190, 15
  442. KNN fn, tp: 6, 3
  443. KNN f1 score: 0.222
  444. KNN cohens kappa score: 0.176
  445. ------ Step 5/5: Slice 2/5 -------
  446. -> Reset the GAN
  447. -> Train generator for synthetic samples
  448. -> create 784 synthetic samples
  449. -> test with 'LR'
  450. LR tn, fp: 174, 31
  451. LR fn, tp: 2, 7
  452. LR f1 score: 0.298
  453. LR cohens kappa score: 0.247
  454. LR average precision score: 0.463
  455. -> test with 'GB'
  456. GB tn, fp: 205, 0
  457. GB fn, tp: 9, 0
  458. GB f1 score: 0.000
  459. GB cohens kappa score: 0.000
  460. -> test with 'KNN'
  461. KNN tn, fp: 182, 23
  462. KNN fn, tp: 4, 5
  463. KNN f1 score: 0.270
  464. KNN cohens kappa score: 0.221
  465. ------ Step 5/5: Slice 3/5 -------
  466. -> Reset the GAN
  467. -> Train generator for synthetic samples
  468. -> create 784 synthetic samples
  469. -> test with 'LR'
  470. LR tn, fp: 180, 25
  471. LR fn, tp: 0, 9
  472. LR f1 score: 0.419
  473. LR cohens kappa score: 0.377
  474. LR average precision score: 0.434
  475. -> test with 'GB'
  476. GB tn, fp: 203, 2
  477. GB fn, tp: 9, 0
  478. GB f1 score: 0.000
  479. GB cohens kappa score: -0.016
  480. -> test with 'KNN'
  481. KNN tn, fp: 189, 16
  482. KNN fn, tp: 2, 7
  483. KNN f1 score: 0.438
  484. KNN cohens kappa score: 0.401
  485. ------ Step 5/5: Slice 4/5 -------
  486. -> Reset the GAN
  487. -> Train generator for synthetic samples
  488. -> create 784 synthetic samples
  489. -> test with 'LR'
  490. LR tn, fp: 181, 24
  491. LR fn, tp: 6, 3
  492. LR f1 score: 0.167
  493. LR cohens kappa score: 0.111
  494. LR average precision score: 0.185
  495. -> test with 'GB'
  496. GB tn, fp: 203, 2
  497. GB fn, tp: 9, 0
  498. GB f1 score: 0.000
  499. GB cohens kappa score: -0.016
  500. -> test with 'KNN'
  501. KNN tn, fp: 194, 11
  502. KNN fn, tp: 6, 3
  503. KNN f1 score: 0.261
  504. KNN cohens kappa score: 0.221
  505. ------ Step 5/5: Slice 5/5 -------
  506. -> Reset the GAN
  507. -> Train generator for synthetic samples
  508. -> create 784 synthetic samples
  509. -> test with 'LR'
  510. LR tn, fp: 165, 38
  511. LR fn, tp: 2, 5
  512. LR f1 score: 0.200
  513. LR cohens kappa score: 0.151
  514. LR average precision score: 0.389
  515. -> test with 'GB'
  516. GB tn, fp: 196, 7
  517. GB fn, tp: 5, 2
  518. GB f1 score: 0.250
  519. GB cohens kappa score: 0.221
  520. -> test with 'KNN'
  521. KNN tn, fp: 183, 20
  522. KNN fn, tp: 4, 3
  523. KNN f1 score: 0.200
  524. KNN cohens kappa score: 0.157
  525. ### Exercise is done.
  526. -----[ LR ]-----
  527. maximum:
  528. LR tn, fp: 188, 48
  529. LR fn, tp: 6, 9
  530. LR f1 score: 0.474
  531. LR cohens kappa score: 0.438
  532. LR average precision score: 0.739
  533. average:
  534. LR tn, fp: 175.0, 29.6
  535. LR fn, tp: 2.56, 6.04
  536. LR f1 score: 0.276
  537. LR cohens kappa score: 0.226
  538. LR average precision score: 0.356
  539. minimum:
  540. LR tn, fp: 157, 17
  541. LR fn, tp: 0, 3
  542. LR f1 score: 0.154
  543. LR cohens kappa score: 0.095
  544. LR average precision score: 0.091
  545. -----[ GB ]-----
  546. maximum:
  547. GB tn, fp: 205, 12
  548. GB fn, tp: 9, 4
  549. GB f1 score: 0.364
  550. GB cohens kappa score: 0.348
  551. average:
  552. GB tn, fp: 201.4, 3.2
  553. GB fn, tp: 7.64, 0.96
  554. GB f1 score: 0.132
  555. GB cohens kappa score: 0.113
  556. minimum:
  557. GB tn, fp: 193, 0
  558. GB fn, tp: 5, 0
  559. GB f1 score: 0.000
  560. GB cohens kappa score: -0.038
  561. -----[ KNN ]-----
  562. maximum:
  563. KNN tn, fp: 198, 26
  564. KNN fn, tp: 6, 7
  565. KNN f1 score: 0.476
  566. KNN cohens kappa score: 0.450
  567. average:
  568. KNN tn, fp: 185.88, 18.72
  569. KNN fn, tp: 3.92, 4.68
  570. KNN f1 score: 0.294
  571. KNN cohens kappa score: 0.250
  572. minimum:
  573. KNN tn, fp: 179, 7
  574. KNN fn, tp: 2, 3
  575. KNN f1 score: 0.194
  576. KNN cohens kappa score: 0.142