Skip to content

Commit 66ffb58

Browse files
authored
DOC: Correct typos in clustering.rst (scikit-learn#30885)
1 parent 0988108 commit 66ffb58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/modules/clustering.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ labels, rename 2 to 3, and get the same score::
13281328
>>> metrics.adjusted_rand_score(labels_true, labels_pred)
13291329
0.24...
13301330

1331-
Furthermore, both :func:`rand_score` :func:`adjusted_rand_score` are
1331+
Furthermore, both :func:`rand_score` and :func:`adjusted_rand_score` are
13321332
**symmetric**: swapping the argument does not change the scores. They can
13331333
thus be used as **consensus measures**::
13341334

@@ -1348,7 +1348,7 @@ Perfect labeling is scored 1.0::
13481348
Poorly agreeing labels (e.g. independent labelings) have lower scores,
13491349
and for the adjusted Rand index the score will be negative or close to
13501350
zero. However, for the unadjusted Rand index the score, while lower,
1351-
will not necessarily be close to zero.::
1351+
will not necessarily be close to zero::
13521352

13531353
>>> labels_true = [0, 0, 0, 0, 0, 0, 1, 1]
13541354
>>> labels_pred = [0, 1, 2, 3, 4, 5, 5, 6]

0 commit comments

Comments
 (0)