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

2 views (last 30 days)
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 Comments

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 6 Sep 2018
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!