⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multialgorithms.m

📁 Duda的《模式分类》第二版的配套的Matlab源代码
💻 M
字号:
function fig = multialgorithms()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.

load multialgorithms
v = version;

if (v(1) == '5') %Matlab 5
	h0 = figure('Units','characters', ...
		'Color',[0.8 0.8 0.8], ...
		'Colormap',mat0, ...
		'PaperPosition',[18 180 576 432], ...
		'PaperUnits','points', ...
        'Position',[21 23 100 27], ...
        'MenuBar','none', ...
		'Tag','multialgorithms');
else
	h0 = figure('Units','characters', ...
		'Color',[0.8 0.8 0.8], ...
		'Colormap',mat0, ...
		'FileName','D:\Users\elad\HW\Classification_toolbox\multialgorithms.m', ...
		'PaperPosition',[18 180 576 432], ...
		'PaperUnits','points', ...
        'Position',[21 23 100 27], ...
        'MenuBar','none', ...
		'Tag','multialgorithms', ...
		'ToolBar','none');
end
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[4 4 45 9.5], ...
	'Style','frame', ...
	'Tag','frm1');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',5, ...
	'Position',[4 14.5 38 8], ...
	'String',mat1, ...
	'Style','listbox', ...
	'Tag','lstAllAlgorithms', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'FontSize',14, ...
	'ListboxTop',0, ...
	'Position',[13 23 80 2], ...
	'String','Multiple Algorithm Comparison', ...
	'Style','text', ...
	'Tag','txt1');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[1 1 1], ...
	'Position',[58 14.5 38 8], ...
	'String','          ', ...
	'Style','listbox', ...
	'Tag','lstChosenAlgorithms', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','multialgorithms_commands(''MoveLeft'')', ...
	'ListboxTop',0, ...
	'Position',[45 19 10 2], ...
	'String','-->', ...
	'Tag','pshMoveTo');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','multialgorithms_commands(''MoveRight'')', ...
	'ListboxTop',0, ...
	'Position',[45 16 10 2], ...
	'String','<--', ...
	'Tag','pshMoveFrom');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[6 11 30 1.5], ...
	'String','Number of redraws:', ...
	'Style','text', ...
	'Tag','txt2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[6 9 30 1.5], ...
	'String','Precentage of training vectors:', ...
	'Style','text', ...
	'Tag','txt3');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[6 7 30 1.5], ...
	'String','Error estimation method:', ...
	'Style','text', ...
	'Tag','txt4');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[6 5 30 1.5], ...
	'String','Error value for display:', ...
	'Style','text', ...
	'Tag','txt4');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[38 11.25 10 1.5], ...
	'Style','edit', ...
	'Tag','txtRedraws');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[38 9.25 10 1.5], ...
	'Style','edit', ...
	'Tag','txtPrecentage');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[30 7 18 1.5], ...
	'String',mat2, ...
	'Style','popupmenu', ...
	'Tag','popErrorEstimation', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[30 5 18 1.5], ...
	'String',mat3, ...
	'Style','popupmenu', ...
	'Tag','popErrorDisplay', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','multialgorithms_commands(''Compare'')', ...
	'ListboxTop',0, ...
	'Position',[75 7.25 21 2.75], ...
	'String','Compare', ...
	'Tag','pshStart');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','close', ...
	'ListboxTop',0, ...
	'Position',[75 4 21 2.75], ...
	'String','Close', ...
	'Tag','pshClose');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','multialgorithms_commands(''Predict'')', ...
	'ListboxTop',0, ...
	'Position',[75 10.5 21 2.75], ...
	'String','Predict performance', ...
	'Tag','pshPredict');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[5 0.75 16 1.75], ...
	'String','Messages:', ...
	'Style','text', ...
	'Tag','txt5');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[21 0.75 75 1.75], ...
	'Style','text', ...
	'Tag','Messages');
if nargout > 0, fig = h0; end
multialgorithms_commands('Init');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -