From d233bf9cfdbca514d26e8df920c12dd04bed19dc Mon Sep 17 00:00:00 2001 From: dzinemon Date: Thu, 20 Jun 2024 17:39:08 +0300 Subject: [PATCH] try it code --- src/components/home/try-it.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/home/try-it.js b/src/components/home/try-it.js index 886391e..fd0d7c8 100644 --- a/src/components/home/try-it.js +++ b/src/components/home/try-it.js @@ -11,12 +11,12 @@ import "prismjs/themes/prism-twilight.css"; import "prismjs/themes/prism-okaidia.css"; const code = `from sdv.datasets.demo import download_demo -from sdv.lite import SingleTablePreset +from sdv.single_table import GaussianCopulaSynthesizer real_data, metadata = download_demo( - 'single_table', 'fake_hotel_guests') + 'single_table', 'fake_hotel_guests') -synthesizer = SingleTablePreset(metadata, name='FAST_ML') +synthesizer = GaussianCopulaSynthesizer(metadata) synthesizer.fit(real_data) synthetic_data = synthesizer.sample(num_rows=10)`;