|
Other Experiments
Options: -M 30
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
| | | | | | | | occupation = Tech-support: >50K (153.77/58.14)
| | | | | | | | occupation = Craft-repair
| | | | | | | | | workclass = Private
| | | | | | | | | | hours-per-week <= 41
| | | | | | | | | | | education = Bachelors: <=50K (0.0)
| | | | | | | | | | | education = Some-college
| | | | | | | | | | | | age <= 48: <=50K (102.56/32.19)
| | | | | | | | | | | | age > 48: >50K (55.01/19.88)
| | | | | | | | | | | education = 11th: <=50K (0.0)
| | | | | | | | | | | education = HS-grad: <=50K (385.63/119.14)
| | | | | | | | | | | education = Prof-school: <=50K (0.0)
| | | | | | | | | | | education = Assoc-acdm: <=50K (10.19/4.19)
| | | | | | | | | | | education = Assoc-voc: <=50K (58.94/25.38)
| | | | | | | | | | | 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)
| | | | | | | | | | hours-per-week > 41
| | | | | | | | | | | age <= 40: <=50K (93.38/35.19)
| | | | | | | | | | | age > 40: >50K (180.78/83.58)
| | | | | | | | | workclass = Self-emp-not-inc: <=50K (138.47/32.64)
| | | | | | | | | workclass = Self-emp-inc: <=50K (39.83/17.65)
| | | | | | | | | workclass = Federal-gov: <=50K (34.98/17.36)
| | | | | | | | | workclass = Local-gov: <=50K (52.96/20.04)
| | | | | | | | | workclass = State-gov: <=50K (24.7/6.92)
| | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | occupation = Other-service: <=50K (220.85/39.35)
| | | | | | | | occupation = Sales
| | | | | | | | | workclass = Private
| | | | | | | | | | education-num <= 9
| | | | | | | | | | | hours-per-week <= 51: <=50K (154.59/52.12)
| | | | | | | | | | | hours-per-week > 51: >50K (31.06/13.73)
| | | | | | | | | | education-num > 9
| | | | | | | | | | | education-num <= 10: >50K (158.37/71.39)
| | | | | | | | | | | education-num > 10: <=50K (39.9/17.65)
| | | | | | | | | workclass = Self-emp-not-inc: <=50K (101.14/30.07)
| | | | | | | | | workclass = Self-emp-inc: >50K (73.27/29.49)
| | | | | | | | | workclass = Federal-gov: >50K (1.03/0.02)
| | | | | | | | | workclass = Local-gov: <=50K (1.03/0.01)
| | | | | | | | | workclass = State-gov: <=50K (2.06/1.02)
| | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | occupation = Exec-managerial
| | | | | | | | | workclass = Private: >50K (364.3/145.43)
| | | | | | | | | workclass = Self-emp-not-inc: <=50K (102.17/31.09)
| | | | | | | | | workclass = Self-emp-inc: >50K (107.33/40.19)
| | | | | | | | | workclass = Federal-gov: >50K (22.7/7.46)
| | | | | | | | | workclass = Local-gov: >50K (48.5/21.99)
| | | | | | | | | workclass = State-gov: <=50K (19.61/6.21)
| | | | | | | | | workclass = Without-pay: >50K (0.0)
| | | | | | | | | workclass = Never-worked: >50K (0.0)
| | | | | | | | occupation = Prof-specialty: >50K (211.56/98.32)
| | | | | | | | occupation = Handlers-cleaners: <=50K (131.07/30.39)
| | | | | | | | occupation = Machine-op-inspct: <=50K (402.49/130.28)
| | | | | | | | occupation = Adm-clerical
| | | | | | | | | workclass = Private
| | | | | | | | | | sex = Female: >50K (96.78/44.42)
| | | | | | | | | | sex = Male
| | | | | | | | | | | hours-per-week <= 43: <=50K (112.06/32.41)
| | | | | | | | | | | hours-per-week > 43: >50K (36.77/14.94)
| | | | | | | | | workclass = Self-emp-not-inc: >50K (4.13/1.08)
| | | | | | | | | workclass = Self-emp-inc: >50K (4.13/1.08)
| | | | | | | | | workclass = Federal-gov: >50K (89.79/35.83)
| | | | | | | | | workclass = Local-gov: <=50K (28.9/11.31)
| | | | | | | | | workclass = State-gov: <=50K (21.67/7.23)
| | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | occupation = Farming-fishing: <=50K (236.33/41.51)
| | | | | | | | occupation = Transport-moving: <=50K (413.84/135.4)
| | | | | | | | occupation = Priv-house-serv: <=50K (5.16/0.05)
| | | | | | | | occupation = Protective-serv
| | | | | | | | | workclass = Private: <=50K (37.15/12.39)
| | | | | | | | | workclass = Self-emp-not-inc: <=50K (0.0)
| | | | | | | | | workclass = Self-emp-inc: <=50K (2.06/1.02)
| | | | | | | | | workclass = Federal-gov: <=50K (4.13/2.04)
| | | | | | | | | workclass = Local-gov: >50K (80.5/27.64)
| | | | | | | | | workclass = State-gov: <=50K (34.06/10.36)
| | | | | | | | | workclass = Without-pay: <=50K (0.0)
| | | | | | | | | workclass = Never-worked: <=50K (0.0)
| | | | | | | | occupation = Armed-Forces: <=50K (0.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: >50K (133.34/66.24)
| | | | | | occupation = Other-service: <=50K (36.64/8.3)
| | | | | | occupation = Sales: >50K (376.61/137.5)
| | | | | | 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 : 118
Size of the tree : 154
=== Error on training data ===
Correctly Classified Instances 28242 86.7357 %
Incorrectly Classified Instances 4319 13.2643 %
Mean absolute error 0.1963
Root mean squared error 0.3131
Relative absolute error 53.6858 %
Root relative squared error 73.2271 %
Total Number of Instances 32561
=== Confusion Matrix ===
a b <-- classified as
5128 2713 | a = >50K
1606 23114 | b = <=50K
=== Error on test data ===
Correctly Classified Instances 13981 85.8731 %
Incorrectly Classified Instances 2300 14.1269 %
Mean absolute error 0.1992
Root mean squared error 0.3188
Relative absolute error 54.8475 %
Root relative squared error 75.0523 %
Total Number of Instances 16281
=== Confusion Matrix ===
a b <-- classified as
2436 1410 | a = >50K
890 11545 | b = <=50K
|
|
|