Distance measure in a weighted, fully connected network
1 次查看(过去 30 天)
显示 更早的评论
Hey,
I have a network where the adjacency matrix (A) is a transformation of the correlation coefficients and self-edges are removed
A=0.5*(correlation + 1)
Now I need a distance measure to calculate betweenness and thought about transforming it to a distance d by
d=(1-A)^2
How can I check whether the triangle inequality holds for this distance? All other conditions of a metric are satisfied, but I'm unsure how to prove this. I need the distance to calculate betweenness scores for the network and the applied distance measure spreads the distribution of distance so that I get results other than 0.
However, my problem of proving whether the triangle inequality holds remains.
Thank you, Chris
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!