Rule-based classifiers classify records using a set of "if-then" rules. Each rule has a condition part (antecedent) and a class label part (consequent). The classifier applies the rules sequentially to a record and assigns the class label of the first matching rule. The algorithm PRISM is used to generate rules by starting with an empty rule and iteratively adding conditions to maximize the ratio of correctly classified to total instances covered by the rule. It separates out instances covered by each rule until all instances are classified.