Question: Apply the k - means algorithm to the Iris Dataset, using first two and then three clusters. The individual steps are explained in the video.
Apply the kmeans algorithm to the Iris Dataset, using first two and then three clusters. The individual steps are explained in the video.
add comments to your code file that explain the functionality of the lines of code that use scikitlearn
Plot the resulting cluster assignments for both numbers of clusters using different colors for the various clusters in a single plot using subplots.
Label your plot appropriately and include a title see below
Submit a screenshot of the plot, showing the scaled iris data clusters for two and three clusters. Include the title in each plot that shows the date you finished this lab and your name and student number. Also submit your code file that includes your comments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
