Question: Load up the iris data set. This can be easily done using the command load fisheriris. Using only the ff. features: petal width (y-axis) and

Load up the iris data set. This can be easily done using the command "load fisheriris". Using only the ff. features: petal width (y-axis) and sepal width (x-axis), partition the iris data set into three (3) clusters using k-means clustering. Refer to this reference to have an idea how youre partitioning should look like: https://www.kaggle.com/xuhewen/iris-dataset-visualization-and-machine-learning Links to an external site.. Store the cluster labels in a 150-by-1 matrix called: id1. The plot of both the output of the kmeans and the actual clusters of the data set should be shown in Figure 1. Make use of the subplot command for this. Observe proper plot titles and axis labels.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!