Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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] 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started