kaggle_creditcard.log 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775
  1. ///////////////////////////////////////////
  2. // Running SimpleGAN on kaggle_creditcard
  3. ///////////////////////////////////////////
  4. Load 'data_input/kaggle_creditcard'
  5. Data loaded.
  6. -> Shuffling data
  7. ### Start exercise for synthetic point generator
  8. ====== Step 1/5 =======
  9. -> Shuffling data
  10. -> Spliting data to slices
  11. ------ Step 1/5: Slice 1/5 -------
  12. -> Reset the GAN
  13. -> Train generator for synthetic samples
  14. Epoch 1/3
  15. Epoch 2/3
  16. Epoch 3/3
  17. -> create 227059 synthetic samples
  18. -> test with 'LR'
  19. LR tn, fp: 56821, 42
  20. LR fn, tp: 35, 64
  21. LR f1 score: 0.624
  22. LR cohens kappa score: 0.624
  23. LR average precision score: 0.489
  24. -> test with 'GB'
  25. GB tn, fp: 56848, 15
  26. GB fn, tp: 32, 67
  27. GB f1 score: 0.740
  28. GB cohens kappa score: 0.740
  29. -> test with 'KNN'
  30. KNN tn, fp: 56863, 0
  31. KNN fn, tp: 96, 3
  32. KNN f1 score: 0.059
  33. KNN cohens kappa score: 0.059
  34. ------ Step 1/5: Slice 2/5 -------
  35. -> Reset the GAN
  36. -> Train generator for synthetic samples
  37. Epoch 1/3
  38. Epoch 2/3
  39. Epoch 3/3
  40. -> create 227059 synthetic samples
  41. -> test with 'LR'
  42. LR tn, fp: 56853, 10
  43. LR fn, tp: 30, 69
  44. LR f1 score: 0.775
  45. LR cohens kappa score: 0.775
  46. LR average precision score: 0.707
  47. -> test with 'GB'
  48. GB tn, fp: 56856, 7
  49. GB fn, tp: 23, 76
  50. GB f1 score: 0.835
  51. GB cohens kappa score: 0.835
  52. -> test with 'KNN'
  53. KNN tn, fp: 56863, 0
  54. KNN fn, tp: 97, 2
  55. KNN f1 score: 0.040
  56. KNN cohens kappa score: 0.040
  57. ------ Step 1/5: Slice 3/5 -------
  58. -> Reset the GAN
  59. -> Train generator for synthetic samples
  60. Epoch 1/3
  61. Epoch 2/3
  62. Epoch 3/3
  63. -> create 227059 synthetic samples
  64. -> test with 'LR'
  65. LR tn, fp: 56852, 11
  66. LR fn, tp: 36, 63
  67. LR f1 score: 0.728
  68. LR cohens kappa score: 0.728
  69. LR average precision score: 0.640
  70. -> test with 'GB'
  71. GB tn, fp: 56848, 15
  72. GB fn, tp: 24, 75
  73. GB f1 score: 0.794
  74. GB cohens kappa score: 0.793
  75. -> test with 'KNN'
  76. KNN tn, fp: 56862, 1
  77. KNN fn, tp: 98, 1
  78. KNN f1 score: 0.020
  79. KNN cohens kappa score: 0.020
  80. ------ Step 1/5: Slice 4/5 -------
  81. -> Reset the GAN
  82. -> Train generator for synthetic samples
  83. Epoch 1/3
  84. Epoch 2/3
  85. Epoch 3/3
  86. -> create 227059 synthetic samples
  87. -> test with 'LR'
  88. LR tn, fp: 56847, 16
  89. LR fn, tp: 30, 69
  90. LR f1 score: 0.750
  91. LR cohens kappa score: 0.750
  92. LR average precision score: 0.743
  93. -> test with 'GB'
  94. GB tn, fp: 56851, 12
  95. GB fn, tp: 24, 75
  96. GB f1 score: 0.806
  97. GB cohens kappa score: 0.806
  98. -> test with 'KNN'
  99. KNN tn, fp: 56863, 0
  100. KNN fn, tp: 98, 1
  101. KNN f1 score: 0.020
  102. KNN cohens kappa score: 0.020
  103. ------ Step 1/5: Slice 5/5 -------
  104. -> Reset the GAN
  105. -> Train generator for synthetic samples
  106. Epoch 1/3
  107. Epoch 2/3
  108. Epoch 3/3
  109. -> create 227056 synthetic samples
  110. -> test with 'LR'
  111. LR tn, fp: 56854, 9
  112. LR fn, tp: 37, 59
  113. LR f1 score: 0.720
  114. LR cohens kappa score: 0.719
  115. LR average precision score: 0.738
  116. -> test with 'GB'
  117. GB tn, fp: 56845, 18
  118. GB fn, tp: 25, 71
  119. GB f1 score: 0.768
  120. GB cohens kappa score: 0.767
  121. -> test with 'KNN'
  122. KNN tn, fp: 56863, 0
  123. KNN fn, tp: 96, 0
  124. KNN f1 score: 0.000
  125. KNN cohens kappa score: 0.000
  126. ====== Step 2/5 =======
  127. -> Shuffling data
  128. -> Spliting data to slices
  129. ------ Step 2/5: Slice 1/5 -------
  130. -> Reset the GAN
  131. -> Train generator for synthetic samples
  132. Epoch 1/3
  133. Epoch 2/3
  134. Epoch 3/3
  135. -> create 227059 synthetic samples
  136. -> test with 'LR'
  137. LR tn, fp: 56835, 28
  138. LR fn, tp: 40, 59
  139. LR f1 score: 0.634
  140. LR cohens kappa score: 0.634
  141. LR average precision score: 0.612
  142. -> test with 'GB'
  143. GB tn, fp: 56848, 15
  144. GB fn, tp: 20, 79
  145. GB f1 score: 0.819
  146. GB cohens kappa score: 0.818
  147. -> test with 'KNN'
  148. KNN tn, fp: 56863, 0
  149. KNN fn, tp: 97, 2
  150. KNN f1 score: 0.040
  151. KNN cohens kappa score: 0.040
  152. ------ Step 2/5: Slice 2/5 -------
  153. -> Reset the GAN
  154. -> Train generator for synthetic samples
  155. Epoch 1/3
  156. Epoch 2/3
  157. Epoch 3/3
  158. -> create 227059 synthetic samples
  159. -> test with 'LR'
  160. LR tn, fp: 56842, 21
  161. LR fn, tp: 34, 65
  162. LR f1 score: 0.703
  163. LR cohens kappa score: 0.702
  164. LR average precision score: 0.606
  165. -> test with 'GB'
  166. GB tn, fp: 56850, 13
  167. GB fn, tp: 24, 75
  168. GB f1 score: 0.802
  169. GB cohens kappa score: 0.802
  170. -> test with 'KNN'
  171. KNN tn, fp: 56862, 1
  172. KNN fn, tp: 98, 1
  173. KNN f1 score: 0.020
  174. KNN cohens kappa score: 0.020
  175. ------ Step 2/5: Slice 3/5 -------
  176. -> Reset the GAN
  177. -> Train generator for synthetic samples
  178. Epoch 1/3
  179. Epoch 2/3
  180. Epoch 3/3
  181. -> create 227059 synthetic samples
  182. -> test with 'LR'
  183. LR tn, fp: 56847, 16
  184. LR fn, tp: 40, 59
  185. LR f1 score: 0.678
  186. LR cohens kappa score: 0.678
  187. LR average precision score: 0.610
  188. -> test with 'GB'
  189. GB tn, fp: 56854, 9
  190. GB fn, tp: 27, 72
  191. GB f1 score: 0.800
  192. GB cohens kappa score: 0.800
  193. -> test with 'KNN'
  194. KNN tn, fp: 56863, 0
  195. KNN fn, tp: 97, 2
  196. KNN f1 score: 0.040
  197. KNN cohens kappa score: 0.040
  198. ------ Step 2/5: Slice 4/5 -------
  199. -> Reset the GAN
  200. -> Train generator for synthetic samples
  201. Epoch 1/3
  202. Epoch 2/3
  203. Epoch 3/3
  204. -> create 227059 synthetic samples
  205. -> test with 'LR'
  206. LR tn, fp: 56850, 13
  207. LR fn, tp: 43, 56
  208. LR f1 score: 0.667
  209. LR cohens kappa score: 0.666
  210. LR average precision score: 0.630
  211. -> test with 'GB'
  212. GB tn, fp: 56859, 4
  213. GB fn, tp: 25, 74
  214. GB f1 score: 0.836
  215. GB cohens kappa score: 0.836
  216. -> test with 'KNN'
  217. KNN tn, fp: 56863, 0
  218. KNN fn, tp: 99, 0
  219. KNN f1 score: 0.000
  220. KNN cohens kappa score: 0.000
  221. ------ Step 2/5: Slice 5/5 -------
  222. -> Reset the GAN
  223. -> Train generator for synthetic samples
  224. Epoch 1/3
  225. Epoch 2/3
  226. Epoch 3/3
  227. -> create 227056 synthetic samples
  228. -> test with 'LR'
  229. LR tn, fp: 56849, 14
  230. LR fn, tp: 31, 65
  231. LR f1 score: 0.743
  232. LR cohens kappa score: 0.742
  233. LR average precision score: 0.683
  234. -> test with 'GB'
  235. GB tn, fp: 56851, 12
  236. GB fn, tp: 22, 74
  237. GB f1 score: 0.813
  238. GB cohens kappa score: 0.813
  239. -> test with 'KNN'
  240. KNN tn, fp: 56863, 0
  241. KNN fn, tp: 95, 1
  242. KNN f1 score: 0.021
  243. KNN cohens kappa score: 0.021
  244. ====== Step 3/5 =======
  245. -> Shuffling data
  246. -> Spliting data to slices
  247. ------ Step 3/5: Slice 1/5 -------
  248. -> Reset the GAN
  249. -> Train generator for synthetic samples
  250. Epoch 1/3
  251. Epoch 2/3
  252. Epoch 3/3
  253. -> create 227059 synthetic samples
  254. -> test with 'LR'
  255. LR tn, fp: 56844, 19
  256. LR fn, tp: 42, 57
  257. LR f1 score: 0.651
  258. LR cohens kappa score: 0.651
  259. LR average precision score: 0.595
  260. -> test with 'GB'
  261. GB tn, fp: 56838, 25
  262. GB fn, tp: 27, 72
  263. GB f1 score: 0.735
  264. GB cohens kappa score: 0.734
  265. -> test with 'KNN'
  266. KNN tn, fp: 56863, 0
  267. KNN fn, tp: 97, 2
  268. KNN f1 score: 0.040
  269. KNN cohens kappa score: 0.040
  270. ------ Step 3/5: Slice 2/5 -------
  271. -> Reset the GAN
  272. -> Train generator for synthetic samples
  273. Epoch 1/3
  274. Epoch 2/3
  275. Epoch 3/3
  276. -> create 227059 synthetic samples
  277. -> test with 'LR'
  278. LR tn, fp: 56846, 17
  279. LR fn, tp: 30, 69
  280. LR f1 score: 0.746
  281. LR cohens kappa score: 0.746
  282. LR average precision score: 0.671
  283. -> test with 'GB'
  284. GB tn, fp: 56850, 13
  285. GB fn, tp: 24, 75
  286. GB f1 score: 0.802
  287. GB cohens kappa score: 0.802
  288. -> test with 'KNN'
  289. KNN tn, fp: 56863, 0
  290. KNN fn, tp: 99, 0
  291. KNN f1 score: 0.000
  292. KNN cohens kappa score: 0.000
  293. ------ Step 3/5: Slice 3/5 -------
  294. -> Reset the GAN
  295. -> Train generator for synthetic samples
  296. Epoch 1/3
  297. Epoch 2/3
  298. Epoch 3/3
  299. -> create 227059 synthetic samples
  300. -> test with 'LR'
  301. LR tn, fp: 56850, 13
  302. LR fn, tp: 33, 66
  303. LR f1 score: 0.742
  304. LR cohens kappa score: 0.741
  305. LR average precision score: 0.680
  306. -> test with 'GB'
  307. GB tn, fp: 56861, 2
  308. GB fn, tp: 22, 77
  309. GB f1 score: 0.865
  310. GB cohens kappa score: 0.865
  311. -> test with 'KNN'
  312. KNN tn, fp: 56863, 0
  313. KNN fn, tp: 98, 1
  314. KNN f1 score: 0.020
  315. KNN cohens kappa score: 0.020
  316. ------ Step 3/5: Slice 4/5 -------
  317. -> Reset the GAN
  318. -> Train generator for synthetic samples
  319. Epoch 1/3
  320. Epoch 2/3
  321. Epoch 3/3
  322. -> create 227059 synthetic samples
  323. -> test with 'LR'
  324. LR tn, fp: 56852, 11
  325. LR fn, tp: 43, 56
  326. LR f1 score: 0.675
  327. LR cohens kappa score: 0.674
  328. LR average precision score: 0.674
  329. -> test with 'GB'
  330. GB tn, fp: 56857, 6
  331. GB fn, tp: 27, 72
  332. GB f1 score: 0.814
  333. GB cohens kappa score: 0.813
  334. -> test with 'KNN'
  335. KNN tn, fp: 56863, 0
  336. KNN fn, tp: 97, 2
  337. KNN f1 score: 0.040
  338. KNN cohens kappa score: 0.040
  339. ------ Step 3/5: Slice 5/5 -------
  340. -> Reset the GAN
  341. -> Train generator for synthetic samples
  342. Epoch 1/3
  343. Epoch 2/3
  344. Epoch 3/3
  345. -> create 227056 synthetic samples
  346. -> test with 'LR'
  347. LR tn, fp: 56858, 5
  348. LR fn, tp: 35, 61
  349. LR f1 score: 0.753
  350. LR cohens kappa score: 0.753
  351. LR average precision score: 0.702
  352. -> test with 'GB'
  353. GB tn, fp: 56855, 8
  354. GB fn, tp: 26, 70
  355. GB f1 score: 0.805
  356. GB cohens kappa score: 0.804
  357. -> test with 'KNN'
  358. KNN tn, fp: 56863, 0
  359. KNN fn, tp: 95, 1
  360. KNN f1 score: 0.021
  361. KNN cohens kappa score: 0.021
  362. ====== Step 4/5 =======
  363. -> Shuffling data
  364. -> Spliting data to slices
  365. ------ Step 4/5: Slice 1/5 -------
  366. -> Reset the GAN
  367. -> Train generator for synthetic samples
  368. Epoch 1/3
  369. Epoch 2/3
  370. Epoch 3/3
  371. -> create 227059 synthetic samples
  372. -> test with 'LR'
  373. LR tn, fp: 56847, 16
  374. LR fn, tp: 33, 66
  375. LR f1 score: 0.729
  376. LR cohens kappa score: 0.729
  377. LR average precision score: 0.676
  378. -> test with 'GB'
  379. GB tn, fp: 56850, 13
  380. GB fn, tp: 23, 76
  381. GB f1 score: 0.809
  382. GB cohens kappa score: 0.808
  383. -> test with 'KNN'
  384. KNN tn, fp: 56863, 0
  385. KNN fn, tp: 99, 0
  386. KNN f1 score: 0.000
  387. KNN cohens kappa score: 0.000
  388. ------ Step 4/5: Slice 2/5 -------
  389. -> Reset the GAN
  390. -> Train generator for synthetic samples
  391. Epoch 1/3
  392. Epoch 2/3
  393. Epoch 3/3
  394. -> create 227059 synthetic samples
  395. -> test with 'LR'
  396. LR tn, fp: 56843, 20
  397. LR fn, tp: 35, 64
  398. LR f1 score: 0.699
  399. LR cohens kappa score: 0.699
  400. LR average precision score: 0.585
  401. -> test with 'GB'
  402. GB tn, fp: 56848, 15
  403. GB fn, tp: 23, 76
  404. GB f1 score: 0.800
  405. GB cohens kappa score: 0.800
  406. -> test with 'KNN'
  407. KNN tn, fp: 56863, 0
  408. KNN fn, tp: 98, 1
  409. KNN f1 score: 0.020
  410. KNN cohens kappa score: 0.020
  411. ------ Step 4/5: Slice 3/5 -------
  412. -> Reset the GAN
  413. -> Train generator for synthetic samples
  414. Epoch 1/3
  415. Epoch 2/3
  416. Epoch 3/3
  417. -> create 227059 synthetic samples
  418. -> test with 'LR'
  419. LR tn, fp: 56853, 10
  420. LR fn, tp: 32, 67
  421. LR f1 score: 0.761
  422. LR cohens kappa score: 0.761
  423. LR average precision score: 0.700
  424. -> test with 'GB'
  425. GB tn, fp: 56853, 10
  426. GB fn, tp: 25, 74
  427. GB f1 score: 0.809
  428. GB cohens kappa score: 0.808
  429. -> test with 'KNN'
  430. KNN tn, fp: 56863, 0
  431. KNN fn, tp: 99, 0
  432. KNN f1 score: 0.000
  433. KNN cohens kappa score: 0.000
  434. ------ Step 4/5: Slice 4/5 -------
  435. -> Reset the GAN
  436. -> Train generator for synthetic samples
  437. Epoch 1/3
  438. Epoch 2/3
  439. Epoch 3/3
  440. -> create 227059 synthetic samples
  441. -> test with 'LR'
  442. LR tn, fp: 56856, 7
  443. LR fn, tp: 32, 67
  444. LR f1 score: 0.775
  445. LR cohens kappa score: 0.774
  446. LR average precision score: 0.721
  447. -> test with 'GB'
  448. GB tn, fp: 56861, 2
  449. GB fn, tp: 18, 81
  450. GB f1 score: 0.890
  451. GB cohens kappa score: 0.890
  452. -> test with 'KNN'
  453. KNN tn, fp: 56863, 0
  454. KNN fn, tp: 99, 0
  455. KNN f1 score: 0.000
  456. KNN cohens kappa score: 0.000
  457. ------ Step 4/5: Slice 5/5 -------
  458. -> Reset the GAN
  459. -> Train generator for synthetic samples
  460. Epoch 1/3
  461. Epoch 2/3
  462. Epoch 3/3
  463. -> create 227056 synthetic samples
  464. -> test with 'LR'
  465. LR tn, fp: 56855, 8
  466. LR fn, tp: 45, 51
  467. LR f1 score: 0.658
  468. LR cohens kappa score: 0.658
  469. LR average precision score: 0.653
  470. -> test with 'GB'
  471. GB tn, fp: 56850, 13
  472. GB fn, tp: 26, 70
  473. GB f1 score: 0.782
  474. GB cohens kappa score: 0.782
  475. -> test with 'KNN'
  476. KNN tn, fp: 56863, 0
  477. KNN fn, tp: 93, 3
  478. KNN f1 score: 0.061
  479. KNN cohens kappa score: 0.061
  480. ====== Step 5/5 =======
  481. -> Shuffling data
  482. -> Spliting data to slices
  483. ------ Step 5/5: Slice 1/5 -------
  484. -> Reset the GAN
  485. -> Train generator for synthetic samples
  486. Epoch 1/3
  487. Epoch 2/3
  488. Epoch 3/3
  489. -> create 227059 synthetic samples
  490. -> test with 'LR'
  491. LR tn, fp: 56849, 14
  492. LR fn, tp: 38, 61
  493. LR f1 score: 0.701
  494. LR cohens kappa score: 0.701
  495. LR average precision score: 0.660
  496. -> test with 'GB'
  497. GB tn, fp: 56853, 10
  498. GB fn, tp: 30, 69
  499. GB f1 score: 0.775
  500. GB cohens kappa score: 0.775
  501. -> test with 'KNN'
  502. KNN tn, fp: 56863, 0
  503. KNN fn, tp: 97, 2
  504. KNN f1 score: 0.040
  505. KNN cohens kappa score: 0.040
  506. ------ Step 5/5: Slice 2/5 -------
  507. -> Reset the GAN
  508. -> Train generator for synthetic samples
  509. Epoch 1/3
  510. Epoch 2/3
  511. Epoch 3/3
  512. -> create 227059 synthetic samples
  513. -> test with 'LR'
  514. LR tn, fp: 56856, 7
  515. LR fn, tp: 36, 63
  516. LR f1 score: 0.746
  517. LR cohens kappa score: 0.745
  518. LR average precision score: 0.778
  519. -> test with 'GB'
  520. GB tn, fp: 56859, 4
  521. GB fn, tp: 18, 81
  522. GB f1 score: 0.880
  523. GB cohens kappa score: 0.880
  524. -> test with 'KNN'
  525. KNN tn, fp: 56863, 0
  526. KNN fn, tp: 98, 1
  527. KNN f1 score: 0.020
  528. KNN cohens kappa score: 0.020
  529. ------ Step 5/5: Slice 3/5 -------
  530. -> Reset the GAN
  531. -> Train generator for synthetic samples
  532. Epoch 1/3
  533. Epoch 2/3
  534. Epoch 3/3
  535. -> create 227059 synthetic samples
  536. -> test with 'LR'
  537. LR tn, fp: 56853, 10
  538. LR fn, tp: 33, 66
  539. LR f1 score: 0.754
  540. LR cohens kappa score: 0.754
  541. LR average precision score: 0.652
  542. -> test with 'GB'
  543. GB tn, fp: 56848, 15
  544. GB fn, tp: 24, 75
  545. GB f1 score: 0.794
  546. GB cohens kappa score: 0.793
  547. -> test with 'KNN'
  548. KNN tn, fp: 56863, 0
  549. KNN fn, tp: 96, 3
  550. KNN f1 score: 0.059
  551. KNN cohens kappa score: 0.059
  552. ------ Step 5/5: Slice 4/5 -------
  553. -> Reset the GAN
  554. -> Train generator for synthetic samples
  555. Epoch 1/3
  556. Epoch 2/3
  557. Epoch 3/3
  558. -> create 227059 synthetic samples
  559. -> test with 'LR'
  560. LR tn, fp: 56856, 7
  561. LR fn, tp: 40, 59
  562. LR f1 score: 0.715
  563. LR cohens kappa score: 0.715
  564. LR average precision score: 0.729
  565. -> test with 'GB'
  566. GB tn, fp: 56859, 4
  567. GB fn, tp: 21, 78
  568. GB f1 score: 0.862
  569. GB cohens kappa score: 0.862
  570. -> test with 'KNN'
  571. KNN tn, fp: 56863, 0
  572. KNN fn, tp: 99, 0
  573. KNN f1 score: 0.000
  574. KNN cohens kappa score: 0.000
  575. ------ Step 5/5: Slice 5/5 -------
  576. -> Reset the GAN
  577. -> Train generator for synthetic samples
  578. Epoch 1/3
  579. Epoch 2/3
  580. Epoch 3/3
  581. -> create 227056 synthetic samples
  582. -> test with 'LR'
  583. LR tn, fp: 56850, 13
  584. LR fn, tp: 37, 59
  585. LR f1 score: 0.702
  586. LR cohens kappa score: 0.702
  587. LR average precision score: 0.628
  588. -> test with 'GB'
  589. GB tn, fp: 56844, 19
  590. GB fn, tp: 27, 69
  591. GB f1 score: 0.750
  592. GB cohens kappa score: 0.750
  593. -> test with 'KNN'
  594. KNN tn, fp: 56863, 0
  595. KNN fn, tp: 96, 0
  596. KNN f1 score: 0.000
  597. KNN cohens kappa score: 0.000
  598. ### Exercise is done.
  599. -----[ LR ]-----
  600. maximum:
  601. LR tn, fp: 56858, 42
  602. LR fn, tp: 45, 69
  603. LR f1 score: 0.775
  604. LR cohens kappa score: 0.775
  605. LR average precision score: 0.778
  606. average:
  607. LR tn, fp: 56848.72, 14.28
  608. LR fn, tp: 36.0, 62.4
  609. LR f1 score: 0.713
  610. LR cohens kappa score: 0.713
  611. LR average precision score: 0.662
  612. minimum:
  613. LR tn, fp: 56821, 5
  614. LR fn, tp: 30, 51
  615. LR f1 score: 0.624
  616. LR cohens kappa score: 0.624
  617. LR average precision score: 0.489
  618. -----[ GB ]-----
  619. maximum:
  620. GB tn, fp: 56861, 25
  621. GB fn, tp: 32, 81
  622. GB f1 score: 0.890
  623. GB cohens kappa score: 0.890
  624. average:
  625. GB tn, fp: 56851.84, 11.16
  626. GB fn, tp: 24.28, 74.12
  627. GB f1 score: 0.807
  628. GB cohens kappa score: 0.807
  629. minimum:
  630. GB tn, fp: 56838, 2
  631. GB fn, tp: 18, 67
  632. GB f1 score: 0.735
  633. GB cohens kappa score: 0.734
  634. -----[ KNN ]-----
  635. maximum:
  636. KNN tn, fp: 56863, 1
  637. KNN fn, tp: 99, 3
  638. KNN f1 score: 0.061
  639. KNN cohens kappa score: 0.061
  640. average:
  641. KNN tn, fp: 56862.92, 0.08
  642. KNN fn, tp: 97.24, 1.16
  643. KNN f1 score: 0.023
  644. KNN cohens kappa score: 0.023
  645. minimum:
  646. KNN tn, fp: 56862, 0
  647. KNN fn, tp: 93, 0
  648. KNN f1 score: 0.000
  649. KNN cohens kappa score: 0.000