📄 feature_selection.m
字号:
function fig = feature_selection()
% 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 feature_selection
h0 = figure('Units','characters', ...
'Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','C:\Work\classification_toolbox\feature_selection.m', ...
'PaperPosition',[36 30 68 17], ...
'PaperUnits','points', ...
'Position',[36 30 68 17], ...
'MenuBar','none', ...
'Tag','Fig2', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontSize',18, ...
'ListboxTop',0, ...
'Position',[42 135.75 186 23.25], ...
'String','Feature Selection', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[18 98.25 227.25 13.5], ...
'String','The data set you have selected has more than two dimensions', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[18 84.75 227.25 13.5], ...
'String','Please select a feature selection method to reduce the data to', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[18 71.25 63 13.5], ...
'String','two dimensions:', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'Callback','feature_selection_commands(''Changed_method'');', ...
'ListboxTop',0, ...
'Position',[98.25 21 140.25 65.25], ...
'String',['PCA ';'HDR ';'Genetic_Culling'], ...
'Style','popupmenu', ...
'Tag','popMethod', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[18 50.75 180 13.5], ...
'String','Out dimension', ...
'Style','text', ...
'Tag','lblParameters');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[18 30.25 138.75 15.75], ...
'String','2', ...
'Style','edit', ...
'Tag','txtParameters');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'Callback','feature_selection_commands(''OK'');', ...
'ListboxTop',0, ...
'Position',[167.25 6.75 69.75 21.75], ...
'String','OK', ...
'Tag','cmdOK');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[21 13.5 26.25 9], ...
'Style','edit', ...
'Tag','txtHiddenMethod', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[52.5 12.75 23.25 13.5], ...
'Style','edit', ...
'Tag','txtHiddenParams', ...
'Visible','off');
feature_selection_commands('Init')
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -