Description Usage Arguments Details Value See Also Examples
Fit a k-nearest neighbor model for which the k nearest training set vectors (according to Minkowski distance) are found for each row of the test set, and prediction is done via the maximum of summed kernel densities.
1 2 3 4 5 6 7 |
k |
numer of neigbors considered. |
distance |
Minkowski distance parameter. |
scale |
logical indicating whether to scale predictors to have equal standard deviations. |
kernel |
kernel to use. |
factor
, numeric
, ordinal
k
, distance
*, kernel
*
* excluded from grids by default
Further model details can be found in the source link below.
MLModel
class object.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.