getDiscretizeTransform: get function that discretizes numerical feature to factor

Description Usage Arguments Value

Description

get function that discretizes numerical feature to factor

Usage

1
getDiscretizeTransform(col, fit_dt, n = 10)

Arguments

col:

transformation function will transform this column

fit_dt:

use data in fit_dt to calculate discretization boundaries

n:

calculate this many discretization boundary points

Value

list(col, fun) where fun is the transformation function


jukujala/R-data-pipe documentation built on Jan. 13, 2020, 11:28 a.m.