rm CondaPkg environment
This commit is contained in:
@@ -316,8 +316,7 @@ def clustering(G, nodes=None, weight=None):
|
||||
|
||||
.. math::
|
||||
|
||||
c_u = \frac{2}{deg^{tot}(u)(deg^{tot}(u)-1) - 2deg^{\leftrightarrow}(u)}
|
||||
T(u),
|
||||
c_u = \frac{T(u)}{2(deg^{tot}(u)(deg^{tot}(u)-1) - 2deg^{\leftrightarrow}(u))},
|
||||
|
||||
where :math:`T(u)` is the number of directed triangles through node
|
||||
:math:`u`, :math:`deg^{tot}(u)` is the sum of in degree and out degree of
|
||||
@@ -329,8 +328,10 @@ def clustering(G, nodes=None, weight=None):
|
||||
----------
|
||||
G : graph
|
||||
|
||||
nodes : container of nodes, optional (default=all nodes in G)
|
||||
Compute clustering for nodes in this container.
|
||||
nodes : node, iterable of nodes, or None (default=None)
|
||||
If a singleton node, return the number of triangles for that node.
|
||||
If an iterable, compute the number of triangles for each of those nodes.
|
||||
If `None` (the default) compute the number of triangles for all nodes in `G`.
|
||||
|
||||
weight : string or None, optional (default=None)
|
||||
The edge attribute that holds the numerical value used as a weight.
|
||||
|
||||
Reference in New Issue
Block a user