Is it possible to use the shortest path to find a route to the cluster center (k-means)?
2 views (last 30 days)
Show older comments
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
Image Analyst
on 5 Sep 2018
Shortest path from what to where? Are you really wanting to know about solving the traveling salesman problem?
Answers (1)
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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!