MarkovSwitchingSSM.log_densities#
- MarkovSwitchingSSM.log_densities(target, means)[source]#
Gaussian log conditional densities, one column per regime.
- Parameters:
- Return type:
- Returns:
An array of shape
(T_eff, K). Logarithms rather than levels, so a regime that assigns a tiny density to an outlier underflows to a large negative number instead of to zero.