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
Brought up in #958, there are different results depending on the way on the random_seed is set.
# Doesn't workmodel.fit(random_seed=42)
model.fit(..., random_seed=np.random.default_rng(42))
# Does workmodel=ModelBuilder(..., sampler_config={"random_seed": 42})
model.fit(...)
# Doesn't work because of np.random.Generator is not serializablemodel=ModelBuilder(..., sampler_config={"random_seed": np.random.default_rng(42)})
model.fit(...)
Current workaround: Use an int random_seed parameter in sampler_config at initialization.
Brought up in #958, there are different results depending on the way on the random_seed is set.
Current workaround: Use an int
random_seed
parameter insampler_config
at initialization.See the #958 for more details.
The text was updated successfully, but these errors were encountered: