encode_generic_fit: A fit function to encode categorical data

Description Usage Arguments Value

View source: R/CatEncodeFit.R

Description

Detects the categorical variables and treats it based on the fit file generated by train data.

Usage

1

Arguments

x

Any categorical vector which needs to be encoded

fit

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

Value

Returns the encoded data vector


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