Most likely, your problem is stemming from seeding issues, make sure that you set a seed for both random.seed(), and for numpy.random.seed(). You’ll need to seed both, as numpy’s random seed is independent from the random random state.
Most likely, your problem is stemming from seeding issues, make sure that you set a seed for both random.seed(), and for numpy.random.seed(). You’ll need to seed both, as numpy’s random seed is independent from the random random state.