Exception in case the specified recipe is invalid.
Base class for
Recipes which convert configs to graph schemas.
Recipe based on an optional recipe identifier.
name- The identifier which is used to select a certain
Nonethe default recipe will be used.
A recipe which can be used to convert a given config to train and predict graph schemas.
Adds missing options with defaults and dumps the configuration.
Override in child classes if this functionality is needed, each recipe will have different auto configuration values.
Converts a config to a graph compatible model configuration.
config- The config which the
Recipeis supposed to convert.
cli_parameters- Potential CLI params which should be interpolated into the components configs.
training_type- The current training type. Can be used to omit / add certain parts of the graphs.
Truethen the components should load themselves from trained version of themselves instead of using
createto start from scratch.
The model configuration which enables to run the model as a graph for training and prediction.