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

Implement sampler as independent function #5917

Closed
wanghaoshuang opened this issue Nov 27, 2017 · 0 comments · Fixed by #5945
Closed

Implement sampler as independent function #5917

wanghaoshuang opened this issue Nov 27, 2017 · 0 comments · Fixed by #5945
Assignees

Comments

@wanghaoshuang
Copy link
Contributor

wanghaoshuang commented Nov 27, 2017

  • uniform distribution sampler
  • log uniform distribution sampler
    • The terms in NLP application always meet heavy-tailed distribution. So we need a log uniform distribution sampler. And the distribution`s PDF is 1/(x+1)lnR in which R is the range of sampling.

How to implement log uniform distribution sampler

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

Successfully merging a pull request may close this issue.

1 participant