Mercurial > hg > c4dm-chord-transcriptions
view evaluationtools/format_recall_results.m @ 1:8973548174c1 tip
adding tools to repo
author | christopherh |
---|---|
date | Mon, 06 May 2013 14:43:47 +0100 |
parents | |
children |
line wrap: on
line source
function outtext = format_recall_results(results, params, algonames, songnames) [algorithms, songs] = size(results(:,:,1)); outtext = ['Recall results \nComparison ' params.comparison ... '\nCardinality ' num2str(params.cardinality) ... '\nInversion ' num2str(params.inversion) ... '\nDictionary ' cell2list(params.dictionary, ', ') ... '\nFrame rate ' num2str(params.framerate) ... '\n\n Song name; ' cell2list(algonames, ';;')]; for i = 1:songs outtext = [outtext '\n' songnames{i} ';' ]; for j = 1:algorithms outtext = [outtext num2str(results(j,i,1)) ';' num2str(results(j,i,2)) ';']; end end