Question: ( 1 6 points ) Use the data chart below to answer the following questions without using any ML R functions ( like kmeans, hclust,

(16 points) Use the data chart below to answer the following questions without using any ML R functions (like kmeans, hclust, or
k). Feel free to use any basic utilities R functions to calculate your answers. For each part, you must include all the work needed to
justify and obtain your answers in order to receive full credit.
(a) Use the 3-nearest neighbor algorithm with the Manhattan metric to calculate the
predicted target (color) of the point (5,5,4). Make sure to indicate which of the
points are the 3 nearest neighbors.
(b) Suppose that P1 and P3 are randomly selected as centroids for the 2-means
clustering algorithm (with the Euclidean metric).
(i) For the other four points, indicate for each which cluster they get assigned to (call
P1's cluster as "cluster #1" and P3's as "cluster #2")
(ii) Compute the new centroids of the clusters after (i) has been completed.
NOTE: There will be little or no partial credit for this problem, so please triple
check your work.
 (16 points) Use the data chart below to answer the following

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!