Source Of Summary:
Handout 6 - unsupervised learning.pdf
1. Clustering Algorithms 🧩
- Hierarchical Algorithms: Create a hierarchical decomposition of the set of objects using some criterion while … 🔄
- Partitional Algorithms: Construct various partitions and then evaluate them by some criterion (e.g., k-means, k-medoids) ✅
- Nonhierarchical: Each instance is placed in exactly one of K nonoverlapping clusters 🐍
- User Input: Must specify desired number of clusters K in advance ❗

2. Partitional Clustering: k-means 🔍
2.1 Algorithm Steps
- Decide on k: Choose the number of clusters. 🎯
- Initialize centers: Randomly (if necessary) pick k cluster centers. 🎲
- Assign memberships: For each of the N objects, assign to nearest center. 📏
- Re-estimate centers: Compute new centroids from current memberships. ↺
- Convergence Check: If no object changed cluster in last iteration, stop; otherwise, go to 3. 🔁





2.2 Objective Function 🎯