Skip to content

Commit

Permalink
doc: clarify that we use natural logarithms for entropies
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Feb 19, 2024
1 parent 03f9faa commit 055e836
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/igraph/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,9 @@ def _ensure_list(obj):
def compare_communities(comm1, comm2, method="vi", remove_none=False):
"""Compares two community structures using various distance measures.
For measures involving entropies (e.g., the variation of information metric),
igraph uses natural logarithms.
B{References}
- Meila M: Comparing clusterings by the variation of information. In:
Expand Down

0 comments on commit 055e836

Please sign in to comment.