comparison DL/Majorization Minimization DL/wrapper_mm_DL.m @ 219:4337e28183f1 luisf_dev

Modified help comments of wrapper_mm_DL.m, wrapper_mm_solver.m, SMALL_rlsdla.m & SMALL_AudioDenoise_DL_test_KSVDvsSPAMS.m. Moved wrapper_ALPS_toolbox from toolboxes to toolboxes/alps and added some extra help comments.
author Aris Gretsistas <aris.gretsistas@elec.qmul.ac.uk>
date Fri, 23 Mar 2012 20:48:25 +0000
parents b9b4dc87f1aa
children
comparison
equal deleted inserted replaced
218:c38d965b5a1d 219:4337e28183f1
1 function DL = wrapper_mm_DL(Problem, DL) 1 function DL = wrapper_mm_DL(Problem, DL)
2 %% SMALL wrapper for Majorization Minimization Dictionary Learning Algorithm 2 %% SMALL wrapper for Majorization Minimization Dictionary Learning Algorithm
3 % 3 %
4 % Function gets as input Problem and Dictionary Learning (DL) structures 4 % Function gets as input Problem and Dictionary Learning (DL) structures
5 % and outputs the learned Dictionary. 5 % and outputs the learned Dictionary.
6 6 %
7 % In Problem structure field b with the training set needs to be defined. 7 % In Problem structure field b with the training set needs to be defined.
8 8 %
9 % In DL structure field with name of the Dictionary update method needs 9 % In DL structure field with name of the Dictionary update method needs
10 % to be present. For the orignal version of MM algorithm the update 10 % to be present. For the orignal version of MM algorithm the update
11 % method should be: 11 % method should be:
12 % - 'mm_cn' - Regularized DL with column norm contraint 12 % - 'mm_cn' Regularized DL with column norm contraint
13 % - 'mm_fn' - Regularized DL with Frobenius norm contraint 13 % - 'mm_fn' Regularized DL with Frobenius norm contraint
14 % Alternatively, for comparison purposes the following Dictioanry update 14 % Alternatively, for comparison purposes the following Dictioanry update
15 % methods (which do not represent the optimised version of the algorithm) 15 % methods (which do not represent the optimised version of the algorithm)
16 % be used: 16 % be used:
17 % - 'mod_cn' - Method of Optimized Direction 17 % - 'mod_cn' Method of Optimized Direction
18 % - 'map-cn' - Maximum a Posteriory Dictionary update 18 % - 'map-cn' Maximum a Posteriory Dictionary update
19 % - 'ksvd-cn'- KSVD update 19 % - 'ksvd-cn' KSVD update
20 % 20 %
21 % DL.param.solver structure is also required. For the original version of 21 % The structure DL.param with parameters is also required. These are:
22 % MM algorithm, DL.param.solver.toolbox should be 'MMbox'. The parameters 22 % - solver structure with fields toolbox, solver and parameters.
23 % in DL.param.solver.param should be set accordingly. Type help 23 % For the original version of the algorithm toolbox
24 % wrapper_mm_solver for more details. 24 % should be 'MMbox' and solver field should be left
25 % empty ''. Type HELP WRAPPER_MM_SOLVER for more
26 % details on how to set the parameters.
27 % - initdict Initial Dictionary
28 % - dictsize Dictionary size (optional)
29 % - iternum Number of iterations (default is 40)
30 % - iterDictUpdate Number of iterations for Dictionary Update (default is 1000)
31 % - epsDictUpdate Stopping criterion for MM dictionary update (default = 1e-7)
32 % - cvset Dictionary constraint - 0 = Non convex ||d|| = 1, 1 = Convex ||d||<=1
33 % (default is 0)
34 % - coherence Set at 1 if to perform decorrelation in every iteration
35 % (default is 0)
36 % - show_dict Show dictonary every specified number of iterations
37 %
25 % 38 %
26 % - MM-DL - Yaghoobi, M.; Blumensath, T,; Davies M.; , "Dictionary 39 % - MM-DL - Yaghoobi, M.; Blumensath, T,; Davies M.; , "Dictionary
27 % Learning for Sparse Approximation with Majorization Method," IEEE 40 % Learning for Sparse Approximation with Majorization Method," IEEE
28 % Transactions on Signal Processing, vol.57, no.6, pp.2178-2191, 2009. 41 % Transactions on Signal Processing, vol.57, no.6, pp.2178-2191, 2009.
29 42
43 %
30 % Centre for Digital Music, Queen Mary, University of London. 44 % Centre for Digital Music, Queen Mary, University of London.
31 % This file copyright 2011 Ivan Damnjanovic. 45 % This file copyright 2011 Ivan Damnjanovic.
32 % 46 %
33 % This program is free software; you can redistribute it and/or 47 % This program is free software; you can redistribute it and/or
34 % modify it under the terms of the GNU General Public License as 48 % modify it under the terms of the GNU General Public License as