Christoph Budziszewski
starting som prediction fine-tuned class-performance visualisation
Christoph Budziszewski commited 4dbef18 at 2009-01-21 16:34:25
sompak_rb_control.m
function varargout=sompak_rb_control(str)
%SOMPAK_RB_CONTROL An auxiliary function for SOMPAK_*_GUI functions.
%
% This is an auxiliary function for SOMPAK_GUI, SOMPAK_INIT_GUI,
% SOMPAK_SAMMON_GUI and SOMPAK_TRAIN_GUI functions. It controls the
% radio buttons in the GUIs.
%
% See also SOMPAK_GUI, SOMPAK_INIT_GUI, SOMPAK_SAMMON_GUI, SOMPAK_TRAIN_GUI.
% Contributed to SOM Toolbox vs2, February 2nd, 2000 by Juha Parhankangas
% Copyright (c) by Juha Parhankangas
% http://www.cis.hut.fi/projects/somtoolbox/
% Juha Parhankangas 050100
data=get(gcf,'UserData');
switch str
case {'rand','linear'}
h=cat(2,findobj(get(gcf,'Children'),'Tag','RANDOM'),...
findobj(get(gcf,'Children'),'Tag','LINEAR'));
set(h,'Value',0);
set(gcbo,'Value',1);
data.inittype=str;
case {'bubble','gaussian'}
h=cat(2,findobj(get(gcf,'Children'),'Tag','BUBBLE'),...
findobj(get(gcf,'Children'),'Tag','GAUSSIAN'));
set(h,'Value',0);
set(gcbo,'Value',1);
data.neigh=str;
case {'hexa','rect'}
h=cat(2,findobj(get(gcf,'Children'),'Tag','HEXA'),...
findobj(get(gcf,'Children'),'Tag','RECT'));
set(h,'Value',0);
set(gcbo,'Value',1);
data.topol=str;
case {'out_ft'}
value=get(gcbo,'Value');
switch value
case 1
h=findobj(get(gcf,'Children'),'Tag','OUT_FILE');
data.out_file_type='';
set(h,'String','');
case 2
data.out_file_type='box';
case 3
data.out_file_type='pak';
end
case {'input_ft'}
value=get(gcbo,'Value');
switch value
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX