Home   >   User Resources   >   Online Help   >   apaPatternRecognition.RegimeSegments.FromChangePoints
 

 

Function index Version 3.0.0

apaPatternRecognition.RegimeSegments.FromChangePoints(changePoints, seriesLength, minRegimeLength)

Excel=apaPatternRecognition.RegimeSegments.FromChangePoints(changePoints, seriesLength, minRegimeLength)

Result

Builds contiguous regime segments from change point positions and scores.

Syntax

changePoints: change point matrix as returned by apaPatternRecognition.ChangePoints.FromProfile or apaPatternRecognition.ChangePoints.FromSeries

seriesLength: total length of the series or total number of windows to segment

minRegimeLength: minimum regime length, shorter regimes are merged with a neighbor. Default value: 1

Algorithm

The change points are sorted by position. Each change point starts a new regime.

Remarks

The result contains a header row and one row per regime with the columns RegimeId, Start, End, Length, LeftBoundaryScore and RightBoundaryScore.