tests/testthat/_snaps/nearest_neighbor-tunable.md

tunable parameters for nearest_neighbor + kknn

Code
  display_tunable_call_info(set_engine(nearest_neighbor(), "kknn"))
Output
  neighbors                 | pkg: dials, fun: neighbors, range: c( 1.00, 15.00) | main
  weight_func               | pkg: dials, fun: weight_func | main
  dist_power                | pkg: dials, fun: dist_power, range: c(0.10, 2.00) | main


Try the parsnip package in your browser

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

parsnip documentation built on May 14, 2026, 5:08 p.m.