mvtsa.segmentation.BOCPD#
- class mvtsa.segmentation.BOCPD(hazard=200.0, model='full', prior_kappa=0.1, prior_nu=None, prior_scale=1.0, max_run=500, delay=5, threshold=0.5, min_distance=10, standardize=True)[source]#
Bases:
BaseSegmenterBayesian on-line change point detection.
- Parameters:
- hazard
float Expected run length \(\lambda\) (samples between changes).
- model{“full”, “diag”}
Normal–inverse-Wishart (full covariance) or independent Normal–Gamma models.
- prior_kappa, prior_nu
float Prior pseudo-counts of the mean and the covariance.
- prior_scale
float Prior covariance scale relative to the within-segment noise variance (estimated from the median absolute first difference).
- max_run
int Truncation of the run-length distribution.
- delay
int Delay of the change evidence (see module documentation).
- threshold
float Peaks of the change probability above the threshold are change points.
- min_distance
int Minimal distance of change points.
- standardizebool
- hazard
- Attributes: