Академический Документы
Профессиональный Документы
Культура Документы
Clustering types
K mean clustering
• Just like daraz.pk and Alibaba and any other website, group
the same accessories just like electronic thing in one group
and begs in another group, these groups clusters.
Types of Clustering
Hierarchical Clustering
Electronic
Devices
Window
oppo Phone Apple
Non-Hierarchical Clustering
Example:
Inventory categorization:
• Group inventory by sales activity
• Group inventory by manufacturing metrics
Steps
1) Take mean value
2) Find nearest number of mean put in cluster
3) Go to step2
4) Repeat step 1 and 2 until get same mean
K2 clustering
Given {2,3,4,10,11,12,20,25,30}
m1=4 m2=12
k1={2,3,4} k2={10,11,12,20,25,30}
k1=2+3+4/3 k2=10+11+12+20+25/6
k1=9/3=3 k2=108/6=18
New mean value
m1=3 m2=18
k1={2,3,4,10} k2={11,12,20,25,30}
k1=19/4=4.75 k2=98/5=19.6
k1=4.75=5 k2=19.6=20
New mean value is 5 and 20
m1=5 m2=20
k1={2,3,4,10,11,12} k2={20,25,30}
k1=42/6 =7 k2 =75/3=25
New mean value is 7 and 25
m1=7 m2=25
k1={2,3,4,10,11,12} k2={20,25,30}
k1=42/6 =7 k2 =75/3=25
New mean value is again 7 and 25
but here we stop it because we have same mean
value and same k1 and k2 cluster.
Thank you :D