8000 Changed example wording · scikit-learn/scikit-learn@22a8610 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22a8610

Browse files
committed
Changed example wording
1 parent d848cf9 commit 22a8610

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/modules/neighbors.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ Algorithm Valid Metrics
505505
'mahalanobis', 'p', 'l2', 'hamming', 'l1', 'wminkowski', 'pyfunc'
506506
======================== =================================================================
507507

508-
A list of valid metrics for the above algorithms can be obtained by:
508+
A list of valid metrics for the any of the above algorithms can be obtained by using their
509+
``valid_metric`` attribute. For example, valid metrics for ``KDTree`` can be generated by:
509510

510511
>>> from sklearn.neighbors import KDTree
511512
>>> import numpy as np

0 commit comments

Comments
 (0)
0