Random Walk Standard Deviation¶
- class pypomp.core.rw_sigma.RWSigma(sigmas: dict[str, float], init_names: Sequence[str] = (), cooling_fn: Callable | None = None)[source]¶
Bases:
objectRepresents the random walk standard deviation for the parameters of a model used in the Iterated Filtering 2 (IF2) algorithm.
Attributes
- RWSigma.init_names: tuple[str, ...]¶
Tuple of parameter names that are considered initial parameters.
- RWSigma.not_init_names: tuple[str, ...]¶
Tuple of parameter names that are not considered initial parameters.
- RWSigma.cooling_fn: Callable¶
A Callable taking (nt, m, ntimes) and returning a float cooling factor.
Methods
Configure the RWSigma instance to use geometric cooling. |
|
|
Configure the RWSigma instance to use cosine cooling. |
Configure the RWSigma instance to use hyperbolic cooling. |
|
|
Configure the RWSigma instance to use a custom cooling function. |
|
Return a copy of the RWSigma instance. |
|
Adjust all sigmas by the given factor, returning a new RWSigma copy. |
|
Return a view of the parameter names. |
|
Return a view of the sigma values. |
|
Return a view of the parameter-sigma pairs. |
|
Get the sigma value, or default if the parameter is not present. |