-
Notifications
You must be signed in to change notification settings - Fork 207
[BUG] Fix RDST admissible sampling point method #2763
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
base: main
Are you sure you want to change the base?
[BUG] Fix RDST admissible sampling point method #2763
Conversation
Thank you for contributing to
|
Expected results seem to differ for some test configurations, not sure why yet |
Happy to review when its resolved. |
I'm currently clueless about why these fails, I cannot seem to reproduce the issue on my Ubuntu either ... |
…od-returns-wrong-index
…od-returns-wrong-index
…od-returns-wrong-index
…od-returns-wrong-index
…wrong-index' of https://github.com/aeon-toolkit/aeon into 2759-bug-rdst-admissible-sampling-point-method-returns-wrong-index
I think I found the issue. I was using a NumPy random Generator numba inside a parallel loop, but the use of such a generator is not thread-safe according to numba documentation. I changed the code to spawn new generators for each loop, and it looks like it fixed it. |
Reference Issues/PRs
Fixes #2759
What does this implement/fix? Explain your changes.
Fix shapelet sampling point method returning the id of the choice, and not the timestamp linked to the id of the choice.
Any other comments?
See #2759 for performance comparison.
For all contributions