Skip to content

Change point detection in linear regression #117

Answered by oboulant
YungDurum asked this question in Q&A
Discussion options

You must be logged in to vote

@YungDurum, if you signal has discontinuity at the break points, you still might have some solutions. I see two possibilities depending on the shape of the signal you are trying the segment :

  • If the shape of the signal you are trying to segment is 1-dimensional, you might be able to segment your signal using CostLinear with a simple np.arange(0, signal.shape[0]) as the X matrix. Beware of how to package the signal in order to pass both the y and the X at the cost object creation time : you can look at the example here and the CostLinear class doc to see how to stack both y and X
  • If the shape of the signal you are trying to segment is N-dimensional, then you still can create your own cust…

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
3 replies
@oboulant
Comment options

@YungDurum
Comment options

@oboulant
Comment options

Comment options

You must be logged in to vote
7 replies
@oboulant
Comment options

@oboulant
Comment options

@deepcharles
Comment options

@YungDurum
Comment options

@oboulant
Comment options

Answer selected by deepcharles
Comment options

You must be logged in to vote
1 reply
@YungDurum
Comment options

Comment options

You must be logged in to vote
3 replies
@deepcharles
Comment options

@1a1a11a
Comment options

@deepcharles
Comment options

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