Closed chaozg closed 3 weeks ago
Thanks @amal-ghamdi and @nabriis for your review. I think I have addressed your comments so I'm requesting your further review here.
Note that the existing Normal lacks grad() #548 , so I also add it in this PR.
With @amal-ghamdi 's help today, gradient
of TruncatedNormal finally works fine as a likelihood 😄 . And now I'm requesting further review from @nabriis .
Hi @amal-ghamdi since I just added a demo38
on the use of TruncatedNormal
, I'm requesting your further review again. Plots from demo38
can be seen at #549 .
Thanks, @amal-ghamdi and @nabriis for your review! I'm merging to the main now
fixed #321 to add
TruncatedNormal
fixed #548 to addgradient
toNormal
fixed #546 to add a demo onTruncatedNormal
Description
cuqi.distribution.normal
and also use them as priors.Test with Gibbs
(Note: here
x
is truncated from -1, just as expected)