K-Means Clustering
Asked at Fortinet · ML Fundamentals & Algorithms · Difficulty: Medium
In a k-means clustering problem, a dataset contains `n` data points, where the `i` data point is represented by the feature vector `location[i]`. The goal is to create `k` clusters, where the cluster centers (the cluster centroids) can be placed at any point in the feature space. The overall quality of the clustering is measured by the maximum distance between any data point and its nearest cluster center.
Loading the problem…