marl / jams

A JSON Annotated Music Specification for Reproducible MIR Research
ISC License
186 stars 27 forks source link

evaluation wrapper - sort segments by time #116

Closed bmcfee closed 8 years ago

bmcfee commented 8 years ago

It's not obvious to me whether this is a bug for JAMS or mir_eval, but when evaluating segment data, I got some nasty exceptions whenever the interval data was not ordered.

This is easily fixable by calling annotation.data.sort_values('time', inplace=True) before generating interval/values and calling mir_eval.

[tagging @craffel for insight]

craffel commented 8 years ago

What were the exceptions?

bmcfee commented 8 years ago

Migrating this to craffel/mir_eval#202 and closing out. Pretty sure it's not a jams issue.