diff DL/Majorization Minimization DL/wrapper_mm_solver.m @ 161:f42aa8bcb82f ivand_dev

debug and clean the SMALLbox Problems code
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Wed, 31 Aug 2011 12:02:19 +0100
parents b14209313ba4
children 0c7c20f3246c
line wrap: on
line diff
--- a/DL/Majorization Minimization DL/wrapper_mm_solver.m	Mon Aug 22 11:46:35 2011 +0100
+++ b/DL/Majorization Minimization DL/wrapper_mm_solver.m	Wed Aug 31 12:02:19 2011 +0100
@@ -33,7 +33,7 @@
 if isfield(param, 'to')
    to = param.to;
 else
-   to = .1+svds(A,1);
+   to = .1+(svds(A,1))^2;
 end
 
 % lambda - Lagrangian multiplier. (regulates shrinkage)
@@ -65,7 +65,7 @@
 if isfield(param, 'map')
     map = param.map;
 else
-    map = 1; 
+    map = 0; 
 end