=== Run information ===

Scheme:       weka.classifiers.misc.InputMappedClassifier -I -trim -W weka.classifiers.trees.JCHAIDStar -- -CH-A 0.05 -CH-M 0.05 -CH-S -CH-N 3 -O -C 0.25 -M 2
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:

JCHAIDStar pruned tree
----------------------
List of attributes treated as ordinal:

----------------------------------------

NATIVE-COUNTRY = United-States | Cuba | Germany | Portugal | Poland | Hong | ?
|   HOURS-PER-WEEK <= 43
|   |   HOURS-PER-WEEK <= 35
|   |   |   HOURS-PER-WEEK <= 30
|   |   |   |   CAPITAL-LOSS <= 1816
|   |   |   |   |   CAPITAL-GAIN <= 5060
|   |   |   |   |   |   RELATIONSHIP = Not-in-family | Unmarried | Other-relative: <=50K (1930.0/23.0)
|   |   |   |   |   |   RELATIONSHIP = Husband: <=50K (815.0/116.0)
|   |   |   |   |   |   RELATIONSHIP = Wife
|   |   |   |   |   |   |   OCCUPATION = Adm-clerical | Handlers-cleaners | Tech-support: <=50K (80.0/26.0)
|   |   |   |   |   |   |   OCCUPATION = Exec-managerial | Prof-specialty | Craft-repair | Protective-serv
|   |   |   |   |   |   |   |   EDUCATION-NUM <= 11
|   |   |   |   |   |   |   |   |   OCCUPATION = Exec-managerial | Protective-serv
|   |   |   |   |   |   |   |   |   |   EDUCATION-NUM <= 9: >50K (8.0)
|   |   |   |   |   |   |   |   |   |   EDUCATION-NUM > 9: <=50K (9.0/3.0)
|   |   |   |   |   |   |   |   |   OCCUPATION = Prof-specialty | Craft-repair: <=50K (12.0/1.0)
|   |   |   |   |   |   |   |   EDUCATION-NUM > 11: >50K (55.0/14.0)
|   |   |   |   |   |   |   OCCUPATION = Sales | Transport-moving | Other-service | Farming-fishing | Machine-op-inspct | Priv-house-serv | ?: <=50K (171.0/29.0)
|   |   |   |   |   |   RELATIONSHIP = Own-child: <=50K (1947.0/2.0)
|   |   |   |   |   CAPITAL-GAIN > 5060
|   |   |   |   |   |   OCCUPATION = Adm-clerical | Exec-managerial | Prof-specialty | Sales | Craft-repair | Transport-moving | Farming-fishing | Tech-support | ?: >50K (70.0/2.0)
|   |   |   |   |   |   OCCUPATION = Handlers-cleaners | Other-service | Protective-serv: <=50K (10.0/4.0)
|   |   |   |   CAPITAL-LOSS > 1816
|   |   |   |   |   MARITAL-STATUS = Never-married | Widowed: <=50K (10.0/1.0)
|   |   |   |   |   MARITAL-STATUS = Married-civ-spouse | Divorced
|   |   |   |   |   |   EDUCATION-NUM <= 9
|   |   |   |   |   |   |   CAPITAL-LOSS <= 2002: >50K (6.0)
|   |   |   |   |   |   |   CAPITAL-LOSS > 2002: <=50K (7.0/1.0)
|   |   |   |   |   |   EDUCATION-NUM > 9: >50K (31.0/3.0)
|   |   |   HOURS-PER-WEEK > 30
|   |   |   |   CAPITAL-LOSS <= 1876
|   |   |   |   |   CAPITAL-GAIN <= 6849
|   |   |   |   |   |   RELATIONSHIP = Not-in-family | Unmarried | Other-relative: <=50K (743.0/26.0)
|   |   |   |   |   |   RELATIONSHIP = Wife
|   |   |   |   |   |   |   EDUCATION-NUM <= 11: <=50K (63.0/13.0)
|   |   |   |   |   |   |   EDUCATION-NUM > 11: >50K (30.0/9.0)
|   |   |   |   |   |   RELATIONSHIP = Own-child: <=50K (345.0/1.0)
|   |   |   |   |   CAPITAL-GAIN > 6849: >50K (46.0/1.0)
|   |   |   |   CAPITAL-LOSS > 1876
|   |   |   |   |   CAPITAL-LOSS <= 1977
|   |   |   |   |   |   EDUCATION-NUM <= 9
|   |   |   |   |   |   |   SEX = Male: <=50K (2.0)
|   |   |   |   |   |   |   SEX = Female: >50K (2.0)
|   |   |   |   |   |   EDUCATION-NUM > 9: >50K (14.0)
|   |   |   |   |   CAPITAL-LOSS > 1977
|   |   |   |   |   |   AGE <= 64: <=50K (15.0)
|   |   |   |   |   |   AGE > 64: >50K (5.0/1.0)
|   |   HOURS-PER-WEEK > 35
|   |   |   CAPITAL-LOSS <= 1816
|   |   |   |   CAPITAL-LOSS <= 1564
|   |   |   |   |   CAPITAL-LOSS <= 1429
|   |   |   |   |   |   CAPITAL-GAIN <= 5060
|   |   |   |   |   |   |   CAPITAL-GAIN <= 2993
|   |   |   |   |   |   |   |   CAPITAL-GAIN <= 0
|   |   |   |   |   |   |   |   |   RELATIONSHIP = Not-in-family | Unmarried: <=50K (5592.0/221.0)
|   |   |   |   |   |   |   |   |   RELATIONSHIP = Husband | Wife
|   |   |   |   |   |   |   |   |   |   OCCUPATION = Adm-clerical | Sales | Protective-serv
|   |   |   |   |   |   |   |   |   |   |   EDUCATION-NUM <= 12: <=50K (921.0/336.0)
|   |   |   |   |   |   |   |   |   |   |   EDUCATION-NUM > 12: >50K (275.0/102.0)
|   |   |   |   |   |   |   |   |   |   OCCUPATION = Exec-managerial | Tech-support
|   |   |   |   |   |   |   |   |   |   |   CAPITAL-LOSS <= 625
|   |   |   |   |   |   |   |   |   |   |   |   AGE <= 32: <=50K (163.0/57.0)
|   |   |   |   |   |   |   |   |   |   |   |   AGE > 32: >50K (736.0/268.0)
|   |   |   |   |   |   |   |   |   |   |   CAPITAL-LOSS > 625: <=50K (3.0)
|   |   |   |   |   |   |   |   |   |   OCCUPATION = Handlers-cleaners | Other-service | Farming-fishing: <=50K (689.0/97.0)
|   |   |   |   |   |   |   |   |   |   OCCUPATION = Prof-specialty | Armed-Forces
|   |   |   |   |   |   |   |   |   |   |   EDUCATION-NUM <= 11: <=50K (162.0/76.0)
|   |   |   |   |   |   |   |   |   |   |   EDUCATION-NUM > 11
|   |   |   |   |   |   |   |   |   |   |   |   AGE <= 27: <=50K (22.0/6.0)
|   |   |   |   |   |   |   |   |   |   |   |   AGE > 27: >50K (461.0/113.0)
|   |   |   |   |   |   |   |   |   |   OCCUPATION = Craft-repair: <=50K (1318.0/379.0)
|   |   |   |   |   |   |   |   |   |   OCCUPATION = Transport-moving | Machine-op-inspct | ?: <=50K (1140.0/234.0)
|   |   |   |   |   |   |   |   |   RELATIONSHIP = Own-child | Other-relative: <=50K (2516.0/28.0)
|   |   |   |   |   |   |   |   CAPITAL-GAIN > 0: <=50K (204.0)
|   |   |   |   |   |   |   CAPITAL-GAIN > 2993
|   |   |   |   |   |   |   |   CAPITAL-GAIN <= 3103
|   |   |   |   |   |   |   |   |   AGE <= 25: <=50K (3.0/1.0)
|   |   |   |   |   |   |   |   |   AGE > 25: >50K (54.0/1.0)
|   |   |   |   |   |   |   |   CAPITAL-GAIN > 3103
|   |   |   |   |   |   |   |   |   CAPITAL-GAIN <= 4101: <=50K (141.0)
|   |   |   |   |   |   |   |   |   CAPITAL-GAIN > 4101
|   |   |   |   |   |   |   |   |   |   CAPITAL-GAIN <= 4386
|   |   |   |   |   |   |   |   |   |   |   NATIVE-COUNTRY = United-States: >50K (34.0/1.0)
|   |   |   |   |   |   |   |   |   |   |   NATIVE-COUNTRY = ?: <=50K (1.0)
|   |   |   |   |   |   |   |   |   |   CAPITAL-GAIN > 4386
|   |   |   |   |   |   |   |   |   |   |   CAPITAL-GAIN <= 4687: <=50K (35.0)
|   |   |   |   |   |   |   |   |   |   |   CAPITAL-GAIN > 4687
|   |   |   |   |   |   |   |   |   |   |   |   CAPITAL-GAIN <= 4787: >50K (11.0)
|   |   |   |   |   |   |   |   |   |   |   |   CAPITAL-GAIN > 4787: <=50K (51.0/2.0)
|   |   |   |   |   |   CAPITAL-GAIN > 5060
|   |   |   |   |   |   |   CAPITAL-GAIN <= 6849
|   |   |   |   |   |   |   |   CAPITAL-GAIN <= 5178: >50K (58.0)
|   |   |   |   |   |   |   |   CAPITAL-GAIN > 5178
|   |   |   |   |   |   |   |   |   RELATIONSHIP = Not-in-family | Unmarried | Own-child: <=50K (33.0)
|   |   |   |   |   |   |   |   |   RELATIONSHIP = Husband: >50K (9.0)
|   |   |   |   |   |   |   CAPITAL-GAIN > 6849: >50K (529.0/7.0)
|   |   |   |   |   CAPITAL-LOSS > 1429
|   |   |   |   |   |   CAPITAL-LOSS <= 1510
|   |   |   |   |   |   |   CAPITAL-LOSS <= 1485: >50K (33.0/12.0)
|   |   |   |   |   |   |   CAPITAL-LOSS > 1485: <=50K (9.0)
|   |   |   |   |   |   CAPITAL-LOSS > 1510: >50K (10.0)
|   |   |   |   CAPITAL-LOSS > 1564: <=50K (152.0/1.0)
|   |   |   CAPITAL-LOSS > 1816
|   |   |   |   CAPITAL-LOSS <= 1977
|   |   |   |   |   RELATIONSHIP = Not-in-family | Own-child: <=50K (23.0/2.0)
|   |   |   |   |   RELATIONSHIP = Husband | Wife
|   |   |   |   |   |   EDUCATION-NUM <= 5: <=50K (3.0/1.0)
|   |   |   |   |   |   EDUCATION-NUM > 5: >50K (236.0/6.0)
|   |   |   |   CAPITAL-LOSS > 1977
|   |   |   |   |   CAPITAL-LOSS <= 2206
|   |   |   |   |   |   AGE <= 64: <=50K (81.0)
|   |   |   |   |   |   AGE > 64: >50K (5.0/2.0)
|   |   |   |   |   CAPITAL-LOSS > 2206
|   |   |   |   |   |   SEX = Male: >50K (45.0/12.0)
|   |   |   |   |   |   SEX = Female: <=50K (24.0/11.0)
|   HOURS-PER-WEEK > 43
|   |   CAPITAL-LOSS <= 1876
|   |   |   CAPITAL-GAIN <= 5060
|   |   |   |   RELATIONSHIP = Not-in-family | Unmarried
|   |   |   |   |   EDUCATION-NUM <= 9: <=50K (963.0/54.0)
|   |   |   |   |   EDUCATION-NUM > 9: <=50K (1733.0/345.0)
|   |   |   |   RELATIONSHIP = Husband
|   |   |   |   |   OCCUPATION = Adm-clerical | Sales | Tech-support | Protective-serv
|   |   |   |   |   |   EDUCATION-NUM <= 12
|   |   |   |   |   |   |   AGE <= 32: <=50K (138.0/35.0)
|   |   |   |   |   |   |   AGE > 32
|   |   |   |   |   |   |   |   EDUCATION-NUM <= 9
|   |   |   |   |   |   |   |   |   WORKCLASS = State-gov | Private | Self-emp-inc: <=50K (207.0/87.0)
|   |   |   |   |   |   |   |   |   WORKCLASS = Self-emp-not-inc: <=50K (45.0/7.0)
|   |   |   |   |   |   |   |   |   WORKCLASS = Federal-gov | Local-gov: >50K (26.0/11.0)
|   |   |   |   |   |   |   |   EDUCATION-NUM > 9: >50K (298.0/142.0)
|   |   |   |   |   |   EDUCATION-NUM > 12
|   |   |   |   |   |   |   CAPITAL-GAIN <= 1111: >50K (318.0/93.0)
|   |   |   |   |   |   |   CAPITAL-GAIN > 1111: <=50K (13.0/4.0)
|   |   |   |   |   OCCUPATION = Exec-managerial | Prof-specialty | Armed-Forces
|   |   |   |   |   |   EDUCATION-NUM <= 12
|   |   |   |   |   |   |   WORKCLASS = State-gov | Private | Federal-gov | Self-emp-inc
|   |   |   |   |   |   |   |   AGE <= 33: <=50K (102.0/37.0)
|   |   |   |   |   |   |   |   AGE > 33
|   |   |   |   |   |   |   |   |   EDUCATION-NUM <= 8
|   |   |   |   |   |   |   |   |   |   EDUCATION-NUM <= 3: >50K (2.0)
|   |   |   |   |   |   |   |   |   |   EDUCATION-NUM > 3: <=50K (16.0/2.0)
|   |   |   |   |   |   |   |   |   EDUCATION-NUM > 8: >50K (333.0/113.0)
|   |   |   |   |   |   |   WORKCLASS = Self-emp-not-inc | Local-gov: <=50K (111.0/38.0)
|   |   |   |   |   |   EDUCATION-NUM > 12
|   |   |   |   |   |   |   AGE <= 28: <=50K (38.0/14.0)
|   |   |   |   |   |   |   AGE > 28
|   |   |   |   |   |   |   |   CAPITAL-GAIN <= 4687: >50K (880.0/199.0)
|   |   |   |   |   |   |   |   CAPITAL-GAIN > 4687: <=50K (6.0)
|   |   |   |   |   OCCUPATION = Handlers-cleaners | Other-service | Farming-fishing: <=50K (468.0/89.0)
|   |   |   |   |   OCCUPATION = Craft-repair | ?
|   |   |   |   |   |   EDUCATION-NUM <= 9: <=50K (432.0/127.0)
|   |   |   |   |   |   EDUCATION-NUM > 9
|   |   |   |   |   |   |   EDUCATION-NUM <= 12: <=50K (262.0/108.0)
|   |   |   |   |   |   |   EDUCATION-NUM > 12
|   |   |   |   |   |   |   |   CAPITAL-GAIN <= 1409: >50K (80.0/31.0)
|   |   |   |   |   |   |   |   CAPITAL-GAIN > 1409: <=50K (2.0)
|   |   |   |   |   OCCUPATION = Transport-moving | Machine-op-inspct: <=50K (588.0/188.0)
|   |   |   |   RELATIONSHIP = Own-child | Other-relative: <=50K (566.0/22.0)
|   |   |   CAPITAL-GAIN > 5060
|   |   |   |   CAPITAL-GAIN <= 6849
|   |   |   |   |   CAPITAL-GAIN <= 5178: >50K (34.0)
|   |   |   |   |   CAPITAL-GAIN > 5178
|   |   |   |   |   |   AGE <= 62: <=50K (19.0)
|   |   |   |   |   |   AGE > 62: >50K (5.0)
|   |   |   |   CAPITAL-GAIN > 6849: >50K (726.0/4.0)
|   |   CAPITAL-LOSS > 1876
|   |   |   CAPITAL-LOSS <= 1977
|   |   |   |   RELATIONSHIP = Not-in-family | Unmarried | Own-child: <=50K (4.0)
|   |   |   |   RELATIONSHIP = Husband | Wife: >50K (263.0/5.0)
|   |   |   CAPITAL-LOSS > 1977
|   |   |   |   CAPITAL-LOSS <= 2377
|   |   |   |   |   AGE <= 66
|   |   |   |   |   |   CAPITAL-LOSS <= 2206: <=50K (45.0)
|   |   |   |   |   |   CAPITAL-LOSS > 2206
|   |   |   |   |   |   |   CAPITAL-LOSS <= 2282: >50K (11.0/4.0)
|   |   |   |   |   |   |   CAPITAL-LOSS > 2282: <=50K (12.0)
|   |   |   |   |   AGE > 66: >50K (4.0)
|   |   |   |   CAPITAL-LOSS > 2377
|   |   |   |   |   EDUCATION = Bachelors | Masters | Some-college | Doctorate | Prof-school | 10th: >50K (52.0)
|   |   |   |   |   EDUCATION = HS-grad | 5th-6th: <=50K (5.0/2.0)
NATIVE-COUNTRY = India | Canada | England | Cambodia | Taiwan | Italy | Japan | Yugoslavia | Greece | France | Hungary
|   CAPITAL-GAIN <= 5060
|   |   RELATIONSHIP = Not-in-family | Unmarried: <=50K (203.0/33.0)
|   |   RELATIONSHIP = Husband | Wife
|   |   |   OCCUPATION = Adm-clerical | Exec-managerial | Prof-specialty | Sales | Tech-support
|   |   |   |   AGE <= 31: <=50K (31.0/12.0)
|   |   |   |   AGE > 31: >50K (171.0/51.0)
|   |   |   OCCUPATION = Handlers-cleaners | Craft-repair | Transport-moving | Other-service | Farming-fishing | Protective-serv | Machine-op-inspct | ?: <=50K (103.0/25.0)
|   |   RELATIONSHIP = Own-child | Other-relative: <=50K (74.0/1.0)
|   CAPITAL-GAIN > 5060: >50K (46.0/1.0)
NATIVE-COUNTRY = Mexico | Columbia | Dominican-Republic | El-Salvador | Guatemala | Outlying-US(Guam-USVI-etc) | Nicaragua | Holand-Netherlands
|   CAPITAL-GAIN <= 5013: <=50K (1001.0/34.0)
|   CAPITAL-GAIN > 5013: >50K (13.0/1.0)
NATIVE-COUNTRY = South | Thailand | Jamaica | Scotland | Laos
|   CAPITAL-GAIN <= 4787: <=50K (202.0/28.0)
|   CAPITAL-GAIN > 4787: >50K (8.0/1.0)
NATIVE-COUNTRY = Honduras | Ecuador | Puerto-Rico | Peru | Trinadad&Tobago | Haiti | Vietnam
|   CAPITAL-GAIN <= 5060
|   |   RELATIONSHIP = Not-in-family | Unmarried | Own-child | Other-relative: <=50K (201.0/2.0)
|   |   RELATIONSHIP = Husband | Wife
|   |   |   OCCUPATION = Adm-clerical | Craft-repair | Transport-moving | Machine-op-inspct
|   |   |   |   WORKCLASS = State-gov | Self-emp-not-inc | Private | Self-emp-inc: <=50K (57.0/3.0)
|   |   |   |   WORKCLASS = Federal-gov | Local-gov: >50K (5.0/1.0)
|   |   |   OCCUPATION = Exec-managerial | Prof-specialty | Tech-support: >50K (26.0/11.0)
|   |   |   OCCUPATION = Handlers-cleaners | Sales | Other-service | Farming-fishing | Protective-serv | ?: <=50K (41.0)
|   CAPITAL-GAIN > 5060: >50K (8.0)
NATIVE-COUNTRY = Iran | Philippines | China | Ireland
|   CAPITAL-GAIN <= 4865
|   |   RELATIONSHIP = Not-in-family | Unmarried | Own-child | Other-relative: <=50K (165.0/8.0)
|   |   RELATIONSHIP = Husband | Wife
|   |   |   EDUCATION-NUM <= 9
|   |   |   |   HOURS-PER-WEEK <= 53: <=50K (44.0/7.0)
|   |   |   |   HOURS-PER-WEEK > 53: >50K (6.0/2.0)
|   |   |   EDUCATION-NUM > 9
|   |   |   |   HOURS-PER-WEEK <= 28: <=50K (8.0)
|   |   |   |   HOURS-PER-WEEK > 28: >50K (116.0/44.0)
|   CAPITAL-GAIN > 4865: >50K (15.0)

Number of Leaves  : 	120

Size of the tree : 	219

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: 6.32 seconds

=== Evaluation on test set ===

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

=== Summary ===

Correctly Classified Instances       12488               84.5383 %
Incorrectly Classified Instances      2030               13.7422 %
Kappa statistic                          0.5813
K&B Relative Info Score                 44.8211 %
K&B Information Score                 5057.7737 bits      0.3484 bits/instance
Class complexity | order 0           11481.775  bits      0.7773 bits/instance
Class complexity | scheme            21759.2871 bits      1.4988 bits/instance
Complexity improvement     (Sf)     -10277.5121 bits     -0.7079 bits/instance
Mean absolute error                      0.1944
Root mean squared error                  0.3184
Relative absolute error                 54.4937 %
Root relative squared error             75.4824 %
UnClassified Instances                 254                1.7195 %
Total Number of Instances            14772     

=== Detailed Accuracy By Class ===

                 TP Rate  FP Rate  Precision  Recall   F-Measure  MCC      ROC Area  PRC Area  Class
                 0.944    0.407    0.881      0.944    0.911      0.589    0.884     0.954     <=50K
                 0.593    0.056    0.766      0.593    0.668      0.589    0.872     0.749     >50K
Weighted Avg.    0.860    0.324    0.854      0.860    0.854      0.589    0.881     0.905     

=== Confusion Matrix ===

     a     b   <-- classified as
 10445   625 |     a = <=50K
  1405  2043 |     b = >50K


