K-means Clustering Analysis
This assignment is to give you the hands-on experience using R to conduct k-means clustering analysis. Please refer to the Chapter 15.5 section in the reference textbook (through the link at the bottom under “Lessons”) and Chapter 15 of the official textbook for details. Then open (or open this file ) , go over the whole example by using data set and the same R codes to reproduce the results step by step, study the way to explain the model and evaluate the results:
- Import data
- Train the model
- Optimal k (Elbow method)
- Examining the cluster
Now open this file to choose these two new scaled variables: price_scal and ads_scal to replace the hd_scal and ram_scal and redo the same k-means clustering analysis as in the website according to the above steps.
Please copy/paste screen images of your work in R, and put into a Word document for submission. Be sure to provide narrative of your answers (i.e., do not just copy/paste your answers without providing some explanation of what you did or your findings). Please include Introudction, R codes with outputs, Figures and explanations with cover and reference pages. A good conclusion to wrap up the assignment is also expected. You also need to follow APA formats.
Hints: change the [2:3] in the R function kmeans.ani(rescale_df[2:3], 3) to adopt two new scaled variables mentioned above, you may need to use cbind() function for it.
Reference
Due DateAug 15, 2021 11:59 PMAttachments (289.64 KB) (322.95 KB)