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

Rcpp/CppBugs example #1

Open
ttriche opened this issue May 23, 2011 · 0 comments
Open

Rcpp/CppBugs example #1

ttriche opened this issue May 23, 2011 · 0 comments

Comments

@ttriche
Copy link

ttriche commented May 23, 2011

The existing (and well circulated) example of inlining a CppBugs run into R via Rcpp is

http://www.mail-archive.com/[email protected]/msg00825.html

An updated version with eg. LDA, a Dirichlet process mixture model, or an Indian Buffet Process would be nice.

The latter might be especially compelling as, to my knowledge, nothing like it exists in the R world, the closest comparable being the PyIBP project, which implements Stephen Walker and Finale Doshi-Velez's slice sampler, augmented to allow infinite real-valued features as suggested by Zoubin Ghahramani and others. Implementing the sampler via CppBugs seems like a logical direction inasmuch as npBayes methods are particularly sensitive to performance, and slice sampling was one of the first MCMC methods to be successfully sped up via GPU computation. But, that's just my $0.02.

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