comparison scatter_reeval.m @ 2:b1cd83874633

Major structural revision. Modular organization of functionalities
author Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk>
date Wed, 28 Oct 2015 16:15:47 +0000
parents
children 06a2a18a3960
comparison
equal deleted inserted replaced
1:9a37f107f089 2:b1cd83874633
1 % Modify the following variables to include the locations
2 % of the libraries and the dataset in your own system
3
4 scatnet_path = [pwd, '/../libraries/scatnet-0.2/'];
5 libsvm_compact_path = [pwd, '/../libraries/libsvm-compact-0.1/'];
6
7 gtzan_path = '/import/c4dm-datasets/gtzan/';
8
9 global results_dir;
10 results_dir = [pwd, '/../results_reeval/'];
11
12 %
13
14 fprintf('\n**********\nAdding the necessary folders to Matlab path\n**********\n');
15 run([scatnet_path, 'addpath_scatnet.m']);
16 addpath([libsvm_compact_path, 'matlab']);
17
18 mfilepath=fileparts(which(mfilename));
19 addpath(fullfile(mfilepath,'reeval/experiments/'));
20 addpath(fullfile(mfilepath,'reeval/folds/'));
21 addpath(fullfile(mfilepath,'reeval/classification/'));
22 addpath(fullfile(mfilepath,'reeval/features/'));
23
24 fprintf('\n**********\nSTARTING TO RUN EXPERIMENTS\n**********\n');
25 %cd reeval;
26
27 global src;
28 src = gtzan_src(gtzan_path);
29
30 fprintf('\n**********\nFEATURE SET (a)\n**********\n');
31 fprintf('\n**********\nMFCC, T=740ms\n**********\n');
32 run_experiment('mfcc_740ms');
33
34 fprintf('\n**********\nFEATURE SET (b)\n**********\n');
35 fprintf('\n**********\nTime Scattering, l=1\n**********\n');
36 %run_experiment('time_scat_l1');
37
38 fprintf('\n**********\nFEATURE SET (c)\n**********\n');
39 fprintf('\n**********\nTime Scattering, l=2\n**********\n');
40 %run_experiment('time_scat_l2');
41
42 fprintf('\n**********\nFEATURE SET (d)\n**********\n');
43 fprintf('\n**********\nTime and Frequency Scattering, l=2\n**********\n');
44 %run_experiment('time_freq_scat_l2');
45
46 fprintf('\n**********\nFEATURE SET (e)\n**********\n');
47 fprintf('\n**********\nTime and Frequency Scattering, l=2, Adaptive Q1\n**********\n');
48 %run_experiment('time_freq_scat_l2_adap_q1');
49
50 fprintf('\n**********\nFEATURE SET (f)\n**********\n');
51 fprintf('\n**********\nTime Scattering, l=3\n**********\n')
52 %run_experiment('time_scat_l3');
53
54 quit;