Feature-Constructors {rai} | R Documentation |
Making Source Objects
Description
These functions create and manage the features to test. The raw
source only tests marginal features (the covariates in the design matrix)
while the scavenger source tests for interactions between a base feature
and those features already in the model. makeLocalScavenger builds on
makeRawSource. Defaults are not set because these are internal functions
called by rai
and runAuction
and all arguments
are required.
Usage
makeRawSource(ncolumns)
makeLocalScavenger(theModelFeatures, name)
Arguments
ncolumns |
number of features this constructor should manage, thought of as columns of the design matrix. |
theModelFeatures |
other features currently in the model. |
name |
name of the base feature with which to create interactions. |
Value
A closure containing a list of functions.
[Package rai version 1.0.0 Index]