ModelDefinition: Define model metadata.
Description
This function defines model metadata for models that will be uploaded to Causata.Usage
## S3 method for class 'cv.glmnet':
ModelDefinition(model, causata.data, formula,
lambda = model$lambda.1se, \dots)
Arguments
model
A model object from cv.glmnet.
causata.data
Model training data from CausataData.
formula
The formula used to train the model.
lambda
The lambda parameter from glmnet.
...
Extra unused arguments.
Value
- An object of class
ModelDefinition is returned is returned by the ModelDefinition function.
Details
The package vignette illustrates how the ModelDefinition function is used.