Mercurial > hg > scatter_reeval
view dss/experiments/exp_mfcc_740ms.m @ 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 |
line wrap: on
line source
% 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);