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
tidymodels/parsnip documentation built on Feb. 19, 2025, 2:10 a.m.