3 %> @brief Properties Window to create a Hie-Split Aggregation
4 %> @image html Screenshot-uip_aggr_hiesplit.png
8 %> <b>Class levels to use
for splitting</b> - see aggr_hiesplit::hie_split
10 %> <b>Class levels to use
for classification</b> - see aggr_hiesplit::hie_classify
15 function varargout = uip_aggr_hiesplit(varargin)
16 % Begin initialization code - DO NOT EDIT
18 gui_State =
struct(
'gui_Name', mfilename, ...
19 'gui_Singleton', gui_Singleton, ...
20 'gui_OpeningFcn', @uip_aggr_hiesplit_OpeningFcn, ...
21 'gui_OutputFcn', @uip_aggr_hiesplit_OutputFcn, ...
22 'gui_LayoutFcn', [] , ...
24 if nargin && ischar(varargin{1})
25 gui_State.gui_Callback = str2func(varargin{1});
29 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
31 gui_mainfcn(gui_State, varargin{:});
33 % End initialization code - DO NOT EDIT
35 % --- Executes just before uip_aggr_hiesplit is made visible.
36 function uip_aggr_hiesplit_OpeningFcn(hObject, eventdata, handles, varargin)
37 handles.output.flag_ok = 0;
38 guidata(hObject, handles);
43 % --- Outputs from
this function are returned to the command line.
44 function varargout = uip_aggr_hiesplit_OutputFcn(hObject, eventdata, handles)
46 uiwait(handles.figure1);
47 handles = guidata(hObject); % Handles is not a handle(!), so gotta retrieve it again to see changes in .output
48 varargout{1} = handles.output;
53 varargout{1} = output;
58 % --- Executes on button press in pushbuttonOk.
59 function pushbuttonOk_Callback(hObject, eventdata, handles)
62 if isempty(sblock_mold)
63 error('Test dataset not specified!');
68 handles.output.params = [other.params, {...
69 'block_mold', sblock_mold, ...
70 'hie_split', mat2str(eval(
get(handles.edit_hie_split,
'String'))), ...
71 'hie_classify', mat2str(eval(
get(handles.edit_hie_classify,
'String'))) ...
73 handles.output.flag_ok = 1;
74 guidata(hObject, handles);
82 % --- Executes on selection change in popupmenu_data_test.
83 function popupmenu_data_test_Callback(hObject, eventdata, handles)
85 % --- Executes during
object creation, after setting all properties.
86 function popupmenu_data_test_CreateFcn(hObject, eventdata, handles)
87 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
88 set(hObject,'BackgroundColor','white');
91 function edit_hie_split_Callback(hObject, eventdata, handles)
93 % --- Executes during
object creation, after setting all properties.
94 function edit_hie_split_CreateFcn(hObject, eventdata, handles)
95 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
96 set(hObject,'BackgroundColor','white');
99 function edit_hie_classify_Callback(hObject, eventdata, handles)
101 % --- Executes during
object creation, after setting all properties.
102 function edit_hie_classify_CreateFcn(hObject, eventdata, handles)
103 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
104 set(hObject,'BackgroundColor','white');
107 % --- Executes on selection change in popupmenu_block_mold.
108 function popupmenu_block_mold_Callback(hObject, eventdata, handles)
111 % --- Executes during
object creation, after setting all properties.
112 function popupmenu_block_mold_CreateFcn(hObject, eventdata, handles)
113 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
114 set(hObject,'BackgroundColor','white');
Class-Hierarchical Training Data Split.
Base class for all ensemble 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)
Property block_mold
must contain a block object that will be replicated as needed
function irerrordlg(in errorstring, in dlgname)