predict_cvTSLA {TSLA} | R Documentation |
Prediction from cross validation
Description
A convenient function to get prediction from the selected tuning parameters by cross validation.
Usage
predict_cvTSLA(
object,
X_1_new = NULL,
X_2_new,
type = c("response", "link"),
...
)
Arguments
object |
A fit output from |
X_1_new |
New unpenalized features in matrix form. |
X_2_new |
New binary features in matrix form. |
type |
Two options: "response" or "link". The two options only
differ for |
... |
Other parameters. |
Value
Predictions.
[Package TSLA version 0.1.2 Index]