Description Usage Arguments Details Value Author(s) See Also
Generate predictions for a glmnet model.
1 2 |
object |
An object from |
data |
A dataframe that will be used to generate predictions. |
verbose |
If TRUE then prediction information will be printed to the console. |
... |
Extra unused arguments. |
This function generates predictions using the data provided. If columns in the model matrix are missing
then columns of zeros will be inserted and a warning will be generated. Typically transformations are
applied using GetTransforms
before predict
is applied.
A list is returned with elements as follows:
model.matrix |
The model matrix used to calculate predicted values. |
predicted |
Predicted values. |
lambda |
The lambda value used by |
missing.cols |
Column names that are missing from the prediction matrix. |
Justin Hemann <support@causata.com>
ModelDefinition, glmnet, model.matrix, glmnet, GetTransforms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.