Basically, the classification of each leaf is determined by the majority class in that leaf. The certainty factor of examples in a leaf is the ratio of the number of examples of the majority class over the total number of examples in that leaf. This method was used in the program consult that comes with the C4.5 package (Quinlan, 1993).