Question: Apply K-means clustering algorithm on the labor data or segment-challenge data by hanging the number of clusters (K) from 2 to 10 by incrementing 1.

 Apply K-means clustering algorithm on the labor data or segment-challenge data

Apply K-means clustering algorithm on the labor data or segment-challenge data by hanging the number of clusters (K) from 2 to 10 by incrementing 1. Also select the Cluster mode on the Cluster tab in Weka to "Use training set". Now, every time you change the number of clusters for each dataset, record the "Within cluster sum of quared errors" value from the output (scroll up and down to find this value). Open Excel file (or anything else) and record the value of "Within cluster sum of squared rrors" for each number of clusters one by one (i.e., for each value of K from 2 to 10). lot a line chart for K vs "Within cluster sum of squared errors". Find out the sharp bend an elbow like shape). The point where you see the tip of an elbow on the chart shows the best number of clusters. (Sometimes in datasets, there can be multiple bends or not clear bend, you have to make a decision and choose K). Report the best number of clusters for your data alongside the chart as an answer to this question. Note you only need to report results of only one of the datasets provided

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 Mathematics Questions!