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
Copy file name to clipboardExpand all lines: docs/src/api.md
+2-11Lines changed: 2 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -461,7 +461,6 @@ The behaviour of a model execution can be changed with evaluation contexts, whic
461
461
Contexts are subtypes of `AbstractPPL.AbstractContext`.
462
462
463
463
```@docs
464
-
SamplingContext
465
464
DefaultContext
466
465
PrefixContext
467
466
ConditionContext
@@ -490,15 +489,7 @@ DynamicPPL.init
490
489
491
490
### Samplers
492
491
493
-
In DynamicPPL two samplers are defined that are used to initialize unobserved random variables:
494
-
[`SampleFromPrior`](@ref) which samples from the prior distribution, and [`SampleFromUniform`](@ref) which samples from a uniform distribution.
495
-
496
-
```@docs
497
-
SampleFromPrior
498
-
SampleFromUniform
499
-
```
500
-
501
-
Additionally, a generic sampler for inference is implemented.
492
+
In DynamicPPL a generic sampler for inference is implemented.
502
493
503
494
```@docs
504
495
Sampler
@@ -509,7 +500,7 @@ The default implementation of [`Sampler`](@ref) uses the following unexported fu
509
500
```@docs
510
501
DynamicPPL.initialstep
511
502
DynamicPPL.loadstate
512
-
DynamicPPL.initialsampler
503
+
DynamicPPL.init_strategy
513
504
```
514
505
515
506
Finally, to specify which varinfo type a [`Sampler`](@ref) should use for a given [`Model`](@ref), this is specified by [`DynamicPPL.default_varinfo`](@ref) and can thus be overloaded for each `model`-`sampler` combination. This can be useful in cases where one has explicit knowledge that one type of varinfo will be more performant for the given `model` and `sampler`.
0 commit comments