Install
Start
Tutorials
User Guide
API Reference
Release Notes
evalml.pipelines.components.KNeighborsClassifier.__init__
¶
KNeighborsClassifier.
__init__
(
n_neighbors
=
5
,
weights
=
'uniform'
,
algorithm
=
'auto'
,
leaf_size
=
30
,
p
=
2
,
random_state
=
0
,
**
kwargs
)
[source]
¶
Initialize self. See help(type(self)) for accurate signature.
evalml.pipelines.components.KNeighborsClassifier
evalml.pipelines.components.KNeighborsClassifier.clone