ReactiveMP.jl icon indicating copy to clipboard operation
ReactiveMP.jl copied to clipboard

Propagate log of Categorical distribution parameters?

Open bvdmitri opened this issue 3 years ago • 3 comments

@bartvanerp

We now propagate vectors with elements in [0, 1], but what if we would instead propagate the log of these elements for better robustness? I think this might also get rid of having to clamp the variables.

bvdmitri avatar Jan 10 '22 11:01 bvdmitri

@bartvanerp https://github.com/cjdoris/LogarithmicNumbers.jl

bvdmitri avatar Mar 22 '22 08:03 bvdmitri

Seems interesting, thanks for sharing!

bartvanerp avatar Mar 22 '22 08:03 bartvanerp

Following up on https://github.com/biaslab/RxInfer.jl/issues/94, we need to reduce the number of occurences of tiny / huge as much as possible. Getting rid of the clamping for Categorical distributions will be a first important step.

bartvanerp avatar Apr 14 '23 09:04 bartvanerp