-
Notifications
You must be signed in to change notification settings - Fork 114
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
Remove METRICS dictionary #54
Comments
Hey all, could I get a little consensus here? Especially those of us who are currently using |
I would love to have something like that. I have used mir_eval in three However, it might be a bit tricky to tell the exact parameters for all the On Tue, Aug 19, 2014 at 3:59 PM, craffel notifications@github.com wrote:
|
So the evaluators currently just implement the standard set of metrics, taking in any parameters that might warrant changing. Take a look at the segment evaluator's |
In my use of mir_eval I have also found myself needing the functionality of the evaluate function outside of the evaluator... so I too think this would be a good move. |
OK, created an issue for this #70. |
…ome minor docstring changes and kwarg signature
tl;dr - the METRICS dictionary doesn't really serve the purpose I want it to, and the evaluators do, so it shouldn't exist.
In some cases, metrics within the same task might have a different number of arguments. This used to be the case in
segment
before it got split intoboundary
andstructure
. It's currently true inmelody
;voicing_measures
just takes in voicing arrays while the rest take in voicing and frequency arrays (even thoughraw_pitch_accuracy
andraw_chroma_accuracy
don't actually use theirest_voicing
arg). If all metrics in each task submodule took the same arguments, you could runor whatever the call signature is, which would be convenient. But, we don't expect this to be the case in general. This was kind of the main reason for the METRICS dictionary to exist, and in practice the evaluators submodule should essentially subsume this functionality.
The text was updated successfully, but these errors were encountered: