Advertisement
mbah_bejo

Result MLPClassifier heart-clevelan

Oct 12th, 2021
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.50 KB | None | 0 0
  1. === Run information ===
  2.  
  3. Scheme: weka.classifiers.functions.MultilayerPerceptron -L 1.0 -M 0.9 -N 300 -V 0 -S 1 -E 20 -H a -G -R -batch-size 200
  4. Relation: cleveland-14-heart-disease
  5. Instances: 303
  6. Attributes: 14
  7. age
  8. sex
  9. cp
  10. trestbps
  11. chol
  12. fbs
  13. restecg
  14. thalach
  15. exang
  16. oldpeak
  17. slope
  18. ca
  19. thal
  20. num
  21. Test mode: split 80.0% train, remainder test
  22.  
  23. === Classifier model (full training set) ===
  24.  
  25. Sigmoid Node 0
  26. Inputs Weights
  27. Threshold 48.544328743823016
  28. Node 2 -15.601467537346286
  29. Node 3 -18.959644721945654
  30. Node 4 -6.763108858849582
  31. Node 5 -13.635003181527269
  32. Node 6 3.779727533723146
  33. Node 7 -12.075066846192598
  34. Node 8 -7.706458680979278
  35. Node 9 -4.318176962140633
  36. Node 10 -26.39699852588858
  37. Node 11 -7.238700606894336
  38. Node 12 -11.587717684837774
  39. Node 13 1.1689901612532339
  40. Sigmoid Node 1
  41. Inputs Weights
  42. Threshold -48.3109782238525
  43. Node 2 14.841651947959145
  44. Node 3 14.618395625359556
  45. Node 4 5.273360822726787
  46. Node 5 13.00924551352879
  47. Node 6 -4.498526094200047
  48. Node 7 11.056589459991725
  49. Node 8 9.625420108896893
  50. Node 9 4.535347227390637
  51. Node 10 25.256729339656747
  52. Node 11 8.069864761515289
  53. Node 12 13.055534193494617
  54. Node 13 0.617760748126896
  55. Sigmoid Node 2
  56. Inputs Weights
  57. Threshold 3.5921530799461547
  58. Attrib age 2.758438419658077
  59. Attrib sex=male 12.197115329828051
  60. Attrib cp=typ_angina -10.260568684666225
  61. Attrib cp=asympt 13.49945763363263
  62. Attrib cp=non_anginal -13.051857442969194
  63. Attrib cp=atyp_angina 2.440662995146247
  64. Attrib trestbps -2.9936201446079105
  65. Attrib chol 0.9667491819807795
  66. Attrib fbs=f -2.8198434089538686
  67. Attrib restecg=left_vent_hyper 3.98418213996859
  68. Attrib restecg=normal -4.7101838387287245
  69. Attrib restecg=st_t_wave_abnormality -2.8538903496275028
  70. Attrib thalach -8.219417197459782
  71. Attrib exang=yes -1.3856319321277106
  72. Attrib oldpeak -2.7434501143456442
  73. Attrib slope=up -14.44410938835381
  74. Attrib slope=flat 15.99847198320056
  75. Attrib slope=down -5.157302570755026
  76. Attrib ca 16.54896674615145
  77. Attrib thal=fixed_defect -1.7982755760001166
  78. Attrib thal=normal -10.885628141711795
  79. Attrib thal=reversable_defect 12.268205432313298
  80. Sigmoid Node 3
  81. Inputs Weights
  82. Threshold -4.881090147502274
  83. Attrib age -0.7727269918289111
  84. Attrib sex=male 1.8752162933900587
  85. Attrib cp=typ_angina -3.391681858493403
  86. Attrib cp=asympt 19.879128853873357
  87. Attrib cp=non_anginal -7.868470917863585
  88. Attrib cp=atyp_angina 1.1584599360987518
  89. Attrib trestbps 4.757958503515342
  90. Attrib chol 2.6478146238418105
  91. Attrib fbs=f 1.1046968079920343
  92. Attrib restecg=left_vent_hyper -15.929898928908703
  93. Attrib restecg=normal 10.110824612862992
  94. Attrib restecg=st_t_wave_abnormality 10.614612501675566
  95. Attrib thalach -8.756930242585605
  96. Attrib exang=yes 13.064883835072058
  97. Attrib oldpeak 9.706319931323131
  98. Attrib slope=up -12.061083450099895
  99. Attrib slope=flat 12.321743730588688
  100. Attrib slope=down 4.6011844906834956
  101. Attrib ca 8.96780626301287
  102. Attrib thal=fixed_defect 0.8191397832750499
  103. Attrib thal=normal -15.390996139620144
  104. Attrib thal=reversable_defect 19.401171320717843
  105. Sigmoid Node 4
  106. Inputs Weights
  107. Threshold -5.943110819724886
  108. Attrib age 0.023173577973032027
  109. Attrib sex=male 1.6540821153349592
  110. Attrib cp=typ_angina 3.659363350796286
  111. Attrib cp=asympt 5.461934025691197
  112. Attrib cp=non_anginal -1.6036114857311154
  113. Attrib cp=atyp_angina 4.383209737160336
  114. Attrib trestbps 4.0252791715011105
  115. Attrib chol 5.06948933226339
  116. Attrib fbs=f -4.972572160277334
  117. Attrib restecg=left_vent_hyper 1.381573663759804
  118. Attrib restecg=normal -1.482884810382796
  119. Attrib restecg=st_t_wave_abnormality 6.129416897024491
  120. Attrib thalach -6.012304402242474
  121. Attrib exang=yes 7.625624899345722
  122. Attrib oldpeak 5.362396610888415
  123. Attrib slope=up 0.650682954322593
  124. Attrib slope=flat -0.41527059321418947
  125. Attrib slope=down 5.738276222892976
  126. Attrib ca 10.469680640694687
  127. Attrib thal=fixed_defect 2.0131275722118205
  128. Attrib thal=normal -1.7248855719124272
  129. Attrib thal=reversable_defect 5.655771184963144
  130. Sigmoid Node 5
  131. Inputs Weights
  132. Threshold -3.133389162467679
  133. Attrib age -4.85569755160834
  134. Attrib sex=male 8.692642039777606
  135. Attrib cp=typ_angina -8.123488259912923
  136. Attrib cp=asympt 6.30564523652482
  137. Attrib cp=non_anginal 2.443822276261142
  138. Attrib cp=atyp_angina 5.656585581330586
  139. Attrib trestbps 1.882552922137282
  140. Attrib chol 5.892690531207367
  141. Attrib fbs=f 6.415868326369349
  142. Attrib restecg=left_vent_hyper 38.48482977373867
  143. Attrib restecg=normal -43.977924773990964
  144. Attrib restecg=st_t_wave_abnormality 8.615308166938451
  145. Attrib thalach -13.153823074037561
  146. Attrib exang=yes 12.72126125576736
  147. Attrib oldpeak 5.804125712801927
  148. Attrib slope=up -4.8702904951708295
  149. Attrib slope=flat 10.138594616357816
  150. Attrib slope=down -2.010818944893702
  151. Attrib ca 23.026844539885147
  152. Attrib thal=fixed_defect -11.300442027786936
  153. Attrib thal=normal 8.389533494974158
  154. Attrib thal=reversable_defect 6.096435113585795
  155. Sigmoid Node 6
  156. Inputs Weights
  157. Threshold 1.8200949899068415
  158. Attrib age 1.4776884431220674
  159. Attrib sex=male 7.871101026881824
  160. Attrib cp=typ_angina -6.933046235412465
  161. Attrib cp=asympt 16.654174777392644
  162. Attrib cp=non_anginal -7.416837407469149
  163. Attrib cp=atyp_angina -5.991141511695291
  164. Attrib trestbps -2.972580101391918
  165. Attrib chol -3.9291214187460746
  166. Attrib fbs=f 2.4760731506250484
  167. Attrib restecg=left_vent_hyper -1.5539932883411551
  168. Attrib restecg=normal 1.7351255005878061
  169. Attrib restecg=st_t_wave_abnormality -2.095168307978482
  170. Attrib thalach -6.9638767542142554
  171. Attrib exang=yes 1.1478066576271204
  172. Attrib oldpeak -1.1621255525092304
  173. Attrib slope=up -11.894103621685622
  174. Attrib slope=flat 15.038687099427879
  175. Attrib slope=down -4.936187289627532
  176. Attrib ca 13.408354490210591
  177. Attrib thal=fixed_defect -2.510553028012569
  178. Attrib thal=normal 3.8451233065657284
  179. Attrib thal=reversable_defect -3.2053757926615076
  180. Sigmoid Node 7
  181. Inputs Weights
  182. Threshold -2.370929487730446
  183. Attrib age -3.219068800458402
  184. Attrib sex=male 18.839965274761475
  185. Attrib cp=typ_angina 5.056094951583566
  186. Attrib cp=asympt 4.823376377018564
  187. Attrib cp=non_anginal 1.1299291531654114
  188. Attrib cp=atyp_angina -6.163772566960322
  189. Attrib trestbps -4.616960299326809
  190. Attrib chol -1.302377833468743
  191. Attrib fbs=f -2.745121380575899
  192. Attrib restecg=left_vent_hyper -3.7472707525143942
  193. Attrib restecg=normal 2.75913998770529
  194. Attrib restecg=st_t_wave_abnormality 3.393767470596163
  195. Attrib thalach -0.6022014720402327
  196. Attrib exang=yes 3.711377461169355
  197. Attrib oldpeak 9.573489351394993
  198. Attrib slope=up -9.68529293350223
  199. Attrib slope=flat 10.82610546301297
  200. Attrib slope=down 1.3410409115320803
  201. Attrib ca 22.83839384983672
  202. Attrib thal=fixed_defect -3.3171272892302075
  203. Attrib thal=normal -17.07838571677581
  204. Attrib thal=reversable_defect 22.774988973036898
  205. Sigmoid Node 8
  206. Inputs Weights
  207. Threshold 1.4975445573835675
  208. Attrib age 0.9790280548754249
  209. Attrib sex=male -0.8235498116278779
  210. Attrib cp=typ_angina -10.188212423747649
  211. Attrib cp=asympt 11.329500908895549
  212. Attrib cp=non_anginal -3.2962253960821144
  213. Attrib cp=atyp_angina -0.9559657183939784
  214. Attrib trestbps -1.6015205756068558
  215. Attrib chol 0.47821917880280296
  216. Attrib fbs=f -15.897597948240756
  217. Attrib restecg=left_vent_hyper -2.904256762269041
  218. Attrib restecg=normal 0.16516491358605295
  219. Attrib restecg=st_t_wave_abnormality 1.2184504987816738
  220. Attrib thalach -10.596103496997308
  221. Attrib exang=yes 9.928712339411598
  222. Attrib oldpeak 3.177284856843133
  223. Attrib slope=up -9.925960739051652
  224. Attrib slope=flat 10.189596803356142
  225. Attrib slope=down -1.7946694216445078
  226. Attrib ca 22.052917731422895
  227. Attrib thal=fixed_defect 5.164063892261841
  228. Attrib thal=normal -1.547362025120135
  229. Attrib thal=reversable_defect -4.237081123900332
  230. Sigmoid Node 9
  231. Inputs Weights
  232. Threshold -6.777462656028213
  233. Attrib age -0.7762829382843401
  234. Attrib sex=male -0.9159031808817205
  235. Attrib cp=typ_angina 10.903064164048478
  236. Attrib cp=asympt 5.982719027004042
  237. Attrib cp=non_anginal 3.583447111793396
  238. Attrib cp=atyp_angina -7.044729333428215
  239. Attrib trestbps 2.493498319042453
  240. Attrib chol 3.316074439104586
  241. Attrib fbs=f -0.47996429111521405
  242. Attrib restecg=left_vent_hyper 0.2417198328101691
  243. Attrib restecg=normal -0.2742634266752582
  244. Attrib restecg=st_t_wave_abnormality 6.756678897088162
  245. Attrib thalach 1.0022958509760667
  246. Attrib exang=yes 12.787201050032616
  247. Attrib oldpeak 12.910556805305838
  248. Attrib slope=up -4.469966938252993
  249. Attrib slope=flat 1.2251336346682518
  250. Attrib slope=down 10.04652384163538
  251. Attrib ca 9.246993689803208
  252. Attrib thal=fixed_defect -4.974141307698127
  253. Attrib thal=normal -5.671873521891404
  254. Attrib thal=reversable_defect 17.541875468750092
  255. Sigmoid Node 10
  256. Inputs Weights
  257. Threshold 3.77712662862865
  258. Attrib age -1.6557053228288856
  259. Attrib sex=male 31.10587925332863
  260. Attrib cp=typ_angina -12.672461468281117
  261. Attrib cp=asympt 9.653481917346529
  262. Attrib cp=non_anginal -3.810703773401491
  263. Attrib cp=atyp_angina -0.6899169646848642
  264. Attrib trestbps 1.3587787215941374
  265. Attrib chol -4.67592486231764
  266. Attrib fbs=f 9.568776818693696
  267. Attrib restecg=left_vent_hyper -9.770294197913943
  268. Attrib restecg=normal 10.588422011737
  269. Attrib restecg=st_t_wave_abnormality -4.571705220328632
  270. Attrib thalach -5.754393963461229
  271. Attrib exang=yes 31.59442034023399
  272. Attrib oldpeak -0.8003983020183313
  273. Attrib slope=up 6.481652093962975
  274. Attrib slope=flat 5.672281672129441
  275. Attrib slope=down -15.87932692869306
  276. Attrib ca 29.72550741696584
  277. Attrib thal=fixed_defect -4.040842030991716
  278. Attrib thal=normal -20.197287102896357
  279. Attrib thal=reversable_defect 20.469431499372984
  280. Sigmoid Node 11
  281. Inputs Weights
  282. Threshold 0.6854185802172387
  283. Attrib age 2.198391634595426
  284. Attrib sex=male 8.918218120007925
  285. Attrib cp=typ_angina -7.084132745965212
  286. Attrib cp=asympt 42.42068776611736
  287. Attrib cp=non_anginal -18.908149692792477
  288. Attrib cp=atyp_angina -17.848227701246294
  289. Attrib trestbps -2.314399875513797
  290. Attrib chol 4.960795355435693
  291. Attrib fbs=f -0.9314657902521623
  292. Attrib restecg=left_vent_hyper 1.086906637021591
  293. Attrib restecg=normal -5.84079453236617
  294. Attrib restecg=st_t_wave_abnormality 3.999678552844911
  295. Attrib thalach -7.384509663369127
  296. Attrib exang=yes 9.858369742260576
  297. Attrib oldpeak 8.67566211237288
  298. Attrib slope=up -8.788156727815881
  299. Attrib slope=flat 8.799713098553074
  300. Attrib slope=down -0.7066216281547765
  301. Attrib ca 30.742461286660077
  302. Attrib thal=fixed_defect -13.404070183305674
  303. Attrib thal=normal 8.657343847456245
  304. Attrib thal=reversable_defect 5.191323567470572
  305. Sigmoid Node 12
  306. Inputs Weights
  307. Threshold -7.658704311317073
  308. Attrib age 0.8925440948578229
  309. Attrib sex=male 6.4485501128109854
  310. Attrib cp=typ_angina 2.363064619560263
  311. Attrib cp=asympt 12.947545159420505
  312. Attrib cp=non_anginal -3.052122170436774
  313. Attrib cp=atyp_angina 3.0482222904721255
  314. Attrib trestbps 8.682756542347073
  315. Attrib chol -3.3384765299908254
  316. Attrib fbs=f -11.622792358967654
  317. Attrib restecg=left_vent_hyper -9.81594646386713
  318. Attrib restecg=normal 8.657556676534133
  319. Attrib restecg=st_t_wave_abnormality 8.86795396072733
  320. Attrib thalach -12.761520343098633
  321. Attrib exang=yes 16.390318629959765
  322. Attrib oldpeak 8.190855508049527
  323. Attrib slope=up 0.36120210899940863
  324. Attrib slope=flat 3.128136806663605
  325. Attrib slope=down 4.174053898035158
  326. Attrib ca 26.934287382929085
  327. Attrib thal=fixed_defect 2.882739229966568
  328. Attrib thal=normal -4.945751972492303
  329. Attrib thal=reversable_defect 10.1898465249777
  330. Sigmoid Node 13
  331. Inputs Weights
  332. Threshold 4.4783877440961675
  333. Attrib age -5.810421487129895
  334. Attrib sex=male 8.706358632357768
  335. Attrib cp=typ_angina -10.835639204931837
  336. Attrib cp=asympt 21.838682020417487
  337. Attrib cp=non_anginal -13.13851736440687
  338. Attrib cp=atyp_angina -6.827253221905512
  339. Attrib trestbps 0.8097761603726874
  340. Attrib chol -0.47022303825413037
  341. Attrib fbs=f 16.019439250701332
  342. Attrib restecg=left_vent_hyper 4.900379034625227
  343. Attrib restecg=normal -6.253911608622244
  344. Attrib restecg=st_t_wave_abnormality -3.094239467934497
  345. Attrib thalach -0.1714638120317826
  346. Attrib exang=yes 9.582399468244049
  347. Attrib oldpeak -2.2206429138576826
  348. Attrib slope=up 3.892140107302465
  349. Attrib slope=flat -2.2395140347977893
  350. Attrib slope=down -6.020737256209055
  351. Attrib ca 16.298506454352495
  352. Attrib thal=fixed_defect -20.673709337195255
  353. Attrib thal=normal 1.1422940720624384
  354. Attrib thal=reversable_defect 15.124290140135123
  355. Class <50
  356. Input
  357. Node 0
  358. Class >50_1
  359. Input
  360. Node 1
  361.  
  362.  
  363. Time taken to build model: 14.72 seconds
  364.  
  365. === Evaluation on test split ===
  366.  
  367. Time taken to test model on test split: 0 seconds
  368.  
  369. === Summary ===
  370.  
  371. Correctly Classified Instances 53 86.8852 %
  372. Incorrectly Classified Instances 8 13.1148 %
  373. Kappa statistic 0.7379
  374. Mean absolute error 0.1325
  375. Root mean squared error 0.3522
  376. Relative absolute error 26.6198 %
  377. Root relative squared error 70.4351 %
  378. Total Number of Instances 61
  379.  
  380. === Detailed Accuracy By Class ===
  381.  
  382. TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class
  383. 0,844 0,103 0,900 0,844 0,871 0,740 0,899 0,853 <50
  384. 0,897 0,156 0,839 0,897 0,867 0,740 0,899 0,923 >50_1
  385. Weighted Avg. 0,869 0,129 0,871 0,869 0,869 0,740 0,899 0,886
  386.  
  387. === Confusion Matrix ===
  388.  
  389. a b <-- classified as
  390. 27 5 | a = <50
  391. 3 26 | b = >50_1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement