KMeans clustering on two attributes in data mining

Prof. Fazal Rehman Shamil
Last modified on May 8th, 2020

How Is K-Means clustering performs on two attributes?

Lets start the discussion with an example. For example, we have 2 attributes;


Paper 2.

First of all, randomly we will choose centroid values.

Then calculates the distance between each value of paper 1 and paper 2.

Next, 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.

data mining clustering

data mining clustering
Figure: k-mean clustering

Download Excel File

Video Lecture

Next Similar Tutorials

  1. KMeans Clustering in data mining. – Click Here
  2. KMeans clustering on two attributes in data mining. – Click Here
  3. List of clustering algorithms in data mining. – Click Here
  4. Markov cluster process  Model with Graph Clustering – Click Here.


Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.