This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function evalNotes_09(resultsDir,algoDir,ID,gtDirname,delim,FH,FL,th_on) | |
fresults = [resultsDir ID '.subtask2.results.csv']; | |
fid = fopen(fresults,'w'); | |
fprintf(fid,'Filename,Nref,Nsys,Ncorr,Precision,Recall,Ave. F-measure,Ave. Overlap\n'); | |
d = dir([gtDirname '*.note.mat'] ); | |
Nrefs=zeros(length(d),1); | |
Nsyses=zeros(length(d),1); | |
recalls=zeros(length(d),1); | |
precs=zeros(length(d),1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Results = ErrorRate_MF0_NoteLevel(EstNote, GTNote, bUseOffset, FreqDevTh, OnsetDiff, OffsetDiff) | |
%function Results = ErrorRate_MF0_NoteLevel(EstNote, GTNote, bUseOffset, FreqDevTh, OnsetDiff, OffsetDiff) | |
% Note-level multi-F0 estimation error rate calculation. Compare a list of estimated notes with | |
% a list of ground-truth notes. | |
% | |
% Input | |
% - EstNote : estimated notes, each cell corresponds to a note: first line is frame number, | |
% second line is frequency in MIDI number | |
% - GTNote : ground-truth notes, the same format as EstNote | |
% - bUseOffset : (optional, default 0) the flag that if using offset criterion or not |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sandbox": {}, | |
"annotations": [ | |
{ | |
"namespace": "pitch_hz", | |
"sandbox": {}, | |
"time": 0, | |
"duration": null, | |
"annotation_metadata": { | |
"annotation_tools": "", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer