Mercurial > hg > smallbox
diff examples/MajorizationMinimization tests/SMALL_AMT_DL_test_KSVD_MM.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 | 855025f4c779 |
line wrap: on
line diff
--- a/examples/MajorizationMinimization tests/SMALL_AMT_DL_test_KSVD_MM.m Mon Aug 22 11:46:35 2011 +0100 +++ b/examples/MajorizationMinimization tests/SMALL_AMT_DL_test_KSVD_MM.m Wed Aug 31 12:02:19 2011 +0100 @@ -38,7 +38,7 @@ % Defining Automatic Transcription of Piano tune as Dictionary Learning % Problem -SMALL.Problem = generateAMT_Learning_Problem('',2048,0.75); +SMALL.Problem = generateAMTProblem('',2048,0.75); %% % Use KSVD Dictionary Learning Algorithm to Learn 88 notes (defined in @@ -74,7 +74,7 @@ % solver structures) SMALL.Problem.A = SMALL.DL(1).D; -SMALL.Problem.reconstruct = @(x) SMALL_midiGenerate(x, SMALL.Problem); +SMALL.Problem.reconstruct = @(x) AMT_reconstruct(x, SMALL.Problem); %% % Initialising solver structure @@ -216,7 +216,7 @@ % solver structures) SMALL.Problem.A = SMALL.DL(2).D; -SMALL.Problem.reconstruct=@(x) SMALL_midiGenerate(x, SMALL.Problem); +SMALL.Problem.reconstruct=@(x) AMT_reconstruct(x, SMALL.Problem); % Call SMALL_soolve to represent the signal in the given dictionary.