directory/filenamepattern (no file extension required). So the string
synthetics/defaultwill automatically fetch and load this configuration file.
gretel models create ...command set.
synthetics/default) let's create a model:
--outputparameter, so in this example, artifacts should be saved to the
data_preview.gzcontains the synthetic data that was created as part of the model creation process
report.html.gzcontains the Synthetic Quality Score report as a human readable HTML file
report_json.json.gzcontains the data from the SQS report but in a JSON consumable format
logs.json.gzcontain the model creation logs, these may be useful if you ever contact Gretel support
--outputdirectory. If you have disconnected the CLI from Gretel Cloud, for example using the
--waitoption, then you may download the artifacts manually. This can be done with the following command:
Projectinstance, we will want to do a few things:
Projectinstance to create a
Modelinstance by using a specific
create_model_obj()factory method. This factory method takes both our Gretel Configuration and data source (a DataFrame) as params.
Modelinstance created, we have to actually submit it to Gretel Cloud
Modelinstance for completion
Modelinstance was in memory the entire time. If you ever lose that instance or restart your Python interpreter, you can create and hydrate a new
Modelinstance right from your