-
Notifications
You must be signed in to change notification settings - Fork 419
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
Smart update of metric collection #709
Conversation
3a0f7dc
to
317182c
Compare
for more information, see https://pre-commit.ci
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.
LGTM :) added some more text on potential slowdowns
Co-authored-by: Justus Schock <[email protected]>
Co-authored-by: Justus Schock <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>
…g/metrics into smart_collection
Seems sphinx doesn't know |
@justusschock I changed the text to not include a hyperlink but instead just reference the class docs that are just below the sentence |
Co-authored-by: Jirka Borovec <[email protected]>
@SkafteNicki Beautiful addition ! |
What does this PR do?
Fixes #143
Update
MetricCollection
such that metrics that have similar metric states (Precision
andRecall
for example) we only calculate the metric state for one of them and then broadcast it to all other metrics with similar metric states.After the first call to update we checks if the metric states matches between any metrics. If they do we merge them into a compute group of metrics where we will only update the first and broadcast the state to the remaining metrics in the group
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃