Gretel Model
Last updated
Was this helpful?
Last updated
Was this helpful?
The gretel_model
action can be used to train and generate records from Gretel Models. It is a good choice for non-relational data that can share the same model config. For relational data and providing table-specific models, you should use instead.
project_id
The project to create the model in.
model
A reference to a blueprint or config location. If a config location is used, it must be addressable by the workflow action.
This field is mutually exclusive to model_config
.
model_config
Specify the model config as a dictionary. Accepts any valid model config.
This field is mutually exclusive to model
.
run_params
training_data
dataset
Train a model from a blueprint without generating any records:
Train and generate records from a model config:
Combine two models together using the outputs of one model as the inputs to another
Parameters to records. If this field is omitted, the model will be trained, but no records will get generated for the model.
Data to use for training. This should be a reference to the from a previous action.
A containing the outputs from the models created by this action.