
=== Run information ===

Scheme:       weka.classifiers.bayes.NaiveBayes 
Relation:     adult_trening
Instances:    34070
Attributes:   15
              AGE
              WORKCLASS
              FNLWGT
              EDUCATION
              EDUCATION-NUM
              MARITAL-STATUS
              OCCUPATION
              RELATIONSHIP
              RACE
              SEX
              CAPITAL-GAIN
              CAPITAL-LOSS
              HOURS-PER-WEEK
              NATIVE-COUNTRY
              CLASS
Test mode:    evaluate on training data

=== Classifier model (full training set) ===

Naive Bayes Classifier

                                     Class
Attribute                            <=50K        >50K
                                    (0.76)      (0.24)
=======================================================
AGE
  mean                              36.8828     44.2372
  std. dev.                         14.1106     10.5606
  weight sum                          25926        8144
  precision                               1           1

WORKCLASS
  State-gov                          1014.0       381.0
  Self-emp-not-inc                   1931.0       755.0
  Private                           18553.0      5170.0
  Federal-gov                         588.0       382.0
  Local-gov                          1529.0       641.0
  Self-emp-inc                        521.0       650.0
  Without-pay                          19.0         2.0
  Never-worked                          7.0         1.0
  [total]                           24162.0      7982.0

FNLWGT
  mean                          190245.7945 188320.5557
  std. dev.                     106028.7393  102773.289
  weight sum                          25926        8144
  precision                         65.8423     65.8423

EDUCATION
  Bachelors                          3274.0      2337.0
  HS-grad                            9264.0      1712.0
  11th                               1221.0        57.0
  Masters                             844.0      1001.0
  Some-college                       6119.0      1469.0
  Assoc-acdm                          850.0       274.0
  Assoc-voc                          1067.0       370.0
  7th-8th                             636.0        44.0
  Doctorate                           120.0       302.0
  9th                                 504.0        31.0
  Prof-school                         166.0       440.0
  5th-6th                             335.0        19.0
  10th                                904.0        64.0
  Preschool                            57.0         2.0
  1st-4th                             158.0         4.0
  12th                                423.0        34.0
  [total]                           25942.0      8160.0

EDUCATION-NUM
  mean                               9.6024     11.6159
  std. dev.                           2.441      2.3724
  weight sum                          25926        8144
  precision                               1           1

MARITAL-STATUS
  Never-married                     10728.0       508.0
  Married-civ-spouse                 8655.0      6981.0
  Divorced                           4170.0       455.0
  Separated                           994.0        73.0
  Married-AF-spouse                    19.0         9.0
  Widowed                             967.0        85.0
  Married-spouse-absent               400.0        40.0
  [total]                           25933.0      8151.0

OCCUPATION
  Adm-clerical                       3343.0       531.0
  Exec-managerial                    2185.0      2018.0
  Handlers-cleaners                  1343.0        99.0
  Prof-specialty                     2365.0      1931.0
  Sales                              2875.0      1048.0
  Craft-repair                       3289.0       984.0
  Transport-moving                   1310.0       336.0
  Other-service                      3275.0       149.0
  Farming-fishing                     947.0       119.0
  Tech-support                        695.0       286.0
  Protective-serv                     487.0       222.0
  Machine-op-inspct                  1860.0       258.0
  Priv-house-serv                     181.0         2.0
  Armed-Forces                          7.0         5.0
  [total]                           24162.0      7988.0

RELATIONSHIP
  Not-in-family                      7904.0       886.0
  Husband                            7600.0      6193.0
  Wife                                855.0       760.0
  Unmarried                          3356.0       200.0
  Own-child                          5196.0        80.0
  Other-relative                     1021.0        31.0
  [total]                           25932.0      8150.0

RACE
  White                             21791.0      7401.0
  Black                              2845.0       388.0
  Asian-Pac-Islander                  765.0       289.0
  Amer-Indian-Eskimo                  287.0        36.0
  Other                               243.0        35.0
  [total]                           25931.0      8149.0

SEX
  Male                              15865.0      6919.0
  Female                            10063.0      1227.0
  [total]                           25928.0      8146.0

CAPITAL-GAIN
  mean                             142.3828   4084.9759
  std. dev.                        954.3063  14668.3916
  weight sum                          25926        8144
  precision                        854.6923    854.6923

CAPITAL-LOSS
  mean                              53.1736    193.0773
  std. dev.                        310.7727     591.087
  weight sum                          25926        8144
  precision                         47.3478     47.3478

HOURS-PER-WEEK
  mean                               38.772     45.3615
  std. dev.                         12.4178     10.9769
  weight sum                          25926        8144
  precision                          1.0538      1.0538

NATIVE-COUNTRY
  United-States                     23115.0      7453.0
  India                                63.0        43.0
  Mexico                              628.0        31.0
  South                                73.0        16.0
  Honduras                             13.0         2.0
  Cuba                                 72.0        27.0
  Canada                               85.0        48.0
  Germany                             110.0        37.0
  Iran                                 30.0        14.0
  Philippines                         139.0        60.0
  England                              59.0        36.0
  Columbia                             58.0         3.0
  Cambodia                             15.0         8.0
  Thailand                             15.0         4.0
  Ecuador                              29.0         4.0
  Portugal                             38.0        10.0
  Puerto-Rico                         118.0        14.0
  Dominican-Republic                   69.0         5.0
  El-Salvador                         103.0         8.0
  Poland                               51.0        15.0
  Taiwan                               36.0        20.0
  Jamaica                              66.0        14.0
  Italy                                44.0        26.0
  China                                63.0        27.0
  Guatemala                            64.0         2.0
  Japan                                44.0        25.0
  Yugoslavia                           10.0         6.0
  Peru                                 34.0         4.0
  Outlying-US(Guam-USVI-etc)           17.0         1.0
  Scotland                             13.0         3.0
  Trinadad&Tobago                      22.0         3.0
  Greece                               24.0        16.0
  Nicaragua                            35.0         3.0
  Haiti                                41.0         5.0
  Vietnam                              56.0         7.0
  Ireland                              20.0         9.0
  Laos                                 13.0         3.0
  France                               14.0        13.0
  Hungary                               9.0         6.0
  Hong                                 12.0         5.0
  Holand-Netherlands                    2.0         1.0
  [total]                           25522.0      8037.0



Time taken to build model: 0.11 seconds

=== Evaluation on training set ===

Time taken to test model on training data: 0.15 seconds

=== Summary ===

Correctly Classified Instances       28469               83.5603 %
Incorrectly Classified Instances      5601               16.4397 %
Kappa statistic                          0.5007
K&B Relative Info Score                 47.5944 %
K&B Information Score                12865.8982 bits      0.3776 bits/instance
Class complexity | order 0           27032.3521 bits      0.7934 bits/instance
Class complexity | scheme            36994.234  bits      1.0858 bits/instance
Complexity improvement     (Sf)      -9961.8819 bits     -0.2924 bits/instance
Mean absolute error                      0.172 
Root mean squared error                  0.3704
Relative absolute error                 47.2878 %
Root relative squared error             86.8505 %
Total Number of Instances            34070     

=== Detailed Accuracy By Class ===

                 TP Rate  FP Rate  Precision  Recall   F-Measure  MCC      ROC Area  PRC Area  Class
                 0.935    0.482    0.861      0.935    0.896      0.511    0.895     0.965     <=50K
                 0.518    0.065    0.716      0.518    0.601      0.511    0.895     0.729     >50K
Weighted Avg.    0.836    0.382    0.826      0.836    0.826      0.511    0.895     0.909     

=== Confusion Matrix ===

     a     b   <-- classified as
 24252  1674 |     a = <=50K
  3927  4217 |     b = >50K


