Closed yebai closed 2 years ago
In #47, we implemented a few basic operations for GraphInfo, for example, construction, getindex. For practical purposes, we need to be able to
GraphInfo
getindex
sample
condition/decondition
logdensityof
A good testing case for these features would be
@PavanChaggar this would be a nice follow-up PR for https://github.com/TuringLang/AbstractPPL.jl/pull/47, but supporting sampling depends on #51 I think.
Transferred to SymbolicPPL.jl
In #47, we implemented a few basic operations for
GraphInfo
, for example, construction,getindex
. For practical purposes, we need to be able tosample
fromGraphInfo
model, i.e. sample all stochastic nodes from their prior distributioncondition/decondition
, i.e. fix values of certain nodes to user-specified valuelogdensityof
, i.e. compute the log joint probability of aGraphInfo
model given values of all nodes.A good testing case for these features would be