predict.elnet.madlib: Predict using the regression result of elastic net regularization
Usage
# S3 method for elnet.madlib
predict(object, newdata, type = c("response", "prob"), ...)Arguments
newdata
A '>db.obj object, which wraps the data in the
    database.
type
A string, default is "response". The other option is "prob". The prediction for "gaussian"/"linear" family of madlib.elnet result is always for the dependent variable. The prediction for "binomial"/"logistic" family is TRUE/FALSE values for "response", and probabilities of TRUE for "prob".
…
Extra parameters. Not implemented yet.
Value
A '>db.Rquery object, which contains the SQL query
  to compute the prediction. One can use the function lk to look at the values.
Examples
Run this code# NOT RUN {
## see the examples in madlib.elnet
# }
Run the code above in your browser using DataLab