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
Currently if a user doesn't provide an array of initial values to optimize, Turing generates the initial values using SampleFromPrior. However, perhaps the user wants to use SampleFromUniform or some other sampler instead. It would be handy if optimize would accept in that same place a sampler argument.
The text was updated successfully, but these errors were encountered:
There's really only two options here, either SampleFromPrior or
SampleFromUniform, since all the other samples end up calling
SampleFromPrior at the root.
But yeah, this would be a nice little addition, particularly for `MLE`,
where you really don't want to be shoved into a region your prior
heavily weights but your maximum likelihood estimate wants to be out of.
Currently if a user doesn't provide an array of initial values to
optimize
, Turing generates the initial values usingSampleFromPrior
. However, perhaps the user wants to useSampleFromUniform
or some other sampler instead. It would be handy ifoptimize
would accept in that same place a sampler argument.The text was updated successfully, but these errors were encountered: