Skip to content

Complex penalties #131

Answered by deepcharles
multimeric asked this question in Q&A
Mar 4, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Hello Michael,

AIC is also a linear penalty (in the context of change point detection) so you could also use it (you only need to set the beta accordingly). However you are right to assume that ruptures can only deal with linear penalties. In the case of general penalty formulas, there is no efficient way to find the best segmentation. If you have a specific case in mind that you think might be worth integrating to ruptures, I would be glad to hear it.

As for your second question, the .error(start, end) method only returns the cost on a given sub-signal signal[start:end]. It is not always equal to the likelihood because constant terms were sometimes discarded (because they did not change …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@multimeric
Comment options

@deepcharles
Comment options

@multimeric
Comment options

@deepcharles
Comment options

@multimeric
Comment options

Answer selected by multimeric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants