| predict | R Documentation |
Predict method for glmnet_mx (maxnet) models
predict.glmnet_mx(object, newdata, clamp = FALSE,
type = c("link", "exponential", "cloglog", "logistic",
"cumulative"))
object |
a glmnet_mx object. |
newdata |
data to predict on. |
clamp |
(logical) whether to clamp predictions. Default = FALSE. |
type |
(character) type of prediction to be performed. Options are: "link", "exponential", "cloglog", "logistic", and cumulative. Defaults to "link" if not defined. |
A glmnet_mx (maxnet) prediction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.