-
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
Detector perf #110
base: develop
Are you sure you want to change the base?
Detector perf #110
Conversation
Hey,
Thanks for the PR. Please ensure that the unit tests pass (they also need
to cover the new metrics) to be considered for inclusion.
Thanks
Ramana Subramanyam <[email protected]> schrieb am Di., 28. Juli
2020, 12:53:
… Hello Christoph,
I have added the MODP and the MODA metric in this PR, implemented from
this paper :
https://catalog.ldc.upenn.edu/docs/LDC2011V03/ClearEval_Protocol_v5.pdf.
I however didn't understand the difference between MOC and MODA hence
didn't implement the former.
This PR is addressing my comments in #42
<#42>
------------------------------
You can view, comment on, or merge this pull request online at:
#110
Commit Summary
- Added MODP metric
- Added MODA
- Rectified mistake in averaging
File Changes
- *M* motmetrics/metrics.py
<https://github.com/cheind/py-motmetrics/pull/110/files#diff-4fa7da69b1827489327def19dbdd69a3>
(35)
Patch Links:
- https://github.com/cheind/py-motmetrics/pull/110.patch
- https://github.com/cheind/py-motmetrics/pull/110.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#110>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAJNJIE3TJRGYISW3OK7ULR52U2VANCNFSM4PKMO2WA>
.
|
Hi, Thanks for your reply, I had a look at the CI failure, and I don't understand this error message. I'm unable to figure out how to go about resolving it, can you please help me understand better?
|
Sure, first try to run the test locally instead of in CI:
in the main motmetrics directory should run all tests. This requires Once that is in place, you can use For future reference, I guess we should provide a short contributing guideline #111 |
Hi @cheind , I've fixed the tests and checked with the coding style and looks fine remotely. |
Thanks! Did you add the metrics to the default motmetrics? Is that meaningful? @jvlmdr what's your opinion on this PR? |
@cheind Yep, I added MODA and MODP there. I didn't understand what |
Hi, For instance here is what I get:
I even got one over 200%:
Sorry @Sentient07 , but are you sure the formulas are correct? Reading about MODA and MODP, I see there is the same 1- ... as with MOTA and MOTP: |
Hi, I think this is a known bug (or not). That when FPs and FNs are high as you've mentioned, MOTA can go negative and other metrics can give you absurd value. Yes, it'd be nice to have an appropriate warning in such cases. |
Sorry, please see my previous edited post. There's this 1-... that doesn't seem to be taken into account in your formula. |
Thanks for trying the code out. While negative values are possible, MODA should not exceed 100%. Perhaps it should be normalized by |
In general, MODA should be slightly higher than MOTA if they are computed using the same matching. This is because it is the same formula without |
And @JonathanSamelson is right, there is no |
@Sentient07 Can we use |
Hello Christoph,
I have added the MODP and the MODA metric in this PR, implemented from this paper : https://catalog.ldc.upenn.edu/docs/LDC2011V03/ClearEval_Protocol_v5.pdf.
I however didn't understand the difference between MOC and MODA hence didn't implement the former.
This PR is addressing my comments in #42