Closed Red-Portal closed 5 years ago
Should be fixed once the PR is merged.
You might want to look into using the size-biased representation instead of the stick-breaking as this should be more efficient for inference. See: https://github.com/TuringLang/Turing.jl/blob/f2192c71c763f678b653e80e84363197835e2355/test/stdlib/RandomMeasures.jl#L274-L300
I'll add a tutorial on this and on the stick-breaking representation once I find the time.
For the paper see: https://pdfs.semanticscholar.org/e68a/9e22f650bcb8ffe2e6b0a8b13096a6595b31.pdf
@trappmartin Thanks!
This is the Turing compiler error,
Here is the code.