**How Is K-Means clustering performs on two attributes?**

**Solution:**

For example, we have 2 attributes;

**Paper1****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.