initialize,lookupTable-method {lookupTable} | R Documentation |
Initialize and construct a lookupTable object
Description
Initialize and construct a lookupTable object
Usage
## 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
[Package lookupTable version 0.1 Index]