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 we have 2 arguments for changing the behavior of assume and observe, context and sampler. I think:
Sampler belongs in a field in DefaultContext, perhaps renaming it to SamplingContext,
SampleFromPrior should always overwrite the values in VarInfo much like SampleFromUniform in Fix SampleFromUniform #78, and
ComputeLogpContext can be another context which encompasses LikelihoodContext, PriorContext and the current behavior of DefaultContext with SampleFromPrior.
I always found it confusing the SampleFromPrior doesn't actually sample anything if VarInfo already has values.
The text was updated successfully, but these errors were encountered:
Currently we have 2 arguments for changing the behavior of
assume
andobserve
,context
andsampler
. I think:Sampler
belongs in a field inDefaultContext
, perhaps renaming it toSamplingContext
,SampleFromPrior
should always overwrite the values inVarInfo
much likeSampleFromUniform
in Fix SampleFromUniform #78, andComputeLogpContext
can be another context which encompassesLikelihoodContext
,PriorContext
and the current behavior ofDefaultContext
withSampleFromPrior
.I always found it confusing the
SampleFromPrior
doesn't actually sample anything ifVarInfo
already has values.The text was updated successfully, but these errors were encountered: