@@ -53,8 +53,9 @@ class SMC_KERNEL(ABC):
53
53
initialize_population
54
54
Choose initial population of SMC particles. Should return a dictionary
55
55
with {var.name : numpy array of size (draws, var.size)}. Defaults
56
- to sampling from the prior distribution. This method is only called
57
- if `start` is not specified.
56
+ to sampling from the prior distribution, except for parameters which have custom
57
+ `initval`, in which case that value is used for all SMC particles.
58
+ This method is only called if `start` is not specified.
58
59
59
60
_initialize_kernel : default
60
61
Creates initial population of particles in the variable
@@ -144,7 +145,8 @@ def __init__(
144
145
independent chains. Defaults to 2000.
145
146
start : dict, or array of dict, default None
146
147
Starting point in parameter space. It should be a list of dict with length `chains`.
147
- When None (default) the starting point is sampled from the prior distribution.
148
+ When None (default) the starting point is sampled from the prior distribution, except
149
+ for parameters with a custom `initval`, in which case that value is used.
148
150
model : Model (optional if in ``with`` context).
149
151
random_seed : int, array_like of int, RandomState or Generator, optional
150
152
Value used to initialize the random number generator.
0 commit comments