# weight_func

0th

Percentile

##### Parameter objects related to miscellaneous models.

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

Keywords
datasets
##### Usage
weight_funcsurv_distLaplaceneighborsdist_powerthreshold
##### 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-nearest 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.

• dist_power: The order parameter used in calculating a Minkowski distance.

• threshold: A general thresholding parameter for values between [0, 1].

##### 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 5.

##### Aliases
• weight_func
• misc_parameters
• surv_dist
• Laplace
• neighbors
• dist_power
• threshold
Documentation reproduced from package dials, version 0.0.2, License: GPL-2

### Community examples

Looks like there are no examples yet.