8000 DOC Add example link to KNeighborsClassifier class (#26979) · scikit-learn/scikit-learn@09aa60c · GitHub
[go: up one dir, main page]

Skip to content

Commit 09aa60c

Browse files
emma-carballaljeremiedbb
authored andcommitted
DOC Add example link to KNeighborsClassifier class (#26979)
1 parent ad423f2 commit 09aa60c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sklearn/neighbors/_classification.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ class KNeighborsClassifier(KNeighborsMixin, ClassifierMixin, NeighborsBase):
5454
array of distances, and returns an array of the same shape
5555
containing the weights.
5656
57+
Refer to the example entitled
58+
:ref:`sphx_glr_auto_examples_neighbors_plot_classification.py`
59+
showing the impact of the `weights` parameter on the decision
60+
boundary.
61+
5762
algorithm : {'auto', 'ball_tree', 'kd_tree', 'brute'}, default='auto'
5863
Algorithm used to compute the nearest neighbors:
5964

0 commit comments

Comments
 (0)
0