Biased random walk centrality (Takes and Kosters 2011) is the share of time a random walker spends at a node when it prefers neighbors that have many ties and whose own neighbors are not tied to each other. From node \(v\) the walker moves to the neighbor \(w\) with probability proportional to \(\alpha f_{deg}(w) + (1 - \alpha) f_{nd}(w)\), where $$f_{deg}(v) = 1 - \frac{1}{|N(v)|}, \qquad f_{nd}(v) = 1 - \sum_{w \in N(v)} \frac{|N(w) \cap N(v)|}{(|N(w)| - 1)\,|N(v)|},$$ and with probability \(p\) it jumps to a node chosen uniformly.
Arguments
- x
Network input accepted by
centrality.- ...
Further arguments to
centrality. The measure usesbrw_alpha(the weight of the degree term, default 0.5) andbrw_jump(the jump probability, default 0.15).
Details
The source estimates the share of visits with one walk of ten steps per node from a random start, so its result varies from run to run. The value returned here is the stationary distribution of the same walk, the limit of that share, and needs no random numbers. The scores sum to one.
The measure is computed on the simple undirected skeleton of the
network, so direction, weights, loops and parallel edges are ignored.
brw_alpha is 0.5 and brw_jump is 0.15 by default, the
values of the source. The source leaves three cases open. A neighbor of
degree one adds nothing to \(f_{nd}\). When every neighbor of a
node has weight zero the walker picks among them uniformly. From an
isolated node the walker always jumps. A brw_alpha outside
\([0,1]\) or a brw_jump outside \((0,1]\) raises a
cograph_bad_parameter error.
References
Takes, F. W. and Kosters, W. A. (2011). Identifying prominent actors in online social networks using biased random walks. In Proceedings of the 23rd Benelux Conference on Artificial Intelligence (BNAIC 2011), 215-222.
