initialize-lookupTable-method: Initialize and construct a lookupTable object

Description Usage Arguments Value

Description

Initialize and construct a lookupTable object

Usage

1
2
3
4
## S4 method for signature 'lookupTable'
initialize(.Object, df.input, response,
  feature.boundaries, features.con = character(0),
  features.cat = character(0), fill.method = "mean")

Arguments

.Object

the prototype object

df.input

training data set containing columns with names found in features.con and features.cat vectors

response

name of the response variable

feature.boundaries

a list of thresholds for each continuous feature (names contained in feature.con) to construct bins. Should use -Inf and Inf as the first and last values, respectively.

features.con

a vector of continuous feature names

features.cat

a vector of categorical feature names

fill.method

the method to fill entries of the table ('mean' or 'median')

Value

A lookupTable object with a table trained with df.input data


lookupTable documentation built on May 2, 2019, 2:57 p.m.