annotate dss.m @ 1:9a37f107f089

Corrected contact mail and included shell script mention.
author Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk>
date Wed, 21 Oct 2015 11:21:26 +0100
parents 503d0475274e
children
rev   line source
f@0 1 % Modify the following variables to include the locations
f@0 2 % of the libraries and the dataset in your own system
f@0 3 scatnet_path = [pwd, '/../libraries/scatnet-0.2/'];
f@0 4 libsvm_compact_path = [pwd, '/../libraries/libsvm-compact-0.1/'];
f@0 5 global gtzan_path;
f@0 6 gtzan_path = '/import/c4dm-datasets/gtzan/';
f@0 7 global results_dir;
f@0 8 results_dir = [pwd, '/results/'];
f@0 9 %
f@0 10
f@0 11 fprintf('\n**********\nAdding the necessary folders to Matlab path\n**********\n');
f@0 12 run([scatnet_path, 'addpath_scatnet.m']);
f@0 13 addpath([libsvm_compact_path, 'matlab']);
f@0 14
f@0 15 mfilepath=fileparts(which(mfilename));
f@0 16 addpath(fullfile(mfilepath,'dss/experiments/'));
f@0 17 addpath(fullfile(mfilepath,'dss/folds/'));
f@0 18 addpath(fullfile(mfilepath,'dss/classification/'));
f@0 19
f@0 20 fprintf('\n**********\nSTARTING TO RUN EXPERIMENTS\n**********\n');
f@0 21 cd dss;
f@0 22
f@0 23 global src;
f@0 24 src = gtzan_src(gtzan_path);
f@0 25
f@0 26 fprintf('\n**********\nFEATURE SET (a)\n**********\n');
f@0 27 fprintf('\n**********\nMFCC, T=740ms\n**********\n');
f@0 28 exp_mfcc_740ms;
f@0 29 fprintf('\n**********\nFEATURE SET (b)\n**********\n');
f@0 30 fprintf('\n**********\nTime Scattering, l=1\n**********\n');
f@0 31 exp_time_scat_l1;
f@0 32 fprintf('\n**********\nFEATURE SET (c)\n**********\n');
f@0 33 fprintf('\n**********\nTime Scattering, l=2\n**********\n');
f@0 34 exp_time_scat_l2;
f@0 35 fprintf('\n**********\nFEATURE SET (d)\n**********\n');
f@0 36 fprintf('\n**********\nTime and Frequency Scattering, l=2\n**********\n');
f@0 37 exp_time_freq_scat_l2;
f@0 38 fprintf('\n**********\nFEATURE SET (e)\n**********\n');
f@0 39 fprintf('\n**********\nTime and Frequency Scattering, l=2, Adaptive Q1\n**********\n');
f@0 40 exp_time_freq_scat_l2_adap_q1;
f@0 41 fprintf('\n**********\nFEATURE SET (f)\n**********\n');
f@0 42 fprintf('\n**********\nTime Scattering, l=3\n**********\n')
f@0 43 exp_time_scat_l3;
f@0 44
f@0 45 quit;
f@0 46