How is the final set of clusters determined in the k-means algorithm?
A. By selecting the set of clusters that maximize the sum of squared errors
B. By selecting the set of clusters that minimize the within-cluster variance
C. By selecting the set of clusters that maximize the within-cluster variance
D. By selecting the set of clusters that minimize the sum of squared errors