Skip to content

Commit 01044fb

Browse files
Upspec test parameters
1 parent a36f488 commit 01044fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_flow_model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ def test_flows_normalization(model, var):
176176
model.temperature = 1.0
177177

178178
# MC integral of the flow
179-
num_samples_int = 50000
179+
num_samples_int = 100000
180180
shape = (num_samples_int, ndim)
181181
# Draw samples from uniform distribution -3 to 3 standard deviations away from mean
182-
minval = -3 * var**0.5
183-
maxval = 3 * var**0.5
182+
minval = -4 * var**0.5
183+
maxval = 4 * var**0.5
184184
uniform_samples = jax.random.uniform(
185185
jax.random.PRNGKey(0), shape=shape, minval=minval, maxval=maxval
186186
)
@@ -227,7 +227,7 @@ def test_flows_gaussian(model):
227227

228228
model.fit(samples, epochs=epochs, verbose=True)
229229

230-
nsamples = 5000
230+
nsamples = 10000
231231
model.temperature = 1.0
232232
flow_samples = model.sample(nsamples)
233233
sample_var = jnp.var(flow_samples, axis=0)

0 commit comments

Comments
 (0)