powered by
Kernel functions for distance weighting
weight_func(values = values_weight_func)values_weight_func
values_weight_func
A character string of possible values. See values_weight_func in examples below.
An object of class character of length 10.
character
This parameter is used in parsnip:::nearest_neighbors().
parsnip:::nearest_neighbors()
# NOT RUN { values_weight_func weight_func() # }
Run the code above in your browser using DataLab