Assignment Task
Load and attach the “mtcars” dataset.
- Load and attach the “mtcars” dataset. Conduct an exploration of what variables it contains and what the values look like (if you don’t know about any variables, find out what they are. If you don’t know about a car, use Google to find out what it is. Have a comprehensive understanding of what the cars are in your dataset).It contains 32 observations and 11 variables:
- Use the variables “mpg” and “cyl” to perform K-means clustering on the cars (get a subset of data including only “mpg” and “cyl” variables for the k-mean clustering). Run kmeans function with K=3 and 4 respectively. Which one is better? Use the ratio of betweenness and within sum of squared distance (=betweenness / tot.withinss)
- Compute the mean of each variables by clusters using original data for each model
- K= 3
- K = 4
- Drawing a plot to visually represent the clustering analysis results
- K= 3
- K = 4
- Get a subset of data including “disp” and “hp” variables. Using the subset of data, run kmeans clustering analysis with K= 3, 4, 5, and 6 respectively. Which value of K is better now among 4 models? Use the Elbow method for this one.
- You have now used two sets of inputs (“mpg” and “cyl”; “disp” and “hp”). Which of the two sets of inputs gives better clusters? .You can restrict to comparing for K=3 and 4)
This Science & Maths Assignment has been solved by our Science & Maths Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment Experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.