Options: -M 15 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 | | | | | | | | | | | | | | fnlwgt <= 191858 | | | | | | | | | | | | | | | hours-per-week <= 53: >50K (18.0/8.0) | | | | | | | | | | | | | | | hours-per-week > 53: <=50K (15.19/6.0) | | | | | | | | | | | | | | fnlwgt > 191858: >50K (21.19/3.0) | | | | | | | | | | | | age > 48 | | | | | | | | | | | | | age <= 58: >50K (86.45/31.32) | | | | | | | | | | | | | age > 58: <=50K (21.39/7.7) | | | | | | | | | | workclass = Self-emp-not-inc: <=50K (132.09/32.17) | | | | | | | | | | workclass = Self-emp-inc | | | | | | | | | | | hours-per-week <= 40: <=50K (17.81/5.24) | | | | | | | | | | | hours-per-week > 40: >50K (17.3/6.15) | | | | | | | | | | 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 = Bachelors: <=50K (0.0) | | | | | | | | | | | education = Some-college: >50K (157.37/70.39) | | | | | | | | | | | education = 11th: <=50K (0.0) | | | | | | | | | | | education = HS-grad: <=50K (183.67/69.45) | | | | | | | | | | | education = Prof-school: <=50K (0.0) | | | | | | | | | | | education = Assoc-acdm: <=50K (19.08/8.08) | | | | | | | | | | | education = Assoc-voc: <=50K (19.82/9.57) | | | | | | | | | | | 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) | | | | | | | | | | 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.64/185.02) | | | | | | | | | | workclass = Self-emp-not-inc: <=50K (121.43/37.68) | | | | | | | | | | workclass = Self-emp-inc: >50K (125.99/52.12) | | | | | | | | | | workclass = Federal-gov: >50K (27.02/10.3) | | | | | | | | | | workclass = Local-gov | | | | | | | | | | | education-num <= 9: <=50K (20.11/8.31) | | | | | | | | | | | education-num > 9: >50K (28.42/10.21) | | | | | | | | | | workclass = State-gov: <=50K (22.09/7.4) | | | | | | | | | | 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 | | | | | | | | | | | | age <= 50: >50K (71.42/26.26) | | | | | | | | | | | | age > 50: <=50K (25.37/7.21) | | | | | | | | | | | 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 | | | | | | education-num <= 14: <=50K (186.0/46.0) | | | | | | education-num > 14 | | | | | | | hours-per-week <= 23: <=50K (27.0/11.0) | | | | | | | hours-per-week > 23: >50K (19.0/6.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 (281.29/103.15) | | | | | | | workclass = Self-emp-not-inc | | | | | | | | hours-per-week <= 46: >50K (23.67/7.41) | | | | | | | | hours-per-week > 46: <=50K (33.33/10.22) | | | | | | | workclass = Self-emp-inc: >50K (70.43/20.46) | | | | | | | workclass = Federal-gov: <=50K (3.44/1.21) | | | | | | | workclass = Local-gov: >50K (1.15/0.08) | | | | | | | workclass = State-gov: <=50K (1.15/0.07) | | | | | | | 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 | | education-num <= 12: <=50K (885.0/22.0) | | education-num > 12 | | | education-num <= 13: <=50K (88.0/12.0) | | | education-num > 13 | | | | sex = Female: <=50K (21.0/5.0) | | | | sex = Male: >50K (15.0/3.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 : 142 Size of the tree : 190 === Error on training data === Correctly Classified Instances 28328 86.9998 % Incorrectly Classified Instances 4233 13.0002 % Mean absolute error 0.1942 Root mean squared error 0.3115 Relative absolute error 53.1238 % Root relative squared error 72.8424 % Total Number of Instances 32561 === Confusion Matrix === a b <-- classified as 5060 2781 | a = >50K 1452 23268 | b = <=50K === Error on test data === Correctly Classified Instances 14016 86.0881 % Incorrectly Classified Instances 2265 13.9119 % Mean absolute error 0.1981 Root mean squared error 0.3186 Relative absolute error 54.5218 % Root relative squared error 75.006 % Total Number of Instances 16281 === Confusion Matrix === a b <-- classified as 2390 1456 | a = >50K 809 11626 | b = <=50K