CUQI-DTU / CUQIpy

https://cuqi-dtu.github.io/CUQIpy/
Apache License 2.0
48 stars 9 forks source link

Regularized Gaussian extension: ModifiedHalfNormal #429

Closed jeverink closed 5 months ago

jeverink commented 6 months ago

closes #437

Sub PR from #424

To-do:

jeverink commented 5 months ago

Thanks for the suggestions @nabriis , I have now added a regression test for the sampling, logpdf and gradient. Currently, due the the logpdf in the ModifiedHalfNormal being unmodified, the logpdf will not match with that of the Gamma. Also, there is no gradient implemented in Gamma currently, so such comparison is currently not possible.