1 / 28

Classification

Classification. ZeroR classifier simply predicts the majority 0-R classifier. Predicts the mean (for a numeric class) or the mode (for a nominal class). class in the training data.

kaseem-bond
Download Presentation

Classification

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Classification • ZeroR classifier simply predicts the majority • 0-R classifier. Predicts the mean (for a numeric class) or the mode (for a nominal class). class in the training data.

  2. J48 [QUI93] implements Quinlan‟s C4.5 algorithm [QUI92] for generating a pruned or unpruned C4.5 decisiontree. C4.5 is an extension of Quinlan's earlier ID3 algorithm. The decision trees generated by J48 can be usedfor classification. J48 builds decision trees from a set of labeled training data using the concept of informationentropy. It uses the fact that each attribute of the data can be used to make a decision by splitting the data intosmaller subsets. J48 examines the normalized information gain (difference in entropy) that results fromchoosing an attribute for splitting the data. To make the decision, the attribute with the highest normalizedinformation gain is used. Then the algorithm recurs on the smaller subsets. The splitting procedure stops if allinstances in a subset belong to the same class. Then a leaf node is created in the decision tree telling tochoose that class. But it can also happen that none of the features give any information gain. In this case J48creates a decision node higher up in the tree using the expected value of the class.J48 can handle both continuous and discrete attributes, training data with missing attribute values andattributes with differing costs. Further it provides an option for pruning trees after creation.For further information, we refer to the original publications [QUI93].

More Related