Skip to content

Commit

Permalink
remove condition and decondition
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 committed Jul 22, 2024
1 parent 57275f5 commit 26027ea
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions src/AbstractMCMC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,40 +80,6 @@ The `MCMCSerial` algorithm allows users to sample serially, with no thread or pr
"""
struct MCMCSerial <: AbstractMCMCEnsemble end

"""
decondition(conditioned_model)
Remove the conditioning (i.e., observation data) from `conditioned_model`, turning it into a
generative model over prior and observed variables.
The invariant
```
m == condition(decondition(m), obs)
```
should hold for models `m` with conditioned variables `obs`.
"""
function decondition end

"""
condition(model, observations)
Condition the generative model `model` on some observed data, creating a new model of the (possibly
unnormalized) posterior distribution over them.
`observations` can be of any supported internal trace type, or a fixed probability expression.
The invariant
```
m = decondition(condition(m, obs))
```
should hold for generative models `m` and arbitrary `obs`.
"""
function condition end

"""
recompute_logprob!!(rng, model, sampler, state)
Expand Down

0 comments on commit 26027ea

Please sign in to comment.