Skip to content

Improve parameter distributions used in TestGaussianDistribution#540

Merged
muupan merged 3 commits intochainer:masterfrom
muupan:less-flakey-test-distribution
Aug 26, 2019
Merged

Improve parameter distributions used in TestGaussianDistribution#540
muupan merged 3 commits intochainer:masterfrom
muupan:less-flakey-test-distribution

Conversation

@muupan
Copy link
Copy Markdown
Member

@muupan muupan commented Aug 26, 2019

Before this PR, both mean and var is sampled uniformly from [0,1]. This is not good because

This PR changes the parameter distributions so that mean is sampled from N(0,1) while variance is sampled from U(0.5,2).

I locally ran TestGaussian 100 times without failure.

@muupan
Copy link
Copy Markdown
Member Author

muupan commented Aug 26, 2019

/test

@pfn-ci-bot
Copy link
Copy Markdown
Collaborator

Successfully created a job for commit c91d7cc:

@toslunar toslunar self-assigned this Aug 26, 2019
@muupan
Copy link
Copy Markdown
Member Author

muupan commented Aug 26, 2019

/test

@pfn-ci-bot
Copy link
Copy Markdown
Collaborator

Successfully created a job for commit d62fe4c:

@muupan muupan merged commit 423b732 into chainer:master Aug 26, 2019
@muupan muupan deleted the less-flakey-test-distribution branch August 26, 2019 17:22
@muupan muupan added this to the v0.8 milestone Feb 6, 2020
@muupan muupan added the test label Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants