Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

DOC typos (thanks @ogrisel) and some elaboration in docstring.

  • Loading branch information...
commit 24536005e04133e865d6be236845c78987146c89 1 parent b73d925
@amueller amueller authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 sklearn/metrics/cluster/supervised.py
View
10 sklearn/metrics/cluster/supervised.py
@@ -646,10 +646,14 @@ def adjusted_mutual_info_score(labels_true, labels_pred):
def normalized_mutual_info_score(labels_true, labels_pred):
- """Normalied Mutual Information between two clusterings
+ """Normalized Mutual Information between two clusterings
- Normalized Mutual Information (AMI) is an adjustement of the Mutual
- Information (MI) score to account for chance.
+ Normalized Mutual Information (NMI) is an normalization of the Mutual
+ Information (MI) score to scale the results between 0 (no mutual
+ information) and 1 (perfect correlation).
+
+ This measure is not adjusted for chance. Therefore
+ ``adjusted_mustual_info_score`` might be preferred.
This metric is independent of the absolute values of the labels:
a permutation of the class or cluster label values won't change the
Please sign in to comment.
Something went wrong with that request. Please try again.