Data mining

Posted on Updated on

In this assignment you will implement the KMeans algorithm, you can use R, Java or Python to write your source code. Run your source code on the twoElipsesdata.txt. For initialization, use any random function to set the initial clusters’ centers, k points. For stopping criteria use the following two criteria:

1) The squared Euclidean distances between the old mean and the current mean € is less than a threshold, say 0.001.

2) The number of iterations is less than 20.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s