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

Add Micro Average Accuracy #323

Merged
merged 3 commits into from
Jul 27, 2023
Merged

Add Micro Average Accuracy #323

merged 3 commits into from
Jul 27, 2023

Conversation

wistuba
Copy link
Contributor

@wistuba wistuba commented Jun 30, 2023

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@wistuba wistuba requested a review from lballes June 30, 2023 07:53
@github-actions
Copy link

Coverage report

The coverage rate went from 85.68% to 85.2% ⬇️

100% of new lines are covered.

Diff Coverage details (click to unfold)

src/renate/benchmark/experimentation.py

100% of new lines are covered (95.23% of the complete file).

src/renate/evaluation/metrics/classification.py

100% of new lines are covered (100% of the complete file).

src/renate/utils/module.py

100% of new lines are covered (95.31% of the complete file).

"""
data = []
for task_id in range(num_tasks + 1):
for task_id in range(num_tasks):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did this change? I don't understand why it was num_tasks + 1 before, but this change doesn't seem related to the micro-average accuracy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, not related to micro average at all, just some clean up.

In L384 the -1 was removed so that would be the adequate change in this function.

@lballes lballes merged commit 2aea6fb into dev Jul 27, 2023
@lballes lballes deleted the mw-new-acc branch July 27, 2023 13:50
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.

2 participants