|
Other Experiments
Options: -M 25
J48 pruned tree
------------------
capital-gain <= 6849
| marital-status = Married-civ-spouse
| | capital-loss <= 1762
| | | education-num <= 12
| | | | education-num <= 8: <=50K (1632.0/163.0)
| | | | education-num > 8
| | | | | capital-gain <= 5060
| | | | | | hours-per-week <= 34: <=50K (777.0/111.0)
| | | | | | hours-per-week > 34
| | | | | | | age <= 35: <=50K (2505.0/532.0)
| | | | | | | age > 35
| | | | | | | | capital-loss <= 1504
| | | | | | | | | occupation = Tech-support: >50K (153.83/58.17)
| | | | | | | | | occupation = Craft-repair
| | | | | | | | | | workclass = Private
| | | | | | | | | | | education-num <= 9: <=50K (534.97/187.65)
| | | | | | | | | | | education-num > 9
| | | | | | | | | | | | age <= 48
| | | | | | | | | | | | | hours-per-week <= 47: <=50K (180.32/63.75)
| | | | | | | | | | | | | hours-per-week > 47: >50K (54.38/20.19)
| | | | | | | | | | | | age > 48: >50K (107.84/45.01)
| | | | | | | | | | workclass = Self-emp-not-inc: <=50K (132.09/32.17)
| | | | | | | | | | workclass = Self-emp-inc: <=50K (38.8/17.65)
| | | | | | | | | | workclass = Federal-gov: >50K (34.19/16.76)
| | | | | | | | | | workclass = Local-gov: <=50K (53.57/20.25)
| | | | | | | | | | workclass = State-gov: <=50K (24.92/7.0)
| | | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | | occupation = Other-service: <=50K (218.09/39.09)
| | | | | | | | | occupation = Sales
| | | | | | | | | | workclass = Private
| | | | | | | | | | | education-num <= 9: <=50K (183.67/69.45)
| | | | | | | | | | | education-num > 9
| | | | | | | | | | | | education-num <= 10: >50K (157.37/70.39)
| | | | | | | | | | | | education-num > 10: <=50K (38.9/17.65)
| | | | | | | | | | workclass = Self-emp-not-inc: <=50K (123.23/37.64)
| | | | | | | | | | workclass = Self-emp-inc: >50K (90.29/40.68)
| | | | | | | | | | workclass = Federal-gov: >50K (1.28/0.19)
| | | | | | | | | | workclass = Local-gov: <=50K (1.28/0.1)
| | | | | | | | | | workclass = State-gov: <=50K (2.57/1.19)
| | | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | | occupation = Exec-managerial
| | | | | | | | | | workclass = Private: >50K (427.39/184.86)
| | | | | | | | | | workclass = Self-emp-not-inc: <=50K (121.58/37.73)
| | | | | | | | | | workclass = Self-emp-inc: >50K (125.82/52.0)
| | | | | | | | | | workclass = Federal-gov: >50K (27.23/10.44)
| | | | | | | | | | workclass = Local-gov: >50K (57.93/28.19)
| | | | | | | | | | workclass = State-gov: <=50K (22.05/7.39)
| | | | | | | | | | workclass = Without-pay: >50K (0.0)
| | | | | | | | | | workclass = Never-worked: >50K (0.0)
| | | | | | | | | occupation = Prof-specialty: >50K (209.43/96.23)
| | | | | | | | | occupation = Handlers-cleaners: <=50K (129.17/30.43)
| | | | | | | | | occupation = Machine-op-inspct: <=50K (399.29/130.21)
| | | | | | | | | occupation = Adm-clerical
| | | | | | | | | | workclass = Private
| | | | | | | | | | | sex = Female
| | | | | | | | | | | | education = Bachelors: >50K (0.0)
| | | | | | | | | | | | education = Some-college: >50K (35.21/14.1)
| | | | | | | | | | | | education = 11th: >50K (0.0)
| | | | | | | | | | | | education = HS-grad
| | | | | | | | | | | | | age <= 43: >50K (29.1/10.05)
| | | | | | | | | | | | | age > 43: <=50K (27.31/8.1)
| | | | | | | | | | | | education = Prof-school: >50K (0.0)
| | | | | | | | | | | | education = Assoc-acdm: >50K (2.0)
| | | | | | | | | | | | education = Assoc-voc: >50K (3.16/1.05)
| | | | | | | | | | | | education = 9th: >50K (0.0)
| | | | | | | | | | | | education = 7th-8th: >50K (0.0)
| | | | | | | | | | | | education = 12th: >50K (0.0)
| | | | | | | | | | | | education = Masters: >50K (0.0)
| | | | | | | | | | | | education = 1st-4th: >50K (0.0)
| | | | | | | | | | | | education = 10th: >50K (0.0)
| | | | | | | | | | | | education = Doctorate: >50K (0.0)
| | | | | | | | | | | | education = 5th-6th: >50K (0.0)
| | | | | | | | | | | | education = Preschool: >50K (0.0)
| | | | | | | | | | | sex = Male
| | | | | | | | | | | | hours-per-week <= 43: <=50K (111.09/32.42)
| | | | | | | | | | | | hours-per-week > 43: >50K (36.78/14.94)
| | | | | | | | | | workclass = Self-emp-not-inc: >50K (5.24/1.82)
| | | | | | | | | | workclass = Self-emp-inc: >50K (5.66/2.09)
| | | | | | | | | | workclass = Federal-gov: >50K (118.2/53.83)
| | | | | | | | | | workclass = Local-gov: <=50K (37.37/14.55)
| | | | | | | | | | workclass = State-gov: <=50K (28.28/9.83)
| | | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | | occupation = Farming-fishing: <=50K (231.43/41.55)
| | | | | | | | | occupation = Transport-moving: <=50K (411.35/135.57)
| | | | | | | | | occupation = Priv-house-serv: <=50K (5.1/0.04)
| | | | | | | | | occupation = Protective-serv
| | | | | | | | | | workclass = Private: <=50K (67.54/22.8)
| | | | | | | | | | workclass = Self-emp-not-inc: <=50K (0.0)
| | | | | | | | | | workclass = Self-emp-inc: <=50K (3.97/1.68)
| | | | | | | | | | workclass = Federal-gov: <=50K (7.9/3.33)
| | | | | | | | | | workclass = Local-gov: >50K (155.0/76.63)
| | | | | | | | | | workclass = State-gov: <=50K (63.59/20.82)
| | | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | | occupation = Armed-Forces: <=50K (0.0)
| | | | | | | | capital-loss > 1504: <=50K (51.0)
| | | | | capital-gain > 5060: >50K (70.0/4.0)
| | | education-num > 12
| | | | hours-per-week <= 31
| | | | | relationship = Wife: >50K (73.0/28.0)
| | | | | relationship = Own-child: <=50K (3.0/1.0)
| | | | | relationship = Husband: <=50K (232.0/70.0)
| | | | | relationship = Not-in-family: <=50K (1.0)
| | | | | relationship = Other-relative: <=50K (2.0)
| | | | | relationship = Unmarried: <=50K (0.0)
| | | | hours-per-week > 31
| | | | | age <= 28
| | | | | | age <= 25: <=50K (68.0/17.0)
| | | | | | age > 25
| | | | | | | sex = Female: >50K (30.0/7.0)
| | | | | | | sex = Male: <=50K (117.0/53.0)
| | | | | age > 28
| | | | | | occupation = Tech-support: >50K (73.29/22.68)
| | | | | | occupation = Craft-repair
| | | | | | | workclass = Private: >50K (84.48/34.79)
| | | | | | | workclass = Self-emp-not-inc: <=50K (26.46/10.22)
| | | | | | | workclass = Self-emp-inc: <=50K (10.18/3.08)
| | | | | | | workclass = Federal-gov: <=50K (3.05/1.03)
| | | | | | | workclass = Local-gov: <=50K (8.14/2.07)
| | | | | | | workclass = State-gov: >50K (1.02/0.01)
| | | | | | | workclass = Without-pay: >50K (0.0)
| | | | | | | workclass = Never-worked: >50K (0.0)
| | | | | | occupation = Other-service: <=50K (36.64/8.3)
| | | | | | occupation = Sales
| | | | | | | workclass = Private: >50K (251.42/87.34)
| | | | | | | workclass = Self-emp-not-inc
| | | | | | | | hours-per-week <= 49: >50K (26.69/10.41)
| | | | | | | | hours-per-week > 49: <=50K (30.31/10.2)
| | | | | | | workclass = Self-emp-inc: >50K (63.11/16.59)
| | | | | | | workclass = Federal-gov: <=50K (3.05/1.03)
| | | | | | | workclass = Local-gov: >50K (1.02/0.01)
| | | | | | | workclass = State-gov: <=50K (1.02/0.01)
| | | | | | | workclass = Without-pay: >50K (0.0)
| | | | | | | workclass = Never-worked: >50K (0.0)
| | | | | | occupation = Exec-managerial: >50K (841.78/195.83)
| | | | | | occupation = Prof-specialty
| | | | | | | relationship = Wife: >50K (123.29/30.53)
| | | | | | | relationship = Own-child: <=50K (2.0)
| | | | | | | relationship = Husband: >50K (979.21/270.8)
| | | | | | | relationship = Not-in-family: <=50K (2.0)
| | | | | | | relationship = Other-relative: <=50K (4.0)
| | | | | | | relationship = Unmarried: >50K (0.0)
| | | | | | occupation = Handlers-cleaners: <=50K (20.36/8.17)
| | | | | | occupation = Machine-op-inspct: <=50K (32.57/11.27)
| | | | | | occupation = Adm-clerical: >50K (149.63/64.39)
| | | | | | occupation = Farming-fishing: <=50K (48.86/17.4)
| | | | | | occupation = Transport-moving: <=50K (31.55/11.26)
| | | | | | occupation = Priv-house-serv: <=50K (1.02/0.01)
| | | | | | occupation = Protective-serv: >50K (47.84/12.44)
| | | | | | occupation = Armed-Forces: >50K (0.0)
| | capital-loss > 1762
| | | capital-loss <= 1980: >50K (585.0/14.0)
| | | capital-loss > 1980
| | | | capital-loss <= 2163: <=50K (63.0)
| | | | capital-loss > 2163
| | | | | education-num <= 12: <=50K (58.0/21.0)
| | | | | education-num > 12: >50K (62.0/2.0)
| marital-status = Divorced: <=50K (4323.0/348.0)
| marital-status = Never-married
| | education-num <= 12: <=50K (8265.0/99.0)
| | education-num > 12
| | | education-num <= 14: <=50K (2121.0/189.0)
| | | education-num > 14
| | | | age <= 32: <=50K (63.0/6.0)
| | | | age > 32: >50K (88.0/32.0)
| marital-status = Separated: <=50K (1009.0/51.0)
| marital-status = Widowed: <=50K (973.0/65.0)
| marital-status = Married-spouse-absent: <=50K (410.0/26.0)
| marital-status = Married-AF-spouse: <=50K (22.0/9.0)
capital-gain > 6849: >50K (1399.0/20.0)
Number of Leaves : 134
Size of the tree : 174
=== Error on training data ===
Correctly Classified Instances 28291 86.8862 %
Incorrectly Classified Instances 4270 13.1138 %
Mean absolute error 0.1955
Root mean squared error 0.3124
Relative absolute error 53.4552 %
Root relative squared error 73.0696 %
Total Number of Instances 32561
=== Confusion Matrix ===
a b <-- classified as
5042 2799 | a = >50K
1471 23249 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 14009 86.0451 %
Incorrectly Classified Instances 2272 13.9549 %
Mean absolute error 0.1985
Root mean squared error 0.3185
Relative absolute error 54.6544 %
Root relative squared error 74.9772 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
2384 1462 | a = >50K
810 11625 | b = <=50K
|
|
|