Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Commit 156d929

Browse files
authored
Update notebook per changes to train_synthetics and gretel_model (#128)
1 parent bd4ac4a commit 156d929

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

notebooks/relational.ipynb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"relational_data = connector.extract()\n",
4747
"\n",
4848
"mt = MultiTable(relational_data)\n",
49-
"mt.train_synthetics()\n",
49+
"mt.train_synthetics(config=\"synthetics/amplify\")\n",
5050
"mt.generate()\n",
5151
"\n",
5252
"connector.save(mt.synthetic_output_tables, prefix=\"synthetic_\")"
@@ -241,7 +241,6 @@
241241
"multitable = MultiTable(\n",
242242
" relational_data,\n",
243243
" # project_display_name=\"multi-table\",\n",
244-
" # gretel_model=\"amplify\",\n",
245244
" # strategy=\"independent\",\n",
246245
" # refresh_interval=60,\n",
247246
")"
@@ -393,13 +392,13 @@
393392
"source": [
394393
"# Train synthetic models for all tables\n",
395394
"\n",
396-
"multitable.train_synthetics()\n",
395+
"multitable.train_synthetics(config=\"synthetics/amplify\")\n",
397396
"\n",
398397
"# Optionally limit which tables are trained for synthetics via `only` (included) or `ignore` (excluded).\n",
399398
"# Given our example data, the two calls below will lead to the same tables getting trained, just specified different ways.\n",
400399
"#\n",
401-
"# multitable.train_synthetics(ignore={\"distribution_center\", \"products\"})\n",
402-
"# multitable.train_synthetics(only={\"users\", \"events\", \"inventory_items\", \"order_items\"})"
400+
"# multitable.train_synthetics(config=\"synthetics/amplify\", ignore={\"distribution_center\", \"products\"})\n",
401+
"# multitable.train_synthetics(config=\"synthetics/amplify\", only={\"users\", \"events\", \"inventory_items\", \"order_items\"})"
403402
]
404403
},
405404
{

0 commit comments

Comments
 (0)