Commit e019140b authored by Carlos Mejia's avatar Carlos Mejia
Browse files

Some Tracking display more BIS

parent 72256de8
......@@ -419,7 +419,11 @@ blen = min(munits,dlen);
bmus = zeros(1,dlen);
ddists = zeros(1,dlen);
if tracking>1, sTrain, end
if tracking>1,
fprintf(1,' %s : tlen=%d with %d radius values varying from %s to %s\n', ...
upper(mfilename), trainlen, length(radius), num2str(radius(1)), num2str(radius(end)));
sTrain
end
for t = 1:trainlen,
......
......@@ -243,6 +243,7 @@ while i<=length(varargin),
i = i+1;
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if tracking>0, fprintf(1,' %s : SOM initialisation...\n', upper(mfilename)); end
%% make the map struct
%% map size
if isempty(sTopol.msize) | ~prod(sTopol.msize),
......@@ -302,7 +303,10 @@ else
case 'long', sTrain.trainlen = sTrain.trainlen*4;
end
end
if tracking>1, fprintf(1,' ... trainlen=%d iterations.\n',sTrain.trainlen); sTrain, end
if tracking>1,
fprintf(1,' ... trainlen=%d iterations.\n',sTrain.trainlen);
sTrain
end
sTrain.neigh=neigh; %OM
switch func,
case 'seq', sMap = som_seqtrain(sMap,D,sTrain,'tracking',tracking,'mask',mask);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment