rationalize_categoricals: This function converts the categorical variables into either...

Description Usage Arguments Value

View source: R/preparing_data.R

Description

This function converts the categorical variables into either numeric (if ordered) or characters, if not.

Usage

1
rationalize_categoricals(df, target_variable = "y")

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.