mvtsa.segmentation.CostNormal#

class mvtsa.segmentation.CostNormal(ridge=0.001)[source]#

Bases: BaseCost

Gaussian negative log-likelihood with segment-wise mean and full covariance, \((b-a)\log\det\hat\Sigma_{ab}\) (up to constants). Detects changes of the mean, of the variances and of the correlations.

Parameters:
ridgefloat

Relative diagonal regularization of the covariance estimates.

n_params()[source]#

Number of free parameters of one segment model (for BIC/MDL penalties).