one_hot_encoder: One Hot Encoder

Description Usage Arguments

View source: R/one_hot_encoder.R

Description

This function one-hot encodes a list of features

Usage

1
one_hot_encoder(df, features)

Arguments

df

A data.frame (or coercible) object that contains the columns to be encoded

features

A list of names that identify the columns to be encoded


gm209/gmtools documentation built on May 22, 2019, 2:39 p.m.