Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed it up #321

Open
lamtung16 opened this issue Feb 27, 2024 · 1 comment
Open

Speed it up #321

lamtung16 opened this issue Feb 27, 2024 · 1 comment

Comments

@lamtung16
Copy link

I utilize numpy vectorization, resulting in significantly faster processing speeds.
My Test Code

@deepcharles
Copy link
Owner

Thanks for this comparison. The function from ruptures that you used is not really optimized for the piecewise constant model (it is pure python). You should compare to rpt.KernelCPD(kernel="linear") instead, which calls a C implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants