lambda_estimator {MSigSeg} | R Documentation |
Automatic estimation of penalty parameter lambda for user defined breakpoints number.
lambda_estimator(Y, K)
Y |
An data.frame/matrix containing the data to be segmented. Each column stores a signal. |
K |
Number of change points users want to detect. |
This function is based on the segmentation() function. Number of breakpoints are defined by users and lambda is calculated by algorithm automatically.
An object of S4 class "MSigSeg".
data(data_test)
lambda_estimator(data_test,5)