Conversation
Codecov Report
@@ Coverage Diff @@
## main #643 +/- ##
==========================================
- Coverage 86.50% 86.45% -0.05%
==========================================
Files 133 133
Lines 6735 6755 +20
==========================================
+ Hits 5826 5840 +14
- Misses 909 915 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
JoanFM
left a comment
There was a problem hiding this comment.
is this a breaking change with respect to the return of evaluate?
Yes, I could return only a single number if the user passes only one metric but having different return types for different inputs is a bit strange |
|
depends on #617 |
|
@guenthermi remember to tag @NicholasDunham for any future PRs that include docs (or docstrings) |
There was a problem hiding this comment.
two comments:
- i don't like the fact that
metrics='precision_at_k'should be supported, i supposemetricsshould be always accept alist, not astr. - can we provide a
alloption to evaluate all metrics we have?
it's like what we're doing in callbacks, user should always pass a list of callbacks even user only need one.
I'm expecting we:
.evaluate(metrics=['precision_at_k'])
I don't care much if we support passing only a string or not. Having an |
I believe, that to keep backwards compatibility we need to accept at least |
Agree, |
|
make sense, ignore my |
We could transform strings into a list of one string in the deprecation decorator and adjust the documentation. So I would not say that it is complex |
then go for it |
samsja
left a comment
There was a problem hiding this comment.
I think that we can make the documentation a bit better for evaluation. @NicholasDunham what do u think ?
Maybe we can rewrite the documentation in another PR. There are also some old features of the |
Okay then lets open an issue for improving this documentation and please align with @NicholasDunham on how do refactor it |
I created #651 for the documentation changes. |
|
📝 Docs are deployed on https://ft-feat-multiple-metrics-in-evaluate--jina-docs.netlify.app 🎉 |


Goals: