encode_leave_one_out: Leave One Out Encoding

Description Usage Arguments Value

View source: R/CatEncodePrerequisites.R

Description

Takes in a vector and encodes using Leave One Out encoding

Usage

1

Arguments

x

Any categorical vector which needs to be encoded

dv

Dependent variable of the dataset

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.