TuringLang / Turing.jl

Bayesian inference with probabilistic programming.
https://turinglang.org
MIT License
2.04k stars 219 forks source link

Is von Mises distribution broken? #1086

Closed sosuts closed 4 years ago

sosuts commented 4 years ago

I want make a mixture model of circular data(-pi to +pi). When I tried modelling referring this tutorial, so many errors occurred . Is von Mises distribution still broken?

sosuts commented 4 years ago

Sorry, right after making this issue, I found that it's still broken. https://github.com/TuringLang/DistributionsAD.jl/issues/2

It would be great if someone knows where the problem is...

mohamed82008 commented 4 years ago

The problem is the besselix function in SpecialFunctions. It needs a custom adjoint.

sosuts commented 4 years ago

Thank you. Sorry for the late reply... I wish I could fix it myself...