DOC Add link, fix wording of KNeighborsRegressor
@@ -77,10 +77,10 @@ class KNeighborsRegressor(NeighborsBase, KNeighborsMixin,
metric : str or callable, default='minkowski'
the distance metric to use for the tree. The default metric is
minkowski, and with p=2 is equivalent to the standard Euclidean
- metric. See the documentation of the DistanceMetric class for a
+ metric. See the documentation of :class:`DistanceMetric` for a
list of available metrics.
If metric is "precomputed", X is assumed to be a distance matrix and
- must be square during fit. X may be a :term:`Glossary <sparse graph>`,
+ must be square during fit. X may be a :term:`sparse graph`,
in which case only "nonzero" elements may be considered neighbors.
metric_params : dict, default=None
