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]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f54667a51fc_37566f546671d413.jpg)
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
Get step-by-step solutions from verified subject matter experts
