Skip to content

Commit 4b3e49f

Browse files
committed
DOC Broken link in optics_.py
1 parent 95628bf commit 4b3e49f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/cluster/optics_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def optics(X, min_samples=5, max_bound=np.inf, metric='euclidean',
5959
6060
p : integer, optional (default=2)
6161
Parameter for the Minkowski metric from
62-
:ref:`sklearn.metrics.pairwise_distances`. When p = 1, this is
62+
:class:`sklearn.metrics.pairwise_distances`. When p = 1, this is
6363
equivalent to using manhattan_distance (l1), and euclidean_distance
6464
(l2) for p = 2. For arbitrary p, minkowski_distance (l_p) is used.
6565
@@ -173,7 +173,7 @@ class OPTICS(BaseEstimator, ClusterMixin):
173173
174174
p : integer, optional (default=2)
175175
Parameter for the Minkowski metric from
176-
:ref:`sklearn.metrics.pairwise_distances`. When p = 1, this is
176+
:class:`sklearn.metrics.pairwise_distances`. When p = 1, this is
177177
equivalent to using manhattan_distance (l1), and euclidean_distance
178178
(l2) for p = 2. For arbitrary p, minkowski_distance (l_p) is used.
179179

0 commit comments

Comments
 (0)