Short answer: Lloyd’s algorithm is the standard k-means iteration. Assign every point to the nearest of k centers, then replace each center by the mean of the points assigned to it. Repeat until the assignment stops changing or a step budget runs out. Each step decreases the sum of…
Category: Clustering
How expectation-maximization alternates two steps
Short answer: Expectation-maximization fits a probabilistic model with latent variables by alternating two steps. The E-step computes the posterior of the latent variables given the current parameters. The M-step maximizes the expected complete-data log-likelihood under that posterior, which for many models is a weighted closed-form update. Each full iteration…
How DBSCAN grows a density cluster
Short answer: DBSCAN grows clusters from core points. A core point has at least minPts points, including itself, inside radius ε. A cluster is a core point plus every point density-reachable from it through a chain of cores. Points that are within ε of a cluster and are not…
