Open Yonoi opened 1 year ago
I think you're thinking of k-means clustering, which uses centroids; spectral clustering is a graph partitioning algorithm that doesn't use centroids, but instead tries to minimize the cost of cutting the graph into k partitions.
@Yonoi I am of the opinion that you can determine the centroid of each cluster by computing the mean of both the latitude and longitude coordinates within each. I trust this information will be beneficial.
In this program, I can only get clustering labels,how to get the clustering centeriods?