CatEncodeFit: A fit function to detect categorical data and encode the data...

Description Usage Arguments Value

View source: R/CatEncodeFit.R

Description

Detects and treats categorical data by taking in a data set and fit values of the train data.

Usage

1
CatEncodeFit(data, dv, fit)

Arguments

data

Any dataset in which the categorical data needs to be detected and encoded

dv

Dependent variable in the given dataset

fit

A list returned from "BestCatEncode" that is used to fit the test data.

Value

Returns the encoded dataset


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