SL.hal9001 {hal9001} | R Documentation |
Wrapper for Classic SuperLearner
Description
Wrapper for SuperLearner for objects of class hal9001
Usage
SL.hal9001(
Y,
X,
newX,
family,
obsWeights,
id,
max_degree = 2,
smoothness_orders = 1,
num_knots = 5,
...
)
Arguments
Y |
A |
X |
An input |
newX |
A matrix of new observations on which to obtain predictions. The
default of |
family |
A |
obsWeights |
A |
id |
A |
max_degree |
The highest order of interaction terms for which basis functions ought to be generated. |
smoothness_orders |
An |
num_knots |
An |
... |
Additional arguments to |
Value
An object of class SL.hal9001
with a fitted hal9001
object and corresponding predictions based on the input data.