annotate toolboxes/alps/ALPS/configuration.m @ 195:d50f5bdbe14c luisf_dev

- Added SMALL_DL_test: simple DL showcase - Added dico_decorr_symmetric: improved version of INK-SVD decorrelation step - Debugged SMALL_learn, SMALLBoxInit and SMALL_two_step_DL
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Wed, 14 Mar 2012 14:42:52 +0000
parents 0de08f68256b
children
rev   line source
ivan@154 1 function [solveNewtonb, gradientDescentx, solveNewtonx] = configuration(mode)
ivan@154 2 % Function that maps 'mode' value into (SolveNewtonb, GradientDescentx, SolveNewtonx) configuration
ivan@154 3
ivan@154 4 if (mode == 0)
ivan@154 5 solveNewtonb = 0;
ivan@154 6 gradientDescentx = 0;
ivan@154 7 solveNewtonx = 0;
ivan@154 8 elseif (mode == 1)
ivan@154 9 solveNewtonb = 0;
ivan@154 10 gradientDescentx = 0;
ivan@154 11 solveNewtonx = 1;
ivan@154 12 elseif (mode == 2)
ivan@154 13 solveNewtonb = 0;
ivan@154 14 gradientDescentx = 1;
ivan@154 15 solveNewtonx = 0;
ivan@154 16 elseif (mode == 4)
ivan@154 17 solveNewtonb = 1;
ivan@154 18 gradientDescentx = 0;
ivan@154 19 solveNewtonx = 0;
ivan@154 20 elseif (mode == 5)
ivan@154 21 solveNewtonb = 1;
ivan@154 22 gradientDescentx = 0;
ivan@154 23 solveNewtonx = 1;
ivan@154 24 elseif (mode == 6)
ivan@154 25 solveNewtonb = 1;
ivan@154 26 gradientDescentx = 1;
ivan@154 27 solveNewtonx = 0;
ivan@154 28 end;