pymnet.cc_zhang

pymnet.cc_zhang(net, node, undefReturn=0.0)

Zhang’s local clustering coefficient of a node in weighted monoplex network.

The clustering coefficient for node i is given by formula:

\[c_{Z,i} = \frac{\sum_{j,h} W_{ij}W_{ih}W_{jh}}{ w_{\max}\sum_{j \neq h} W_{ij}W_{ih}}=\frac{(W^3)_{ii}}{((W(w_{\max}F)W)_{ii}}\]

See also

gcc_zhang

The global version of the clustering coefficient

References

  1. Zhang and S. Horvath, Stat. App. Genet. Mol. Biol. 4, 17 (2005)