Mercurial > hg > scatter_reeval
comparison scatter_reeval.m @ 4:a1f6a08f624c tip
Completed version 0.0.2
author | Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk> |
---|---|
date | Tue, 03 Nov 2015 21:24:41 +0000 |
parents | 06a2a18a3960 |
children |
comparison
equal
deleted
inserted
replaced
3:06a2a18a3960 | 4:a1f6a08f624c |
---|---|
1 % Modify the following variables to include the locations | |
2 % of the libraries and the dataset in your own system | |
3 | 1 |
4 scatnet_path = [pwd, '/../libraries/scatnet-0.2/']; | 2 load_files; |
5 libsvm_compact_path = [pwd, '/../libraries/libsvm-compact-0.1/']; | |
6 | |
7 gtzan_path = '/import/c4dm-datasets/gtzan/'; | |
8 | 3 |
9 global results_dir; | 4 global results_dir; |
10 results_dir = [pwd, '/../results_reeval/']; | 5 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 | 6 |
24 fprintf('\n**********\nSTARTING TO RUN EXPERIMENTS\n**********\n'); | 7 fprintf('\n**********\nSTARTING TO RUN EXPERIMENTS\n**********\n'); |
25 | 8 |
26 global src; | 9 global src; |
27 src = gtzan_src(gtzan_path); | 10 src = gtzan_src(gtzan_path); |