=== Run information ===

Scheme:       weka.classifiers.misc.InputMappedClassifier -I -trim -W 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:    user supplied test set:  size unknown (reading incrementally)

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

InputMappedClassifier:

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


Attribute mappings:

Model attributes          	    Incoming attributes
--------------------------	    ----------------
(numeric) AGE             	--> 1 (numeric) AGE
(nominal) WORKCLASS       	--> 2 (nominal) WORKCLASS
(numeric) FNLWGT          	--> 3 (numeric) FNLWGT
(nominal) EDUCATION       	--> 4 (nominal) EDUCATION
(numeric) EDUCATION-NUM   	--> 5 (numeric) EDUCATION-NUM
(nominal) MARITAL-STATUS  	--> 6 (nominal) MARITAL-STATUS
(nominal) OCCUPATION      	--> 7 (nominal) OCCUPATION
(nominal) RELATIONSHIP    	--> 8 (nominal) RELATIONSHIP
(nominal) RACE            	--> 9 (nominal) RACE
(nominal) SEX             	--> 10 (nominal) SEX
(numeric) CAPITAL-GAIN    	--> 11 (numeric) CAPITAL-GAIN
(numeric) CAPITAL-LOSS    	--> 12 (numeric) CAPITAL-LOSS
(numeric) HOURS-PER-WEEK  	--> 13 (numeric) HOURS-PER-WEEK
(nominal) NATIVE-COUNTRY  	--> 14 (nominal) NATIVE-COUNTRY
(nominal) CLASS           	--> 15 (nominal) CLASS


Time taken to build model: 0.1 seconds

=== Evaluation on test set ===

Time taken to test model on supplied test set: 0.09 seconds

=== Summary ===

Correctly Classified Instances       12237               82.8392 %
Incorrectly Classified Instances      2535               17.1608 %
Kappa statistic                          0.4818
K&B Relative Info Score                 45.5822 %
K&B Information Score                 5351.611  bits      0.3623 bits/instance
Class complexity | order 0           11740.5789 bits      0.7948 bits/instance
Class complexity | scheme            16680.3779 bits      1.1292 bits/instance
Complexity improvement     (Sf)      -4939.7991 bits     -0.3344 bits/instance
Mean absolute error                      0.1787
Root mean squared error                  0.3794
Relative absolute error                 49.0557 %
Root relative squared error             88.8579 %
Total Number of Instances            14772     

=== Detailed Accuracy By Class ===

                 TP Rate  FP Rate  Precision  Recall   F-Measure  MCC      ROC Area  PRC Area  Class
                 0.929    0.492    0.857      0.929    0.892      0.491    0.885     0.961     <=50K
                 0.508    0.071    0.694      0.508    0.587      0.491    0.885     0.713     >50K
Weighted Avg.    0.828    0.391    0.818      0.828    0.819      0.491    0.885     0.902     

=== Confusion Matrix ===

     a     b   <-- classified as
 10437   792 |     a = <=50K
  1743  1800 |     b = >50K


