predict.elnet.madlib {PivotalR} | R Documentation |
Prediction from models fit by madlib.elnet
## S3 method for class 'elnet.madlib' predict(object, newdata, type = c("response", "prob"), ...)
object |
The result of |
newdata |
A |
type |
A string, default is "response". The other option is "prob". The prediction for "gaussian"/"linear" family of |
... |
Extra parameters. Not implemented yet. |
A db.Rquery
object, which contains the SQL query
to compute the prediction. One can use the function lk
to look at the values.
Author: Predictive Analytics Team at Pivotal Inc.
Maintainer: Frank McQuillan, Pivotal Inc. fmcquillan@pivotal.io
madlib.elnet
Wrapper for MADlib elastic net regularization.
predict.lm.madlib
and
predict.logregr.madlib
produce predictions for linear
and logistic models.
## see the examples in madlib.elnet