Skip to content

Commit

Permalink
📝 Fix expansion formula in docs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
shakebeforeuse committed Jan 23, 2022
1 parent b2c6311 commit 1b1b88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdlib/evaluation/fitness.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def expansion(graph: nx.Graph, community: object, summary: bool = True) -> objec
.. math:: f(S) = \\frac{c_S}{n_S}
where :math:`n_S` is the number of edges on the community boundary, :math:`c_S` is the number of community nodes.
where :math:`c_S` is the number of edges on the community boundary, :math:`n_S` is the number of community nodes.
:param graph: a networkx/igraph object
:param community: NodeClustering object
Expand Down

0 comments on commit 1b1b88d

Please sign in to comment.