-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
ENH - Mixture density class #1401
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
Comments
Do you recall a good citation that discusses this? Is it in the stan paper? On Sep 27, 2016 8:05 AM, "Austin Rochford" [email protected] wrote:
|
This would be great, I knew the Stan guys use this to pretty good effect, just didn't know how to do it properly. |
@kyleabeauchamp yes, I think it's Chapter 11, Latent Discrete Parameters, of the Stan reference v2.8.0 |
@twiecki it definitely speeds up mixing drastically for some models. I will start working on this when I get the chance! |
This is essentially what we do in our |
@fonnesbeck I was envisioning a base class that could take arbitrary distributions for the mixture components, with subclasses/encapsulating classes for specific common use cases (zero inflated, normal mixtures, etc.). |
I often find myself marginalizing over discrete variables and using hacks like
to speed up convergence. It seems to me like we could probably add a nice built-in
MixtureDensity
class to facilitate this flexibly.Looking for feedback before starting to write this.
The text was updated successfully, but these errors were encountered: