I'm using the Statistics Toolbox function kmeans in MATLAB for the first time. I want to get the total euclidian distance to nearest centroid as an indicator of optimal k. Here is my code : I'm using the Statistics Toolbox function kmean
I'm using the Statistics Toolbox function kmeans in MATLAB for the first time. I want to get the total euclidian distance to nearest centroid as an indicator of optimal k. Here is my code : I'm using the Statistics Toolbox function kmean