Lecture 33 35 Fuzzy C Means Clustering
Lecture 33 35 Fuzzy C Means Clustering
A set of ordered pairs given by A = {(x, 𝜇A(𝑥)) : 𝑥 ∈ 𝑋},where first element is an element of set A and
second element is a value in the interval [0,1].
𝑒 𝑡 = 𝑟 𝑡 − 𝑦(𝑡)
𝑑𝑒 𝑡
𝑑𝑡
Fuzzy Controller : Steps
(4) Membership Functions
Function µ quantifies the certainty that e(t) can be classified
linguistically as “possmall”
Quantify “and”
Minimum:
µpremise = min{0.5,0.25}=0.25
Product:
µpremise =(0.5)(0.25)= 0.125
Fuzzy Controller : Steps
𝑝(𝐴! , 𝐴" , … , 𝐴% )
Definition:
%
𝐴& ≠ ∅ ∀𝑖 = 1,2, … , 𝑐 ; 𝐴& ∩ 𝐴' = ∅ ∀𝑖 ≠ j ; = 𝐴& = 𝑠
!
Objective function of normal c-means
𝑣& = 𝑚𝑒𝑎𝑛 𝑜𝑓𝐴& ; ∀𝑖 = 1,2, … , 𝑐
%
"
E E 𝑥 − 𝑣&
&(! )∈+!
The best partition is the minimum within cluster distance.
Fuzzy c-means clustering
b) Fuzzy c-partition of a set 𝑠 = {𝑥! , 𝑥" , … , 𝑥# } ⊆ ℝ$ represented by 𝑈, 𝑠 where 𝑈 is an 𝑛×𝑐 matrix
𝑈 = 𝑢&'
#×%
𝑢&' denotes the membership value of the ith point to the jth fuzzy set 1 ≤ 𝑖 ≤ 𝑛; 1 ≤ 𝑗 ≤ 𝑐 satisfying
the properties stated as :
0 ≤ 𝑢&' ≤ 1 ∀𝑖, 𝑗
%
E 𝑢&' = 1 ∀𝑖 = 1,2, … , 𝑛
'(!
#
0 < E 𝑢&' < 𝑛 ∀𝑗 = 1,2, … , 𝑐
&(!
Fuzzy c-means clustering
Let 𝑟 > 1
# %
-
𝐽- 𝑈, 𝑠, 𝐴 = E E 𝑢&' 𝑥& − 𝑣' ′𝐴$.# 𝑥& − 𝑣'
&(! '(!
% 1!
# &'%
0!" 1≤𝑖≤𝑛
4. Update membership values: 𝑢&' = ∑%/(! #
0!$ 1≤𝑗≤𝑐
*
𝑑+, = 𝑥+ − 𝑣, ′𝐴-./ 𝑥+ − 𝑣,
• Suppose the given data points are {(1, 3), (2, 5), (4, 8), (7, 9)}
Centroids are:
(1.568, 4.051) and (5.35, 8.215)
Fuzzy c-means clustering
Step 4: Update membership values
Centroids are:
(1.568, 4.051) and (5.35, 8.215)
Fuzzy c-means clustering
Step 4: Update membership values
𝑢!! =
𝑢!" =
𝑢"! =
𝑢"" =
Fuzzy K-Means Algorithm Example
• Assumption : Two Clusters K = 2
• Initialization of memberships of data points randomly
• Computation of Centroid of clusters
• Computation of centroid
+91-175-2393055
NAAC