C4.5 [release 5] decision tree generator Fri Dec 6 13:33:54 1991
     
        Options:
           File stem 
           Trees evaluated on unseen cases
     
     Read 40 cases(16 attributes) from labor-neg.data

     Decision Tree:

     wage increase first year <= 2.5
        working hours <= 36: good(2.0/1.0)
        working hours > 36:
           contribuition to health plan = none: bad(5.1)
           contribuition to health plan = half: good(0.4/0.0) 
           contribuition to health plan = full: bad(3.8)
     wage increase first year > 2.5
        statutory holidays > 10: good(21.2)
        statutory holidays <= 10:
           wage increase first year <= 0.4: bad(11.3/2.8)
           wage increase first year > 0.4: good(3.0)

     Simplified Decision Tree:           

     wage increase first year <= 2.5: bad(11.3/2.8)
     wage increase first year > 2.5
        statutory holidays > 10: good(21.2/1.3)
        statutory holidays <= 10:
           wage increase first year <= 0.4: bad(4.5/1.7)
           wage increase first year > 0.4: good(3.0/1.1)

     Tree saved

     Evaluation on training data (40 items):

             Before Pruning                     After Pruning
           ------------------        --------------------------------
           Size        Errors        Size        Errors      Estimate
             12      1( 2.5%)          7       1( 2.5%)        (17.4%)<<

     Evaluation on test data (17 items):

             Before Pruning                     After Pruning
           ------------------        --------------------------------
           Size        Errors        Size        Errors      Estimate
             12      3( 17.6%)          7       3( 17.6%)      (17.4%)<<

             (a)   (b)     <-classified as
            ----   ----
              10     1     (a): class good
               2     4     (b): class bad           

           
             Figura 1-2.Saida do c4.5 para o arquivo labor-neg.data