-
Notifications
You must be signed in to change notification settings - Fork 258
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
Cannot use f1/recall/precision arguments in CombinedEvaluations.compute
#234
Comments
average
argument of f1
score in CombinedEvaluations
average
argument of f1
score in CombinedEvaluations.compute
average
argument of f1
score in CombinedEvaluations.compute
CombinedEvaluations.compute
@lvwerra do you have any opinion on that? |
Yes, this is a current limitation of combine: you can't pass any settings to |
@lvwerra I also need to pass custom kwargs to my metrics. My current workaround is to overwrite evaluate/src/evaluate/module.py Line 858 in eaf34a7
This works in my specific use case because all my (custom) metrics accept |
Has this been resolved? |
Not yet. There is an issue with the sync mechanism between the hub and the library which is why we had to roll back #169. Merging it will break pre 0.3.0 installs so we need to wait for sufficient adaptation. |
This works:
This won't work:
Reason:
average
is not included in f1 score features:evaluate/metrics/f1/f1.py
Line 112 in eaf34a7
and
CombinedEvaluations.compute
ignore if argument is not included in features:evaluate/src/evaluate/module.py
Line 858 in eaf34a7
Is this expected or a bug?
The text was updated successfully, but these errors were encountered: