Is it possible to use the shortest path to find a route to the cluster center (k-means)?

2 次查看(过去 30 天)
Hi, I tried to make some modifications in the k-means clustering, using the shortest path(based on weights) to find the center of the cluster, who knows whether it can be done? The diagram below explains what I mean:
Figure 1: use normal kmeans to connect each node to center of cluster
%
Figure 2: use shortest path to connect each node to center of cluster
Please provide advice and resources if any.
Thanks
  3 个评论

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2018-9-6
Perhaps you would be interested in https://www.mathworks.com/help/matlab/ref/graph.centrality.html#bu4486d-type Centrality perhaps 'closeness' measure.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by