Mercurial > hg > smallbox
comparison util/SMALL_learn.m @ 173:7426503fc4d1 danieleb
added ramirez_dl dictionary learning case
author | Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Nov 2011 11:15:02 +0000 |
parents | b14209313ba4 |
children | fd0b5d36f6ad |
comparison
equal
deleted
inserted
replaced
172:9c41f87dead7 | 173:7426503fc4d1 |
---|---|
80 | 80 |
81 for i = 1: size(DL.D,2) | 81 for i = 1: size(DL.D,2) |
82 DL.D(:,i)=DL.D(:,i)/norm(DL.D(:,i)); | 82 DL.D(:,i)=DL.D(:,i)/norm(DL.D(:,i)); |
83 end | 83 end |
84 D = DL.D; | 84 D = DL.D; |
85 | |
86 elseif strcmpi(DL.toolbox,'dl_ramirez') | |
87 DL = dl_ramirez(Problem,DL); | |
88 D = normcol(DL.D); | |
85 | 89 |
86 % To introduce new dictionary learning technique put the files in | 90 % To introduce new dictionary learning technique put the files in |
87 % your Matlab path. Next, unique name <TolboxID> for your toolbox needs | 91 % your Matlab path. Next, unique name <TolboxID> for your toolbox needs |
88 % to be defined and also prefferd API for toolbox functions <Preffered_API> | 92 % to be defined and also prefferd API for toolbox functions <Preffered_API> |
89 % | 93 % |