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!