Assignment 3: 1. Consider A Binary Classification Problem With The Following Set of Attributes and
Assignment 3: 1. Consider A Binary Classification Problem With The Following Set of Attributes and
1. Consider a binary classification problem with the following set of attributes and
attribute values:
• Air Conditioner = {Working, Broken}
• Engine = {Good, Bad}
• Mileage = {High, Medium, Low}
• Rust = {Yes, No}
Suppose a rule-based classifier produces the following rule set:
Mileage = High -→ Value = Low
Mileage = Low -→ Value = High
Air Conditioner = Working, Engine = Good -→ Value = High
Air Conditioner = Working, Engine = Bad -→ Value = Low
Air Conditioner = Broken -→ Value = Low
(a) Are the rules mutually exclusives?
(b) Is the rule set exhaustive?
(c) Is ordering needed for this set of rules?
(d) Do you need a default class for the rule set?
2. Consider a training set that contains 100 positive examples and 400 negative
examples. For each of the following candidate rules,
R1: A -→ + (covers 4 positive and 1 negative examples),
R2: B -→ + (covers 30 positive and 10 negative examples),
R3: C -→ + (covers 100 positive and 90 negative examples),
determine which is the best and worst candidate rule according to:
Table 1
5. For each of the Boolean functions given below, state whether the problem is linearly
separable.
(a) A AND B AND C
(b) NOT A AND B
(c) (A OR B) AND (A OR C)
(d) (A XOR B) AND (A OR B)