ppCoderN: Solve a numeric partial pooling problem.

Description Usage Arguments Value

View source: R/partial_pooling.R

Description

Please see https://win-vector.com/2017/09/25/custom-level-coding-in-vtreat/ and https://win-vector.com/2017/09/28/partial-pooling-for-lower-variance-variable-encoding/.

Usage

1
ppCoderN(v, vcol, y, w = NULL)

Arguments

v

character variable name

vcol

character, independent or input variable

y

numeric, dependent or outcome variable to predict

w

row/example weights

Value

scored training data column


vtreat documentation built on June 11, 2021, 5:13 p.m.