Pattern Recognition and Machine Learning: Fuzzy Sets in Pattern Recognition Debrup Chakraborty Cinvestav
Pattern Recognition and Machine Learning: Fuzzy Sets in Pattern Recognition Debrup Chakraborty Cinvestav
Machine Learning
(Fuzzy Sets in Pattern Recognition)
Debrup Chakraborty
CINVESTAV
Pattern Recognition (Recapitulation)
Data
Object Data
Relational Data
Why?
Mixed Pixels
Fuzzy Clustering
cn
n
M pcn U R : U k N pc k ;0 uik i
k 1
M fcn U M pcn : U k N fc k
M hcn U M fcn : U k N fc k
These are the Possibilistic, Fuzzy and Hard c-partitions
respectively
An Example
x1 x2 x3 x1 x2 x3 x1 x2 x3
1.0 0.0 0.0 1.0 0.2 0.4 1.0 0.2 0.5
0.0 1.0 1.0 0.0 0.8 0.6 0.0 0.8 0.6
The Fuzzy c-means algorithm
1
c 2
Dij m 1
i, j
1) uij
k 1 Dik
n m
uik x k
v i k 1n i
uik
2) m
k 1
Algorithm
Input: XRp
Choose: 1 < c < n, 1 < m < , = tolerance, max iteration = N
Guess : V0
Begin
t1
tol high value
Repeat while (t N and tol > )
Compute Ut with Vt-1 using (1)
Compute Vt with Ut using (2)
Vt Vt 1
Compute tol
pc
t t+1
End Repeat
(The initialization can also be
Output: Vt, Ut done on U)
Discussions
z
K-nn Classification (continued)
1 0 0
2 0 3 1 1 0
0.33
0 0 1
D( z ) 0.50
6
017
.
This method can be used in case the vectors have fuzzy or
possibilistic labels also.
K-nn Classification (continued)
x1 x2 x3 x4 x5 x6
0.9 0.9 0.3 0.03 0.2 0.3
0.0 01
. 0.6 0.95 0.8 0.0
01
. 0.0 01
. 0.02 0.0 0.7
If x is CLOSE TO Ax & y
is CLOSE TO Ay Then
Ay Class is
If x is CLOSE TO Bx & y
is CLOSE TO By Then
By
Class is
Ax Bx