Skip to content

Commit

Permalink
set a lower success_rate (apache#9927)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxjscience authored and piiswrong committed Feb 28, 2018
1 parent f752d22 commit 53060f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,7 @@ def chi_square_check(generator, buckets, probs, nsamples=1000000):
_, p = ss.chisquare(f_obs=obs_freq, f_exp=expected_freq)
return p, obs_freq, expected_freq

def verify_generator(generator, buckets, probs, nsamples=1000000, nrepeat=5, success_rate=0.25):
def verify_generator(generator, buckets, probs, nsamples=1000000, nrepeat=5, success_rate=0.15):
"""Verify whether the generator is correct using chi-square testing.
The test is repeated for "nrepeat" times and we check if the success rate is
Expand Down

0 comments on commit 53060f1

Please sign in to comment.