From 56f8eb34d048095bc9e05828e6e04aba72e130e7 Mon Sep 17 00:00:00 2001 From: JF Date: Mon, 15 Apr 2019 11:17:49 -0400 Subject: [PATCH] DOC Removed a typo from the examples of normalized_mutual_info_score (#13646) --- sklearn/metrics/cluster/supervised.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/metrics/cluster/supervised.py b/sklearn/metrics/cluster/supervised.py index b43a3574106a3..f0bf025d79462 100644 --- a/sklearn/metrics/cluster/supervised.py +++ b/sklearn/metrics/cluster/supervised.py @@ -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