📄 svm_params_window.m
字号:
function fig = SVM_params_window()
% 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 SVM_params_window
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','SVM_params_window.m', ...
'PaperPosition',[18 180 576 432], ...
'PaperType','A4', ...
'PaperUnits','points', ...
'Position',[49 254 308 366], ...
'Tag','SVM_params_window', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback','svm_params_window_commands(''Close'');', ...
'FontSize',11, ...
'FontWeight','bold', ...
'ListboxTop',0, ...
'Position',[168 8.25 53.25 26.25], ...
'String','Close', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[9 40.5 213 72.75], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[9.75 117.75 152.25 72], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'FontSize',12, ...
'FontWeight','bold', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[16.5 171 101.25 15], ...
'String','Kernel Options', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[109.5 127.5 46.5 15.75], ...
'Style','edit', ...
'Callback','svm_params_window_commands(''Kernel_options_change'');', ...
'Tag','KernelParameter');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'FontSize',10, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[17.25 149.25 57.75 15], ...
'String','Kernel Type:', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'FontSize',10, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[17.25 127.5 85.5 15], ...
'String','Kernel Parameter:', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback','svm_params_window_commands(''Kernel_options'');', ...
'ListboxTop',0, ...
'Position',[90 147 65.25 19.5], ...
'String',mat1, ...
'Style','popupmenu', ...
'Tag','KernelLabel', ...
'Value',3);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'FontSize',12, ...
'FontWeight','bold', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[15.75 93.75 133.5 15], ...
'String','General Options:', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback','svm_params_window_commands(''General_options'');', ...
'ListboxTop',0, ...
'Position',[16.5 72.75 198.75 17.25], ...
'String',mat2, ...
'Style','popupmenu', ...
'Tag','GeneralLabel', ...
'Value',8);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'FontSize',10, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[18 50.25 89.25 15], ...
'String','General Parameter:', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[123.75 50.25 91.5 15.75], ...
'Style','edit', ...
'Callback','svm_params_window_commands(''General_options_change'');', ...
'Tag','GeneralParameter');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[9.75 194.25 188.25 72], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'FontSize',12, ...
'FontWeight','bold', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[15 244.5 121.5 15], ...
'String','Learning Options', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'FontSize',10, ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[15.75 202.5 94.5 15], ...
'String','Learning Parameter:', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[116.25 202.5 74.25 15.75], ...
'Style','edit', ...
'Callback','svm_params_window_commands(''Learning_options_change'');', ...
'Tag','LearningParameter');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback','svm_params_window_commands(''Learning_options'');', ...
'ListboxTop',0, ...
'Position',[15 223.5 175.5 17.25], ...
'String',mat3, ...
'Style','popupmenu', ...
'Tag','LearningLabel', ...
'Value',4);
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -