predict.ftrlprox: Predict function for FTRLProx models
Description
Predict outcome or probability of outcome using a regression model trained
using the FTRL PRoximal algorithm.
Usage
"predict"(object, newdata = NULL, type = c("response", "class"), ...)
Arguments
object
The model object to use for prediction.
newdata
the new dataset to predict the outcome of.
type
the type of response. Can be 'class' for class perdictions or
'response' for probabilities. Default option is 'response'.
Value
an array containing the predictions