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

Multivariate Categorical distribution #62

Open
mohamed82008 opened this issue Apr 9, 2020 · 0 comments
Open

Multivariate Categorical distribution #62

mohamed82008 opened this issue Apr 9, 2020 · 0 comments

Comments

@mohamed82008
Copy link
Member

Currently, I am fairly convinced that the main thing keeping Turing from reaching Stan speeds on https://github.com/TuringLang/TuringExamples/tree/master/benchmarks/hmm_semisup is a multivariate categorical distribution that takes a matrix of probabilities in. Even with ReverseDiff, caching the tape and some broadcasting and vectorization tricks, we are still significantly slower than Stan because of this issue. This issue shouldn't be too hard for anyone willing to start contributing to DistributionsAD.

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

No branches or pull requests

1 participant