You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are already running SDV, please indicate the following details about the environment in
which you are running it:
SDV version:1.9.0
Python version:
Operating System:
Problem description
I need to in parallel generate multiple synthetic tables and concatenate them together. When I try this wiith concurrency or a simple for loop, most of the times, I get similar samples back which is not serving the purpose.
What I already tried
I have tried changing the sample numbers in each back, but still have had no luck.
The text was updated successfully, but these errors were encountered:
Currently, all of our publicly-available synthesizers are designed to generate data in a deterministic way. This is why we have methods such as reset_sampling which allow you to get back to the 0-state (right after a synthesizer is fit).
my_synthesizer.fit(data)
synthetic1=my_synthesizer.sample(num_rows=100)
synthetic2=my_synthesizer.sample(num_rows=100)
my_synthesizer.reset_sampling() # reset to original state after fittingsynthetic3=my_synthesizer.sample(num_rows=100) # same as synthetic1
I understand this may not be entirely useful when concurrency is desired. Some users in the past have had success in manually unsetting the seed -- as an example, see #1483
But we can also consider this as a feature request to support natively.
To help us prioritize, any more info would be useful about why you need to generate the synthetic data in parallel. Which synthesizer are you using? Are you exploring parallelization because you are finding it too slow, or is there another reason why parallelization would be useful?
I'm converting this issue into a general feature request for supporting concurrency (parallel sampling) for GaussianCopulaSynthesizer. We will keep it open and use it for tracking purposes.
To any new folks who are reading this thread -- please feel free to describe your use case and urgency of need down below. Any other info or insight would help us to prioritize!
Environment details
If you are already running SDV, please indicate the following details about the environment in
which you are running it:
Problem description
I need to in parallel generate multiple synthetic tables and concatenate them together. When I try this wiith concurrency or a simple for loop, most of the times, I get similar samples back which is not serving the purpose.
What I already tried
I have tried changing the sample numbers in each back, but still have had no luck.
The text was updated successfully, but these errors were encountered: