You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gaussian().truncate() gives you the moments (mean and variance) of a truncated Gaussian, so then you just sample from a new Gaussian that approximates truncated Gaussian by moment matching.
i use truncate function of Gaussian in bases-scala, but it seems not working
the code:
i plot the hist of sampled data draw from truncGaussian, and it is a Gaussian distribution with no truncation
The text was updated successfully, but these errors were encountered: