BestCatEncode: Detects categorical variables in a given dataset and encodes...

Description Usage Arguments Details Value

View source: R/CatEncode.R

Description

Takes in a dataset, detects categorical variables and encodes the data using multiple encoding techniques:

Usage

1

Arguments

data

Any dataset with atleast one categorical field that is to be encoded

dv

Dependent variable in the given dataset

Details

Contrast Encoding

Generic Encoders

Bayesian Encoders

Each of these 19 datasets are passed to a logistic model to choose the best possible dataset.

Value

Returns a list with an encoded dataset, performance metrics and a fit file to fit the test data.


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