Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the k-means algorithm and Euclidean distance to cluster the following 8 examples into 3 clusters: P 1 = (2,10), P2 = (2,5), P3 =

Use the k-means algorithm and Euclidean distance to cluster the following 8 examples into 3 clusters:

P1= (2,10), P2= (2,5), P3= (8,4), P4= (5,8), P5= (7,5), P6= (6,4), P7= (1,2), P8= (4,9).

The distance matrix based to be used on the basis of Euclidean distance is given below:

P1

P2

P3

P4

P5

P6

P7

P8

P1

P2

P3

P4

P5

P6

P7

P8

Suppose that the initial seeds (centers of each cluster) are P1, P3 and P8. Run the k-means algorithm for 1 epoch only. At the end of this epoch show:

  1. The new clusters (i.e. the examples belonging to each cluster)
  2. The centers of the new clusters
  3. Draw a 10 by 10 space with all the 8 points and show the clusters after the first epoch and the new centroids.
  4. How many more iterations are needed to converge? Draw the result for each epoch.
  1. MSE(Cluster 1) =

    MSE(Cluster 2) =

    MSE(Cluster 3) =

    For the clustering you obtained at the end of the iteration above, give the mean square error of each cluster

MSE = Error =1 Ni=1k(xi-)2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

How will VSAT technology better serve employees?

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago