Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Test #41

Closed
cranst0n opened this issue Oct 13, 2015 · 1 comment
Closed

Failing Test #41

cranst0n opened this issue Oct 13, 2015 · 1 comment
Labels

Comments

@cranst0n
Copy link
Contributor

When I run mvn test I get this output:

Failed tests:   testMultivariateGaussianDistribution(smile.stat.distribution.MultivariateGaussianDistributionTest): expected:<0.9> but was:<1.0042573275810218>
  testLogNormalDistribution(smile.stat.distribution.LogNormalDistributionTest): expected:<3.0> but was:<3.120146672473464>
@haifengl
Copy link
Owner

These tests are about random number generators. After generating many random numbers, we calculate the mean and standard deviations and compare them to the true parameters. As you know, there are difference due to the nature of randomness. We use 0.1 as the difference boundary in general. But it may be bigger than that sometimes. If you run it again, the error may (or may not) disappear. I will relax the error boundary so that people feel more comfortable. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants