Skip to content

Questing regarding sum_of_costs for PELT #203

Discussion options

You must be logged in to vote

Thanks for using ruptures, glad to hear it is useful.

does sum_of_costs return the costs of the segments without the penalty term

sum_of_costs only returns the sum of costs without the penalty term. This is a bit hidden in the code (it is here if you are curious:

def sum_of_costs(self, bkps):
)

Cheers

Charles

Replies: 6 comments 1 reply

Comment options

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

Answer selected by YanniPapandreou
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants