-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Implemented Moving Histogram algorithm #760
Implemented Moving Histogram algorithm #760
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Hi @gavv, Thanks for reviewing my code. I will correct it shortly as per your suggestions. |
Hello @gavv, I have addressed the issues you highlighted. The branch has been rebased to develop, and the code has been revised to align with the coding style. Everything should be in order now. Kindly inform me if any further changes or checks are needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for PR! A couple of comments from me as well.
Thank you for the review, @adrianopol and @gavv. I will look into it and update the code accordingly. |
Hey @adrianopol, I'm using |
We don't use STL containers, so please use separate arguments. See here: https://roc-streaming.org/toolkit/docs/development/coding_guidelines.html |
Hey @gavv / @adrianopol, I've addressed the changes that you've requested pls go through it once and let me know if any further changes are required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spran180 , thank you for implementation.
We also need more test cases here, for example:
- T = float
- min and max < 0
- win_length == 1
They may be added in a different PR if you wish.
I agree. Also, current tests don't cover a few important aspects:
@spran180 Let me know if you would like to add these tests or it's better to create a new issue for that. |
Yes, I believe I should create a separate PR to add tests. |
The build failure was docker hub timeout, not related to the PR. I've restarted the build and it's gone.
@spran180 Great, do you plan to work on it, or do I create an issue for the future? |
Indeed, I am interested in working on it. |
2c93cf4
to
30e22dc
Compare
Thanks for PR!
Perfect. I've copied Andrew's and mine comments here: #752 (comment) |
Fixes #752
Summary
This PR implemented Moving Histogram Algorithm as stated in #752. This change includes the addition of a new class 'MovHistogram' and its associated unit tests.