depend on an hal9001 object. which is the fit on the whole data.
basic_fixed_HAL( Y, X, hal9001_object = NULL, newX = NULL, family = stats::gaussian(), obsWeights = rep(1, length(Y)), inflate_lambda = 1, ... )
| Y | vector of target |
|---|---|
| X | data.frame of feature |
| hal9001_object | hal9001 object |
| newX | data.frame of features to generate prediction |
| family | glm family Y |
| obsWeights | vector of weight |
| inflate_lambda | scale the penalty factor |
| ... | other arguments |