Skip to content

Commit

Permalink
try it code
Browse files Browse the repository at this point in the history
  • Loading branch information
dzinemon committed Jun 20, 2024
1 parent 069b0d7 commit d233bf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/home/try-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)`;
Expand Down

0 comments on commit d233bf9

Please sign in to comment.