Skip to content

Commit

Permalink
DOC Removed a typo from the examples of normalized_mutual_info_score (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbeaumont authored and koenvandevelde committed Jul 12, 2019
1 parent ccbea41 commit 56f8eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/metrics/cluster/supervised.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ def normalized_mutual_info_score(labels_true, labels_pred,
If classes members are completely split across different clusters,
the assignment is totally in-complete, hence the NMI is null::
>>> normalized_mutual_info_score([0, 0, 0, 0], [0, 1, 2, 3])i
>>> normalized_mutual_info_score([0, 0, 0, 0], [0, 1, 2, 3])
... # doctest: +SKIP
0.0
Expand Down

0 comments on commit 56f8eb3

Please sign in to comment.