|
46 | 46 | "relational_data = connector.extract()\n", |
47 | 47 | "\n", |
48 | 48 | "mt = MultiTable(relational_data)\n", |
49 | | - "mt.train_synthetics()\n", |
| 49 | + "mt.train_synthetics(config=\"synthetics/amplify\")\n", |
50 | 50 | "mt.generate()\n", |
51 | 51 | "\n", |
52 | 52 | "connector.save(mt.synthetic_output_tables, prefix=\"synthetic_\")" |
|
241 | 241 | "multitable = MultiTable(\n", |
242 | 242 | " relational_data,\n", |
243 | 243 | " # project_display_name=\"multi-table\",\n", |
244 | | - " # gretel_model=\"amplify\",\n", |
245 | 244 | " # strategy=\"independent\",\n", |
246 | 245 | " # refresh_interval=60,\n", |
247 | 246 | ")" |
|
393 | 392 | "source": [ |
394 | 393 | "# Train synthetic models for all tables\n", |
395 | 394 | "\n", |
396 | | - "multitable.train_synthetics()\n", |
| 395 | + "multitable.train_synthetics(config=\"synthetics/amplify\")\n", |
397 | 396 | "\n", |
398 | 397 | "# Optionally limit which tables are trained for synthetics via `only` (included) or `ignore` (excluded).\n", |
399 | 398 | "# Given our example data, the two calls below will lead to the same tables getting trained, just specified different ways.\n", |
400 | 399 | "#\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\"})" |
403 | 402 | ] |
404 | 403 | }, |
405 | 404 | { |
|
0 commit comments