forked from dgirardeau/q3DMASC
/
Train3DMASCDialog.ui
303 lines (303 loc) · 10.8 KB
/
Train3DMASCDialog.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Train3DMASCDialog</class>
<widget class="QDialog" name="Train3DMASCDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>834</width>
<height>795</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,1">
<item>
<widget class="QGroupBox" name="rtGroupBox">
<property name="title">
<string>Random Trees</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="toolTip">
<string><html><head/><body><p>OpenCV parameter</p><p>The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met, and/or if the tree is pruned.</p><p>[default 25]</p></body></html></string>
</property>
<property name="text">
<string>max depth</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="maxDepthSpinBox">
<property name="toolTip">
<string><html><head/><body><p>The maximum possible depth of the tree.</p><p>That is the training algorithms attempts to split a node while its depth is less than maxDepth.</p><p>The root node has zero depth. The actual depth may be smaller if the other termination criteria are met and/or if the tree is pruned.</p></body></html></string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>25</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="toolTip">
<string><html><head/><body><p>OpenCV parameter</p><p>The number of trees in the forest!</p><p>[default 100]</p></body></html></string>
</property>
<property name="text">
<string>max tree count</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="maxTreeCountSpinBox">
<property name="toolTip">
<string>The maximum number of iterations/elements</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>10000</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="value">
<number>100</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="toolTip">
<string><html><head/><body><p>OpenCV parameter</p><p>The size of the randomly selected subset of features at each tree node and that are used to find the best split(s). If you set it to 0 then the size will be set to the square root of the total number of features.</p><p>[default 0]</p></body></html></string>
</property>
<property name="text">
<string>active var count</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="activeVarCountSpinBox">
<property name="toolTip">
<string><html><head/><body><p>The size of the randomly selected subset of features at each tree node and that are used to find the best split(s).</p><p>If you set it to 0 then the size will be set to the square root of the total number of features.</p><p>Default value is 0.</p></body></html></string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="toolTip">
<string><html><head/><body><p>OpenCV parameter</p><p>If the number of samples in a node is less than this parameter then the node will not be split.</p><p>[default 10]</p></body></html></string>
</property>
<property name="text">
<string>min sample count</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="minSampleCountSpinBox">
<property name="toolTip">
<string>If the number of samples in a node is less than this parameter then the node will not be split</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="otherGroupBox">
<property name="title">
<string>Other parameters</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Test data ratio</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="testDataRatioSpinBox">
<property name="toolTip">
<string>Ratio of input points used for evaluating the classification</string>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>99</number>
</property>
<property name="value">
<number>20</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="keepAttributesCheckBox">
<property name="text">
<string>Keep attributes on completion</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="checkBox_keepTraces">
<property name="toolTip">
<string><html><head/><body><p>If checked : </p><p>* A directory is created near the parameter file, with name 3dmasc_yyyymmdd_HHhMM.</p><p>* A file 3dmasc_yyyymmdd_HHhMM.txt is created in this directory. </p><p>* Each time you train the classifier, the feature list and the classifier are stored and an entry is created in the trace file to save the overall accuracy.</p></body></html></string>
</property>
<property name="text">
<string>Keep traces</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="runPushButton">
<property name="text">
<string>Run</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="savePushButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Save classifier</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="closePushButton">
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
</layout>
<zorder>runPushButton</zorder>
<zorder>closePushButton</zorder>
<zorder>savePushButton</zorder>
</widget>
</item>
<item>
<widget class="QGroupBox" name="resultGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Results</string>
</property>
<layout class="QGridLayout" name="gridLayout" columnstretch="1,0">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="resultLabel">
<property name="text">
<string>correct = 0/0 - accuracy = 0.0</string>
</property>
</widget>
</item>
<item row="1" column="0" rowspan="2">
<widget class="QTableWidget" name="tableWidget">
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOn</enum>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="dragDropOverwriteMode">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>170</number>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string>Feature</string>
</property>
</column>
<column>
<property name="text">
<string>Importance</string>
</property>
</column>
</widget>
</item>
<item row="3" column="0">
<widget class="QToolButton" name="exportToolButton">
<property name="text">
<string>Export feature list</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QTableWidget" name="tableWidgetScales">
<column>
<property name="text">
<string>Scales</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>runPushButton</sender>
<signal>clicked()</signal>
<receiver>Train3DMASCDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>76</x>
<y>296</y>
</hint>
<hint type="destinationlabel">
<x>198</x>
<y>237</y>
</hint>
</hints>
</connection>
</connections>
</ui>