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
* Support `init_params` in ensemble methods
* Fix typo
* Fix typo
* Add documentation
* Support `Iterators.Repeated`
* Breaking release
* Fix and simplify docs setup
* Remove deprecations
* Reduce tasks on Windows
* Generalize to arbitrary collections
* Use Blue style
Copy file name to clipboardExpand all lines: docs/src/api.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,11 @@ are:
53
53
-`discard_initial` (default: `0`): number of initial samples that are discarded
54
54
-`thinning` (default: `1`): factor by which to thin samples.
55
55
56
+
There is no "official" way for providing initial parameter values yet.
57
+
However, multiple packages such as [EllipticalSliceSampling.jl](https://github.com/TuringLang/EllipticalSliceSampling.jl) and [AdvancedMH.jl](https://github.com/TuringLang/AdvancedMH.jl) support an `init_params` keyword argument for setting the initial values when sampling a single chain.
58
+
To ensure that sampling multiple chains "just works" when sampling of a single chain is implemented, [we decided to support `init_params` in the default implementations of the ensemble methods](https://github.com/TuringLang/AbstractMCMC.jl/pull/94):
59
+
-`init_params` (default: `nothing`): if set to `init_params !== nothing`, then the `i`th element of `init_params` is used as initial parameters of the `i`th chain. If one wants to use the same initial parameters `x` for every chain, one can specify e.g. `init_params = Iterators.repeated(x)` or `init_params = FillArrays.Fill(x, N)`.
60
+
56
61
Progress logging can be enabled and disabled globally with `AbstractMCMC.setprogress!(progress)`.
0 commit comments