CITATION — REFERENCE ENTRY

mir_eval Documentation — mir_eval 0.8.2 documentation

Revision 57fad9bc-df9b-44d1-a80d-7c457cb1273f · 11/27/2026, 6:17:29 PM UTC
Key
mir-eval-docs
Type
webpage
Container
mir_eval 0.8.2 documentation
Raw CSL JSON
{
  "URL": "https://mir-eval.readthedocs.io/stable/",
  "note": "Quotes are from the index page and the mir_eval.transcription page (https://mir-eval.readthedocs.io/stable/api/transcription.html) of version 0.8.2.",
  "type": "webpage",
  "title": "mir_eval Documentation",
  "accessed": {
    "date-parts": [
      [
        2026,
        11,
        27
      ]
    ]
  },
  "container-title": "mir_eval 0.8.2 documentation"
}

Claims

  1. mir_eval's transcription scores differ from those of the MIREX 2015 note-tracking code in three ways: mir_eval finds the optimal pairing of notes by bipartite graph matching where MIREX matches greedily; MIREX rounds note times down to two decimal places and mir_eval to four; and MIREX's code omits the 50 ms minimum offset tolerance stated on its wiki. Overall mir_eval's precision, recall and F-measure come out about 1 to 2% higher than MIREX's. Different MIREX scripts have also been used for the task over the years.
    "mir_eval uses bipartite graph matching to find the optimal pairing of reference notes to estimated notes. ... MIREX uses a greedy matching algorithm, which can produce sub-optimal note matching. ... MIREX rounds down the onset and offset times of each note to 2 decimal points using new_time = 0.01 * floor(time*100) . ... mir_eval rounds down the note onset and offset times to 4 decinal points. ... The MIREX code however only uses a threshold of 0.2 * ref_duration , without the 0.05 second minimum. ... overall the effect of these three differences is that the Precision, ... Recall and F-measure returned by mir_eval will be higher compared to MIREX by about 1%-2%. ... note that different evaluation scripts have been used for the Multi-F0 Note Tracking task in MIREX over the years."
    Locator: mir_eval.transcription (important note) · Quote language: en
  2. mir_eval is a Python library for evaluating MIR systems, installed with pip. Each task's submodule has an evaluate() function returning all its metrics; version 0.8.2 has submodules for alignment, beat, chord, melody, multipitch, onset, pattern, segment, hierarchy, separation, tempo, transcription, transcription with velocity, and key, plus sonify, which synthesizes annotations for 'evaluation by ear', and display, for plotting them.
    "mir_eval is a Python library which provides a transparent, standardized, ... and straightforward way to evaluate Music Information Retrieval systems. ... The simplest way to install mir_eval is via pip : ... The task submodules also all contain a function evaluate() , ... which takes as input reference and estimated annotations and returns a dictionary of scores for all of the metrics ... implemented ... mir_eval.sonify which implements some simple methods for synthesizing annotations of various formats for “evaluation by ear”. ... mir_eval.display which provides functions for plotting annotations for various tasks. ... mir_eval.alignment mir_eval.beat mir_eval.chord mir_eval.melody mir_eval.multipitch mir_eval.onset mir_eval.pattern ... mir_eval.segment mir_eval.hierarchy mir_eval.separation mir_eval.tempo mir_eval.transcription ... mir_eval.transcription_velocity mir_eval.key"
    Locator: mir_eval Documentation (index page) · Quote language: en
  3. mir_eval's note-transcription metrics follow the MIREX note-tracking criteria: an estimated note is correct if its onset is within 50 ms of a reference note's and its pitch within a quarter tone (50 cents by default); in the stricter setting its offset must also be within 20% of the reference note's duration or 50 ms, whichever is larger. Precision, recall, F-measure and overlap ratio are computed with and without offsets, and each reference note is matched to at most one estimated note.
    "a returned note is assumed correct if its onset is within +-50ms of a reference note and its F0 is within +- quarter tone of ... the corresponding reference note, ignoring the returned offset values. ... In the second setup, on top of the above requirements, ... a correct returned note is required to have an offset value within 20% of the reference note’s duration around the reference ... note’s offset, or within 50ms whichever is larger. ... In short, we compute precision, recall, f-measure and overlap ratio, once without taking offsets into account, ... and the second time with. ... pitch_tolerance float > 0 The tolerance for an estimated note’s pitch deviating from the reference note’s pitch, in cents. ... Default is 50.0 (50 cents). ... Every reference note is matched against at most one estimated note."
    Locator: mir_eval.transcription · Quote language: en
Available in