Question: Problem Statement: K-means clustering The attached file Height-Weight.csv includes data on (height, weight) of 22 men and 24 women. Perform k-means clustering algorithm on the
Problem Statement: K-means clustering
The attached file Height-Weight.csv includes data on (height, weight) of 22 men and 24 women. Perform k-means clustering algorithm on the total 22+24=46 data points (height, weight) for k=2. Use Euclidean distance metric to measure distance between data points.
Submit:
RStudio code of your solution.
Figure 1: Plot the dots (height, weight) in two different colors for the two final clusters.
Figure 2: Plot the dots (height, weight) of 22 men and 24 women in two different colors for male and female.
Explain the difference between Figure 1 and Figure 2.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
