Mercurial > hg > smallbox
comparison DL/Majorization Minimization DL/wrapper_mm_solver.m @ 220:0d30f9074dd9
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 15:56:39 +0100 |
parents | 4337e28183f1 |
children |
comparison
equal
deleted
inserted
replaced
165:775caafd5651 | 220:0d30f9074dd9 |
---|---|
1 function [X , cost] = wrapper_mm_solver(b, A, param) | 1 function [X , cost] = wrapper_mm_solver(b, A, param) |
2 %% SMALL wrapper for Majorization Maximization toolbos solver | 2 %% SMALL wrapper for Majorization Minimization toolbox solver |
3 % | 3 % |
4 % Function gets as input | 4 % Function gets as input |
5 % b - measurement vector | 5 % b - measurement vector |
6 % A - dictionary | 6 % A - dictionary |
7 % param - structure containing additional parameters | 7 % param - structure containing additional parameters. These are: |
8 % - initcoeff Initial guess for the coefficients | |
9 % (optional) | |
10 % - to 1/(step size). It is larger than spectral norm | |
11 % of dictionary A (default is 0.1+(svds(A,1))^2) | |
12 % - lambda Lagrangian multiplier. Regulates shrinkage | |
13 % (default is 0.4) | |
14 % - iternum Inner-loop maximum iteration number | |
15 % (default is 1000) | |
16 % - epsilon Stopping criterion for iterative softthresholding | |
17 % (default is 1e-7) | |
18 % - map Debiasing. 0 = No, 1 = Yes (default is 0) | |
19 % | |
8 % Output: | 20 % Output: |
9 % x - sparse solution | 21 % x - sparse solution |
10 % cost - Objective cost | 22 % cost - Objective cost |
11 | 23 |
24 % | |
12 % Centre for Digital Music, Queen Mary, University of London. | 25 % Centre for Digital Music, Queen Mary, University of London. |
13 % This file copyright 2011 Ivan Damnjanovic. | 26 % This file copyright 2011 Ivan Damnjanovic. |
14 % | 27 % |
15 % This program is free software; you can redistribute it and/or | 28 % This program is free software; you can redistribute it and/or |
16 % modify it under the terms of the GNU General Public License as | 29 % modify it under the terms of the GNU General Public License as |