Skip to content

Commit d233bf9

Browse files
committed
try it code
1 parent 069b0d7 commit d233bf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/home/try-it.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import "prismjs/themes/prism-twilight.css";
1111
import "prismjs/themes/prism-okaidia.css";
1212

1313
const code = `from sdv.datasets.demo import download_demo
14-
from sdv.lite import SingleTablePreset
14+
from sdv.single_table import GaussianCopulaSynthesizer
1515
1616
real_data, metadata = download_demo(
17-
'single_table', 'fake_hotel_guests')
17+
'single_table', 'fake_hotel_guests')
1818
19-
synthesizer = SingleTablePreset(metadata, name='FAST_ML')
19+
synthesizer = GaussianCopulaSynthesizer(metadata)
2020
synthesizer.fit(real_data)
2121
2222
synthetic_data = synthesizer.sample(num_rows=10)`;

0 commit comments

Comments
 (0)