Prediction method for sento_model
class, with usage along the lines of
predict.glmnet
, but simplified in terms of parameters.
# S3 method for sento_model predict(object, newx, type = "response", offset = NULL, ...)
object | a |
---|---|
newx | a data |
type | type of prediction required, a value from |
offset | not used. |
... | not used. |
A prediction output depending on the type
argument.
predict.glmnet
, sento_model
Samuel Borms