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
Enumerative inference can be used to compute the exact posterior distribution for a generative model
4
+
with a finite number of discrete random choices, to compute a grid approximation of a continuous
5
+
posterior density, or to perform stratified sampling by enumerating over discrete random choices and sampling
6
+
the continuous random choices. This functionality is provided by [`enumerative_inference`](@ref).
7
+
8
+
```@docs
9
+
enumerative_inference
10
+
```
11
+
12
+
To construct a rectangular grid of [choice maps](../core/choice_maps.md) and their associated log-volumes to iterate over, use the [`choice_vol_grid`](@ref) function.
13
+
14
+
```@docs
15
+
choice_vol_grid
16
+
```
17
+
18
+
When the space of possible choice maps is not rectangular (e.g. some addresses only exist depending on the values of other addresses), iterators over choice maps and log-volumes can be also be manually constructed.
0 commit comments