pp_normalize: Create a pp module which normalizes numerical features.

Description Usage Arguments

Description

Create a pp module which normalizes numerical features.

Usage

1
2
pp_normalize(cols = NULL, method = c("mean-sd", "zero-one"),
  desc = NULL, data = NULL, standby = TRUE)

Arguments

cols

A character vector. Specify the names of features to normalize.

method

A character, one of ("mean-sd", "zero-one"). If '"mean-sd"', subtract by mean and then divide by standard deviation. If '"zero-one"', fit range into [0, 1].

desc

(optional) Description of the module.


jeongnna/dps documentation built on May 5, 2019, 12:27 a.m.