Skip to content

Commit 7c29eca

Browse files
committed
DOC fix broken URL
+ remove trailing whitespace
1 parent 78fbd25 commit 7c29eca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/modules/clustering.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ mean of homogeneity and completeness**:
12211221
.. topic:: References
12221222

12231223
.. [RH2007] `V-Measure: A conditional entropy-based external cluster evaluation
1224-
measure <http://acl.ldc.upenn.edu/D/D07/D07-1043.pdf>`_
1224+
measure <http://aclweb.org/anthology/D/D07/D07-1043.pdf>`_
12251225
Andrew Rosenberg and Julia Hirschberg, 2007
12261226
12271227
.. [B2011] `Identication and Characterization of Events in Social Media

sklearn/metrics/cluster/supervised.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def homogeneity_score(labels_true, labels_pred):
292292
293293
.. [1] `Andrew Rosenberg and Julia Hirschberg, 2007. V-Measure: A
294294
conditional entropy-based external cluster evaluation measure
295-
<http://acl.ldc.upenn.edu/D/D07/D07-1043.pdf>`_
295+
<http://aclweb.org/anthology/D/D07/D07-1043.pdf>`_
296296
297297
See also
298298
--------
@@ -364,7 +364,7 @@ def completeness_score(labels_true, labels_pred):
364364
365365
.. [1] `Andrew Rosenberg and Julia Hirschberg, 2007. V-Measure: A
366366
conditional entropy-based external cluster evaluation measure
367-
<http://acl.ldc.upenn.edu/D/D07/D07-1043.pdf>`_
367+
<http://aclweb.org/anthology/D/D07/D07-1043.pdf>`_
368368
369369
See also
370370
--------
@@ -436,7 +436,7 @@ def v_measure_score(labels_true, labels_pred):
436436
437437
.. [1] `Andrew Rosenberg and Julia Hirschberg, 2007. V-Measure: A
438438
conditional entropy-based external cluster evaluation measure
439-
<http://acl.ldc.upenn.edu/D/D07/D07-1043.pdf>`_
439+
<http://aclweb.org/anthology/D/D07/D07-1043.pdf>`_
440440
441441
See also
442442
--------
@@ -596,8 +596,8 @@ def adjusted_mutual_info_score(labels_true, labels_pred):
596596
Returns
597597
-------
598598
ami: float(upperlimited by 1.0)
599-
The AMI returns a value of 1 when the two partitions are identical
600-
(ie perfectly matched). Random partitions (independent labellings) have
599+
The AMI returns a value of 1 when the two partitions are identical
600+
(ie perfectly matched). Random partitions (independent labellings) have
601601
an expected AMI around 0 on average hence can be negative.
602602
603603
See also

0 commit comments

Comments
 (0)