Mercurial > hg > smallbox
comparison DL/Majorization Minimization DL/wrapper_mm_DL.m @ 211:0c7c20f3246c luisf_dev
Added comments to ~/DL/Majorization Minimization DL/wrapper_mm_DL.m and ~/DL/Majorization Minimization DL/wrapper_mm_solver.m files.
author | Aris Gretsistas <aris.gretsistas@elec.qmul.ac.uk> |
---|---|
date | Wed, 21 Mar 2012 17:48:39 +0000 |
parents | b14209313ba4 |
children | b9b4dc87f1aa |
comparison
equal
deleted
inserted
replaced
210:f12a476a4977 | 211:0c7c20f3246c |
---|---|
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 | |
3 % | |
4 % Function gets as input Problem and Dictionary Learning (DL) structures | |
5 % and outputs the learned Dictionary. | |
6 | |
7 % In Problem structure field b with the training set needs to be defined. | |
8 | |
9 % In DL fields with name of the Dictionary update method and parameters | |
10 % for particular dictionary learning technique need to be present. For | |
11 % the orignal version of MM algorithm the update method should be: | |
12 % - 'mm_cn' - Regularized DL with column norm contraint | |
13 % - 'mm_fn' - Regularized DL with Frobenius norm contraint | |
14 % Alternatively, for comparison purposes the following Dictioanry update | |
15 % methods (which do not represent the optimised version of the algorithm) | |
16 % be used: | |
17 % - 'mod_cn' - Method of Optimized Direction | |
18 % - 'map-cn' - Maximum a Posteriory Dictionary update | |
19 % - 'ksvd-cn'- KSVD update | |
20 % | |
21 % - MM-DL - Yaghoobi, M.; Blumensath, T,; Davies M.; , "Dictionary | |
22 % Learning for Sparse Approximation with Majorization Method," IEEE | |
23 % Transactions on Signal Processing, vol.57, no.6, pp.2178-2191, 2009. | |
24 | |
25 % Centre for Digital Music, Queen Mary, University of London. | |
26 % This file copyright 2011 Ivan Damnjanovic. | |
27 % | |
28 % This program is free software; you can redistribute it and/or | |
29 % modify it under the terms of the GNU General Public License as | |
30 % published by the Free Software Foundation; either version 2 of the | |
31 % License, or (at your option) any later version. See the file | |
32 % COPYING included with this distribution for more information. | |
33 %% | |
2 | 34 |
3 % determine which solver is used for sparse representation % | 35 % determine which solver is used for sparse representation % |
4 | 36 |
5 solver = DL.param.solver; | 37 solver = DL.param.solver; |
6 | 38 |