Skip to content

Commit 844ec4c

Browse files
committed
Fix docs
1 parent e9eabb4 commit 844ec4c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/src/api.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,6 @@ The `predict` function has two main methods:
123123
predict
124124
```
125125

126-
## Marginalization
127-
128-
DynamicPPL provides the `marginalize` function to marginalize out variables from a model.
129-
This requires `MarginalLogDensities.jl` to be loaded in your environment.
130-
131-
```@docs
132-
marginalize
133-
```
134-
135126
### Basic Usage
136127

137128
The typical workflow for posterior prediction involves:
@@ -145,6 +136,15 @@ When using `predict` with `MCMCChains.Chains`, you can control which variables a
145136
- `include_all=false` (default): Include only newly predicted variables
146137
- `include_all=true`: Include both parameters from the original chain and predicted variables
147138

139+
## Marginalization
140+
141+
DynamicPPL provides the `marginalize` function to marginalize out variables from a model.
142+
This requires `MarginalLogDensities.jl` to be loaded in your environment.
143+
144+
```@docs
145+
marginalize
146+
```
147+
148148
## Models within models
149149

150150
One can include models and call another model inside the model function with `left ~ to_submodel(model)`.

0 commit comments

Comments
 (0)