mir_eval icon indicating copy to clipboard operation
mir_eval copied to clipboard

Segment: make it possible to provide boundaries, not only intervals

Open Mintas opened this issue 1 year ago • 0 comments

In some use-cases we have boundaries as list of points like [0, 10, 21, 55, 365] (peak positions, breakpoints, etc.), to make mir_eval.segment applicable we have to turn those points into intervals. But one can notice, that some of the evaluation methods actually convert intervals back to boundaries.

I suppose, that would be convenient to have api allowing users to avoid unnecessary conversions.

Mintas avatar Nov 11 '24 08:11 Mintas