Learn R Programming

dials (version 0.0.8)

weight_func: Kernel functions for distance weighting

Description

Kernel functions for distance weighting

Usage

weight_func(values = values_weight_func)

values_weight_func

Arguments

values

A character string of possible values. See values_weight_func in examples below.

Format

An object of class character of length 10.

Details

This parameter is used in parsnip:::nearest_neighbors().

Examples

Run this code
# NOT RUN {
values_weight_func
weight_func()
# }

Run the code above in your browser using DataLab