Skip to content

Methods · Network analysis · Node similarity

Random-Walk Node Similarity (Commute Time, L+ and Random Walk with Restart)

The method scores how similar two nodes are by how a random walker moves between them. Commute time is the expected number of steps to go from one node to the other and back; it equals the network volume times the effective resistance. Similarities in the commute-time embedding come from the pseudo-inverse of the Laplacian, and random walk with restart gives the probability of ending at one node when the walk keeps restarting at the other.

무작위 보행자가 두 마디 사이를 어떻게 오가는지로 두 마디의 유사성을 매깁니다. 왕복 시간은 한 마디에서 다른 마디로 갔다 돌아오는 데 걸리는 단계 수의 기댓값이며, 연결망 부피에 유효 저항을 곱한 값과 같습니다. 라플라시안 유사역행렬에서 왕복 시간 공간의 유사도를 얻고, 재시작 무작위 보행은 한 마디에서 계속 다시 출발할 때 다른 마디에 머물 확률을 줍니다.

Which nodes are closest to a given node, or which pairs of nodes are most alike, when every path between them counts?

모든 경로를 고려할 때 어떤 마디가 주어진 마디와 가장 가깝고, 어떤 마디 쌍이 가장 비슷합니까?

The method reports commute time, its square root as a distance, the pseudo-inverse similarity and its cosine, and random walk with restart scores, either for every node against a query node or for the most similar pairs, with the Kirchhoff index of the network.

When to use Random-Walk Node Similarity (Commute Time, L+ and Random Walk with Restart)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Random-walk similarities on [value] nodes ranked [value] as the most similar to [value] by commute time ([value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with NetworkX and NumPy at a stated tolerance of 1e-7.

    독립 계산. NetworkX·NumPy 대조 참조 시험 1건 통과(허용오차 1e-7).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Random-Walk Node Similarity (Commute Time, L+ and Random Walk with Restart) on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q63044 · Reviewed 2026-10-25