Generate prediction for the response.
predict_TSLA(
object,
X_1_new = NULL,
X_2_new,
type = c("response", "link"),
...
)Predictions. The first dimension is indexed by the observation, the second dimension is indexed by \(\lambda\), and the third dimension is indexed by \(\alpha\).
A fit output from TSLA.fit().
New unpenalized features in matrix form.
New binary features in matrix form.
Two options: "response" or "link". The two options only
differ for family="logit".
Other parameters.