How can i find the mean distance from the centroid to all the data points in each cluster. I am able to find the euclidean distance of each point (in my dataset) from the ce
Compute all the distance into a numpy array.
Then use nparray.mean() to get the mean.
nparray.mean()