Convert one or more linear predictor to a format used for prediction
prediction_eqn(x, ...)# S3 method for `_lognet`
prediction_eqn(x, type = "class", ...)
# S3 method for `_elnet`
prediction_eqn(x, type = "numeric", ...)
# S3 method for `_multnet`
prediction_eqn(x, type = "class", ...)
The return type varies, based on the model and prediction type.
An object that uses a glmnet::glmnet() model and all numeric predictors.
Not currently used.
The prediction type.