=== Run information ===

Scheme:       weka.classifiers.misc.InputMappedClassifier -I -trim -W weka.classifiers.rules.JRip -- -F 3 -N 2.0 -O 2 -S 1
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:

JRIP rules:
===========

(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 12) and (CAPITAL-GAIN >= 5178) => CLASS=>50K (745.0/2.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 13) and (CAPITAL-LOSS >= 1825) and (CAPITAL-LOSS <= 1977) => CLASS=>50K (336.0/1.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 13) and (AGE >= 34) and (HOURS-PER-WEEK >= 36) and (OCCUPATION = Exec-managerial) => CLASS=>50K (729.0/158.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 13) and (HOURS-PER-WEEK >= 40) and (AGE >= 40) => CLASS=>50K (1296.0/427.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 10) and (CAPITAL-GAIN >= 5178) => CLASS=>50K (250.0/3.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 10) and (AGE >= 34) and (HOURS-PER-WEEK >= 41) and (FNLWGT >= 186819) and (OCCUPATION = Exec-managerial) => CLASS=>50K (110.0/27.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 10) and (OCCUPATION = Exec-managerial) and (AGE >= 31) => CLASS=>50K (550.0/220.0)
(MARITAL-STATUS = Married-civ-spouse) and (OCCUPATION = Prof-specialty) and (AGE >= 34) and (EDUCATION-NUM >= 13) and (HOURS-PER-WEEK >= 31) => CLASS=>50K (330.0/85.0)
(MARITAL-STATUS = Married-civ-spouse) and (AGE >= 34) and (OCCUPATION = Sales) and (EDUCATION-NUM >= 11) and (AGE <= 40) and (WORKCLASS = Private) => CLASS=>50K (95.0/33.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 10) and (AGE >= 36) and (CAPITAL-LOSS >= 1848) => CLASS=>50K (115.0/15.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 13) and (HOURS-PER-WEEK >= 40) and (AGE >= 29) and (NATIVE-COUNTRY = United-States) and (FNLWGT >= 96524) and (AGE <= 31) => CLASS=>50K (155.0/56.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 9) and (AGE >= 36) and (CAPITAL-GAIN >= 5178) => CLASS=>50K (178.0/5.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 10) and (HOURS-PER-WEEK >= 37) and (FNLWGT >= 182570) and (AGE >= 44) and (AGE <= 50) => CLASS=>50K (226.0/83.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 10) and (AGE >= 32) and (FNLWGT >= 116508) and (AGE <= 59) and (OCCUPATION = Prof-specialty) => CLASS=>50K (219.0/89.0)
(MARITAL-STATUS = Married-civ-spouse) and (AGE >= 36) and (AGE <= 53) and (EDUCATION-NUM >= 12) and (RELATIONSHIP = Wife) => CLASS=>50K (60.0/18.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 9) and (HOURS-PER-WEEK >= 40) and (AGE >= 46) and (AGE <= 57) and (CAPITAL-LOSS >= 1848) and (CAPITAL-LOSS <= 1977) => CLASS=>50K (34.0/2.0)
(MARITAL-STATUS = Married-civ-spouse) and (CAPITAL-GAIN >= 5178) => CLASS=>50K (69.0/2.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 9) and (AGE >= 35) and (HOURS-PER-WEEK >= 40) and (OCCUPATION = Tech-support) => CLASS=>50K (164.0/59.0)
(MARITAL-STATUS = Married-civ-spouse) and (EDUCATION-NUM >= 9) and (AGE >= 35) and (HOURS-PER-WEEK >= 40) and (OCCUPATION = Exec-managerial) => CLASS=>50K (280.0/132.0)
 => CLASS=<=50K (28129.0/3620.0)

Number of Rules : 20

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

=== Evaluation on test set ===

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

=== Summary ===

Correctly Classified Instances       12482               84.4977 %
Incorrectly Classified Instances      2290               15.5023 %
Kappa statistic                          0.5308
K&B Relative Info Score                 34.436  %
K&B Information Score                 4042.9888 bits      0.2737 bits/instance
Class complexity | order 0           11740.5789 bits      0.7948 bits/instance
Class complexity | scheme             8692.2758 bits      0.5884 bits/instance
Complexity improvement     (Sf)       3048.303  bits      0.2064 bits/instance
Mean absolute error                      0.2444
Root mean squared error                  0.3524
Relative absolute error                 67.0972 %
Root relative squared error             82.5227 %
Total Number of Instances            14772     

=== Detailed Accuracy By Class ===

                 TP Rate  FP Rate  Precision  Recall   F-Measure  MCC      ROC Area  PRC Area  Class
                 0.941    0.460    0.866      0.941    0.902      0.542    0.748     0.864     <=50K
                 0.540    0.059    0.744      0.540    0.625      0.542    0.748     0.592     >50K
Weighted Avg.    0.845    0.364    0.837      0.845    0.836      0.542    0.748     0.799     

=== Confusion Matrix ===

     a     b   <-- classified as
 10570   659 |     a = <=50K
  1631  1912 |     b = >50K


