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

Fix bug that restricts users from specifying custom primary_function in InformationRetrievalEvaluator #2701

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

hetulvp
Copy link
Contributor

@hetulvp hetulvp commented May 31, 2024

This change allows users to specify primary_metric without being overwritten during the evaluation call.

Currently the primary_function is always overwritten by the __call__ method.

This change allows users to specify primary_metric without being overwritten during the evaluation call.

Currently the primary_function is always overwritten by the __call__ method.
@tomaarsen
Copy link
Collaborator

Hello!

This is much better indeed. Thanks for this PR! I'll merge this once the tests go green.

  • Tom Aarsen

@hetulvp hetulvp changed the title Fix bug that retricts users from specifying custom primary_function in InformationRetrievalEvaluator Fix bug that restricts users from specifying custom primary_function in InformationRetrievalEvaluator May 31, 2024
@tomaarsen tomaarsen merged commit 4a79cac into UKPLab:master Jun 3, 2024
9 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.

2 participants