# HG changeset patch # User Daniele Barchiesi # Date 1321528502 0 # Node ID 7426503fc4d1a823cc5a6b7e636e84a0faf71899 # Parent 9c41f87dead73aa77a9d9ec790bcc03516dbaad9 added ramirez_dl dictionary learning case diff -r 9c41f87dead7 -r 7426503fc4d1 util/SMALL_learn.m --- a/util/SMALL_learn.m Thu Nov 17 11:14:23 2011 +0000 +++ b/util/SMALL_learn.m Thu Nov 17 11:15:02 2011 +0000 @@ -82,6 +82,10 @@ DL.D(:,i)=DL.D(:,i)/norm(DL.D(:,i)); end D = DL.D; + +elseif strcmpi(DL.toolbox,'dl_ramirez') + DL = dl_ramirez(Problem,DL); + D = normcol(DL.D); % To introduce new dictionary learning technique put the files in % your Matlab path. Next, unique name for your toolbox needs @@ -119,4 +123,4 @@ DL.D = full(D); end - \ No newline at end of file +