# Question Solved1 AnswerK-means clustering and normalization kmtest.csv: 2.000000 4.000000 3.000000 3.000000 3.000000 4.000000 3.000000 5.000000 4.000000 3.000000 4.000000 5.000000 9.000000 4.000000 9.000000 5.000000 9.000000 9.000000 9.000000 10.000000 10.000000 4.000000 10.000000 5.000000 10.000000 9.000000 10.000000 10.000000 11.000000 10.000000 15.000000 4.000000 15.000000 5.000000 15.000000 6.000000 16.000000 4.000000 16.000000 5.000000 16.000000 6.000000 Implement basic K-means algorithm to cluster the sample data set. Do not use built-in function such as kmeans for clustering. sample data set (kmtest ) provided. Make sure your program works with data set A. What to DO: 1. Clustering with K-means algorithm for kmtest dataset. a. Without normalization, cluster the dataset by choosing the K value as 2, 3, 4, 5. Plot results for each K values by showing each cluster with different color and cluster centers. b. With normalization, cluster the dataset by choosing the values as 2, 3, 4, 5. You should create clustering centers and clustering input for normalized data. Use Z-score normalization as the normalization method. First normalize the data and apply clustering on the normalized data. Plot results for each K values by showing each cluster with different color and cluster centers.

FKUOJU The Asker · Computer Science

K-means clustering and normalization

kmtest.csv:

 2.000000 4.000000 3.000000 3.000000 3.000000 4.000000 3.000000 5.000000 4.000000 3.000000 4.000000 5.000000 9.000000 4.000000 9.000000 5.000000 9.000000 9.000000 9.000000 10.000000 10.000000 4.000000 10.000000 5.000000 10.000000 9.000000 10.000000 10.000000 11.000000 10.000000 15.000000 4.000000 15.000000 5.000000 15.000000 6.000000 16.000000 4.000000 16.000000 5.000000 16.000000 6.000000
Transcribed Image Text: Implement basic K-means algorithm to cluster the sample data set. Do not use built-in function such as kmeans for clustering. sample data set (kmtest ) provided. Make sure your program works with data set A. What to DO: 1. Clustering with K-means algorithm for kmtest dataset. a. Without normalization, cluster the dataset by choosing the K value as 2, 3, 4, 5. Plot results for each K values by showing each cluster with different color and cluster centers. b. With normalization, cluster the dataset by choosing the values as 2, 3, 4, 5. You should create clustering centers and clustering input for normalized data. Use Z-score normalization as the normalization method. First normalize the data and apply clustering on the normalized data. Plot results for each K values by showing each cluster with different color and cluster centers.
More
Transcribed Image Text: Implement basic K-means algorithm to cluster the sample data set. Do not use built-in function such as kmeans for clustering. sample data set (kmtest ) provided. Make sure your program works with data set A. What to DO: 1. Clustering with K-means algorithm for kmtest dataset. a. Without normalization, cluster the dataset by choosing the K value as 2, 3, 4, 5. Plot results for each K values by showing each cluster with different color and cluster centers. b. With normalization, cluster the dataset by choosing the values as 2, 3, 4, 5. You should create clustering centers and clustering input for normalized data. Use Z-score normalization as the normalization method. First normalize the data and apply clustering on the normalized data. Plot results for each K values by showing each cluster with different color and cluster centers.