Learn R Programming

dials (version 1.3.0)

weight_func: Kernel functions for distance weighting

Description

Kernel functions for distance weighting

Usage

weight_func(values = values_weight_func)

values_weight_func

Format

An object of class character of length 10.

Arguments

values

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

Details

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

Examples

Run this code
values_weight_func
weight_func()

Run the code above in your browser using DataLab