KMeans clustering on two attributes in data mining

How Is K-Means clustering performs on two attributes?


For example, we have 2 attributes;

  1. Paper1
  2. Paper 2
  • First of all, randomly we will choose centroid values.
  • Then calculates the distance between each value of paper 1 and paper 2.
  • Find the error rate.
  • Repeat this all process until the error rate remains consistent in at least two last iterations or clusters stops to change further.
[quads id=1]

data mining clustering

data mining clustering
Figure: k-mean clustering