encode_m_estimator: M-Estimator Encoding

Description Usage Arguments Value

View source: R/CatEncodePrerequisites.R

Description

Takes in a vector and encodes using M-Estimator encoding

Usage

1

Arguments

x

Any categorical vector which needs to be encoded

y

Dependent variable of the dataset

m

M value defaulted to 1

Value

Returns a list with encoded data and fit file to fit the test data


akunuriYoshitha/CatEncode documentation built on July 16, 2021, 4:16 p.m.