Keith A. Pray - Professional and Academic Site
About Me
·
·
·
LinkedIn Profile Facebook Profile GoodReads Profile
Professional
Academic
Teaching
                                          
Printer Friendly Version
Other Experiments

Intro ] Makefile ] test-15-instances-per-leaf ]
[ test-20-instances-per-leaf ] test-25-instances-per-leaf ] test-30-instances-per-leaf ]
test-no-pruning ] test-no-subtree-raising ] test-reduced-error-pruning ]
test ]

Up: Report ]

Options: -M 20 

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.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: >50K (57.83/28.12)
|   |   |   |   |   |   |   |   |   |   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: <=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 <= 46: >50K (23.67/7.41)
|   |   |   |   |   |   |   |   hours-per-week > 46: <=50K (33.33/10.22)
|   |   |   |   |   |   |   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  : 	119

Size of the tree : 	158



=== Error on training data ===

Correctly Classified Instances       28294               86.8954 %
Incorrectly Classified Instances      4267               13.1046 %
Mean absolute error                      0.1954
Root mean squared error                  0.3124
Relative absolute error                 53.4449 %
Root relative squared error             73.0624 %
Total Number of Instances            32561     


=== Confusion Matrix ===

     a     b   <-- classified as
  5043  2798 |     a = >50K
  1469 23251 |     b = <=50K


=== Error on test data ===

Correctly Classified Instances       14010               86.0512 %
Incorrectly Classified Instances      2271               13.9488 %
Mean absolute error                      0.1985
Root mean squared error                  0.3183
Relative absolute error                 54.6294 %
Root relative squared error             74.9424 %
Total Number of Instances            16281     


=== Confusion Matrix ===

     a     b   <-- classified as
  2384  1462 |     a = >50K
   809 11626 |     b = <=50K


by: Keith A. Pray
Last Modified: July 4, 2004 8:58 AM
© 2004 - 1975 Keith A. Pray.
All rights reserved.

Current Theme: 

Kapowee Hosted | Kapow Generated in 0.009 second | XHTML | CSS