0
7.2kviews
Use Data set in Appendix A. Use K-means algorithm to create two clusters.
1 Answer
| written 8.0 years ago by | modified 3.6 years ago by |

Step 1: Consider A and B be the main clusters.
Let c1 and c2 denotes the co-ordinate of the centroid.
So, c1= (2, 2), c2= (3, 2)
| I | X1 | X2 |
|---|---|---|
| A | 2 | 2 |
| B | 3 | 2 |
| C | 1 | 1 |
| D | 3 | 1 |
| E | 1.5 | 0.5 |
Step 2:
Distance from first …