3 %> @brief Properties Window to create a Cascade Block
4 %> @image html Screenshot-uip_reptt_bag.png
13 function varargout = uip_reptt_bag(varargin)
14 % Begin initialization code - DO NOT EDIT
16 gui_State =
struct(
'gui_Name', mfilename, ...
17 'gui_Singleton', gui_Singleton, ...
18 'gui_OpeningFcn', @uip_reptt_bag_OpeningFcn, ...
19 'gui_OutputFcn', @uip_reptt_bag_OutputFcn, ...
20 'gui_LayoutFcn', [] , ...
22 if nargin && ischar(varargin{1})
23 gui_State.gui_Callback = str2func(varargin{1});
27 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
29 gui_mainfcn(gui_State, varargin{:});
31 % End initialization code - DO NOT EDIT
33 % --- Executes just before uip_reptt_bag is made visible.
34 function uip_reptt_bag_OpeningFcn(hObject, eventdata, handles, varargin)
35 handles.output.flag_ok = 0;
36 guidata(hObject, handles);
41 % --- Outputs from this function are returned to the command line.
42 function varargout = uip_reptt_bag_OutputFcn(hObject, eventdata, handles)
44 uiwait(handles.figure1);
45 handles = guidata(hObject); % Handles is not a handle(!), so gotta retrieve it again to see changes in .output
46 varargout{1} = handles.output;
51 varargout{1} = output;
56 % --- Executes on button press in pushbuttonOk.
57 function pushbuttonOk_Callback(hObject, eventdata, handles)
61 error('SGS not specified!');
66 handles.output.params = [other.params, {...
68 'no_bagreps', int2str(eval(
get(handles.edit_no_bagreps,
'String'))) ...
70 handles.output.flag_ok = 1;
71 guidata(hObject, handles);
79 % --- Executes on selection change in popupmenu_sgs.
80 function popupmenu_sgs_Callback(hObject, eventdata, handles)
81 local_show_description(handles, handles.popupmenu_sgs);
83 % --- Executes during
object creation, after setting all properties.
84 function popupmenu_sgs_CreateFcn(hObject, eventdata, handles)
85 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
86 set(hObject,'BackgroundColor','white');
89 function edit_no_bagreps_Callback(hObject, eventdata, handles)
91 % --- Executes during
object creation, after setting all properties.
92 function edit_no_bagreps_CreateFcn(hObject, eventdata, handles)
93 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
94 set(hObject,'BackgroundColor','white');
Property no_bagreps
Number of bagging repetitions.
Base Sub-dataset Generation Specification (SGS) class.
REPTT for bagging classifiers.
function listbox_get_selected_1stname(in h_listbox)
function listbox_load_from_workspace(in classname, in h_list, in flag_blank, in string_empty, in input)
function gui_set_position(in hObject)
function irerrordlg(in errorstring, in dlgname)