Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Find the optimal value of ( k ) (number of clusters) using the elbow method. - When you use the function KMqans () to train
Find the optimal value of \\( k \\) (number of clusters) using the elbow method. - When you use the function KMqans () to train your modal, please set the two parameters as: - \\( \\mathrm{n} \\) olusters \\( =5 \\) ( (I will ask you why 5 is probably the best value for \\( k \\) ( \\( / 1 \\) of clusters)). - random state \\( =0 \\) - Ininit: = 'buto' Please answer the following questions. (maximum \\( \\%-100 \\% \\) ) 1. Briefly explain why 5 is probably the best value for \\( k \\) ( \\( f \\) of clusters). Please explain your answer in two or three sentences or less (answer longer than this may not get credit). [10\\%] 2. Please ivrite a list of the centroids of all 5 cluster5. Your answer should be something like \\( [0 . x \\times x x \\), \\( 0 . x x x x x],[0 . x x x x, 0 . x x x x x],[0 . x x x x, 0 . x x x x],[0 . x x x x x, 0 . x x x x] \\), [0.xxyxx, 0.xxxx]. [20\\%] 3. How many customers are in the cluster with the centroid \\( [0.0879,0.7996] \\) with their spending score \\( (1-100) \\) greater tha
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