Advertisement
Guest User

Untitled

a guest
May 30th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 KB | None | 0 0
  1. === Run information ===
  2.  
  3. Scheme: weka.classifiers.bayes.NaiveBayes
  4. Relation: bank_CSV
  5. Instances: 4119
  6. Attributes: 21
  7. age
  8. job
  9. marital
  10. education
  11. default
  12. housing
  13. loan
  14. contact
  15. month
  16. day_of_week
  17. duration
  18. campaign
  19. pdays
  20. previous
  21. poutcome
  22. emp.var.rate
  23. cons.price.idx
  24. cons.conf.idx
  25. euribor3m
  26. nr.employed
  27. y
  28. Test mode: evaluate on training data
  29.  
  30. === Classifier model (full training set) ===
  31.  
  32. Naive Bayes Classifier
  33.  
  34. Class
  35. Attribute no yes
  36. (0.89) (0.11)
  37. ============================================
  38. age
  39. mean 39.8768 41.8645
  40. std. dev. 9.9207 13.3244
  41. weight sum 3668 451
  42. precision 1.0606 1.0606
  43.  
  44. job
  45. blue-collar 824.0 62.0
  46. services 359.0 36.0
  47. admin. 880.0 134.0
  48. entrepreneur 141.0 9.0
  49. self-employed 147.0 14.0
  50. technician 612.0 81.0
  51. management 295.0 31.0
  52. student 64.0 20.0
  53. retired 129.0 39.0
  54. housemaid 100.0 12.0
  55. unemployed 93.0 20.0
  56. unknown 36.0 5.0
  57. [total] 3680.0 463.0
  58.  
  59. marital
  60. married 2258.0 253.0
  61. single 999.0 156.0
  62. divorced 404.0 44.0
  63. unknown 11.0 2.0
  64. [total] 3672.0 455.0
  65.  
  66. education
  67. basic.9y 532.0 44.0
  68. high.school 825.0 98.0
  69. university.degree 1100.0 166.0
  70. professional.course 471.0 66.0
  71. basic.6y 212.0 18.0
  72. basic.4y 392.0 39.0
  73. unknown 142.0 27.0
  74. illiterate 2.0 1.0
  75. [total] 3676.0 459.0
  76.  
  77. default
  78. no 2914.0 403.0
  79. unknown 755.0 50.0
  80. yes 2.0 1.0
  81. [total] 3671.0 454.0
  82.  
  83. housing
  84. yes 1936.0 241.0
  85. no 1638.0 203.0
  86. unknown 97.0 10.0
  87. [total] 3671.0 454.0
  88.  
  89. loan
  90. no 2976.0 375.0
  91. unknown 97.0 10.0
  92. yes 598.0 69.0
  93. [total] 3671.0 454.0
  94.  
  95. contact
  96. cellular 2278.0 376.0
  97. telephone 1392.0 77.0
  98. [total] 3670.0 453.0
  99.  
  100. month
  101. may 1289.0 91.0
  102. jun 463.0 69.0
  103. nov 404.0 44.0
  104. sep 39.0 27.0
  105. jul 653.0 60.0
  106. aug 573.0 65.0
  107. mar 21.0 29.0
  108. oct 45.0 26.0
  109. apr 180.0 37.0
  110. dec 11.0 13.0
  111. [total] 3678.0 461.0
  112.  
  113. day_of_week
  114. fri 686.0 84.0
  115. wed 713.0 84.0
  116. mon 758.0 99.0
  117. thu 765.0 97.0
  118. tue 751.0 92.0
  119. [total] 3673.0 456.0
  120.  
  121. duration
  122. mean 219.4085 560.7538
  123. std. dev. 198.2301 411.0709
  124. weight sum 3668 451
  125. precision 4.4051 4.4051
  126.  
  127. campaign
  128. mean 2.6449 2.0355
  129. std. dev. 2.6393 1.3291
  130. weight sum 3668 451
  131. precision 1.4167 1.4167
  132.  
  133. pdays
  134. mean 982.6587 777.4922
  135. std. dev. 126.72 414.9947
  136. weight sum 3668 451
  137. precision 49.95 49.95
  138.  
  139. previous
  140. mean 0.1418 0.5854
  141. std. dev. 0.4294 1.0027
  142. weight sum 3668 451
  143. precision 1 1
  144.  
  145. poutcome
  146. nonexistent 3232.0 293.0
  147. failure 388.0 68.0
  148. success 51.0 93.0
  149. [total] 3671.0 454.0
  150.  
  151. emp.var.rate
  152. mean 0.3801 -1.0241
  153. std. dev. 1.4629 1.6285
  154. weight sum 3668 451
  155. precision 0.5333 0.5333
  156.  
  157. cons.price.idx
  158. mean 93.5952 93.4199
  159. std. dev. 0.5598 0.6844
  160. weight sum 3668 451
  161. precision 0.1026 0.1026
  162.  
  163. cons.conf.idx
  164. mean -40.6347 -39.781
  165. std. dev. 4.3473 5.9146
  166. weight sum 3668 451
  167. precision 0.956 0.956
  168.  
  169. euribor3m
  170. mean 3.8022 2.1457
  171. std. dev. 1.6398 1.7668
  172. weight sum 3668 451
  173. precision 0.0189 0.0189
  174.  
  175. nr.employed
  176. mean 5178.2437 5096.8153
  177. std. dev. 66.4257 90.7356
  178. weight sum 3668 451
  179. precision 26.45 26.45
  180.  
  181.  
  182.  
  183. Time taken to build model: 0.02 seconds
  184.  
  185. === Evaluation on training set ===
  186.  
  187. Time taken to test model on training data: 0.07 seconds
  188.  
  189. === Summary ===
  190.  
  191. Correctly Classified Instances 3608 87.5941 %
  192. Incorrectly Classified Instances 511 12.4059 %
  193. Kappa statistic 0.4545
  194. Mean absolute error 0.1348
  195. Root mean squared error 0.3277
  196. Relative absolute error 69.0844 %
  197. Root relative squared error 104.955 %
  198. Total Number of Instances 4119
  199.  
  200. === Detailed Accuracy By Class ===
  201.  
  202. TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class
  203. 0.907 0.377 0.951 0.907 0.929 0.462 0.875 0.979 no
  204. 0.623 0.093 0.452 0.623 0.524 0.462 0.875 0.490 yes
  205. Weighted Avg. 0.876 0.346 0.897 0.876 0.884 0.462 0.875 0.926
  206.  
  207. === Confusion Matrix ===
  208.  
  209. a b <-- classified as
  210. 3327 341 | a = no
  211. 170 281 | b = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement