-
Notifications
You must be signed in to change notification settings - Fork 229
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
sequence of Gamma distributions in Infer.NET #393
Comments
The issue here is that GammaFromMeanAndVariance does not handle stochastic arguments. Factors that handle stochastic arguments are listed on the List of factors and constraints. For example, you can make a Gamma with a stochastic rate, or multiply together two Gamma variables. |
I changed the code to multiply the Gammas as you suggested, but getting the error below which I'm unable to fix.
|
Thanks, you found a bug in Infer.NET. You can work around it by initializing
|
Hi,
I would like to know if it's possible to model a Gamma process (i.e., a sequence of Gamma distributions) in Infer.NET similar to the Kalman Filter for the Gaussian distribution.
The mean of the Gamma in the next time step should be conditioned on the previous time step's Gamma. I'm not sure how to do this with the Gamma alpha and beta parameters. I guess the mean and variance parameters should work? Please let me know.
Here is my code:
This code gives the following error message:
I have also tried Variational message passing and Gibbs sampling as well.
Kind regards,
Jaco
The text was updated successfully, but these errors were encountered: