Learn R Programming

dials (version 0.0.1)

weight_func: Parameter objects related to miscellaneous models.

Description

These are objects that can be used for modeling, especially in conjunction with the parsnip package.

Usage

weight_func

surv_dist

Laplace

neighbors

Arguments

Value

Each object is generated by either new_quant_param or new_qual_param.

Format

An object of class qual_param (inherits from param) of length 4.

Details

These objects are pre-made parameter sets that are useful in a variety of models.

  • weight_func: The type of kernel function that weights the distances between samples (e.g. in a K-near neighbors model).

  • surv_dist: the statistical distribution of the data in a survival analysis model (e.g. parsnip::surv_reg()) .

  • Laplace: the Laplace correction used to smooth low-frequency counts.

  • neighbors: a parameter for the number of neighbors used in a prototype model.