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

Bugfix for detecting change points based on MOA #1613

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

denisesato
Copy link
Contributor

No description provided.

…ndex should increment from 0 to bucket.current_idx - 1. The previous code "for k in range(bucket.current_idx - 1):" only increment k to bucket.current_idx - 2 because of the range function.
…ndex should increment from 0 to bucket.current_idx - 1. The previous code "for k in range(bucket.current_idx - 1):" only increment k to bucket.current_idx - 2 because of the range function.
Copy link
Member

@MaxHalford MaxHalford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust you! Can you share a bit more about how you noticed this bug?

@denisesato
Copy link
Contributor Author

I reported the bug on issue Change points reported different from MOA - Method _detect_change #1614

@smastelini
Copy link
Member

smastelini commented Sep 11, 2024

#1535 and #1539 might also concern the same problem. Thanks for the contribution, @denisesato !

The open issue (#1539) did not evolve due to the lack of benchmarking, and lack of time from my side, honestly.

Copy link
Member

@smastelini smastelini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denisesato, as a lot of learning models rely on ADWIN, the changes you introduced made some tests fail. Could you please also update them?

@denisesato
Copy link
Contributor Author

denisesato commented Sep 11, 2024

@smastelini: I have updated the tests that failed after the change on ADWIN.

Copy link
Member

@smastelini smastelini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @denisesato for the latest changes!

It is interesting to see that changing ADWIN impacts both positively and negatively some algorithms. In any case, the doc tests use small samples for learning and I don't think they are a comprehensive benchmark.

@smastelini smastelini merged commit c6dab1b into online-ml:main Sep 11, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants