R/nearest_neighbor_kknn.R

#' K-nearest neighbors via kknn
#'
#' [kknn::train.kknn()] fits a model that uses the `K` most similar data points
#' from the training set to predict new samples.
#'
#' @includeRmd man/rmd/nearest_neighbor_kknn.md details
#'
#' @name details_nearest_neighbor_kknn
#' @keywords internal
NULL

# See inst/README-DOCS.md for a description of how these files are processed

Try the parsnip package in your browser

Any scripts or data that you put into this service are public.

parsnip documentation built on June 24, 2024, 5:14 p.m.