A clustering technique that automatically determines the optimal number of groups by measuring how well each point fits within its cluster.