ReactiveBayes / GraphPPL.jl

DSL for probabilistic models specification and probabilistic programming.
MIT License
32 stars 5 forks source link

Message form constraints are not showed as nicely as marginal form constraints #210

Closed bvdmitri closed 5 months ago

bvdmitri commented 5 months ago

E.g

@constraints begin
    q(x) :: PointMassFormConstraint()
    μ(x) :: SampleListFormConstraint(1000)
end

shows

Constraints: 
    q(x) :: PointMassFormConstraint()
    GraphPPL.MessageFormConstraint{GraphPPL.IndexedVariable{Nothing}, SampleListFormConstraint{1000, Random._GLOBAL_RNG, AutoProposal, BayesBase.BootstrapImportanceSampling}}(x, SampleListFormConstraint(Random._GLOBAL_RNG(), AutoProposal(), BayesBase.BootstrapImportanceSampling()))