Question: 2 Big Data Analytics - Homework 3 Question 2. (30 points] A firm collected 6 instances with 2 features X and X, and their types.

 2 Big Data Analytics - Homework 3 Question 2. (30 points]

2 Big Data Analytics - Homework 3 Question 2. (30 points] A firm collected 6 instances with 2 features X and X, and their types. Instance Type 1 1 0 + 2 3 4 5 6 X, 4 3 5 2 3 0 X 5 6 4 (a) Plot the 6 instances visualizing the corresponding types with X, on the x-axis and X, on the y-axis. (b) Apply a k-means algorithm where k = 2 to the data. (1) State the initial points you choose. (ii) Compute the Euclidean distances from these initial points. (iii) Assign instances to one of the clusters. (iv) Compute the total squared error TSE = X-1 pec, d(p, m:)?. (v) Compute new cluster means. (c) Repeat the above steps from (ii) to (v) using the cluster means in (v) as the new centroid. Any improvement in TSE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!