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

Segmentation Fault when running rbeast in a for-loop with hasOutlier=True #32

Open
marinasie opened this issue Aug 2, 2024 · 8 comments

Comments

@marinasie
Copy link

marinasie commented Aug 2, 2024

Hi everyone,

I've been using your algorithm to detect change points in bird populations, and I'm loving the results so far!

When I run BEAST like this without a for-loop, it works perfectly:
o = rb.beast(y, deltat='7 days', period='1 year', hasOutlier=True)
However, when I introduce a for-loop around it to calculate change points for multiple time series, the first iteration executes without any issues, but I encounter a segmentation fault during the second iteration. With hasOutlier=False, the loop works fine.

I'm using the latest version of the Python package on my Mac, and all my time series have a length of 260.

Do you have any suggestions on how I might resolve this issue?
Thank you!

@marinasie marinasie changed the title Segmentation Fault when running rbeast in a for-loop Segmentation Fault when running rbeast in a for-loop with hasOutlier=True Aug 2, 2024
@dirt
Copy link
Contributor

dirt commented Aug 2, 2024 via email

@dirt
Copy link
Contributor

dirt commented Aug 2, 2024 via email

@marinasie
Copy link
Author

Thank you very much! I contacted you via email 😊

@dirt
Copy link
Contributor

dirt commented Aug 5, 2024 via email

@zhaokg
Copy link
Owner

zhaokg commented Aug 5, 2024

Thank you very much! I contacted you via email 😊

My email is [email protected].

@marinasie
Copy link
Author

Thank you! @zhaokg I contacted you, could you forward it to @dirt ? :)

@zhaokg
Copy link
Owner

zhaokg commented Aug 6, 2024

Thank you! @zhaokg I contacted you, could you forward it to @dirt ? :)

Sorry. @dirt ([email protected], my working emall) and @zhaokg ([email protected], personal email) is the same person. It is me. Sorry about the confusion I checked both the email boxes, and didn't see anything from you.

Thanks,

@marinasie
Copy link
Author

I resent it to your personal email, I hope it reached you well. :)

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

3 participants