Rule-Based Classifiers Flashcards

1
Q

Rule-based classifier

A

A machine learning algorithm that makes predictions based on a set of explicitly defined rules, which are based on the relationships between the features and the target classes in the training data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Coverage of a rule

A

Fraction of records that satisfy the antecedent of a rule

Coverage (r) = |A| / |D|
|A| - The number of instances covered by the rules.
|D| - The total number of instances in the dataset.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Accuracy of a rule

A

Fraction of records that satisfy the antecedent that also satisfy the consequent of a rule.

Accuracy (r) = |A n y| / |A|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

3 Type of Rule

A

Mutually exclusive rules - Every record is covered by at most one rule
Exhaustive rules - Each record is covered by at least one rule
Default rule - Not trigger any rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

2 Type of Rule-Set

A

Ordered Rule Set - Rules ranked in decreasing order according to their priority
Rule-based Ordering Scheme - Ranked based on their quality.
Class-based Ordering Scheme - Shorter length, higher priority

Unordered Rule Set
Hard Voting (Majority Voting) - The highest number of votes.
Soft Voting (Weighted Voting) - Vote weighted by the rule’s accuracy..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

2 Rule Extraction Methods

A

Direct method - Extract rules directly from data
Indirect method - Extract rules from other classification models; E.g. Decision Tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

4 Step of Direct Method - Sequential Covering

A

Start from an empty rule
Grow a rule using the Learn-One-Rule function
Remove training records covered by the rule
Repeat Step (2) and (3) until stopping criterion is met

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

5 Aspects of Sequential Covering

A

Rule Growing
Instance Elimination
Rule Evaluation
Stopping Criterion
Rule Pruning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

3 Metric of Rule Evaluation

A

Accuracy = nc / n
Laplace = (nc + 1) / (n + k)
M-estimate = (nc + kp) / (n + k)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly