View source: R/glmnet_predict_binom.R
glmnet_predict_binom | R Documentation |
Gets response predictions from a binomial cv.glmnet
model in the same form as predictions from
ranger models and as used by yardstick.
glmnet_predict_binom(fit, newx, type = "response", ...)
fit |
A model fitted with |
newx |
Matrix of new values for |
type |
Passed to |
... |
Other arguments passed to |
A tibble of prediction probabilities with a column for each class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.