1 Programming assignment 1. k-means clustering assignment • Mission: Write Python3 code to do clustering using k-means. Use the "elbow" method to help you select the optimal number of clusters by fitting the model with a range of values for k. Plot the clusters in 3-d figures. Data set: seeds Data Set Read the data set description. • Approaches: Clustering algorithm (required): k-means. * Using scikit learn library: sklearn.cluster.KMeans. * Using Yellowbrick to perform the "elbow" method: Elbow Method Plot the clusters (required): the two tools are required for 3-d projections to work. *Using Matplotlib: Matplotlib: Visu zation with Python * Using Matplotlib toolkit: mplot3d - Other data pre-processing or feature engineering methods (optional): You can apply any tech- nique you prefer. • Performance metric: Successfully apply k-means on the dataset and plot the resulting clusters with indicated programming tools.
1 Programming assignment 1. k-means clustering assignment • Mission: Write Python3 code to do clustering using k-means. Use the "elbow" method to help you select the optimal number of clusters by fitting the model with a range of values for k. Plot the clusters in 3-d figures. Data set: seeds Data Set Read the data set description. • Approaches: Clustering algorithm (required): k-means. * Using scikit learn library: sklearn.cluster.KMeans. * Using Yellowbrick to perform the "elbow" method: Elbow Method Plot the clusters (required): the two tools are required for 3-d projections to work. *Using Matplotlib: Matplotlib: Visu zation with Python * Using Matplotlib toolkit: mplot3d - Other data pre-processing or feature engineering methods (optional): You can apply any tech- nique you prefer. • Performance metric: Successfully apply k-means on the dataset and plot the resulting clusters with indicated programming tools.
Related questions
Question
The source code should be in .ipynb format
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 3 images