The JRip() classifier learned a total of nine rules from the mushroom data. An easy way to read these rules is to think of them as a list of if-else statements, similar to programming logic. The first three rules could be expressed as:
• If the odor is foul, then the mushroom type is poisonous
• If the gill size is narrow and the gill color is buff, then the mushroom type is poisonous
• If the gill size is narrow and the odor is pungent, then the mushroom type is poisonous