View source: R/supervised-regularization.R
| tl_predict_regularized | R Documentation |
Predict using a regularized regression model
tl_predict_regularized(model, new_data, type = "response", lambda = "1se", ...)
model |
A tidylearn regularized model object |
new_data |
A data frame containing the new data |
type |
Type of prediction: "response" (default), "class" (for classification), "prob" (for classification) |
lambda |
Which lambda to use for prediction ("1se" or "min", default: "1se") |
... |
Additional arguments |
Predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.