changeset 0:503d0475274e

Version 0.0.1 - Initial Commit
author Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk>
date Wed, 21 Oct 2015 00:02:11 +0100
parents
children 9a37f107f089
files .hgignore LICENSE.txt README.txt dss.m dss.sh dss/classification/classify.m dss/experiments/exp_mfcc_740ms.m dss/experiments/exp_time_freq_scat_l2.m dss/experiments/exp_time_freq_scat_l2_adap_q1.m dss/experiments/exp_time_scat_l1.m dss/experiments/exp_time_scat_l2.m dss/experiments/exp_time_scat_l3.m dss/folds/createFolds.m dss/folds/test_filtered.txt dss/folds/test_stratified.txt dss/folds/train_filtered.txt dss/folds/train_stratified.txt dss/folds/valid_filtered.txt dss/folds/valid_stratified.txt
diffstat 19 files changed, 2572 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,2 @@
+syntax: glob
+*.txt~
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LICENSE.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,204 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright 2013 Stéphane Mallat, Laurent Sifre, Joakim Andén, Michel Kapoko,
+   Edouard Oyallon, and Vincent Lostanlen.
+
+   Copyright 2015 Francisco Rodríguez-Algarra, and Bob L. Sturm.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,35 @@
+Re-Evaluation of the Scattering Transform
+Version 0.0.1
+October 2015
+
+Contact: Francisco Rodríguez-Algarra (f.rodriguez@qmul.ac.uk)
+
+* LICENSING AND ATTRIBUTION INFORMATION
+
+Copyright (c) 2013 Stéphane Mallat, Laurent Sifre, Joakim Andén, Michel Kapoko, Edouard Oyallon, and Vincent Lostanlen.
+Copyright (c) 2015 Francisco Rodríguez-Algarra, and Bob L. Sturm.
+
+For licensing information see the file named LICENSE.
+
+This code is mainly based on the code provided with the following paper:
+J. Andén, and S. Mallat, "Deep Scattering Spectrum", IEEE Transactions on Signal Processing, vol. 62, pp. 4114-4128, 2014.
+
+If you use this code, please cite the following paper:
+F. Rodríguez-Algarra and B. L. Sturm, "Re-Evaluating the Scattering Transform", in Proc. 16th International Society of Music Information Retrieval Conference (ISMIR'15), Málaga, Spain, Oct. 2015.
+
+* USAGE
+
+This code requires the following libraries:
+- ScatNet v0.2
+- Compact LIBSVM v0.1
+Both libraries can be obtained in: http://www.di.ens.fr/data/software/
+
+It also requires the GTZAN music dataset, available at: http://opihi.cs.uvic.ca/sound/genres.tar.gz
+
+In order to run the experiments, you first need to edit the file "dss.m", modifying the values of the variables "scatnet_path", "libsvm_compact_path", and "gtzan_path" to point at the locations of the libraries and the dataset in your own system.
+
+You can also modify the location where the results of the experiments will be stored changing the value of the "results_dir" variable.
+
+Once the variables have been properly modified, to run the experiments simply execute the script "dss.m" in Matlab.
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,46 @@
+% Modify the following variables to include the locations 
+% of the libraries and the dataset in your own system
+scatnet_path = [pwd, '/../libraries/scatnet-0.2/'];
+libsvm_compact_path = [pwd, '/../libraries/libsvm-compact-0.1/'];
+global gtzan_path;
+gtzan_path = '/import/c4dm-datasets/gtzan/';
+global results_dir;
+results_dir = [pwd, '/results/'];
+%
+
+fprintf('\n**********\nAdding the necessary folders to Matlab path\n**********\n');
+run([scatnet_path, 'addpath_scatnet.m']);
+addpath([libsvm_compact_path, 'matlab']);
+
+mfilepath=fileparts(which(mfilename));
+addpath(fullfile(mfilepath,'dss/experiments/'));
+addpath(fullfile(mfilepath,'dss/folds/'));
+addpath(fullfile(mfilepath,'dss/classification/'));
+
+fprintf('\n**********\nSTARTING TO RUN EXPERIMENTS\n**********\n');
+cd dss;
+
+global src;
+src = gtzan_src(gtzan_path);
+
+fprintf('\n**********\nFEATURE SET (a)\n**********\n');
+fprintf('\n**********\nMFCC, T=740ms\n**********\n');
+exp_mfcc_740ms;
+fprintf('\n**********\nFEATURE SET (b)\n**********\n');
+fprintf('\n**********\nTime Scattering, l=1\n**********\n');
+exp_time_scat_l1;
+fprintf('\n**********\nFEATURE SET (c)\n**********\n');
+fprintf('\n**********\nTime Scattering, l=2\n**********\n');
+exp_time_scat_l2;
+fprintf('\n**********\nFEATURE SET (d)\n**********\n');
+fprintf('\n**********\nTime and Frequency Scattering, l=2\n**********\n');
+exp_time_freq_scat_l2;
+fprintf('\n**********\nFEATURE SET (e)\n**********\n');
+fprintf('\n**********\nTime and Frequency Scattering, l=2, Adaptive Q1\n**********\n');
+exp_time_freq_scat_l2_adap_q1;        
+fprintf('\n**********\nFEATURE SET (f)\n**********\n');
+fprintf('\n**********\nTime Scattering, l=3\n**********\n')
+exp_time_scat_l3;
+
+quit;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss.sh	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,4 @@
+#!/bin/bash
+matlab -nodisplay -nosplash -nojvm -r "
+run dss; quit;
+"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/classification/classify.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,47 @@
+function [] = classify(db, optt, preffix)
+
+cond = cellstr(['none '; 'fault']);
+
+for ii=1:length(cond)
+
+  [train_set,test_set] = createFolds(cond{ii});
+  train_set = find(train_set)';
+  test_set = find(test_set)';
+
+  [dev_err_grid,C_grid,gamma_grid] = ...
+	  svm_adaptive_param_search(db,train_set,[],optt);
+
+  [dev_err,ind] = min(mean(dev_err_grid{end},2));
+  C = C_grid{end}(ind);
+  gamma = gamma_grid{end}(ind);
+
+  optt1 = optt;
+  optt1.C = C;
+  optt1.gamma = gamma;
+
+  model = svm_train(db,train_set,optt1);
+  labels = svm_test(db,model,test_set);
+  err = classif_err(labels,test_set,db.src);
+
+  fprintf('dev err = %f, test err = %f\n\n',dev_err,err);
+
+  % dummy renaming of variables
+  id = test_set';
+  true_label = kron((1:10), ones(1, 100));
+  true_label = true_label(test_set)';
+  pred_label = labels';
+
+  % saving results in table
+  results = table(id, true_label, pred_label)
+
+  run_name = [preffix, cond{ii}];
+
+  global results_dir;
+  [s, mess, messid] = mkdir(results_dir);
+  if(s ~= 1) exit; end;
+
+  save([results_dir, run_name, '.mat'],'dev_err','err','C','gamma', 'labels', 'results');
+  writetable(results, [results_dir, run_name, '_results.csv'])
+
+end;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/experiments/exp_mfcc_740ms.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,34 @@
+% Script to reproduce the experiments leading to the results provided in the
+% Table 2 of the paper "Deep Scattering Spectrum" by J. Andén and S. Mallat.
+
+% Delta-Delta-MFCCs for window size 740 ms
+
+preffix = 'mfcc_740ms_';
+
+N = 5*2^17;
+
+global src;
+
+filt1_opt.wavelet_type = {'gabor','morlet'};
+filt1_opt.Q = [8 2];
+filt1_opt.J = T_to_J(8192*2,filt1_opt);
+filt1_opt.boundary = 'symm';
+
+sc1_opt.M = 1;
+
+filters = filter_bank(N, filt1_opt);
+
+features = {@(x)(feval(@(x)([x; circshift(x,[0 +1]); circshift(x,[0 -1])]), ...
+	format_scat(log_scat(spec_freq_average(x,filters,sc1_opt)))))};
+
+db = prepare_database(src,features);
+db.features = single(db.features);
+db = svm_calc_kernel(db,'gaussian','square',1:8:size(db.features,2));
+
+optt.kernel_type = 'gaussian';
+optt.C = 2.^[0:4:8];
+optt.gamma = 2.^[-16:4:-8];
+optt.search_depth = 3;
+optt.full_test_kernel = 1;
+
+classify(db, optt, preffix);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/experiments/exp_time_freq_scat_l2.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,50 @@
+% Script to reproduce the experiments leading to the results provided in the
+% Table 2 of the paper "Deep Scattering Spectrum" by J. Andén and S. Mallat.
+
+% M=2 scattering, frequency scattering
+
+preffix = 'time_freq_scat_l2_';
+
+N = 5*2^17;
+
+global src;
+
+filt1_opt.filter_type = {'gabor_1d','morlet_1d'};
+filt1_opt.Q = [8 1];
+filt1_opt.J = T_to_J(8192*2,filt1_opt);
+
+sc1_opt.M = 2;
+
+ffilt1_opt.filter_type = 'morlet_1d';
+ffilt1_opt.J = 7;
+
+fsc1_opt.M = 1;
+
+Wop1 = wavelet_factory_1d(N, filt1_opt, sc1_opt);
+fWop1 = wavelet_factory_1d(128, ffilt1_opt, fsc1_opt);
+
+scatt_fun1 = @(x)(log_scat(renorm_scat(scat(x,Wop1))));
+fscatt_fun1 = @(x)(func_output(@scat_freq,2,scatt_fun1(x),fWop1));
+feature_fun1 = @(x)(format_scat(fscatt_fun1(x)));
+
+features = {feature_fun1};
+
+for k = 1:length(features)
+    fprintf('testing feature #%d...',k);
+    tic;
+    sz = size(features{k}(randn(N,1)));
+    aa = toc;
+    fprintf('OK (%.2fs) (size [%d,%d])\n',aa,sz(1),sz(2));
+end
+
+db = prepare_database(src,features);
+db.features = single(db.features);
+db = svm_calc_kernel(db,'gaussian','square',1:8:size(db.features,2));
+
+optt.kernel_type = 'gaussian';
+optt.C = 2.^[0:4:8];
+optt.gamma = 2.^[-16:4:-8];
+optt.search_depth = 3;
+optt.full_test_kernel = 1;
+
+classify(db, optt, preffix);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/experiments/exp_time_freq_scat_l2_adap_q1.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,68 @@
+% Script to reproduce the experiments leading to the results provided in the
+% Table 2 of the paper "Deep Scattering Spectrum" by J. Andén and S. Mallat.
+
+% M=2 scattering, frequency scattering, multiple Q1
+
+preffix = 'time_freq_scat_l2_adap_q1_';
+
+N = 5*2^17;
+
+global src;
+
+filt1_opt.filter_type = {'gabor_1d','morlet_1d'};
+filt1_opt.Q = [8 1];
+filt1_opt.J = T_to_J(8192*2,filt1_opt);
+
+sc1_opt.M = 2;
+
+ffilt1_opt.filter_type = 'morlet_1d';
+ffilt1_opt.J = 7;
+
+fsc1_opt.M = 1;
+
+Wop1 = wavelet_factory_1d(N, filt1_opt, sc1_opt);
+fWop1 = wavelet_factory_1d(128, ffilt1_opt, fsc1_opt);
+
+scatt_fun1 = @(x)(log_scat(renorm_scat(scat(x,Wop1))));
+fscatt_fun1 = @(x)(func_output(@scat_freq,2,scatt_fun1(x),fWop1));
+feature_fun1 = @(x)(format_scat(fscatt_fun1(x)));
+
+filt2_opt = filt1_opt;
+filt2_opt.Q = [1 1];
+filt2_opt.J = T_to_J(8192*2,filt2_opt);
+
+sc2_opt = sc1_opt;
+
+ffilt2_opt = ffilt1_opt;
+ffilt2_opt.J = 5;
+
+fsc2_opt = fsc1_opt;
+
+Wop2 = wavelet_factory_1d(N, filt2_opt, sc2_opt);
+fWop2 = wavelet_factory_1d(32, ffilt2_opt, fsc2_opt);
+
+scatt_fun2 = @(x)(log_scat(renorm_scat(scat(x,Wop2))));
+fscatt_fun2 = @(x)(func_output(@scat_freq,2,scatt_fun2(x),fWop2));
+feature_fun2 = @(x)(format_scat(fscatt_fun2(x)));
+
+features = {feature_fun1, feature_fun2};
+
+for k = 1:length(features)
+    fprintf('testing feature #%d...',k);
+    tic;
+    sz = size(features{k}(randn(N,1)));
+    aa = toc;
+    fprintf('OK (%.2fs) (size [%d,%d])\n',aa,sz(1),sz(2));
+end
+
+db = prepare_database(src,features);
+db.features = single(db.features);
+db = svm_calc_kernel(db,'gaussian','square',1:8:size(db.features,2));
+
+optt.kernel_type = 'gaussian';
+optt.C = 2.^[0:4:8];
+optt.gamma = 2.^[-16:4:-8];
+optt.search_depth = 3;
+optt.full_test_kernel = 1;
+
+classify(db, optt, preffix);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/experiments/exp_time_scat_l1.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,32 @@
+% Script to reproduce the experiments leading to the results provided in the
+% Table 2 of the paper "Deep Scattering Spectrum" by J. Andén and S. Mallat.
+
+% M=1 scattering
+
+preffix = 'time_scat_l1_';
+
+N=5*2^17;
+
+global src;
+
+fparam.filter_type = {'gabor_1d','morlet_1d'};
+fparam.Q = [8 2];
+fparam.J = T_to_J(8192*2,fparam);
+
+options.M = 1;
+
+Wop = wavelet_factory_1d(N, fparam, options);
+
+feature_fun = {@(x)(format_scat(log_scat(renorm_scat(scat(x,Wop)))))};
+
+db = prepare_database(src,feature_fun);
+db.features = single(db.features)
+db = svm_calc_kernel(db,'gaussian','square',1:8:size(db.features,2));
+
+optt.kernel_type = 'gaussian';
+optt.C = 2.^[0:4:8];
+optt.gamma = 2.^[-16:4:-8];
+optt.search_depth = 3;
+optt.full_test_kernel = 1;
+
+classify(db, optt, preffix);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/experiments/exp_time_scat_l2.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,32 @@
+% Script to reproduce the experiments leading to the results provided in the
+% Table 2 of the paper "Deep Scattering Spectrum" by J. Andén and S. Mallat.
+
+% M=2 scattering
+
+preffix = 'time_scat_l2_';
+
+N=5*2^17;
+
+global src;
+
+fparam.filter_type = {'gabor_1d','morlet_1d'};
+fparam.Q = [8 2];
+fparam.J = T_to_J(8192*2,fparam);
+
+options.M = 2;
+
+Wop = wavelet_factory_1d(N, fparam, options);
+
+feature_fun = {@(x)(format_scat(log_scat(renorm_scat(scat(x,Wop)))))};
+
+db = prepare_database(src,feature_fun);
+db.features = single(db.features)
+db = svm_calc_kernel(db,'gaussian','square',1:8:size(db.features,2));
+
+optt.kernel_type = 'gaussian';
+optt.C = 2.^[0:4:8];
+optt.gamma = 2.^[-16:4:-8];
+optt.search_depth = 3;
+optt.full_test_kernel = 1;
+
+classify(db, optt, preffix);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/experiments/exp_time_scat_l3.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,32 @@
+% Script to reproduce the experiments leading to the results provided in the
+% Table 2 of the paper "Deep Scattering Spectrum" by J. Andén and S. Mallat.
+
+% M=3 scattering
+
+preffix = 'time_scat_l3_';
+
+N=5*2^17;
+
+global src;
+
+fparam.filter_type = {'gabor_1d','morlet_1d','morlet_1d'};
+fparam.Q = [8 2 1];
+fparam.J = T_to_J(8192*2,fparam);
+
+options.M = 3;
+
+Wop = wavelet_factory_1d(N, fparam, options);
+
+feature_fun = {@(x)(format_scat(log_scat(renorm_scat(scat(x,Wop)))))};
+
+db = prepare_database(src,feature_fun);
+db.features = single(db.features)
+db = svm_calc_kernel(db,'gaussian','square',1:8:size(db.features,2));
+
+optt.kernel_type = 'gaussian';
+optt.C = 2.^[0:4:8];
+optt.gamma = 2.^[-16:4:-8];
+optt.search_depth = 3;
+optt.full_test_kernel = 0;
+
+classify(db, optt, preffix);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/folds/createFolds.m	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,56 @@
+function [train,test] = createFolds(type)
+
+% 'none' to use no filtering
+% 'fault' to use filtering
+
+switch type
+  case 'fault'
+    testname = 'test_filtered.txt';
+    trainname = 'train_filtered.txt';
+    validname = 'valid_filtered.txt';
+  case 'none'
+    testname = 'test_stratified.txt';
+    trainname = 'train_stratified.txt';
+    validname = 'valid_stratified.txt';
+end
+
+genrelabels = {'blues','classical','country','disco','hiphop','jazz','metal','pop','reggae','rock'};
+
+% read in test partition
+fid = fopen(testname);
+C = textscan(fid,'%s');
+testdata = zeros(length(C{:}),1);
+for cc=1:length(C{:})
+  genremult = (find(strncmp(C{1}(cc),genrelabels,3))-1)*100;
+  exnum = str2num(C{1}{cc}(end-5:end-4));
+  testdata(cc) = genremult+exnum+1;
+end
+fclose(fid);
+
+% read in valid partition
+fid = fopen(validname);
+C = textscan(fid,'%s');
+validdata = zeros(length(C{:}),1);
+for cc=1:length(C{:})
+  genremult = (find(strncmp(C{1}(cc),genrelabels,3))-1)*100;
+  exnum = str2num(C{1}{cc}(end-5:end-4));
+  validdata(cc) = genremult+exnum+1;
+end
+fclose(fid);
+
+% read in train partition
+fid = fopen(trainname);
+C = textscan(fid,'%s');
+traindata = zeros(length(C{:}),1);
+for cc=1:length(C{:})
+  genremult = (find(strncmp(C{1}(cc),genrelabels,3))-1)*100;
+  exnum = str2num(C{1}{cc}(end-5:end-4));
+  traindata(cc) = genremult+exnum+1;
+end
+fclose(fid);
+
+testbool = zeros(1000,1); testbool(testdata) = 1;
+trainbool = zeros(1000,1); trainbool(validdata) = 1; trainbool(traindata) = 1;
+
+test = logical(testbool);
+train = logical(trainbool);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/folds/test_filtered.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,290 @@
+blues/blues.00012.wav
+blues/blues.00013.wav
+blues/blues.00014.wav
+blues/blues.00015.wav
+blues/blues.00016.wav
+blues/blues.00017.wav
+blues/blues.00018.wav
+blues/blues.00019.wav
+blues/blues.00020.wav
+blues/blues.00021.wav
+blues/blues.00022.wav
+blues/blues.00023.wav
+blues/blues.00024.wav
+blues/blues.00025.wav
+blues/blues.00026.wav
+blues/blues.00027.wav
+blues/blues.00028.wav
+blues/blues.00061.wav
+blues/blues.00062.wav
+blues/blues.00063.wav
+blues/blues.00064.wav
+blues/blues.00065.wav
+blues/blues.00066.wav
+blues/blues.00067.wav
+blues/blues.00068.wav
+blues/blues.00069.wav
+blues/blues.00070.wav
+blues/blues.00071.wav
+blues/blues.00072.wav
+blues/blues.00098.wav
+blues/blues.00099.wav
+classical/classical.00011.wav
+classical/classical.00012.wav
+classical/classical.00013.wav
+classical/classical.00014.wav
+classical/classical.00015.wav
+classical/classical.00016.wav
+classical/classical.00017.wav
+classical/classical.00018.wav
+classical/classical.00019.wav
+classical/classical.00020.wav
+classical/classical.00021.wav
+classical/classical.00022.wav
+classical/classical.00023.wav
+classical/classical.00024.wav
+classical/classical.00025.wav
+classical/classical.00026.wav
+classical/classical.00027.wav
+classical/classical.00028.wav
+classical/classical.00029.wav
+classical/classical.00034.wav
+classical/classical.00035.wav
+classical/classical.00036.wav
+classical/classical.00037.wav
+classical/classical.00038.wav
+classical/classical.00039.wav
+classical/classical.00040.wav
+classical/classical.00041.wav
+classical/classical.00049.wav
+classical/classical.00077.wav
+classical/classical.00078.wav
+classical/classical.00079.wav
+country/country.00030.wav
+country/country.00031.wav
+country/country.00032.wav
+country/country.00033.wav
+country/country.00034.wav
+country/country.00035.wav
+country/country.00036.wav
+country/country.00037.wav
+country/country.00038.wav
+country/country.00039.wav
+country/country.00040.wav
+country/country.00043.wav
+country/country.00044.wav
+country/country.00046.wav
+country/country.00047.wav
+country/country.00048.wav
+country/country.00050.wav
+country/country.00051.wav
+country/country.00053.wav
+country/country.00054.wav
+country/country.00055.wav
+country/country.00056.wav
+country/country.00057.wav
+country/country.00058.wav
+country/country.00059.wav
+country/country.00060.wav
+country/country.00061.wav
+country/country.00062.wav
+country/country.00063.wav
+country/country.00064.wav
+disco/disco.00001.wav
+disco/disco.00021.wav
+disco/disco.00058.wav
+disco/disco.00062.wav
+disco/disco.00063.wav
+disco/disco.00064.wav
+disco/disco.00065.wav
+disco/disco.00066.wav
+disco/disco.00069.wav
+disco/disco.00076.wav
+disco/disco.00077.wav
+disco/disco.00078.wav
+disco/disco.00079.wav
+disco/disco.00080.wav
+disco/disco.00081.wav
+disco/disco.00082.wav
+disco/disco.00083.wav
+disco/disco.00084.wav
+disco/disco.00085.wav
+disco/disco.00086.wav
+disco/disco.00087.wav
+disco/disco.00088.wav
+disco/disco.00091.wav
+disco/disco.00092.wav
+disco/disco.00093.wav
+disco/disco.00094.wav
+disco/disco.00096.wav
+disco/disco.00097.wav
+disco/disco.00099.wav
+hiphop/hiphop.00000.wav
+hiphop/hiphop.00026.wav
+hiphop/hiphop.00027.wav
+hiphop/hiphop.00030.wav
+hiphop/hiphop.00040.wav
+hiphop/hiphop.00043.wav
+hiphop/hiphop.00044.wav
+hiphop/hiphop.00045.wav
+hiphop/hiphop.00051.wav
+hiphop/hiphop.00052.wav
+hiphop/hiphop.00053.wav
+hiphop/hiphop.00054.wav
+hiphop/hiphop.00062.wav
+hiphop/hiphop.00063.wav
+hiphop/hiphop.00064.wav
+hiphop/hiphop.00065.wav
+hiphop/hiphop.00066.wav
+hiphop/hiphop.00067.wav
+hiphop/hiphop.00068.wav
+hiphop/hiphop.00069.wav
+hiphop/hiphop.00070.wav
+hiphop/hiphop.00071.wav
+hiphop/hiphop.00072.wav
+hiphop/hiphop.00073.wav
+hiphop/hiphop.00074.wav
+hiphop/hiphop.00075.wav
+hiphop/hiphop.00099.wav
+jazz/jazz.00073.wav
+jazz/jazz.00074.wav
+jazz/jazz.00075.wav
+jazz/jazz.00076.wav
+jazz/jazz.00077.wav
+jazz/jazz.00078.wav
+jazz/jazz.00079.wav
+jazz/jazz.00080.wav
+jazz/jazz.00081.wav
+jazz/jazz.00082.wav
+jazz/jazz.00083.wav
+jazz/jazz.00084.wav
+jazz/jazz.00085.wav
+jazz/jazz.00086.wav
+jazz/jazz.00087.wav
+jazz/jazz.00088.wav
+jazz/jazz.00089.wav
+jazz/jazz.00090.wav
+jazz/jazz.00091.wav
+jazz/jazz.00092.wav
+jazz/jazz.00093.wav
+jazz/jazz.00094.wav
+jazz/jazz.00095.wav
+jazz/jazz.00096.wav
+jazz/jazz.00097.wav
+jazz/jazz.00098.wav
+jazz/jazz.00099.wav
+metal/metal.00012.wav
+metal/metal.00013.wav
+metal/metal.00014.wav
+metal/metal.00015.wav
+metal/metal.00022.wav
+metal/metal.00023.wav
+metal/metal.00025.wav
+metal/metal.00026.wav
+metal/metal.00027.wav
+metal/metal.00028.wav
+metal/metal.00029.wav
+metal/metal.00030.wav
+metal/metal.00031.wav
+metal/metal.00032.wav
+metal/metal.00033.wav
+metal/metal.00038.wav
+metal/metal.00039.wav
+metal/metal.00067.wav
+metal/metal.00070.wav
+metal/metal.00073.wav
+metal/metal.00074.wav
+metal/metal.00075.wav
+metal/metal.00078.wav
+metal/metal.00083.wav
+metal/metal.00085.wav
+metal/metal.00087.wav
+metal/metal.00088.wav
+pop/pop.00000.wav
+pop/pop.00001.wav
+pop/pop.00013.wav
+pop/pop.00014.wav
+pop/pop.00043.wav
+pop/pop.00063.wav
+pop/pop.00064.wav
+pop/pop.00065.wav
+pop/pop.00066.wav
+pop/pop.00069.wav
+pop/pop.00070.wav
+pop/pop.00071.wav
+pop/pop.00072.wav
+pop/pop.00073.wav
+pop/pop.00074.wav
+pop/pop.00075.wav
+pop/pop.00076.wav
+pop/pop.00077.wav
+pop/pop.00078.wav
+pop/pop.00079.wav
+pop/pop.00082.wav
+pop/pop.00088.wav
+pop/pop.00089.wav
+pop/pop.00090.wav
+pop/pop.00091.wav
+pop/pop.00092.wav
+pop/pop.00093.wav
+pop/pop.00094.wav
+pop/pop.00095.wav
+pop/pop.00096.wav
+reggae/reggae.00034.wav
+reggae/reggae.00035.wav
+reggae/reggae.00036.wav
+reggae/reggae.00037.wav
+reggae/reggae.00038.wav
+reggae/reggae.00039.wav
+reggae/reggae.00040.wav
+reggae/reggae.00046.wav
+reggae/reggae.00047.wav
+reggae/reggae.00048.wav
+reggae/reggae.00052.wav
+reggae/reggae.00053.wav
+reggae/reggae.00064.wav
+reggae/reggae.00065.wav
+reggae/reggae.00066.wav
+reggae/reggae.00067.wav
+reggae/reggae.00068.wav
+reggae/reggae.00071.wav
+reggae/reggae.00079.wav
+reggae/reggae.00082.wav
+reggae/reggae.00083.wav
+reggae/reggae.00084.wav
+reggae/reggae.00087.wav
+reggae/reggae.00088.wav
+reggae/reggae.00089.wav
+reggae/reggae.00090.wav
+rock/rock.00010.wav
+rock/rock.00011.wav
+rock/rock.00012.wav
+rock/rock.00013.wav
+rock/rock.00014.wav
+rock/rock.00015.wav
+rock/rock.00027.wav
+rock/rock.00028.wav
+rock/rock.00029.wav
+rock/rock.00030.wav
+rock/rock.00031.wav
+rock/rock.00032.wav
+rock/rock.00033.wav
+rock/rock.00034.wav
+rock/rock.00035.wav
+rock/rock.00036.wav
+rock/rock.00037.wav
+rock/rock.00039.wav
+rock/rock.00040.wav
+rock/rock.00041.wav
+rock/rock.00042.wav
+rock/rock.00043.wav
+rock/rock.00044.wav
+rock/rock.00045.wav
+rock/rock.00046.wav
+rock/rock.00047.wav
+rock/rock.00048.wav
+rock/rock.00086.wav
+rock/rock.00087.wav
+rock/rock.00088.wav
+rock/rock.00089.wav
+rock/rock.00090.wav
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/folds/test_stratified.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,250 @@
+blues/blues.00005.wav
+blues/blues.00010.wav
+blues/blues.00012.wav
+blues/blues.00013.wav
+blues/blues.00015.wav
+blues/blues.00020.wav
+blues/blues.00023.wav
+blues/blues.00024.wav
+blues/blues.00025.wav
+blues/blues.00028.wav
+blues/blues.00031.wav
+blues/blues.00040.wav
+blues/blues.00043.wav
+blues/blues.00049.wav
+blues/blues.00052.wav
+blues/blues.00053.wav
+blues/blues.00059.wav
+blues/blues.00062.wav
+blues/blues.00064.wav
+blues/blues.00077.wav
+blues/blues.00083.wav
+blues/blues.00084.wav
+blues/blues.00092.wav
+blues/blues.00095.wav
+blues/blues.00098.wav
+classical/classical.00009.wav
+classical/classical.00016.wav
+classical/classical.00019.wav
+classical/classical.00021.wav
+classical/classical.00024.wav
+classical/classical.00029.wav
+classical/classical.00034.wav
+classical/classical.00035.wav
+classical/classical.00036.wav
+classical/classical.00037.wav
+classical/classical.00041.wav
+classical/classical.00042.wav
+classical/classical.00043.wav
+classical/classical.00045.wav
+classical/classical.00052.wav
+classical/classical.00053.wav
+classical/classical.00055.wav
+classical/classical.00056.wav
+classical/classical.00061.wav
+classical/classical.00066.wav
+classical/classical.00069.wav
+classical/classical.00075.wav
+classical/classical.00087.wav
+classical/classical.00088.wav
+classical/classical.00092.wav
+country/country.00002.wav
+country/country.00011.wav
+country/country.00021.wav
+country/country.00022.wav
+country/country.00023.wav
+country/country.00024.wav
+country/country.00031.wav
+country/country.00033.wav
+country/country.00041.wav
+country/country.00047.wav
+country/country.00050.wav
+country/country.00051.wav
+country/country.00052.wav
+country/country.00053.wav
+country/country.00057.wav
+country/country.00064.wav
+country/country.00065.wav
+country/country.00072.wav
+country/country.00075.wav
+country/country.00076.wav
+country/country.00077.wav
+country/country.00078.wav
+country/country.00082.wav
+country/country.00091.wav
+country/country.00099.wav
+disco/disco.00000.wav
+disco/disco.00001.wav
+disco/disco.00002.wav
+disco/disco.00004.wav
+disco/disco.00005.wav
+disco/disco.00008.wav
+disco/disco.00012.wav
+disco/disco.00014.wav
+disco/disco.00021.wav
+disco/disco.00033.wav
+disco/disco.00038.wav
+disco/disco.00049.wav
+disco/disco.00055.wav
+disco/disco.00058.wav
+disco/disco.00061.wav
+disco/disco.00068.wav
+disco/disco.00071.wav
+disco/disco.00076.wav
+disco/disco.00077.wav
+disco/disco.00079.wav
+disco/disco.00080.wav
+disco/disco.00082.wav
+disco/disco.00086.wav
+disco/disco.00094.wav
+disco/disco.00098.wav
+hiphop/hiphop.00001.wav
+hiphop/hiphop.00004.wav
+hiphop/hiphop.00008.wav
+hiphop/hiphop.00009.wav
+hiphop/hiphop.00014.wav
+hiphop/hiphop.00015.wav
+hiphop/hiphop.00017.wav
+hiphop/hiphop.00023.wav
+hiphop/hiphop.00024.wav
+hiphop/hiphop.00025.wav
+hiphop/hiphop.00028.wav
+hiphop/hiphop.00029.wav
+hiphop/hiphop.00034.wav
+hiphop/hiphop.00042.wav
+hiphop/hiphop.00061.wav
+hiphop/hiphop.00062.wav
+hiphop/hiphop.00065.wav
+hiphop/hiphop.00070.wav
+hiphop/hiphop.00075.wav
+hiphop/hiphop.00085.wav
+hiphop/hiphop.00087.wav
+hiphop/hiphop.00091.wav
+hiphop/hiphop.00094.wav
+hiphop/hiphop.00095.wav
+hiphop/hiphop.00096.wav
+jazz/jazz.00003.wav
+jazz/jazz.00009.wav
+jazz/jazz.00016.wav
+jazz/jazz.00018.wav
+jazz/jazz.00020.wav
+jazz/jazz.00031.wav
+jazz/jazz.00033.wav
+jazz/jazz.00035.wav
+jazz/jazz.00037.wav
+jazz/jazz.00039.wav
+jazz/jazz.00045.wav
+jazz/jazz.00048.wav
+jazz/jazz.00053.wav
+jazz/jazz.00066.wav
+jazz/jazz.00067.wav
+jazz/jazz.00069.wav
+jazz/jazz.00071.wav
+jazz/jazz.00073.wav
+jazz/jazz.00076.wav
+jazz/jazz.00078.wav
+jazz/jazz.00084.wav
+jazz/jazz.00085.wav
+jazz/jazz.00087.wav
+jazz/jazz.00088.wav
+jazz/jazz.00099.wav
+metal/metal.00001.wav
+metal/metal.00002.wav
+metal/metal.00005.wav
+metal/metal.00018.wav
+metal/metal.00020.wav
+metal/metal.00021.wav
+metal/metal.00030.wav
+metal/metal.00035.wav
+metal/metal.00040.wav
+metal/metal.00042.wav
+metal/metal.00046.wav
+metal/metal.00048.wav
+metal/metal.00050.wav
+metal/metal.00051.wav
+metal/metal.00054.wav
+metal/metal.00057.wav
+metal/metal.00058.wav
+metal/metal.00062.wav
+metal/metal.00066.wav
+metal/metal.00069.wav
+metal/metal.00078.wav
+metal/metal.00080.wav
+metal/metal.00084.wav
+metal/metal.00092.wav
+metal/metal.00098.wav
+pop/pop.00000.wav
+pop/pop.00005.wav
+pop/pop.00006.wav
+pop/pop.00008.wav
+pop/pop.00021.wav
+pop/pop.00030.wav
+pop/pop.00031.wav
+pop/pop.00034.wav
+pop/pop.00036.wav
+pop/pop.00038.wav
+pop/pop.00039.wav
+pop/pop.00040.wav
+pop/pop.00044.wav
+pop/pop.00046.wav
+pop/pop.00049.wav
+pop/pop.00052.wav
+pop/pop.00066.wav
+pop/pop.00068.wav
+pop/pop.00069.wav
+pop/pop.00070.wav
+pop/pop.00084.wav
+pop/pop.00088.wav
+pop/pop.00091.wav
+pop/pop.00096.wav
+pop/pop.00097.wav
+reggae/reggae.00002.wav
+reggae/reggae.00003.wav
+reggae/reggae.00006.wav
+reggae/reggae.00015.wav
+reggae/reggae.00020.wav
+reggae/reggae.00021.wav
+reggae/reggae.00022.wav
+reggae/reggae.00033.wav
+reggae/reggae.00035.wav
+reggae/reggae.00046.wav
+reggae/reggae.00048.wav
+reggae/reggae.00050.wav
+reggae/reggae.00057.wav
+reggae/reggae.00058.wav
+reggae/reggae.00068.wav
+reggae/reggae.00069.wav
+reggae/reggae.00074.wav
+reggae/reggae.00078.wav
+reggae/reggae.00079.wav
+reggae/reggae.00081.wav
+reggae/reggae.00083.wav
+reggae/reggae.00094.wav
+reggae/reggae.00096.wav
+reggae/reggae.00097.wav
+reggae/reggae.00099.wav
+rock/rock.00000.wav
+rock/rock.00001.wav
+rock/rock.00002.wav
+rock/rock.00009.wav
+rock/rock.00010.wav
+rock/rock.00011.wav
+rock/rock.00020.wav
+rock/rock.00031.wav
+rock/rock.00032.wav
+rock/rock.00033.wav
+rock/rock.00039.wav
+rock/rock.00042.wav
+rock/rock.00047.wav
+rock/rock.00050.wav
+rock/rock.00051.wav
+rock/rock.00057.wav
+rock/rock.00060.wav
+rock/rock.00064.wav
+rock/rock.00070.wav
+rock/rock.00072.wav
+rock/rock.00073.wav
+rock/rock.00074.wav
+rock/rock.00079.wav
+rock/rock.00082.wav
+rock/rock.00098.wav
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/folds/train_filtered.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,443 @@
+blues/blues.00029.wav
+blues/blues.00030.wav
+blues/blues.00031.wav
+blues/blues.00032.wav
+blues/blues.00033.wav
+blues/blues.00034.wav
+blues/blues.00035.wav
+blues/blues.00036.wav
+blues/blues.00037.wav
+blues/blues.00038.wav
+blues/blues.00039.wav
+blues/blues.00040.wav
+blues/blues.00041.wav
+blues/blues.00042.wav
+blues/blues.00043.wav
+blues/blues.00044.wav
+blues/blues.00045.wav
+blues/blues.00046.wav
+blues/blues.00047.wav
+blues/blues.00048.wav
+blues/blues.00049.wav
+blues/blues.00073.wav
+blues/blues.00074.wav
+blues/blues.00075.wav
+blues/blues.00076.wav
+blues/blues.00077.wav
+blues/blues.00078.wav
+blues/blues.00079.wav
+blues/blues.00080.wav
+blues/blues.00081.wav
+blues/blues.00082.wav
+blues/blues.00083.wav
+blues/blues.00084.wav
+blues/blues.00085.wav
+blues/blues.00086.wav
+blues/blues.00087.wav
+blues/blues.00088.wav
+blues/blues.00089.wav
+blues/blues.00090.wav
+blues/blues.00091.wav
+blues/blues.00092.wav
+blues/blues.00093.wav
+blues/blues.00094.wav
+blues/blues.00095.wav
+blues/blues.00096.wav
+blues/blues.00097.wav
+classical/classical.00030.wav
+classical/classical.00031.wav
+classical/classical.00032.wav
+classical/classical.00033.wav
+classical/classical.00043.wav
+classical/classical.00044.wav
+classical/classical.00045.wav
+classical/classical.00046.wav
+classical/classical.00047.wav
+classical/classical.00048.wav
+classical/classical.00050.wav
+classical/classical.00051.wav
+classical/classical.00052.wav
+classical/classical.00053.wav
+classical/classical.00054.wav
+classical/classical.00055.wav
+classical/classical.00056.wav
+classical/classical.00057.wav
+classical/classical.00058.wav
+classical/classical.00059.wav
+classical/classical.00060.wav
+classical/classical.00061.wav
+classical/classical.00062.wav
+classical/classical.00063.wav
+classical/classical.00064.wav
+classical/classical.00065.wav
+classical/classical.00066.wav
+classical/classical.00067.wav
+classical/classical.00080.wav
+classical/classical.00081.wav
+classical/classical.00082.wav
+classical/classical.00083.wav
+classical/classical.00084.wav
+classical/classical.00085.wav
+classical/classical.00086.wav
+classical/classical.00087.wav
+classical/classical.00088.wav
+classical/classical.00089.wav
+classical/classical.00090.wav
+classical/classical.00091.wav
+classical/classical.00092.wav
+classical/classical.00093.wav
+classical/classical.00094.wav
+classical/classical.00095.wav
+classical/classical.00096.wav
+classical/classical.00097.wav
+classical/classical.00098.wav
+classical/classical.00099.wav
+country/country.00019.wav
+country/country.00020.wav
+country/country.00021.wav
+country/country.00022.wav
+country/country.00023.wav
+country/country.00024.wav
+country/country.00025.wav
+country/country.00026.wav
+country/country.00028.wav
+country/country.00029.wav
+country/country.00065.wav
+country/country.00066.wav
+country/country.00067.wav
+country/country.00068.wav
+country/country.00069.wav
+country/country.00070.wav
+country/country.00071.wav
+country/country.00072.wav
+country/country.00073.wav
+country/country.00074.wav
+country/country.00075.wav
+country/country.00076.wav
+country/country.00077.wav
+country/country.00078.wav
+country/country.00079.wav
+country/country.00080.wav
+country/country.00081.wav
+country/country.00082.wav
+country/country.00083.wav
+country/country.00084.wav
+country/country.00085.wav
+country/country.00086.wav
+country/country.00087.wav
+country/country.00088.wav
+country/country.00089.wav
+country/country.00090.wav
+country/country.00091.wav
+country/country.00092.wav
+country/country.00093.wav
+country/country.00094.wav
+country/country.00095.wav
+country/country.00096.wav
+country/country.00097.wav
+country/country.00098.wav
+country/country.00099.wav
+disco/disco.00005.wav
+disco/disco.00015.wav
+disco/disco.00016.wav
+disco/disco.00017.wav
+disco/disco.00018.wav
+disco/disco.00019.wav
+disco/disco.00020.wav
+disco/disco.00022.wav
+disco/disco.00023.wav
+disco/disco.00024.wav
+disco/disco.00025.wav
+disco/disco.00026.wav
+disco/disco.00027.wav
+disco/disco.00028.wav
+disco/disco.00029.wav
+disco/disco.00030.wav
+disco/disco.00031.wav
+disco/disco.00032.wav
+disco/disco.00033.wav
+disco/disco.00034.wav
+disco/disco.00035.wav
+disco/disco.00036.wav
+disco/disco.00037.wav
+disco/disco.00039.wav
+disco/disco.00040.wav
+disco/disco.00041.wav
+disco/disco.00042.wav
+disco/disco.00043.wav
+disco/disco.00044.wav
+disco/disco.00045.wav
+disco/disco.00047.wav
+disco/disco.00049.wav
+disco/disco.00053.wav
+disco/disco.00054.wav
+disco/disco.00056.wav
+disco/disco.00057.wav
+disco/disco.00059.wav
+disco/disco.00061.wav
+disco/disco.00070.wav
+disco/disco.00073.wav
+disco/disco.00074.wav
+disco/disco.00089.wav
+hiphop/hiphop.00002.wav
+hiphop/hiphop.00003.wav
+hiphop/hiphop.00004.wav
+hiphop/hiphop.00005.wav
+hiphop/hiphop.00006.wav
+hiphop/hiphop.00007.wav
+hiphop/hiphop.00008.wav
+hiphop/hiphop.00009.wav
+hiphop/hiphop.00010.wav
+hiphop/hiphop.00011.wav
+hiphop/hiphop.00012.wav
+hiphop/hiphop.00013.wav
+hiphop/hiphop.00014.wav
+hiphop/hiphop.00015.wav
+hiphop/hiphop.00016.wav
+hiphop/hiphop.00017.wav
+hiphop/hiphop.00018.wav
+hiphop/hiphop.00019.wav
+hiphop/hiphop.00020.wav
+hiphop/hiphop.00021.wav
+hiphop/hiphop.00022.wav
+hiphop/hiphop.00023.wav
+hiphop/hiphop.00024.wav
+hiphop/hiphop.00025.wav
+hiphop/hiphop.00028.wav
+hiphop/hiphop.00029.wav
+hiphop/hiphop.00031.wav
+hiphop/hiphop.00032.wav
+hiphop/hiphop.00033.wav
+hiphop/hiphop.00034.wav
+hiphop/hiphop.00035.wav
+hiphop/hiphop.00036.wav
+hiphop/hiphop.00037.wav
+hiphop/hiphop.00038.wav
+hiphop/hiphop.00041.wav
+hiphop/hiphop.00042.wav
+hiphop/hiphop.00055.wav
+hiphop/hiphop.00056.wav
+hiphop/hiphop.00057.wav
+hiphop/hiphop.00058.wav
+hiphop/hiphop.00059.wav
+hiphop/hiphop.00060.wav
+hiphop/hiphop.00061.wav
+hiphop/hiphop.00077.wav
+hiphop/hiphop.00078.wav
+hiphop/hiphop.00079.wav
+hiphop/hiphop.00080.wav
+jazz/jazz.00000.wav
+jazz/jazz.00001.wav
+jazz/jazz.00011.wav
+jazz/jazz.00012.wav
+jazz/jazz.00013.wav
+jazz/jazz.00014.wav
+jazz/jazz.00015.wav
+jazz/jazz.00016.wav
+jazz/jazz.00017.wav
+jazz/jazz.00018.wav
+jazz/jazz.00019.wav
+jazz/jazz.00020.wav
+jazz/jazz.00021.wav
+jazz/jazz.00022.wav
+jazz/jazz.00023.wav
+jazz/jazz.00024.wav
+jazz/jazz.00041.wav
+jazz/jazz.00047.wav
+jazz/jazz.00048.wav
+jazz/jazz.00049.wav
+jazz/jazz.00050.wav
+jazz/jazz.00051.wav
+jazz/jazz.00052.wav
+jazz/jazz.00053.wav
+jazz/jazz.00054.wav
+jazz/jazz.00055.wav
+jazz/jazz.00056.wav
+jazz/jazz.00057.wav
+jazz/jazz.00058.wav
+jazz/jazz.00059.wav
+jazz/jazz.00060.wav
+jazz/jazz.00061.wav
+jazz/jazz.00062.wav
+jazz/jazz.00063.wav
+jazz/jazz.00064.wav
+jazz/jazz.00065.wav
+jazz/jazz.00066.wav
+jazz/jazz.00067.wav
+jazz/jazz.00068.wav
+jazz/jazz.00069.wav
+jazz/jazz.00070.wav
+jazz/jazz.00071.wav
+jazz/jazz.00072.wav
+metal/metal.00002.wav
+metal/metal.00003.wav
+metal/metal.00005.wav
+metal/metal.00021.wav
+metal/metal.00024.wav
+metal/metal.00035.wav
+metal/metal.00046.wav
+metal/metal.00047.wav
+metal/metal.00048.wav
+metal/metal.00049.wav
+metal/metal.00050.wav
+metal/metal.00051.wav
+metal/metal.00052.wav
+metal/metal.00053.wav
+metal/metal.00054.wav
+metal/metal.00055.wav
+metal/metal.00056.wav
+metal/metal.00057.wav
+metal/metal.00059.wav
+metal/metal.00060.wav
+metal/metal.00061.wav
+metal/metal.00062.wav
+metal/metal.00063.wav
+metal/metal.00064.wav
+metal/metal.00065.wav
+metal/metal.00066.wav
+metal/metal.00069.wav
+metal/metal.00071.wav
+metal/metal.00072.wav
+metal/metal.00079.wav
+metal/metal.00080.wav
+metal/metal.00084.wav
+metal/metal.00086.wav
+metal/metal.00089.wav
+metal/metal.00090.wav
+metal/metal.00091.wav
+metal/metal.00092.wav
+metal/metal.00093.wav
+metal/metal.00094.wav
+metal/metal.00095.wav
+metal/metal.00096.wav
+metal/metal.00097.wav
+metal/metal.00098.wav
+metal/metal.00099.wav
+pop/pop.00002.wav
+pop/pop.00003.wav
+pop/pop.00004.wav
+pop/pop.00005.wav
+pop/pop.00006.wav
+pop/pop.00007.wav
+pop/pop.00008.wav
+pop/pop.00009.wav
+pop/pop.00011.wav
+pop/pop.00012.wav
+pop/pop.00016.wav
+pop/pop.00017.wav
+pop/pop.00018.wav
+pop/pop.00019.wav
+pop/pop.00020.wav
+pop/pop.00023.wav
+pop/pop.00024.wav
+pop/pop.00025.wav
+pop/pop.00026.wav
+pop/pop.00027.wav
+pop/pop.00028.wav
+pop/pop.00029.wav
+pop/pop.00031.wav
+pop/pop.00032.wav
+pop/pop.00033.wav
+pop/pop.00034.wav
+pop/pop.00035.wav
+pop/pop.00036.wav
+pop/pop.00038.wav
+pop/pop.00039.wav
+pop/pop.00040.wav
+pop/pop.00041.wav
+pop/pop.00042.wav
+pop/pop.00044.wav
+pop/pop.00046.wav
+pop/pop.00049.wav
+pop/pop.00050.wav
+pop/pop.00080.wav
+pop/pop.00097.wav
+pop/pop.00098.wav
+pop/pop.00099.wav
+reggae/reggae.00000.wav
+reggae/reggae.00001.wav
+reggae/reggae.00002.wav
+reggae/reggae.00004.wav
+reggae/reggae.00006.wav
+reggae/reggae.00009.wav
+reggae/reggae.00011.wav
+reggae/reggae.00012.wav
+reggae/reggae.00014.wav
+reggae/reggae.00015.wav
+reggae/reggae.00016.wav
+reggae/reggae.00017.wav
+reggae/reggae.00018.wav
+reggae/reggae.00019.wav
+reggae/reggae.00020.wav
+reggae/reggae.00021.wav
+reggae/reggae.00022.wav
+reggae/reggae.00023.wav
+reggae/reggae.00024.wav
+reggae/reggae.00025.wav
+reggae/reggae.00026.wav
+reggae/reggae.00027.wav
+reggae/reggae.00028.wav
+reggae/reggae.00029.wav
+reggae/reggae.00030.wav
+reggae/reggae.00031.wav
+reggae/reggae.00032.wav
+reggae/reggae.00042.wav
+reggae/reggae.00043.wav
+reggae/reggae.00044.wav
+reggae/reggae.00045.wav
+reggae/reggae.00049.wav
+reggae/reggae.00050.wav
+reggae/reggae.00051.wav
+reggae/reggae.00054.wav
+reggae/reggae.00055.wav
+reggae/reggae.00056.wav
+reggae/reggae.00057.wav
+reggae/reggae.00058.wav
+reggae/reggae.00059.wav
+reggae/reggae.00060.wav
+reggae/reggae.00063.wav
+reggae/reggae.00069.wav
+rock/rock.00000.wav
+rock/rock.00001.wav
+rock/rock.00002.wav
+rock/rock.00003.wav
+rock/rock.00004.wav
+rock/rock.00005.wav
+rock/rock.00006.wav
+rock/rock.00007.wav
+rock/rock.00008.wav
+rock/rock.00009.wav
+rock/rock.00016.wav
+rock/rock.00017.wav
+rock/rock.00018.wav
+rock/rock.00019.wav
+rock/rock.00020.wav
+rock/rock.00021.wav
+rock/rock.00022.wav
+rock/rock.00023.wav
+rock/rock.00024.wav
+rock/rock.00025.wav
+rock/rock.00026.wav
+rock/rock.00057.wav
+rock/rock.00058.wav
+rock/rock.00059.wav
+rock/rock.00060.wav
+rock/rock.00061.wav
+rock/rock.00062.wav
+rock/rock.00063.wav
+rock/rock.00064.wav
+rock/rock.00065.wav
+rock/rock.00066.wav
+rock/rock.00067.wav
+rock/rock.00068.wav
+rock/rock.00069.wav
+rock/rock.00070.wav
+rock/rock.00091.wav
+rock/rock.00092.wav
+rock/rock.00093.wav
+rock/rock.00094.wav
+rock/rock.00095.wav
+rock/rock.00096.wav
+rock/rock.00097.wav
+rock/rock.00098.wav
+rock/rock.00099.wav
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/folds/train_stratified.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,500 @@
+blues/blues.00000.wav
+blues/blues.00001.wav
+blues/blues.00002.wav
+blues/blues.00003.wav
+blues/blues.00006.wav
+blues/blues.00011.wav
+blues/blues.00014.wav
+blues/blues.00017.wav
+blues/blues.00018.wav
+blues/blues.00019.wav
+blues/blues.00021.wav
+blues/blues.00026.wav
+blues/blues.00027.wav
+blues/blues.00029.wav
+blues/blues.00030.wav
+blues/blues.00033.wav
+blues/blues.00034.wav
+blues/blues.00036.wav
+blues/blues.00037.wav
+blues/blues.00038.wav
+blues/blues.00039.wav
+blues/blues.00041.wav
+blues/blues.00044.wav
+blues/blues.00046.wav
+blues/blues.00047.wav
+blues/blues.00048.wav
+blues/blues.00050.wav
+blues/blues.00055.wav
+blues/blues.00056.wav
+blues/blues.00057.wav
+blues/blues.00060.wav
+blues/blues.00063.wav
+blues/blues.00065.wav
+blues/blues.00067.wav
+blues/blues.00069.wav
+blues/blues.00070.wav
+blues/blues.00072.wav
+blues/blues.00074.wav
+blues/blues.00075.wav
+blues/blues.00076.wav
+blues/blues.00079.wav
+blues/blues.00081.wav
+blues/blues.00085.wav
+blues/blues.00087.wav
+blues/blues.00088.wav
+blues/blues.00089.wav
+blues/blues.00091.wav
+blues/blues.00094.wav
+blues/blues.00097.wav
+blues/blues.00099.wav
+classical/classical.00000.wav
+classical/classical.00001.wav
+classical/classical.00002.wav
+classical/classical.00003.wav
+classical/classical.00004.wav
+classical/classical.00011.wav
+classical/classical.00012.wav
+classical/classical.00014.wav
+classical/classical.00017.wav
+classical/classical.00020.wav
+classical/classical.00023.wav
+classical/classical.00025.wav
+classical/classical.00026.wav
+classical/classical.00028.wav
+classical/classical.00031.wav
+classical/classical.00032.wav
+classical/classical.00038.wav
+classical/classical.00040.wav
+classical/classical.00044.wav
+classical/classical.00047.wav
+classical/classical.00048.wav
+classical/classical.00049.wav
+classical/classical.00050.wav
+classical/classical.00051.wav
+classical/classical.00057.wav
+classical/classical.00058.wav
+classical/classical.00059.wav
+classical/classical.00060.wav
+classical/classical.00062.wav
+classical/classical.00064.wav
+classical/classical.00065.wav
+classical/classical.00067.wav
+classical/classical.00070.wav
+classical/classical.00072.wav
+classical/classical.00073.wav
+classical/classical.00076.wav
+classical/classical.00078.wav
+classical/classical.00079.wav
+classical/classical.00080.wav
+classical/classical.00081.wav
+classical/classical.00082.wav
+classical/classical.00083.wav
+classical/classical.00084.wav
+classical/classical.00085.wav
+classical/classical.00091.wav
+classical/classical.00093.wav
+classical/classical.00095.wav
+classical/classical.00096.wav
+classical/classical.00097.wav
+classical/classical.00099.wav
+country/country.00003.wav
+country/country.00006.wav
+country/country.00007.wav
+country/country.00008.wav
+country/country.00010.wav
+country/country.00012.wav
+country/country.00013.wav
+country/country.00014.wav
+country/country.00016.wav
+country/country.00017.wav
+country/country.00018.wav
+country/country.00019.wav
+country/country.00028.wav
+country/country.00029.wav
+country/country.00032.wav
+country/country.00034.wav
+country/country.00035.wav
+country/country.00036.wav
+country/country.00037.wav
+country/country.00038.wav
+country/country.00039.wav
+country/country.00040.wav
+country/country.00044.wav
+country/country.00045.wav
+country/country.00048.wav
+country/country.00049.wav
+country/country.00054.wav
+country/country.00056.wav
+country/country.00059.wav
+country/country.00061.wav
+country/country.00062.wav
+country/country.00063.wav
+country/country.00066.wav
+country/country.00067.wav
+country/country.00068.wav
+country/country.00069.wav
+country/country.00070.wav
+country/country.00073.wav
+country/country.00074.wav
+country/country.00079.wav
+country/country.00080.wav
+country/country.00081.wav
+country/country.00085.wav
+country/country.00086.wav
+country/country.00089.wav
+country/country.00093.wav
+country/country.00094.wav
+country/country.00095.wav
+country/country.00096.wav
+country/country.00097.wav
+disco/disco.00006.wav
+disco/disco.00007.wav
+disco/disco.00009.wav
+disco/disco.00010.wav
+disco/disco.00011.wav
+disco/disco.00013.wav
+disco/disco.00016.wav
+disco/disco.00017.wav
+disco/disco.00018.wav
+disco/disco.00019.wav
+disco/disco.00020.wav
+disco/disco.00023.wav
+disco/disco.00024.wav
+disco/disco.00026.wav
+disco/disco.00027.wav
+disco/disco.00030.wav
+disco/disco.00031.wav
+disco/disco.00034.wav
+disco/disco.00035.wav
+disco/disco.00036.wav
+disco/disco.00037.wav
+disco/disco.00041.wav
+disco/disco.00042.wav
+disco/disco.00044.wav
+disco/disco.00045.wav
+disco/disco.00047.wav
+disco/disco.00048.wav
+disco/disco.00052.wav
+disco/disco.00054.wav
+disco/disco.00056.wav
+disco/disco.00057.wav
+disco/disco.00060.wav
+disco/disco.00063.wav
+disco/disco.00064.wav
+disco/disco.00065.wav
+disco/disco.00066.wav
+disco/disco.00067.wav
+disco/disco.00069.wav
+disco/disco.00075.wav
+disco/disco.00078.wav
+disco/disco.00081.wav
+disco/disco.00083.wav
+disco/disco.00084.wav
+disco/disco.00088.wav
+disco/disco.00089.wav
+disco/disco.00090.wav
+disco/disco.00091.wav
+disco/disco.00096.wav
+disco/disco.00097.wav
+disco/disco.00099.wav
+hiphop/hiphop.00000.wav
+hiphop/hiphop.00002.wav
+hiphop/hiphop.00006.wav
+hiphop/hiphop.00011.wav
+hiphop/hiphop.00012.wav
+hiphop/hiphop.00013.wav
+hiphop/hiphop.00018.wav
+hiphop/hiphop.00020.wav
+hiphop/hiphop.00021.wav
+hiphop/hiphop.00022.wav
+hiphop/hiphop.00026.wav
+hiphop/hiphop.00027.wav
+hiphop/hiphop.00030.wav
+hiphop/hiphop.00031.wav
+hiphop/hiphop.00032.wav
+hiphop/hiphop.00033.wav
+hiphop/hiphop.00035.wav
+hiphop/hiphop.00038.wav
+hiphop/hiphop.00040.wav
+hiphop/hiphop.00041.wav
+hiphop/hiphop.00044.wav
+hiphop/hiphop.00045.wav
+hiphop/hiphop.00046.wav
+hiphop/hiphop.00049.wav
+hiphop/hiphop.00050.wav
+hiphop/hiphop.00052.wav
+hiphop/hiphop.00053.wav
+hiphop/hiphop.00054.wav
+hiphop/hiphop.00056.wav
+hiphop/hiphop.00057.wav
+hiphop/hiphop.00058.wav
+hiphop/hiphop.00059.wav
+hiphop/hiphop.00060.wav
+hiphop/hiphop.00063.wav
+hiphop/hiphop.00064.wav
+hiphop/hiphop.00068.wav
+hiphop/hiphop.00072.wav
+hiphop/hiphop.00073.wav
+hiphop/hiphop.00074.wav
+hiphop/hiphop.00077.wav
+hiphop/hiphop.00078.wav
+hiphop/hiphop.00079.wav
+hiphop/hiphop.00084.wav
+hiphop/hiphop.00086.wav
+hiphop/hiphop.00088.wav
+hiphop/hiphop.00089.wav
+hiphop/hiphop.00090.wav
+hiphop/hiphop.00092.wav
+hiphop/hiphop.00098.wav
+hiphop/hiphop.00099.wav
+jazz/jazz.00002.wav
+jazz/jazz.00004.wav
+jazz/jazz.00005.wav
+jazz/jazz.00006.wav
+jazz/jazz.00007.wav
+jazz/jazz.00010.wav
+jazz/jazz.00012.wav
+jazz/jazz.00013.wav
+jazz/jazz.00014.wav
+jazz/jazz.00015.wav
+jazz/jazz.00023.wav
+jazz/jazz.00024.wav
+jazz/jazz.00026.wav
+jazz/jazz.00027.wav
+jazz/jazz.00028.wav
+jazz/jazz.00030.wav
+jazz/jazz.00032.wav
+jazz/jazz.00034.wav
+jazz/jazz.00038.wav
+jazz/jazz.00040.wav
+jazz/jazz.00041.wav
+jazz/jazz.00043.wav
+jazz/jazz.00050.wav
+jazz/jazz.00052.wav
+jazz/jazz.00054.wav
+jazz/jazz.00055.wav
+jazz/jazz.00057.wav
+jazz/jazz.00058.wav
+jazz/jazz.00059.wav
+jazz/jazz.00060.wav
+jazz/jazz.00061.wav
+jazz/jazz.00062.wav
+jazz/jazz.00064.wav
+jazz/jazz.00068.wav
+jazz/jazz.00070.wav
+jazz/jazz.00072.wav
+jazz/jazz.00074.wav
+jazz/jazz.00075.wav
+jazz/jazz.00077.wav
+jazz/jazz.00079.wav
+jazz/jazz.00080.wav
+jazz/jazz.00086.wav
+jazz/jazz.00089.wav
+jazz/jazz.00090.wav
+jazz/jazz.00091.wav
+jazz/jazz.00092.wav
+jazz/jazz.00093.wav
+jazz/jazz.00094.wav
+jazz/jazz.00095.wav
+jazz/jazz.00096.wav
+metal/metal.00000.wav
+metal/metal.00003.wav
+metal/metal.00004.wav
+metal/metal.00006.wav
+metal/metal.00010.wav
+metal/metal.00011.wav
+metal/metal.00013.wav
+metal/metal.00014.wav
+metal/metal.00016.wav
+metal/metal.00017.wav
+metal/metal.00019.wav
+metal/metal.00022.wav
+metal/metal.00023.wav
+metal/metal.00024.wav
+metal/metal.00025.wav
+metal/metal.00026.wav
+metal/metal.00027.wav
+metal/metal.00028.wav
+metal/metal.00036.wav
+metal/metal.00037.wav
+metal/metal.00038.wav
+metal/metal.00041.wav
+metal/metal.00045.wav
+metal/metal.00047.wav
+metal/metal.00049.wav
+metal/metal.00052.wav
+metal/metal.00056.wav
+metal/metal.00059.wav
+metal/metal.00060.wav
+metal/metal.00061.wav
+metal/metal.00065.wav
+metal/metal.00070.wav
+metal/metal.00071.wav
+metal/metal.00072.wav
+metal/metal.00074.wav
+metal/metal.00075.wav
+metal/metal.00076.wav
+metal/metal.00077.wav
+metal/metal.00079.wav
+metal/metal.00081.wav
+metal/metal.00082.wav
+metal/metal.00085.wav
+metal/metal.00086.wav
+metal/metal.00088.wav
+metal/metal.00089.wav
+metal/metal.00090.wav
+metal/metal.00091.wav
+metal/metal.00093.wav
+metal/metal.00097.wav
+metal/metal.00099.wav
+pop/pop.00002.wav
+pop/pop.00003.wav
+pop/pop.00004.wav
+pop/pop.00009.wav
+pop/pop.00011.wav
+pop/pop.00012.wav
+pop/pop.00013.wav
+pop/pop.00015.wav
+pop/pop.00017.wav
+pop/pop.00020.wav
+pop/pop.00022.wav
+pop/pop.00024.wav
+pop/pop.00026.wav
+pop/pop.00027.wav
+pop/pop.00032.wav
+pop/pop.00033.wav
+pop/pop.00035.wav
+pop/pop.00041.wav
+pop/pop.00042.wav
+pop/pop.00043.wav
+pop/pop.00045.wav
+pop/pop.00048.wav
+pop/pop.00050.wav
+pop/pop.00051.wav
+pop/pop.00053.wav
+pop/pop.00054.wav
+pop/pop.00055.wav
+pop/pop.00056.wav
+pop/pop.00061.wav
+pop/pop.00062.wav
+pop/pop.00063.wav
+pop/pop.00064.wav
+pop/pop.00065.wav
+pop/pop.00067.wav
+pop/pop.00071.wav
+pop/pop.00072.wav
+pop/pop.00074.wav
+pop/pop.00075.wav
+pop/pop.00076.wav
+pop/pop.00077.wav
+pop/pop.00079.wav
+pop/pop.00081.wav
+pop/pop.00082.wav
+pop/pop.00083.wav
+pop/pop.00086.wav
+pop/pop.00087.wav
+pop/pop.00092.wav
+pop/pop.00093.wav
+pop/pop.00095.wav
+pop/pop.00098.wav
+reggae/reggae.00004.wav
+reggae/reggae.00005.wav
+reggae/reggae.00009.wav
+reggae/reggae.00010.wav
+reggae/reggae.00011.wav
+reggae/reggae.00012.wav
+reggae/reggae.00013.wav
+reggae/reggae.00014.wav
+reggae/reggae.00016.wav
+reggae/reggae.00017.wav
+reggae/reggae.00018.wav
+reggae/reggae.00023.wav
+reggae/reggae.00027.wav
+reggae/reggae.00028.wav
+reggae/reggae.00030.wav
+reggae/reggae.00031.wav
+reggae/reggae.00036.wav
+reggae/reggae.00037.wav
+reggae/reggae.00040.wav
+reggae/reggae.00041.wav
+reggae/reggae.00042.wav
+reggae/reggae.00043.wav
+reggae/reggae.00044.wav
+reggae/reggae.00049.wav
+reggae/reggae.00051.wav
+reggae/reggae.00052.wav
+reggae/reggae.00053.wav
+reggae/reggae.00054.wav
+reggae/reggae.00055.wav
+reggae/reggae.00056.wav
+reggae/reggae.00059.wav
+reggae/reggae.00060.wav
+reggae/reggae.00062.wav
+reggae/reggae.00064.wav
+reggae/reggae.00065.wav
+reggae/reggae.00066.wav
+reggae/reggae.00071.wav
+reggae/reggae.00073.wav
+reggae/reggae.00075.wav
+reggae/reggae.00076.wav
+reggae/reggae.00077.wav
+reggae/reggae.00082.wav
+reggae/reggae.00084.wav
+reggae/reggae.00087.wav
+reggae/reggae.00088.wav
+reggae/reggae.00089.wav
+reggae/reggae.00091.wav
+reggae/reggae.00092.wav
+reggae/reggae.00095.wav
+reggae/reggae.00098.wav
+rock/rock.00003.wav
+rock/rock.00004.wav
+rock/rock.00005.wav
+rock/rock.00006.wav
+rock/rock.00008.wav
+rock/rock.00014.wav
+rock/rock.00015.wav
+rock/rock.00017.wav
+rock/rock.00023.wav
+rock/rock.00024.wav
+rock/rock.00025.wav
+rock/rock.00026.wav
+rock/rock.00027.wav
+rock/rock.00034.wav
+rock/rock.00035.wav
+rock/rock.00037.wav
+rock/rock.00040.wav
+rock/rock.00041.wav
+rock/rock.00044.wav
+rock/rock.00045.wav
+rock/rock.00048.wav
+rock/rock.00052.wav
+rock/rock.00054.wav
+rock/rock.00055.wav
+rock/rock.00058.wav
+rock/rock.00059.wav
+rock/rock.00062.wav
+rock/rock.00063.wav
+rock/rock.00065.wav
+rock/rock.00066.wav
+rock/rock.00067.wav
+rock/rock.00069.wav
+rock/rock.00071.wav
+rock/rock.00075.wav
+rock/rock.00077.wav
+rock/rock.00078.wav
+rock/rock.00080.wav
+rock/rock.00081.wav
+rock/rock.00083.wav
+rock/rock.00084.wav
+rock/rock.00085.wav
+rock/rock.00086.wav
+rock/rock.00088.wav
+rock/rock.00090.wav
+rock/rock.00091.wav
+rock/rock.00093.wav
+rock/rock.00094.wav
+rock/rock.00095.wav
+rock/rock.00097.wav
+rock/rock.00099.wav
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/folds/valid_filtered.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,197 @@
+blues/blues.00000.wav
+blues/blues.00001.wav
+blues/blues.00002.wav
+blues/blues.00003.wav
+blues/blues.00004.wav
+blues/blues.00005.wav
+blues/blues.00006.wav
+blues/blues.00007.wav
+blues/blues.00008.wav
+blues/blues.00009.wav
+blues/blues.00010.wav
+blues/blues.00011.wav
+blues/blues.00050.wav
+blues/blues.00051.wav
+blues/blues.00052.wav
+blues/blues.00053.wav
+blues/blues.00054.wav
+blues/blues.00055.wav
+blues/blues.00056.wav
+blues/blues.00057.wav
+blues/blues.00058.wav
+blues/blues.00059.wav
+blues/blues.00060.wav
+classical/classical.00000.wav
+classical/classical.00001.wav
+classical/classical.00002.wav
+classical/classical.00003.wav
+classical/classical.00004.wav
+classical/classical.00005.wav
+classical/classical.00006.wav
+classical/classical.00007.wav
+classical/classical.00008.wav
+classical/classical.00009.wav
+classical/classical.00010.wav
+classical/classical.00068.wav
+classical/classical.00069.wav
+classical/classical.00070.wav
+classical/classical.00071.wav
+classical/classical.00072.wav
+classical/classical.00073.wav
+classical/classical.00074.wav
+classical/classical.00075.wav
+classical/classical.00076.wav
+country/country.00000.wav
+country/country.00001.wav
+country/country.00002.wav
+country/country.00003.wav
+country/country.00004.wav
+country/country.00005.wav
+country/country.00006.wav
+country/country.00007.wav
+country/country.00009.wav
+country/country.00010.wav
+country/country.00011.wav
+country/country.00012.wav
+country/country.00013.wav
+country/country.00014.wav
+country/country.00015.wav
+country/country.00016.wav
+country/country.00017.wav
+country/country.00018.wav
+country/country.00027.wav
+country/country.00041.wav
+country/country.00042.wav
+country/country.00045.wav
+country/country.00049.wav
+disco/disco.00000.wav
+disco/disco.00002.wav
+disco/disco.00003.wav
+disco/disco.00004.wav
+disco/disco.00006.wav
+disco/disco.00007.wav
+disco/disco.00008.wav
+disco/disco.00009.wav
+disco/disco.00010.wav
+disco/disco.00011.wav
+disco/disco.00012.wav
+disco/disco.00013.wav
+disco/disco.00014.wav
+disco/disco.00046.wav
+disco/disco.00048.wav
+disco/disco.00052.wav
+disco/disco.00067.wav
+disco/disco.00068.wav
+disco/disco.00072.wav
+disco/disco.00075.wav
+disco/disco.00090.wav
+disco/disco.00095.wav
+hiphop/hiphop.00081.wav
+hiphop/hiphop.00082.wav
+hiphop/hiphop.00083.wav
+hiphop/hiphop.00084.wav
+hiphop/hiphop.00085.wav
+hiphop/hiphop.00086.wav
+hiphop/hiphop.00087.wav
+hiphop/hiphop.00088.wav
+hiphop/hiphop.00089.wav
+hiphop/hiphop.00090.wav
+hiphop/hiphop.00091.wav
+hiphop/hiphop.00092.wav
+hiphop/hiphop.00093.wav
+hiphop/hiphop.00094.wav
+hiphop/hiphop.00095.wav
+hiphop/hiphop.00096.wav
+hiphop/hiphop.00097.wav
+hiphop/hiphop.00098.wav
+jazz/jazz.00002.wav
+jazz/jazz.00003.wav
+jazz/jazz.00004.wav
+jazz/jazz.00005.wav
+jazz/jazz.00006.wav
+jazz/jazz.00007.wav
+jazz/jazz.00008.wav
+jazz/jazz.00009.wav
+jazz/jazz.00010.wav
+jazz/jazz.00025.wav
+jazz/jazz.00026.wav
+jazz/jazz.00027.wav
+jazz/jazz.00028.wav
+jazz/jazz.00029.wav
+jazz/jazz.00030.wav
+jazz/jazz.00031.wav
+jazz/jazz.00032.wav
+metal/metal.00000.wav
+metal/metal.00001.wav
+metal/metal.00006.wav
+metal/metal.00007.wav
+metal/metal.00008.wav
+metal/metal.00009.wav
+metal/metal.00010.wav
+metal/metal.00011.wav
+metal/metal.00016.wav
+metal/metal.00017.wav
+metal/metal.00018.wav
+metal/metal.00019.wav
+metal/metal.00020.wav
+metal/metal.00036.wav
+metal/metal.00037.wav
+metal/metal.00068.wav
+metal/metal.00076.wav
+metal/metal.00077.wav
+metal/metal.00081.wav
+metal/metal.00082.wav
+pop/pop.00010.wav
+pop/pop.00053.wav
+pop/pop.00055.wav
+pop/pop.00058.wav
+pop/pop.00059.wav
+pop/pop.00060.wav
+pop/pop.00061.wav
+pop/pop.00062.wav
+pop/pop.00081.wav
+pop/pop.00083.wav
+pop/pop.00084.wav
+pop/pop.00085.wav
+pop/pop.00086.wav
+reggae/reggae.00061.wav
+reggae/reggae.00062.wav
+reggae/reggae.00070.wav
+reggae/reggae.00072.wav
+reggae/reggae.00074.wav
+reggae/reggae.00076.wav
+reggae/reggae.00077.wav
+reggae/reggae.00078.wav
+reggae/reggae.00085.wav
+reggae/reggae.00092.wav
+reggae/reggae.00093.wav
+reggae/reggae.00094.wav
+reggae/reggae.00095.wav
+reggae/reggae.00096.wav
+reggae/reggae.00097.wav
+reggae/reggae.00098.wav
+reggae/reggae.00099.wav
+rock/rock.00038.wav
+rock/rock.00049.wav
+rock/rock.00050.wav
+rock/rock.00051.wav
+rock/rock.00052.wav
+rock/rock.00053.wav
+rock/rock.00054.wav
+rock/rock.00055.wav
+rock/rock.00056.wav
+rock/rock.00071.wav
+rock/rock.00072.wav
+rock/rock.00073.wav
+rock/rock.00074.wav
+rock/rock.00075.wav
+rock/rock.00076.wav
+rock/rock.00077.wav
+rock/rock.00078.wav
+rock/rock.00079.wav
+rock/rock.00080.wav
+rock/rock.00081.wav
+rock/rock.00082.wav
+rock/rock.00083.wav
+rock/rock.00084.wav
+rock/rock.00085.wav
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dss/folds/valid_stratified.txt	Wed Oct 21 00:02:11 2015 +0100
@@ -0,0 +1,250 @@
+blues/blues.00004.wav
+blues/blues.00007.wav
+blues/blues.00008.wav
+blues/blues.00009.wav
+blues/blues.00016.wav
+blues/blues.00022.wav
+blues/blues.00032.wav
+blues/blues.00035.wav
+blues/blues.00042.wav
+blues/blues.00045.wav
+blues/blues.00051.wav
+blues/blues.00054.wav
+blues/blues.00058.wav
+blues/blues.00061.wav
+blues/blues.00066.wav
+blues/blues.00068.wav
+blues/blues.00071.wav
+blues/blues.00073.wav
+blues/blues.00078.wav
+blues/blues.00080.wav
+blues/blues.00082.wav
+blues/blues.00086.wav
+blues/blues.00090.wav
+blues/blues.00093.wav
+blues/blues.00096.wav
+classical/classical.00005.wav
+classical/classical.00006.wav
+classical/classical.00007.wav
+classical/classical.00008.wav
+classical/classical.00010.wav
+classical/classical.00013.wav
+classical/classical.00015.wav
+classical/classical.00018.wav
+classical/classical.00022.wav
+classical/classical.00027.wav
+classical/classical.00030.wav
+classical/classical.00033.wav
+classical/classical.00039.wav
+classical/classical.00046.wav
+classical/classical.00054.wav
+classical/classical.00063.wav
+classical/classical.00068.wav
+classical/classical.00071.wav
+classical/classical.00074.wav
+classical/classical.00077.wav
+classical/classical.00086.wav
+classical/classical.00089.wav
+classical/classical.00090.wav
+classical/classical.00094.wav
+classical/classical.00098.wav
+country/country.00000.wav
+country/country.00001.wav
+country/country.00004.wav
+country/country.00005.wav
+country/country.00009.wav
+country/country.00015.wav
+country/country.00020.wav
+country/country.00025.wav
+country/country.00026.wav
+country/country.00027.wav
+country/country.00030.wav
+country/country.00042.wav
+country/country.00043.wav
+country/country.00046.wav
+country/country.00055.wav
+country/country.00058.wav
+country/country.00060.wav
+country/country.00071.wav
+country/country.00083.wav
+country/country.00084.wav
+country/country.00087.wav
+country/country.00088.wav
+country/country.00090.wav
+country/country.00092.wav
+country/country.00098.wav
+disco/disco.00003.wav
+disco/disco.00015.wav
+disco/disco.00022.wav
+disco/disco.00025.wav
+disco/disco.00028.wav
+disco/disco.00029.wav
+disco/disco.00032.wav
+disco/disco.00039.wav
+disco/disco.00040.wav
+disco/disco.00043.wav
+disco/disco.00046.wav
+disco/disco.00050.wav
+disco/disco.00051.wav
+disco/disco.00053.wav
+disco/disco.00059.wav
+disco/disco.00062.wav
+disco/disco.00070.wav
+disco/disco.00072.wav
+disco/disco.00073.wav
+disco/disco.00074.wav
+disco/disco.00085.wav
+disco/disco.00087.wav
+disco/disco.00092.wav
+disco/disco.00093.wav
+disco/disco.00095.wav
+hiphop/hiphop.00003.wav
+hiphop/hiphop.00005.wav
+hiphop/hiphop.00007.wav
+hiphop/hiphop.00010.wav
+hiphop/hiphop.00016.wav
+hiphop/hiphop.00019.wav
+hiphop/hiphop.00036.wav
+hiphop/hiphop.00037.wav
+hiphop/hiphop.00039.wav
+hiphop/hiphop.00043.wav
+hiphop/hiphop.00047.wav
+hiphop/hiphop.00048.wav
+hiphop/hiphop.00051.wav
+hiphop/hiphop.00055.wav
+hiphop/hiphop.00066.wav
+hiphop/hiphop.00067.wav
+hiphop/hiphop.00069.wav
+hiphop/hiphop.00071.wav
+hiphop/hiphop.00076.wav
+hiphop/hiphop.00080.wav
+hiphop/hiphop.00081.wav
+hiphop/hiphop.00082.wav
+hiphop/hiphop.00083.wav
+hiphop/hiphop.00093.wav
+hiphop/hiphop.00097.wav
+jazz/jazz.00000.wav
+jazz/jazz.00001.wav
+jazz/jazz.00008.wav
+jazz/jazz.00011.wav
+jazz/jazz.00017.wav
+jazz/jazz.00019.wav
+jazz/jazz.00021.wav
+jazz/jazz.00022.wav
+jazz/jazz.00025.wav
+jazz/jazz.00029.wav
+jazz/jazz.00036.wav
+jazz/jazz.00042.wav
+jazz/jazz.00044.wav
+jazz/jazz.00046.wav
+jazz/jazz.00047.wav
+jazz/jazz.00049.wav
+jazz/jazz.00051.wav
+jazz/jazz.00056.wav
+jazz/jazz.00063.wav
+jazz/jazz.00065.wav
+jazz/jazz.00081.wav
+jazz/jazz.00082.wav
+jazz/jazz.00083.wav
+jazz/jazz.00097.wav
+jazz/jazz.00098.wav
+metal/metal.00007.wav
+metal/metal.00008.wav
+metal/metal.00009.wav
+metal/metal.00012.wav
+metal/metal.00015.wav
+metal/metal.00029.wav
+metal/metal.00031.wav
+metal/metal.00032.wav
+metal/metal.00033.wav
+metal/metal.00034.wav
+metal/metal.00039.wav
+metal/metal.00043.wav
+metal/metal.00044.wav
+metal/metal.00053.wav
+metal/metal.00055.wav
+metal/metal.00063.wav
+metal/metal.00064.wav
+metal/metal.00067.wav
+metal/metal.00068.wav
+metal/metal.00073.wav
+metal/metal.00083.wav
+metal/metal.00087.wav
+metal/metal.00094.wav
+metal/metal.00095.wav
+metal/metal.00096.wav
+pop/pop.00001.wav
+pop/pop.00007.wav
+pop/pop.00010.wav
+pop/pop.00014.wav
+pop/pop.00016.wav
+pop/pop.00018.wav
+pop/pop.00019.wav
+pop/pop.00023.wav
+pop/pop.00025.wav
+pop/pop.00028.wav
+pop/pop.00029.wav
+pop/pop.00037.wav
+pop/pop.00047.wav
+pop/pop.00057.wav
+pop/pop.00058.wav
+pop/pop.00059.wav
+pop/pop.00060.wav
+pop/pop.00073.wav
+pop/pop.00078.wav
+pop/pop.00080.wav
+pop/pop.00085.wav
+pop/pop.00089.wav
+pop/pop.00090.wav
+pop/pop.00094.wav
+pop/pop.00099.wav
+reggae/reggae.00000.wav
+reggae/reggae.00001.wav
+reggae/reggae.00007.wav
+reggae/reggae.00008.wav
+reggae/reggae.00019.wav
+reggae/reggae.00024.wav
+reggae/reggae.00025.wav
+reggae/reggae.00026.wav
+reggae/reggae.00029.wav
+reggae/reggae.00032.wav
+reggae/reggae.00034.wav
+reggae/reggae.00038.wav
+reggae/reggae.00039.wav
+reggae/reggae.00045.wav
+reggae/reggae.00047.wav
+reggae/reggae.00061.wav
+reggae/reggae.00063.wav
+reggae/reggae.00067.wav
+reggae/reggae.00070.wav
+reggae/reggae.00072.wav
+reggae/reggae.00080.wav
+reggae/reggae.00085.wav
+reggae/reggae.00086.wav
+reggae/reggae.00090.wav
+reggae/reggae.00093.wav
+rock/rock.00007.wav
+rock/rock.00012.wav
+rock/rock.00013.wav
+rock/rock.00016.wav
+rock/rock.00018.wav
+rock/rock.00019.wav
+rock/rock.00021.wav
+rock/rock.00022.wav
+rock/rock.00028.wav
+rock/rock.00029.wav
+rock/rock.00030.wav
+rock/rock.00036.wav
+rock/rock.00038.wav
+rock/rock.00043.wav
+rock/rock.00046.wav
+rock/rock.00049.wav
+rock/rock.00053.wav
+rock/rock.00056.wav
+rock/rock.00061.wav
+rock/rock.00068.wav
+rock/rock.00076.wav
+rock/rock.00087.wav
+rock/rock.00089.wav
+rock/rock.00092.wav
+rock/rock.00096.wav