folding_hypothyroid.log 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777
  1. ///////////////////////////////////////////
  2. // Running SimpleGAN 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. Epoch 1/3
  17. Epoch 2/3
  18. Epoch 3/3
  19. -> create 2289 synthetic samples
  20. -> test with 'LR'
  21. LR tn, fp: 595, 8
  22. LR fn, tp: 20, 11
  23. LR f1 score: 0.440
  24. LR cohens kappa score: 0.418
  25. LR average precision score: 0.440
  26. -> test with 'GB'
  27. GB tn, fp: 601, 2
  28. GB fn, tp: 8, 23
  29. GB f1 score: 0.821
  30. GB cohens kappa score: 0.813
  31. -> test with 'KNN'
  32. KNN tn, fp: 600, 3
  33. KNN fn, tp: 15, 16
  34. KNN f1 score: 0.640
  35. KNN cohens kappa score: 0.626
  36. ------ Step 1/5: Slice 2/5 -------
  37. -> Reset the GAN
  38. -> Train generator for synthetic samples
  39. Epoch 1/3
  40. Epoch 2/3
  41. Epoch 3/3
  42. -> create 2289 synthetic samples
  43. -> test with 'LR'
  44. LR tn, fp: 592, 11
  45. LR fn, tp: 19, 12
  46. LR f1 score: 0.444
  47. LR cohens kappa score: 0.420
  48. LR average precision score: 0.501
  49. -> test with 'GB'
  50. GB tn, fp: 595, 8
  51. GB fn, tp: 9, 22
  52. GB f1 score: 0.721
  53. GB cohens kappa score: 0.707
  54. -> test with 'KNN'
  55. KNN tn, fp: 596, 7
  56. KNN fn, tp: 15, 16
  57. KNN f1 score: 0.593
  58. KNN cohens kappa score: 0.575
  59. ------ Step 1/5: Slice 3/5 -------
  60. -> Reset the GAN
  61. -> Train generator for synthetic samples
  62. Epoch 1/3
  63. Epoch 2/3
  64. Epoch 3/3
  65. -> create 2289 synthetic samples
  66. -> test with 'LR'
  67. LR tn, fp: 594, 9
  68. LR fn, tp: 24, 7
  69. LR f1 score: 0.298
  70. LR cohens kappa score: 0.274
  71. LR average precision score: 0.402
  72. -> test with 'GB'
  73. GB tn, fp: 597, 6
  74. GB fn, tp: 6, 25
  75. GB f1 score: 0.806
  76. GB cohens kappa score: 0.797
  77. -> test with 'KNN'
  78. KNN tn, fp: 599, 4
  79. KNN fn, tp: 16, 15
  80. KNN f1 score: 0.600
  81. KNN cohens kappa score: 0.585
  82. ------ Step 1/5: Slice 4/5 -------
  83. -> Reset the GAN
  84. -> Train generator for synthetic samples
  85. Epoch 1/3
  86. Epoch 2/3
  87. Epoch 3/3
  88. -> create 2289 synthetic samples
  89. -> test with 'LR'
  90. LR tn, fp: 594, 9
  91. LR fn, tp: 21, 10
  92. LR f1 score: 0.400
  93. LR cohens kappa score: 0.377
  94. LR average precision score: 0.436
  95. -> test with 'GB'
  96. GB tn, fp: 600, 3
  97. GB fn, tp: 10, 21
  98. GB f1 score: 0.764
  99. GB cohens kappa score: 0.753
  100. -> test with 'KNN'
  101. KNN tn, fp: 601, 2
  102. KNN fn, tp: 16, 15
  103. KNN f1 score: 0.625
  104. KNN cohens kappa score: 0.612
  105. ------ Step 1/5: Slice 5/5 -------
  106. -> Reset the GAN
  107. -> Train generator for synthetic samples
  108. Epoch 1/3
  109. Epoch 2/3
  110. Epoch 3/3
  111. -> create 2288 synthetic samples
  112. -> test with 'LR'
  113. LR tn, fp: 595, 5
  114. LR fn, tp: 17, 10
  115. LR f1 score: 0.476
  116. LR cohens kappa score: 0.460
  117. LR average precision score: 0.578
  118. -> test with 'GB'
  119. GB tn, fp: 596, 4
  120. GB fn, tp: 5, 22
  121. GB f1 score: 0.830
  122. GB cohens kappa score: 0.823
  123. -> test with 'KNN'
  124. KNN tn, fp: 597, 3
  125. KNN fn, tp: 16, 11
  126. KNN f1 score: 0.537
  127. KNN cohens kappa score: 0.523
  128. ====== Step 2/5 =======
  129. -> Shuffling data
  130. -> Spliting data to slices
  131. ------ Step 2/5: Slice 1/5 -------
  132. -> Reset the GAN
  133. -> Train generator for synthetic samples
  134. Epoch 1/3
  135. Epoch 2/3
  136. Epoch 3/3
  137. -> create 2289 synthetic samples
  138. -> test with 'LR'
  139. LR tn, fp: 596, 7
  140. LR fn, tp: 20, 11
  141. LR f1 score: 0.449
  142. LR cohens kappa score: 0.428
  143. LR average precision score: 0.521
  144. -> test with 'GB'
  145. GB tn, fp: 596, 7
  146. GB fn, tp: 12, 19
  147. GB f1 score: 0.667
  148. GB cohens kappa score: 0.651
  149. -> test with 'KNN'
  150. KNN tn, fp: 598, 5
  151. KNN fn, tp: 22, 9
  152. KNN f1 score: 0.400
  153. KNN cohens kappa score: 0.381
  154. ------ Step 2/5: Slice 2/5 -------
  155. -> Reset the GAN
  156. -> Train generator for synthetic samples
  157. Epoch 1/3
  158. Epoch 2/3
  159. Epoch 3/3
  160. -> create 2289 synthetic samples
  161. -> test with 'LR'
  162. LR tn, fp: 595, 8
  163. LR fn, tp: 23, 8
  164. LR f1 score: 0.340
  165. LR cohens kappa score: 0.318
  166. LR average precision score: 0.507
  167. -> test with 'GB'
  168. GB tn, fp: 597, 6
  169. GB fn, tp: 8, 23
  170. GB f1 score: 0.767
  171. GB cohens kappa score: 0.755
  172. -> test with 'KNN'
  173. KNN tn, fp: 600, 3
  174. KNN fn, tp: 15, 16
  175. KNN f1 score: 0.640
  176. KNN cohens kappa score: 0.626
  177. ------ Step 2/5: Slice 3/5 -------
  178. -> Reset the GAN
  179. -> Train generator for synthetic samples
  180. Epoch 1/3
  181. Epoch 2/3
  182. Epoch 3/3
  183. -> create 2289 synthetic samples
  184. -> test with 'LR'
  185. LR tn, fp: 596, 7
  186. LR fn, tp: 17, 14
  187. LR f1 score: 0.538
  188. LR cohens kappa score: 0.519
  189. LR average precision score: 0.495
  190. -> test with 'GB'
  191. GB tn, fp: 601, 2
  192. GB fn, tp: 11, 20
  193. GB f1 score: 0.755
  194. GB cohens kappa score: 0.744
  195. -> test with 'KNN'
  196. KNN tn, fp: 601, 2
  197. KNN fn, tp: 16, 15
  198. KNN f1 score: 0.625
  199. KNN cohens kappa score: 0.612
  200. ------ Step 2/5: Slice 4/5 -------
  201. -> Reset the GAN
  202. -> Train generator for synthetic samples
  203. Epoch 1/3
  204. Epoch 2/3
  205. Epoch 3/3
  206. -> create 2289 synthetic samples
  207. -> test with 'LR'
  208. LR tn, fp: 595, 8
  209. LR fn, tp: 26, 5
  210. LR f1 score: 0.227
  211. LR cohens kappa score: 0.204
  212. LR average precision score: 0.369
  213. -> test with 'GB'
  214. GB tn, fp: 600, 3
  215. GB fn, tp: 5, 26
  216. GB f1 score: 0.867
  217. GB cohens kappa score: 0.860
  218. -> test with 'KNN'
  219. KNN tn, fp: 596, 7
  220. KNN fn, tp: 16, 15
  221. KNN f1 score: 0.566
  222. KNN cohens kappa score: 0.548
  223. ------ Step 2/5: Slice 5/5 -------
  224. -> Reset the GAN
  225. -> Train generator for synthetic samples
  226. Epoch 1/3
  227. Epoch 2/3
  228. Epoch 3/3
  229. -> create 2288 synthetic samples
  230. -> test with 'LR'
  231. LR tn, fp: 592, 8
  232. LR fn, tp: 17, 10
  233. LR f1 score: 0.444
  234. LR cohens kappa score: 0.425
  235. LR average precision score: 0.563
  236. -> test with 'GB'
  237. GB tn, fp: 597, 3
  238. GB fn, tp: 5, 22
  239. GB f1 score: 0.846
  240. GB cohens kappa score: 0.840
  241. -> test with 'KNN'
  242. KNN tn, fp: 595, 5
  243. KNN fn, tp: 12, 15
  244. KNN f1 score: 0.638
  245. KNN cohens kappa score: 0.625
  246. ====== Step 3/5 =======
  247. -> Shuffling data
  248. -> Spliting data to slices
  249. ------ Step 3/5: Slice 1/5 -------
  250. -> Reset the GAN
  251. -> Train generator for synthetic samples
  252. Epoch 1/3
  253. Epoch 2/3
  254. Epoch 3/3
  255. -> create 2289 synthetic samples
  256. -> test with 'LR'
  257. LR tn, fp: 598, 5
  258. LR fn, tp: 22, 9
  259. LR f1 score: 0.400
  260. LR cohens kappa score: 0.381
  261. LR average precision score: 0.533
  262. -> test with 'GB'
  263. GB tn, fp: 603, 0
  264. GB fn, tp: 12, 19
  265. GB f1 score: 0.760
  266. GB cohens kappa score: 0.751
  267. -> test with 'KNN'
  268. KNN tn, fp: 602, 1
  269. KNN fn, tp: 19, 12
  270. KNN f1 score: 0.545
  271. KNN cohens kappa score: 0.532
  272. ------ Step 3/5: Slice 2/5 -------
  273. -> Reset the GAN
  274. -> Train generator for synthetic samples
  275. Epoch 1/3
  276. Epoch 2/3
  277. Epoch 3/3
  278. -> create 2289 synthetic samples
  279. -> test with 'LR'
  280. LR tn, fp: 594, 9
  281. LR fn, tp: 23, 8
  282. LR f1 score: 0.333
  283. LR cohens kappa score: 0.309
  284. LR average precision score: 0.351
  285. -> test with 'GB'
  286. GB tn, fp: 594, 9
  287. GB fn, tp: 5, 26
  288. GB f1 score: 0.788
  289. GB cohens kappa score: 0.776
  290. -> test with 'KNN'
  291. KNN tn, fp: 598, 5
  292. KNN fn, tp: 16, 15
  293. KNN f1 score: 0.588
  294. KNN cohens kappa score: 0.572
  295. ------ Step 3/5: Slice 3/5 -------
  296. -> Reset the GAN
  297. -> Train generator for synthetic samples
  298. Epoch 1/3
  299. Epoch 2/3
  300. Epoch 3/3
  301. -> create 2289 synthetic samples
  302. -> test with 'LR'
  303. LR tn, fp: 595, 8
  304. LR fn, tp: 16, 15
  305. LR f1 score: 0.556
  306. LR cohens kappa score: 0.536
  307. LR average precision score: 0.659
  308. -> test with 'GB'
  309. GB tn, fp: 598, 5
  310. GB fn, tp: 6, 25
  311. GB f1 score: 0.820
  312. GB cohens kappa score: 0.811
  313. -> test with 'KNN'
  314. KNN tn, fp: 596, 7
  315. KNN fn, tp: 15, 16
  316. KNN f1 score: 0.593
  317. KNN cohens kappa score: 0.575
  318. ------ Step 3/5: Slice 4/5 -------
  319. -> Reset the GAN
  320. -> Train generator for synthetic samples
  321. Epoch 1/3
  322. Epoch 2/3
  323. Epoch 3/3
  324. -> create 2289 synthetic samples
  325. -> test with 'LR'
  326. LR tn, fp: 596, 7
  327. LR fn, tp: 20, 11
  328. LR f1 score: 0.449
  329. LR cohens kappa score: 0.428
  330. LR average precision score: 0.511
  331. -> test with 'GB'
  332. GB tn, fp: 596, 7
  333. GB fn, tp: 7, 24
  334. GB f1 score: 0.774
  335. GB cohens kappa score: 0.763
  336. -> test with 'KNN'
  337. KNN tn, fp: 599, 4
  338. KNN fn, tp: 17, 14
  339. KNN f1 score: 0.571
  340. KNN cohens kappa score: 0.555
  341. ------ Step 3/5: Slice 5/5 -------
  342. -> Reset the GAN
  343. -> Train generator for synthetic samples
  344. Epoch 1/3
  345. Epoch 2/3
  346. Epoch 3/3
  347. -> create 2288 synthetic samples
  348. -> test with 'LR'
  349. LR tn, fp: 595, 5
  350. LR fn, tp: 21, 6
  351. LR f1 score: 0.316
  352. LR cohens kappa score: 0.298
  353. LR average precision score: 0.394
  354. -> test with 'GB'
  355. GB tn, fp: 597, 3
  356. GB fn, tp: 8, 19
  357. GB f1 score: 0.776
  358. GB cohens kappa score: 0.766
  359. -> test with 'KNN'
  360. KNN tn, fp: 599, 1
  361. KNN fn, tp: 14, 13
  362. KNN f1 score: 0.634
  363. KNN cohens kappa score: 0.623
  364. ====== Step 4/5 =======
  365. -> Shuffling data
  366. -> Spliting data to slices
  367. ------ Step 4/5: Slice 1/5 -------
  368. -> Reset the GAN
  369. -> Train generator for synthetic samples
  370. Epoch 1/3
  371. Epoch 2/3
  372. Epoch 3/3
  373. -> create 2289 synthetic samples
  374. -> test with 'LR'
  375. LR tn, fp: 592, 11
  376. LR fn, tp: 22, 9
  377. LR f1 score: 0.353
  378. LR cohens kappa score: 0.327
  379. LR average precision score: 0.382
  380. -> test with 'GB'
  381. GB tn, fp: 598, 5
  382. GB fn, tp: 6, 25
  383. GB f1 score: 0.820
  384. GB cohens kappa score: 0.811
  385. -> test with 'KNN'
  386. KNN tn, fp: 600, 3
  387. KNN fn, tp: 21, 10
  388. KNN f1 score: 0.455
  389. KNN cohens kappa score: 0.438
  390. ------ Step 4/5: Slice 2/5 -------
  391. -> Reset the GAN
  392. -> Train generator for synthetic samples
  393. Epoch 1/3
  394. Epoch 2/3
  395. Epoch 3/3
  396. -> create 2289 synthetic samples
  397. -> test with 'LR'
  398. LR tn, fp: 593, 10
  399. LR fn, tp: 21, 10
  400. LR f1 score: 0.392
  401. LR cohens kappa score: 0.368
  402. LR average precision score: 0.494
  403. -> test with 'GB'
  404. GB tn, fp: 600, 3
  405. GB fn, tp: 9, 22
  406. GB f1 score: 0.786
  407. GB cohens kappa score: 0.776
  408. -> test with 'KNN'
  409. KNN tn, fp: 599, 4
  410. KNN fn, tp: 18, 13
  411. KNN f1 score: 0.542
  412. KNN cohens kappa score: 0.525
  413. ------ Step 4/5: Slice 3/5 -------
  414. -> Reset the GAN
  415. -> Train generator for synthetic samples
  416. Epoch 1/3
  417. Epoch 2/3
  418. Epoch 3/3
  419. -> create 2289 synthetic samples
  420. -> test with 'LR'
  421. LR tn, fp: 600, 3
  422. LR fn, tp: 21, 10
  423. LR f1 score: 0.455
  424. LR cohens kappa score: 0.438
  425. LR average precision score: 0.611
  426. -> test with 'GB'
  427. GB tn, fp: 601, 2
  428. GB fn, tp: 7, 24
  429. GB f1 score: 0.842
  430. GB cohens kappa score: 0.835
  431. -> test with 'KNN'
  432. KNN tn, fp: 600, 3
  433. KNN fn, tp: 17, 14
  434. KNN f1 score: 0.583
  435. KNN cohens kappa score: 0.568
  436. ------ Step 4/5: Slice 4/5 -------
  437. -> Reset the GAN
  438. -> Train generator for synthetic samples
  439. Epoch 1/3
  440. Epoch 2/3
  441. Epoch 3/3
  442. -> create 2289 synthetic samples
  443. -> test with 'LR'
  444. LR tn, fp: 594, 9
  445. LR fn, tp: 18, 13
  446. LR f1 score: 0.491
  447. LR cohens kappa score: 0.469
  448. LR average precision score: 0.520
  449. -> test with 'GB'
  450. GB tn, fp: 600, 3
  451. GB fn, tp: 7, 24
  452. GB f1 score: 0.828
  453. GB cohens kappa score: 0.819
  454. -> test with 'KNN'
  455. KNN tn, fp: 597, 6
  456. KNN fn, tp: 17, 14
  457. KNN f1 score: 0.549
  458. KNN cohens kappa score: 0.531
  459. ------ Step 4/5: Slice 5/5 -------
  460. -> Reset the GAN
  461. -> Train generator for synthetic samples
  462. Epoch 1/3
  463. Epoch 2/3
  464. Epoch 3/3
  465. -> create 2288 synthetic samples
  466. -> test with 'LR'
  467. LR tn, fp: 592, 8
  468. LR fn, tp: 19, 8
  469. LR f1 score: 0.372
  470. LR cohens kappa score: 0.351
  471. LR average precision score: 0.442
  472. -> test with 'GB'
  473. GB tn, fp: 597, 3
  474. GB fn, tp: 10, 17
  475. GB f1 score: 0.723
  476. GB cohens kappa score: 0.713
  477. -> test with 'KNN'
  478. KNN tn, fp: 593, 7
  479. KNN fn, tp: 12, 15
  480. KNN f1 score: 0.612
  481. KNN cohens kappa score: 0.597
  482. ====== Step 5/5 =======
  483. -> Shuffling data
  484. -> Spliting data to slices
  485. ------ Step 5/5: Slice 1/5 -------
  486. -> Reset the GAN
  487. -> Train generator for synthetic samples
  488. Epoch 1/3
  489. Epoch 2/3
  490. Epoch 3/3
  491. -> create 2289 synthetic samples
  492. -> test with 'LR'
  493. LR tn, fp: 588, 15
  494. LR fn, tp: 19, 12
  495. LR f1 score: 0.414
  496. LR cohens kappa score: 0.386
  497. LR average precision score: 0.484
  498. -> test with 'GB'
  499. GB tn, fp: 599, 4
  500. GB fn, tp: 8, 23
  501. GB f1 score: 0.793
  502. GB cohens kappa score: 0.783
  503. -> test with 'KNN'
  504. KNN tn, fp: 599, 4
  505. KNN fn, tp: 17, 14
  506. KNN f1 score: 0.571
  507. KNN cohens kappa score: 0.555
  508. ------ Step 5/5: Slice 2/5 -------
  509. -> Reset the GAN
  510. -> Train generator for synthetic samples
  511. Epoch 1/3
  512. Epoch 2/3
  513. Epoch 3/3
  514. -> create 2289 synthetic samples
  515. -> test with 'LR'
  516. LR tn, fp: 600, 3
  517. LR fn, tp: 20, 11
  518. LR f1 score: 0.489
  519. LR cohens kappa score: 0.473
  520. LR average precision score: 0.543
  521. -> test with 'GB'
  522. GB tn, fp: 602, 1
  523. GB fn, tp: 8, 23
  524. GB f1 score: 0.836
  525. GB cohens kappa score: 0.829
  526. -> test with 'KNN'
  527. KNN tn, fp: 599, 4
  528. KNN fn, tp: 18, 13
  529. KNN f1 score: 0.542
  530. KNN cohens kappa score: 0.525
  531. ------ Step 5/5: Slice 3/5 -------
  532. -> Reset the GAN
  533. -> Train generator for synthetic samples
  534. Epoch 1/3
  535. Epoch 2/3
  536. Epoch 3/3
  537. -> create 2289 synthetic samples
  538. -> test with 'LR'
  539. LR tn, fp: 594, 9
  540. LR fn, tp: 18, 13
  541. LR f1 score: 0.491
  542. LR cohens kappa score: 0.469
  543. LR average precision score: 0.546
  544. -> test with 'GB'
  545. GB tn, fp: 598, 5
  546. GB fn, tp: 14, 17
  547. GB f1 score: 0.642
  548. GB cohens kappa score: 0.626
  549. -> test with 'KNN'
  550. KNN tn, fp: 598, 5
  551. KNN fn, tp: 18, 13
  552. KNN f1 score: 0.531
  553. KNN cohens kappa score: 0.513
  554. ------ Step 5/5: Slice 4/5 -------
  555. -> Reset the GAN
  556. -> Train generator for synthetic samples
  557. Epoch 1/3
  558. Epoch 2/3
  559. Epoch 3/3
  560. -> create 2289 synthetic samples
  561. -> test with 'LR'
  562. LR tn, fp: 600, 3
  563. LR fn, tp: 22, 9
  564. LR f1 score: 0.419
  565. LR cohens kappa score: 0.402
  566. LR average precision score: 0.497
  567. -> test with 'GB'
  568. GB tn, fp: 599, 4
  569. GB fn, tp: 5, 26
  570. GB f1 score: 0.852
  571. GB cohens kappa score: 0.845
  572. -> test with 'KNN'
  573. KNN tn, fp: 601, 2
  574. KNN fn, tp: 14, 17
  575. KNN f1 score: 0.680
  576. KNN cohens kappa score: 0.668
  577. ------ Step 5/5: Slice 5/5 -------
  578. -> Reset the GAN
  579. -> Train generator for synthetic samples
  580. Epoch 1/3
  581. Epoch 2/3
  582. Epoch 3/3
  583. -> create 2288 synthetic samples
  584. -> test with 'LR'
  585. LR tn, fp: 592, 8
  586. LR fn, tp: 19, 8
  587. LR f1 score: 0.372
  588. LR cohens kappa score: 0.351
  589. LR average precision score: 0.382
  590. -> test with 'GB'
  591. GB tn, fp: 594, 6
  592. GB fn, tp: 10, 17
  593. GB f1 score: 0.680
  594. GB cohens kappa score: 0.667
  595. -> test with 'KNN'
  596. KNN tn, fp: 597, 3
  597. KNN fn, tp: 17, 10
  598. KNN f1 score: 0.500
  599. KNN cohens kappa score: 0.486
  600. ### Exercise is done.
  601. -----[ LR ]-----
  602. maximum:
  603. LR tn, fp: 600, 15
  604. LR fn, tp: 26, 15
  605. LR f1 score: 0.556
  606. LR cohens kappa score: 0.536
  607. LR average precision score: 0.659
  608. average:
  609. LR tn, fp: 594.68, 7.72
  610. LR fn, tp: 20.2, 10.0
  611. LR f1 score: 0.414
  612. LR cohens kappa score: 0.393
  613. LR average precision score: 0.486
  614. minimum:
  615. LR tn, fp: 588, 3
  616. LR fn, tp: 16, 5
  617. LR f1 score: 0.227
  618. LR cohens kappa score: 0.204
  619. LR average precision score: 0.351
  620. -----[ GB ]-----
  621. maximum:
  622. GB tn, fp: 603, 9
  623. GB fn, tp: 14, 26
  624. GB f1 score: 0.867
  625. GB cohens kappa score: 0.860
  626. average:
  627. GB tn, fp: 598.24, 4.16
  628. GB fn, tp: 8.04, 22.16
  629. GB f1 score: 0.783
  630. GB cohens kappa score: 0.773
  631. minimum:
  632. GB tn, fp: 594, 0
  633. GB fn, tp: 5, 17
  634. GB f1 score: 0.642
  635. GB cohens kappa score: 0.626
  636. -----[ KNN ]-----
  637. maximum:
  638. KNN tn, fp: 602, 7
  639. KNN fn, tp: 22, 17
  640. KNN f1 score: 0.680
  641. KNN cohens kappa score: 0.668
  642. average:
  643. KNN tn, fp: 598.4, 4.0
  644. KNN fn, tp: 16.36, 13.84
  645. KNN f1 score: 0.574
  646. KNN cohens kappa score: 0.559
  647. minimum:
  648. KNN tn, fp: 593, 1
  649. KNN fn, tp: 12, 9
  650. KNN f1 score: 0.400
  651. KNN cohens kappa score: 0.381