transform_target_variable: This function converts the target variable to integer if it...

Description Usage Arguments Value

View source: R/preparing_data.R

Description

This function converts the target variable to integer if it is a categorical variable. and builds a map of the transformation.

Usage

1
transform_target_variable(df, target_variable)

Arguments

df

a data frame

target_variable

a string name for the target variable

Value

list


pbhogale/simplexgb documentation built on Nov. 27, 2021, 3:06 p.m.