Question: Step 1) Scale the data and set the random seed to 42 IMPORTANT: In order to get results for the K-means cluster analysis that align
Step 1) Scale the data and set the random seed to 42 IMPORTANT: In order to get results for the K-means cluster analysis that align with the correct answers in the assignment quiz, you MUST set the seed value to 42 using the set.seed () function that was discussed in the module videos. If you do not do this, you will not be able to reproduce the answers that correspond with the assignment quiz. Step 2) Create a function to calculate the total within-cluster sum of squared deviations using 10 random starts (nstart=10).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
