3 %> @brief Properties Window
for @ref
fsg_clssr
18 function varargout = uip_fsg_clssr(varargin)
19 % Last Modified by GUIDE v2.5 06-Sep-2011 20:20:07
21 % Begin initialization code - DO NOT EDIT
23 gui_State =
struct(
'gui_Name', mfilename, ...
24 'gui_Singleton', gui_Singleton, ...
25 'gui_OpeningFcn', @uip_fsg_clssr_OpeningFcn, ...
26 'gui_OutputFcn', @uip_fsg_clssr_OutputFcn, ...
27 'gui_LayoutFcn', [] , ...
29 if nargin && ischar(varargin{1})
30 gui_State.gui_Callback = str2func(varargin{1});
34 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
36 gui_mainfcn(gui_State, varargin{:});
38 % End initialization code - DO NOT EDIT
41 % --- Executes just before uip_fsg_clssr is made visible.
42 function uip_fsg_clssr_OpeningFcn(hObject, eventdata, handles, varargin)
43 handles.output.flag_ok = 0;
44 guidata(hObject, handles);
48 % --- Outputs from this function are returned to the command clae.
49 function varargout = uip_fsg_clssr_OutputFcn(hObject, eventdata, handles)
51 uiwait(handles.figure1);
52 handles = guidata(hObject);
53 varargout{1} = handles.output;
58 varargout{1} = output;
62 %############################################
65 function refresh(handles)
73 %############################################
74 %############################################
76 % --- Executes on button press in pushbuttonOK.
77 function pushbuttonOK_Callback(hObject, eventdata, handles) %#ok<*INUSL,*DEFNU>
81 irerror('Classifier not specified!');
88 if isempty(spostpr_est)
92 if isempty(spostpr_test)
100 handles.output.params = {...
102 'estlog', sestlog, ...
103 'postpr_est', spostpr_est, ...
104 'postpr_test', spostpr_test, ...
107 handles.output.flag_ok = 1;
108 guidata(hObject, handles);
116 % --- Executes on selection change in popupmenu_estlog.
117 function popupmenu_estlog_Callback(hObject, eventdata, handles)
119 % --- Executes during
object creation, after setting all properties.
120 function popupmenu_estlog_CreateFcn(hObject, eventdata, handles)
121 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
122 set(hObject,'BackgroundColor','white');
125 % --- Executes on selection change in popupmenu_data.
126 function popupmenu_data_Callback(hObject, eventdata, handles)
128 % --- Executes during
object creation, after setting all properties.
129 function popupmenu_data_CreateFcn(hObject, eventdata, handles)
130 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
131 set(hObject,'BackgroundColor','white');
134 % --- Executes on selection change in popupmenu_sgs.
135 function popupmenu_sgs_Callback(hObject, eventdata, handles)
137 % --- Executes during
object creation, after setting all properties.
138 function popupmenu_sgs_CreateFcn(hObject, eventdata, handles)
139 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
140 set(hObject,'BackgroundColor','white');
143 % --- Executes on selection change in popupmenu_decider.
144 function popupmenu_decider_Callback(hObject, eventdata, handles)
146 function popupmenu_decider_CreateFcn(hObject, eventdata, handles)
147 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
148 set(hObject,'BackgroundColor','white');
151 function popupmenu_clssr_Callback(hObject, eventdata, handles)
153 function popupmenu_clssr_CreateFcn(hObject, eventdata, handles)
154 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
155 set(hObject,'BackgroundColor','white');
158 function popupmenu_postpr_test_Callback(hObject, eventdata, handles)
160 function popupmenu_postpr_test_CreateFcn(hObject, eventdata, handles)
161 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
162 set(hObject,'BackgroundColor','white');
165 function popupmenu_postpr_est_Callback(hObject, eventdata, handles)
167 function popupmenu_postpr_est_CreateFcn(hObject, eventdata, handles)
168 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
169 set(hObject,'BackgroundColor','white');
Property postpr_test
(Optional) Block to post-process the test data. For example, a grag_classes_first.
Property sgs
SGS object. If set,.
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)
FSG that uses classifier to grade the subsets.
function gui_set_position(in hObject)
function irerrordlg(in errorstring, in dlgname)