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 the gretel_tabular action instead.
Inputs
Outputs
Example Configs
Train a model from a blueprint without generating any records:
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
Parameters to run or generate records.
If this field is omitted, the model will be trained, but no records will get generated for the model.
training_data
Data to use for training. This should be a reference to the output from a previous action.
dataset
A dataset object containing the outputs from the models created by this action.