Machine Learning: Sem-VII
Machine Learning: Sem-VII
Sem-VII
Rule based classification
Bayesian Belief networks
Hidden Markov Models
Support Vector Machine
Maximum Margin Linear Separators-
Quadratic Programming solution to finding maximum
margin separators
Kernels for learning non-linear
Expectation Maximization Algorithm
Supervised learning after clustering
Radial Basis functions
Using IF-THEN Rules for Classification
IF condition THEN conclusion.
rule antecedent or precondition
rule consequent
R1: IF age = youth AND student = yes THEN
buys computer = yes.
R1: (age = youth) ^ (student = yes))(buys
computer = yes).
Use Rule based classification technique
Training
Data R1,R2,---,Rn Class
Label
Use model
to find class
lable
If HSM=H and CS=E then ?
Match the rule and predict the label
Rule Assessment
Coverage=N(Cover)/|D|
Accuracy=N(Correct)/N(Covers)
example
Rule triggering
Rule Properties:
Mutually Exclusive rule
Exhaustive Rules
Default rule
If rule set is not mutually exclusive, then
record can be covered by several rules some
of which may predict conflicting classes.
There are two ways to overcome this issue
x1-R1
X2-R2,R3,R4 (A,B,A)-Which one to select?
X3-R3
X4-R4
X5-R5
X6-R4
X7-R5
The rules in a rule set orderded in decreasing
order of their priority based on coverage and
accuracy or order in which it is generated.
It is also known as Decision list
X-test reocrd-Highest rank rule that covers
record
This approach allows a test record to trigger
multiple classification rules and considers the
consequent of each rule as a vote for
particular class
X2=R2,R3,R4
R2-A
R3-B
R4-A
MAJORITY
DIRECT METHOD
INDIRECT METHOD
R1: IF age = youth AND student = no THEN buys
computer = no
R2: IF age = youth AND student = yes THEN
buys computer = yes
R3: IF age = middle aged THEN buys computer
= yes
R4: IF age = senior AND credit rating = excellent
THEN buys computer = yes
R5: IF age = senior AND credit rating = fair
THEN buys computer = no
Likelihood Prior
Posterior
Marginal