Question: iv . Replace A B and C in the code below to run the k - means algorithm with 3 clusters on the customer _

iv. Replace A
B and C in the code below to run the k -means algorithm with 3 clusters on the customer_dat.
[6 marks]
kmeans_result -, centers =[C])
v. Based on the plot below, which visualises the results of the k-means clustering, what cluster might correspond to a group of high spenders with high average purchase value? Give a reason for your answer.
[3 marks]
iv . Replace A B and C in the code below to run

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 Programming Questions!