![Checkout](https://naologiccom.imgix.net/website-update/general/checkout.png?auto=compress&w=64&fm=png)
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial Question
Clustering - What is K clustering with example?
Answer
Choosing a "k" value of 3, for example, causes the algorithm to pick three centroids at random. Then, K-means will place every data point in the dataset on top of the nearest centroid. This implies that if a data point is closer to the centroid of a certain cluster than any other centroid, then it is likely to be part of that cluster.