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
I'd like to set up some tests for the generated data in my project but I can't see any way to fix the random seed for the data sampling procedure in SDV. I'm not sure if there is any random factor in data model generation as well so I would need to fix the seed there too.
What I Did
I tried to check the parameters in the methods in SDV - there is nothing about the seed.
I tried to fix the seed using standard Python and Numpy ways:
import numpy as np
import random
RANDOM_SEED = 0
np.random.seed(RANDOM_SEED)
random.seed(RANDOM_SEED)
SDV doesn't get affected by these.
I tried to search for keywords "random" and "seed" in SDV project but I couldn't find anything.
My guess is that randomization comes from some sub-dependencies of the project. I haven't managed to figure out from where exactly yet.
The text was updated successfully, but these errors were encountered:
Description
I'd like to set up some tests for the generated data in my project but I can't see any way to fix the random seed for the data sampling procedure in SDV. I'm not sure if there is any random factor in data model generation as well so I would need to fix the seed there too.
What I Did
I tried to check the parameters in the methods in SDV - there is nothing about the seed.
I tried to fix the seed using standard Python and Numpy ways:
SDV doesn't get affected by these.
I tried to search for keywords "random" and "seed" in SDV project but I couldn't find anything.
My guess is that randomization comes from some sub-dependencies of the project. I haven't managed to figure out from where exactly yet.
The text was updated successfully, but these errors were encountered: