comparison collect_all_public_annotations.m @ 6:e2337cd691b1 tip

Finishing writing the matlab code to replicate all observations made in the article. Added the article to the repository. Renamed the two main scripts ("1-get_mirex_estimates.rb" and "2-generate_smith2013_ismir.m") to not have dashes (since this was annoying within Matlab) Added new Michael Jackson figure.
author Jordan Smith <jordan.smith@eecs.qmul.ac.uk>
date Wed, 05 Mar 2014 01:02:26 +0000
parents 92b5a46bc67b
children
comparison
equal deleted inserted replaced
5:8d896eec680e 6:e2337cd691b1
113 end 113 end
114 end 114 end
115 end 115 end
116 116
117 % Load EP data 117 % Load EP data
118 % NOTE WELL: if you encounter an error here, are you sure you moved the file ep_groundtruth_txt.zip to your public_data directory and unzipped it?
118 [tmp all_files tmp1] = fileattrib(strcat(ep_dir,'/*.txt')); 119 [tmp all_files tmp1] = fileattrib(strcat(ep_dir,'/*.txt'));
119 for j=1:length(all_files), 120 for j=1:length(all_files),
120 if all_files(j).directory==0 & all_files(j).GroupRead==1, 121 if all_files(j).directory==0 & all_files(j).GroupRead==1,
121 try 122 try
122 [publictruth(end+1).tim publictruth(end+1).lab] = load_annotation(all_files(j).Name,'two_column'); 123 [publictruth(end+1).tim publictruth(end+1).lab] = load_annotation(all_files(j).Name,'two_column');
175 end 176 end
176 end 177 end
177 end 178 end
178 179
179 % Load SALAMI data 180 % Load SALAMI data
181 % NOTE WELL: if you encounter an error here, are you sure you unzipped the data.zip file *within* the SALAMI data file?
180 [tmp all_files tmp1] = fileattrib(strcat(salami_dir,'/*')); 182 [tmp all_files tmp1] = fileattrib(strcat(salami_dir,'/*'));
181 for j=1:length(all_files), 183 for j=1:length(all_files),
182 if all_files(j).directory == 0 & all_files(j).GroupRead==1, 184 if all_files(j).directory == 0 & all_files(j).GroupRead==1,
183 if strcmp(all_files(3).Name(end-12:end),'uppercase.txt'), 185 if strcmp(all_files(3).Name(end-12:end),'uppercase.txt'),
184 try 186 try