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

truncated DP mixture model example #183

Open
dustinvtran opened this issue Jul 21, 2016 · 11 comments
Open

truncated DP mixture model example #183

dustinvtran opened this issue Jul 21, 2016 · 11 comments
Labels

Comments

@dustinvtran
Copy link
Member

(Elham Azizi asks about DP mixture models for use in some of her work with Dana Pe’er in computational biology.)

part of my reply below:

DPs in their full infiniteness aren’t possible in Edward for similar reasons as Stan. It requires lazy evaluation to bake in a generative process with an infinite number of latent variables but whose output only uses a finite number of latent variables. We’re still working on that regard.

Truncated DP mixture models are definitely possible, e.g., setting the maximum number of stick breaks a priori. And it seems like that’s what your work uses. I imagine Edward is the fastest for inferring it in practice because all other systems out there use MCMC or SMC. And Edward will handle data subsampling and things like GPU support or distributed training if you want to take advantage of them.

Would be great if someone gets a truncated DP mixture model up and running!

@AustinRochford
Copy link

AustinRochford commented Jul 22, 2016

I have a PyMC3 truncated DP mixture model example currently via MCMC here. It may be possible to adapt this into an Edward example by swapping out some of the Theano-specific bits, if necessary. I'd be happy to give this a shot once I get back from an internet-less vacation next week.

@dustinvtran
Copy link
Member Author

@AustinRochford: yeah that would be fantastic if you could.

@elhamazizi
Copy link

That would be really helpful, thanks! @AustinRochford

@AlexPiche
Copy link

@AustinRochford, I was wondering if you were working on the issue? If yes, I would be happy to help you out. I am familiar with DP, nested DP and hierarchical DP mixtures.

@AustinRochford
Copy link

@AlexPiche I had done some work on it, then my day job got in the way. I am hoping to pick it up again in the next two or three weeks

@dustinvtran dustinvtran mentioned this issue Feb 15, 2017
16 tasks
@jengelman
Copy link
Contributor

@AustinRochford did you ever end up picking this up again? I'm doing some work on nonparametrics and would be happy to contribute.

@AustinRochford
Copy link

I did not get a chance to get very far on this, so feel free to pick it up if you're so inclined!

@elhamazizi
Copy link

elhamazizi commented Feb 13, 2018 via email

@dustinvtran
Copy link
Member Author

dustinvtran commented Feb 13, 2018

hi @elhamazizi. The answer is an unfortunate no. I believe there's a truncated DP model if you search the Forum. But we never got efficient inference to work on it(?).

@elhamazizi
Copy link

elhamazizi commented Feb 16, 2018 via email

@dustinvtran
Copy link
Member Author

dustinvtran commented Feb 16, 2018 via email

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

5 participants