0
|
1 <tool id="acaretreg003" name="Create script from the template file for regression ">
|
|
2 <description>
|
|
3 used to create script file from user given input to build a model
|
|
4 </description>
|
|
5 <requirements>
|
|
6 <requirement type="set_environment">R_ROOT_DIR</requirement>
|
|
7 <requirement type="package" version="3.2.0">R</requirement>
|
|
8 <requirement type="package" version="1.0.0">caret-tools</requirement>
|
|
9 </requirements>
|
|
10 <command interpreter="python">
|
|
11 #if $OPTION11.PARAMAETERS == "Advance"
|
|
12 caret_regression/tool2/modelBuilding.py --method $METHOD $RDATA --getdatainfoeval $OPTION11.GETDATAINFOEVAL --getdatainfoecho $OPTION11.GETDATAINFOECHO --getdatainforesult $OPTION11.GETDATAINFORESULT --missingfiltereval $OPTION11.CON1.MISSINGFILTEREVAL --missingfilterecho $OPTION11.CON1.MISSINGFILTERECHO --missingfilterresult $OPTION11.CON1.MISSINGFILTERRESULT --missingfilterthreshc $OPTION11.CON1.MISSINGFILTERTHRESHC --missingfilterthreshr $OPTION11.CON1.MISSINGFILTERTHRESHR --pcaeval $OPTION11.PCAEVAL --pcaecho $OPTION11.PCAECHO --pcaresult $OPTION11.PCARESULT --pcacomp $OPTION11.PCACOMP --pcaploteval $OPTION11.PCAPLOTEVAL --pcaplotecho $OPTION11.PCAPLOTECHO --pcaplotresult $OPTION11.PCAPLOTRESULT --pcaplotfig $OPTION11.PCAPLOTFIG --initialdataspliteval $OPTION11.CON2.INITIALDATASPLITEVAL --initialdatasplitecho $OPTION11.CON2.INITIALDATASPLITECHO --initialdatasplitresult $OPTION11.CON2.INITIALDATASPLITRESULT --percent $OPTION11.CON2.PERCENT --nzveval $OPTION11.CON3.NZVEVAL --nzvresult $OPTION11.CON3.NZVRESULT --nzvecho $OPTION11.CON3.NZVECHO --corrfiltereval $OPTION11.CON4.CORRFILTEREVAL --corrfilterresult $OPTION11.CON4.CORRFILTERRESULT --corrfilterecho $OPTION11.CON4.CORRFILTERECHO --threshholdcor $OPTION11.CON4.THRESHHOLDCOR --preproceval $OPTION11.CON5.PREPROCEVAL --preprocecho $OPTION11.CON5.PREPROCECHO --preprocresult $OPTION11.CON5.PREPROCRESULT --setupworkersecho $OPTION11.SETUPWORKERSECHO --setupworkersresult $OPTION11.SETUPWORKERSRESULT --numworkers $OPTION11.NUMWORKERS --setupresamplingecho $OPTION11.CON6.SETUPRESAMPLINGECHO --setupresamplingresult $OPTION11.CON6.SETUPRESAMPLINGRESULT --resamplenumber $OPTION11.CON6.RESAMPLENUMBER --resamplenumberpercent $OPTION11.CON6.RESAMPLENUMBERPERCENT --setupgridresult $OPTION11.SETUPGRIDRESULT --setupgridecho $OPTION11.SETUPGRIDECHO --setupgridsize $OPTION11.SETUPGRIDSIZE --fitmodelresult $OPTION11.FITMODELRESULT --fitmodelecho $OPTION11.FITMODELECHO --fitmodeleval $OPTION11.FITMODELEVAL --modeldescrecho $OPTION11.MODELDESCRECHO --modeldescrresult $OPTION11.MODELDESCRRESULT --resamptableecho $OPTION11.RESAMPTABLEECHO --resamptableresult $OPTION11.RESAMPTABLERESULT --profileplotecho $OPTION11.PROFILEPLOTECHO --profileplotfig $OPTION11.PROFILEPLOTFIG --stopworkersecho $OPTION11.STOPWORKERSECHO --stopworkersresult $OPTION11.STOPWORKERSRESULT --testpredresult $OPTION11.TESTPREDRESULT --testpredecho $OPTION11.TESTPREDECHO --classprobstexresult $OPTION11.CLASSPROBSTEXRESULT --classprobstexecho $OPTION11.CLASSPROBSTEXECHO --savedataecho $OPTION11.SAVEDATAECHO --savedataresult $OPTION11.SAVEDATARESULT --outputmodel $model --outputresultpdf $document;
|
|
13 #end if
|
|
14 #if $OPTION11.PARAMAETERS == "basic"
|
|
15 caret_regression/tool2/modelBuilding.py --method $METHOD $RDATA --getdatainfoeval $OPTION11.GETDATAINFOEVAL --getdatainfoecho $OPTION11.GETDATAINFOECHO --getdatainforesult $OPTION11.GETDATAINFORESULT --missingfiltereval $OPTION11.MISSINGFILTEREVAL --missingfilterecho $OPTION11.MISSINGFILTERECHO --missingfilterresult $OPTION11.MISSINGFILTERRESULT --missingfilterthreshc $OPTION11.MISSINGFILTERTHRESHC --missingfilterthreshr $OPTION11.MISSINGFILTERTHRESHR --pcaeval $OPTION11.PCAEVAL --pcaecho $OPTION11.PCAECHO --pcaresult $OPTION11.PCARESULT --pcacomp $OPTION11.PCACOMP --pcaploteval $OPTION11.PCAPLOTEVAL --pcaplotecho $OPTION11.PCAPLOTECHO --pcaplotresult $OPTION11.PCAPLOTRESULT --pcaplotfig $OPTION11.PCAPLOTFIG --initialdataspliteval $OPTION11.INITIALDATASPLITEVAL --initialdatasplitecho $OPTION11.INITIALDATASPLITECHO --initialdatasplitresult $OPTION11.INITIALDATASPLITRESULT --percent $OPTION11.PERCENT --nzveval $OPTION11.NZVEVAL --nzvresult $OPTION11.NZVRESULT --nzvecho $OPTION11.NZVECHO --corrfiltereval $OPTION11.CORRFILTEREVAL --corrfilterresult $OPTION11.CORRFILTERRESULT --corrfilterecho $OPTION11.CORRFILTERECHO --threshholdcor $OPTION11.THRESHHOLDCOR --preproceval $OPTION11.PREPROCEVAL --preprocecho $OPTION11.PREPROCECHO --preprocresult $OPTION11.PREPROCRESULT --setupworkersecho $OPTION11.SETUPWORKERSECHO --setupworkersresult $OPTION11.SETUPWORKERSRESULT --numworkers $OPTION11.NUMWORKERS --setupresamplingecho $OPTION11.SETUPRESAMPLINGECHO --setupresamplingresult $OPTION11.SETUPRESAMPLINGRESULT --resamplenumber $OPTION11.RESAMPLENUMBER --resamplenumberpercent $OPTION11.RESAMPLENUMBERPERCENT --setupgridresult $OPTION11.SETUPGRIDRESULT --setupgridecho $OPTION11.SETUPGRIDECHO --setupgridsize $OPTION11.SETUPGRIDSIZE --fitmodelresult $OPTION11.FITMODELRESULT --fitmodelecho $OPTION11.FITMODELECHO --fitmodeleval $OPTION11.FITMODELEVAL --modeldescrecho $OPTION11.MODELDESCRECHO --modeldescrresult $OPTION11.MODELDESCRRESULT --resamptableecho $OPTION11.RESAMPTABLEECHO --resamptableresult $OPTION11.RESAMPTABLERESULT --profileplotecho $OPTION11.PROFILEPLOTECHO --profileplotfig $OPTION11.PROFILEPLOTFIG --stopworkersecho $OPTION11.STOPWORKERSECHO --stopworkersresult $OPTION11.STOPWORKERSRESULT --testpredresult $OPTION11.TESTPREDRESULT --testpredecho $OPTION11.TESTPREDECHO --classprobstexresult $OPTION11.CLASSPROBSTEXRESULT --classprobstexecho $OPTION11.CLASSPROBSTEXECHO --savedataecho $OPTION11.SAVEDATAECHO --savedataresult $OPTION11.SAVEDATARESULT --outputmodel $model --outputresultpdf $document;
|
|
16 #end if
|
|
17 </command>
|
|
18 <inputs>
|
|
19 <param name="METHOD" type="select" label="Select Method to Train Data" >
|
|
20 <option value="gbm">Generalized Boosting</option>
|
|
21 <option value="treebag">treebag-Bagged CART</option>
|
|
22 <option value="earth">earth-MARS method</option>
|
|
23 <option value="Boruta">Boruta-Random forest with feature selection</option>
|
|
24 <option value="bstLs">Boosted Linear Model</option>
|
|
25 <option value="glm">Generalized Linear Model</option>
|
|
26 <option value="pls" selected="true">Partial Least Square</option>
|
|
27 <option value="svmRadial">SVM radial basis function</option>
|
|
28 <option value="svmLinear">SVM Linear function</option>
|
|
29 <option value="rpart">rpart-CART</option>
|
|
30 <option value="rf">Random Forest</option>
|
|
31 <option value="knn">k-Nearest Neighbors</option>
|
|
32 <!--option value="bagFDA">bag-Fourier Discriminant Analysis</option>
|
|
33 <option value="gbm">Generalized Boosting</option>
|
|
34 <option value="blackboost">black-boost- Boosting Method</option>
|
|
35 <option value="earth">Earth-MARS based method</option>
|
|
36 <option value="rf">Random Forest</option>
|
|
37 <option value="RRF">RRFglobal -Variant of Random Forest</option>
|
|
38 <option value="svmRadial">SVM-Radial</option>
|
|
39 <option value="svmPoly">SVM-Polynomial</option>
|
|
40 <option value="ada">ada-boost</option>
|
|
41 <option value="glm">Generalised linear model </option>
|
|
42 <option value="treebag">tree based bagging method</option>
|
|
43 <option value="nb">Naive Bayes</option>
|
|
44 <option value="knn">K-nearest neighbour</option-->
|
|
45 </param>
|
|
46 <param name="RDATA" format="data" type="data" label="Select File Containing Training Data" help="RData format" />
|
|
47
|
|
48
|
|
49 <conditional name="OPTION11">
|
|
50 <param name="PARAMAETERS" type="select">
|
|
51 <option value="basic" selected="TRUE" >Use optimized parameters </option>
|
|
52 <option value="Advance"> Customized parameters </option>
|
|
53 </param>
|
|
54
|
|
55 <when value="basic">
|
|
56
|
|
57 <param name="GETDATAINFOEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE" />
|
|
58
|
|
59 <param name="GETDATAINFOECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/>
|
|
60 <param name="GETDATAINFORESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
61
|
|
62 <param name="MISSINGFILTEREVAL" type="hidden" value= "TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
63
|
|
64 <param name="MISSINGFILTERECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
65
|
|
66 <param name="MISSINGFILTERRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
67
|
|
68 <param name="MISSINGFILTERTHRESHC" type="hidden" value="0.2" help="For column wise default is 0.2"/>
|
|
69
|
|
70 <param name="MISSINGFILTERTHRESHR" type="hidden" value="0.2" help="For row wise default is 0.2"/>
|
|
71
|
|
72 <param name="PCAEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
73
|
|
74 <param name="PCAECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/>
|
|
75
|
|
76 <param name="PCARESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
77
|
|
78 <param name="PCACOMP" type="hidden" value="3" help="set according to need. Default is 3"/>
|
|
79
|
|
80 <param name="PCAPLOTEVAL" type="hidden" value="TRUE" help="set TRUE if wish to plot PCA. default is TRUE"/>
|
|
81
|
|
82 <param name="PCAPLOTECHO" type="hidden" value="FALSE" help="Set True if wish to Print .default is False"/>
|
|
83
|
|
84 <param name="PCAPLOTRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
85
|
|
86 <param name="PCAPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
87
|
|
88 <param name="INITIALDATASPLITEVAL" type="hidden" value= "TRUE" help="set TRUE for splitting in test and train set.default is True"/>
|
|
89
|
|
90 <param name="INITIALDATASPLITECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
91
|
|
92
|
|
93 <param name="INITIALDATASPLITRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
94
|
|
95 <param name="PERCENT" type="hidden" value="0.8" help="default is 0.8"/>
|
|
96
|
|
97 <param name="NZVEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
98
|
|
99 <param name="NZVRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
100
|
|
101 <param name="NZVECHO" type="hidden" value="FALSE" label="Write Code in Document" help="set True if wish to print .default is False"/>
|
|
102
|
|
103 <param name="CORRFILTEREVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
104
|
|
105 <param name="CORRFILTERRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
106
|
|
107 <param name="CORRFILTERECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
108
|
|
109 <param name="THRESHHOLDCOR" type="hidden" value="0.75" help="set according to need .default is 0.75"/>
|
|
110
|
|
111 <param name="PREPROCEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
112
|
|
113 <param name="PREPROCECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
114
|
|
115 <param name="PREPROCRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
116
|
|
117 <param name="SETUPWORKERSEVAL" type="hidden" value="FALSE" help="set TRUE if wish to evaluate. default is False"/>
|
|
118
|
|
119 <param name="SETUPWORKERSECHO" type="hidden" value="FALSE" label="Write Code in Document" help="set True if wish to print .default is False"/>
|
|
120
|
|
121 <param name="SETUPWORKERSRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
122
|
|
123 <param name="NUMWORKERS" type="hidden" value="1" help ="default is 1"/>
|
|
124
|
|
125 <param name="SETUPRESAMPLINGECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
126
|
|
127 <param name="SETUPRESAMPLINGRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
128
|
|
129 <param name="RESAMPLENUMBER" type="hidden" value="10" label="Set Number of Times to Resample" help="default is 10"/>
|
|
130
|
|
131 <param name="RESAMPLENUMBERPERCENT" type="hidden" value="0.75" help="default is 0.75"/>
|
|
132
|
|
133 <param name="SETUPGRIDRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
134
|
|
135 <param name="SETUPGRIDECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
136
|
|
137 <param name="SETUPGRIDSIZE" type="hidden" value="3" help="default is 3 "/>
|
|
138
|
|
139 <param name="FITMODELEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
140
|
|
141 <param name="FITMODELRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
142
|
|
143 <param name="FITMODELECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
144
|
|
145 <param name="MODELDESCRECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
146
|
|
147 <param name="MODELDESCRRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
148
|
|
149 <param name="RESAMPTABLEECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
150
|
|
151 <param name="RESAMPTABLERESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
152
|
|
153 <param name="PROFILEPLOTECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
154
|
|
155 <param name="PROFILEPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
156
|
|
157 <param name="STOPWORKERSECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
158
|
|
159 <param name="STOPWORKERSRESULT" type="hidden" value= "hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
160
|
|
161 <param name="TESTPREDRESULT" type="hidden" value= "tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
162
|
|
163 <param name="TESTPREDECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/>
|
|
164
|
|
165 <param name="CLASSPROBSTEXRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
166
|
|
167 <param name="CLASSPROBSTEXECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False" />
|
|
168
|
|
169 <param name="SAVEDATAECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
170
|
|
171 <param name="SAVEDATARESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
172
|
|
173 </when>
|
|
174
|
|
175
|
|
176 <when value="Advance">
|
|
177 <param name="GETDATAINFOEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE" />
|
|
178 <param name="GETDATAINFOECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/>
|
|
179 <param name="GETDATAINFORESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
180
|
|
181 <conditional name="CON1">
|
|
182 <param name="PARAMAETERS1" type="select" label="1. Remove Missing Values from the input data">
|
|
183 <option value="YES">YES </option>
|
|
184 <option value="NO" selected="true">NO </option>
|
|
185 </param>
|
|
186
|
|
187 <when value="YES">
|
|
188 <param name="MISSINGFILTEREVAL" type="hidden" value= "TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
189 <param name="MISSINGFILTERECHO" type="select" label="1(i). Write Code in Document" help="set True if wish to print .default is False" >
|
|
190 <option value="FALSE" selected="true">false</option>
|
|
191 <option value="TRUE">true</option>
|
|
192 </param>
|
|
193 <param name="MISSINGFILTERRESULT" type="select" label="1(ii). Write Result in document" help="Set tex if wish to write in output pdf file. default is tex">
|
|
194 <option value="hide">hide-result will not written in file</option>
|
|
195 <option value="tex" selected="true">tex-result will written in file</option>
|
|
196 </param>
|
|
197 <param name="MISSINGFILTERTHRESHC" type="select" label="1(iii). Set Cutoff Value for Missing Data value Columwise" help="For column wise default is 0.1 means column which has missing value more than 10% will be removed ">
|
|
198 <option value="0.1">0.1</option>
|
|
199 <option value="0.2">0.2</option>
|
|
200 <option value="0.25">0.25</option>
|
|
201 <option value="0.3">0.3</option>
|
|
202 <option value="0.35">0.35</option>
|
|
203 <option value="0.4">0.4</option>
|
|
204 <option value="0.45">0.45</option>
|
|
205 <option value="0.5">0.5</option>
|
|
206 <option value="0.55">0.55</option>
|
|
207 <option value="0.6">0.6</option>
|
|
208 <option value="0.65">0.65</option>
|
|
209 <option value="0.7">0.7</option>
|
|
210 <option value="0.75">0.75</option>
|
|
211 <option value="0.8">0.8</option>
|
|
212 </param>
|
|
213 <param name="MISSINGFILTERTHRESHR" type="select" label="1(iv). Set Cutoff Value for Missing Data Value Rowwise " help="For row wise default is 0.1 means row having more than 10% missing values will be removed">
|
|
214 <option value="0.1">0.1</option>
|
|
215 <option value="0.2">0.2</option>
|
|
216 <option value="0.25">0.25</option>
|
|
217 <option value="0.3">0.3</option>
|
|
218 <option value="0.35">0.35</option>
|
|
219 <option value="0.4">0.4</option>
|
|
220 <option value="0.45">0.45</option>
|
|
221 <option value="0.5">0.5</option>
|
|
222 <option value="0.55">0.55</option>
|
|
223 <option value="0.6">0.6</option>
|
|
224 <option value="0.65">0.65</option>
|
|
225 <option value="0.7">0.7</option>
|
|
226 <option value="0.75">0.75</option>
|
|
227 <option value="0.8">0.8</option>
|
|
228 </param>
|
|
229 </when>
|
|
230 <when value="NO">
|
|
231 <param name="MISSINGFILTEREVAL" type="hidden" value= "FALSE" help="set TRUE if wish to evaluate. default is FALSE"/>
|
|
232
|
|
233 <param name="MISSINGFILTERECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
234
|
|
235 <param name="MISSINGFILTERRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
236
|
|
237 <param name="MISSINGFILTERTHRESHC" type="hidden" value="0" />
|
|
238
|
|
239 <param name="MISSINGFILTERTHRESHR" type="hidden" value="0" />
|
|
240
|
|
241 </when>
|
|
242 </conditional>
|
|
243
|
|
244 <param name="PCAEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
245
|
|
246 <param name="PCAECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/>
|
|
247
|
|
248 <param name="PCARESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
249
|
|
250 <param name="PCACOMP" type="select" label="2. Find number of Principle component" help="performs PCA and gives number of PC. Default is 3 ">
|
|
251 <option value="3">3</option>
|
|
252 <option value="4">4</option>
|
|
253 <option value="5">5</option>
|
|
254 <option value="6">6</option>
|
|
255 <option value="7">7</option>
|
|
256 <option value="8">8</option>
|
|
257 <option value="9">9</option>
|
|
258 <option value="10">10</option>
|
|
259 </param>
|
|
260
|
|
261 <param name="PCAPLOTEVAL" type="hidden" value="TRUE" help="set TRUE if wish to plot PCA. default is TRUE"/>
|
|
262
|
|
263 <param name="PCAPLOTECHO" type="hidden" value="FALSE" help="Set True if wish to Print .default is False"/>
|
|
264
|
|
265 <param name="PCAPLOTRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
266
|
|
267 <param name="PCAPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
268
|
|
269
|
|
270 <conditional name="CON2">
|
|
271 <param name="PARAMAETERS2" type="select" label="3. Customize parameters for data splitting" help="splits data in test and train set.">
|
|
272 <option value="YES2">YES </option>
|
|
273 <option value="NO2" selected="true">NO </option>
|
|
274 </param>
|
|
275 <when value="YES2">
|
|
276 <param name="INITIALDATASPLITEVAL" type="hidden" value= "TRUE" help="set TRUE for splitting in test and train set.default is True"/>
|
|
277 <!--param name="SAAMPLING" type="select" label="3(i). Select Sampling Method" help="Defult is with No sampling. you may choose downsample or upsample" >
|
|
278 <option value="garBage" selected="true">No Sampling</option>
|
|
279 <option value="downsampling">downsample</option>
|
|
280 <option value="upsampling">upsample</option>
|
|
281 </param-->
|
|
282 <param name="INITIALDATASPLITECHO" type="select" label="3(ii). Write Code in Document" help="set True if wish to print .default is False" >
|
|
283 <option value="FALSE">false</option>
|
|
284 <option value="TRUE">true</option>
|
|
285 </param>
|
|
286 <param name="INITIALDATASPLITRESULT" type="select" value="tex" label="3(iii). Write Result in document" help="Set tex if wish to write in output pdf file. default is tex">
|
|
287 <option value="tex" selected="true">tex-result will written in file</option>
|
|
288 <option value="hide">hide-result will not written in file</option>
|
|
289 </param>
|
|
290 <param name="PERCENT" type="select" label="3(iv) .Set Value at Which Data Will be Splitted in Train and Test Set" help="default is 0.8">
|
|
291 <option value="0.8">0.8</option>
|
|
292 <option value="0.75">0.75</option>
|
|
293 <option value="0.6">0.6</option>
|
|
294 <option value="0.5">0.5</option>
|
|
295 </param>
|
|
296 </when>
|
|
297 <when value="NO2">
|
|
298 <param name="INITIALDATASPLITEVAL" type="hidden" value= "TRUE" help="set TRUE for splitting in test and train set.default is True"/>
|
|
299
|
|
300 <param name="INITIALDATASPLITECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
301
|
|
302 <!--param name="SAAMPLING" type="hidden" value="garBage" help="default is with No sampling"/-->
|
|
303
|
|
304 <param name="INITIALDATASPLITRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
305
|
|
306 <param name="PERCENT" type="hidden" value="0.8" help="default is 0.8"/>
|
|
307
|
|
308 </when>
|
|
309 </conditional>
|
|
310
|
|
311 <conditional name="CON3">
|
|
312 <param name="PARAMAETERS3" type="select" label="4. Remove near zero variance" help="removes NZV from train and test set.">
|
|
313 <option value="YES3">YES </option>
|
|
314 <option value="NO3" selected="true">NO </option>
|
|
315 </param>
|
|
316 <when value="YES3">
|
|
317
|
|
318 <param name="NZVEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
319
|
|
320
|
|
321 <param name="NZVECHO" type="select" label="4(i). Write Code in Document" help="set True if wish to print .default is False">
|
|
322 <option value="FALSE">false</option>
|
|
323 <option value="TRUE">true</option>
|
|
324 </param>
|
|
325
|
|
326 <param name="NZVRESULT" type="select" label="4(ii). Write Result in document" help="Set tex if wish to write result in output pdf file. default is tex">
|
|
327 <option value="hide">hide-result will not written in file</option>
|
|
328 <option value="tex" selected="true">tex-result will written in file</option>
|
|
329 </param>
|
|
330 </when>
|
|
331 <when value="NO3">
|
|
332 <param name="NZVEVAL" type="hidden" value="FALSE" help="set TRUE if wish to evaluate. "/>
|
|
333 <param name="NZVECHO" type="hidden" value="FALSE" help="set TRUE if wish to evaluate. "/>
|
|
334 <param name="NZVRESULT" type="hidden" value="hide" help="set TRUE if wish to evaluate."/>
|
|
335 </when>
|
|
336 </conditional>
|
|
337
|
|
338 <!--param name="NZVECHO" type="select" label="Write Code in Document" help="set True if wish to print .default is False">
|
|
339 <option value="FALSE">false</option>
|
|
340 <option value="TRUE">true</option>
|
|
341 </param-->
|
|
342
|
|
343 <conditional name="CON4">
|
|
344 <param name="PARAMAETERS4" type="select" label="5. Remove Correlated Values " help="removes correlated attributes from train and test set.">
|
|
345 <option value="YES4">YES </option>
|
|
346 <option value="NO4" selected="true">NO </option>
|
|
347 </param>
|
|
348 <when value="YES4">
|
|
349 <param name="CORRFILTEREVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
350 <param name="THRESHHOLDCOR" type="select" label="5(i). cutoff for correlated Value " help="set according to need .default is 0.75 means attributes have 75% or more correlation are ommited from the data">
|
|
351 <option value="0.75">0.75</option>
|
|
352 <option value="0.4">0.4</option>
|
|
353 <option value="0.45">0.45</option>
|
|
354 <option value="0.5">0.5</option>
|
|
355 <option value="0.55">0.55</option>
|
|
356 <option value="0.6">0.6</option>
|
|
357 <option value="0.65">0.65</option>
|
|
358 <option value="0.7">0.7</option>
|
|
359 <option value="0.8">0.8</option>
|
|
360 <option value="0.85">0.85</option>
|
|
361 <option value="0.9">0.9</option>
|
|
362 <option value="0.95">0.95</option>
|
|
363 </param>
|
|
364 <param name="CORRFILTERECHO" type="select" label="5(ii). Write Code in Document" help="set True if wish to print .default is False" >
|
|
365 <option value="FALSE">false</option>
|
|
366 <option value="TRUE">true</option>
|
|
367 </param>
|
|
368 <param name="CORRFILTERRESULT" type="select" label="5(iii). Write Result in document" help="Set tex if wish to write in output pdf file. default is tex">
|
|
369 <option value="hide">hide-result will not written in file</option>
|
|
370 <option value="tex" selected="true">tex-result will written in file</option>
|
|
371 </param>
|
|
372 </when>
|
|
373 <when value="NO4">
|
|
374 <param name="CORRFILTEREVAL" type="hidden" value="FALSE"/>
|
|
375
|
|
376 <param name="CORRFILTERRESULT" type="hidden" value="hide" />
|
|
377
|
|
378 <param name="CORRFILTERECHO" type="hidden" value="FALSE" />
|
|
379
|
|
380 <param name="THRESHHOLDCOR" type="hidden" value="0" />
|
|
381 </when>
|
|
382 </conditional>
|
|
383
|
|
384 <conditional name="CON5">
|
|
385 <param name="PARAMAETERS5" type="select" label="6. Perform Centering and Scaling of data" help="centering and scaling of train and test set.">
|
|
386 <option value="YES5">YES </option>
|
|
387 <option value="NO5" selected="true">NO </option>
|
|
388 </param>
|
|
389
|
|
390 <when value="YES5">
|
|
391 <param name="PREPROCEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
392 <param name="PREPROCECHO" type="select" label="6(i). Write Code in Document" help="set True if wish to write code in document .default is False" >
|
|
393 <option value="FALSE">false</option>
|
|
394 <option value="TRUE">true</option>
|
|
395 </param>
|
|
396 <param name="PREPROCRESULT" type="select" label="6(ii). Write Result in document " help="Set tex if wish to write result in output pdf file. default is tex">
|
|
397 <option value="hide">hide-result will not written in file</option>
|
|
398 <option value="tex" selected="true">tex-result will written in file</option>
|
|
399 </param>
|
|
400 </when>
|
|
401 <when value="NO5">
|
|
402 <param name="PREPROCEVAL" type="hidden" value="FALSE"/>
|
|
403
|
|
404 <param name="PREPROCECHO" type="hidden" value="FALSE" />
|
|
405
|
|
406 <param name="PREPROCRESULT" type="hidden" value="hide" />
|
|
407
|
|
408 </when>
|
|
409 </conditional>
|
|
410
|
|
411 <param name="SETUPWORKERSEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is False"/>
|
|
412 <param name="SETUPWORKERSECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False" />
|
|
413 <param name="NUMWORKERS" type="select" label="7. Set Number of Processors" help ="default is 1">
|
|
414 <option value="1">1</option>
|
|
415 <option value="2">2</option>
|
|
416 <option value="4">4</option>
|
|
417 <option value="6">6</option>
|
|
418 <option value="8">8</option>
|
|
419 <option value="16">16</option>
|
|
420 </param>
|
|
421 <param name="SETUPWORKERSRESULT" type="select" label="7(i). Write Result" help="Set tex if wish to write in output pdf file. default is hide">
|
|
422 <option value="tex">tex-result will written in file</option>
|
|
423 <option value="hide" selected="true">hide-result will not written in file</option>
|
|
424 </param>
|
|
425
|
|
426 <conditional name="CON6">
|
|
427
|
|
428 <param name="PARAMAETERS6" type="select" label="7. custumize resampling parameters" help="resampling for cross validation">
|
|
429 <option value="YES6">YES </option>
|
|
430 <option value="NO6" selected="true">NO </option>
|
|
431 </param>
|
|
432 <when value="YES6">
|
|
433 <param name="SETUPRESAMPLINGECHO" type="select" label="7(i). write code for resampling" help="set True if wish to print .default is False">
|
|
434 <option value="FALSE">false</option>
|
|
435 <option value="TRUE">true</option>
|
|
436 </param>
|
|
437 <param name="SETUPRESAMPLINGRESULT" type="select" label="7(ii). Write Result in document " help="Set tex if wish to write in output pdf file. default is hide">
|
|
438 <option value="hide">hide-result will not written in file</option>
|
|
439 <option value="tex">tex-result will written in file</option>
|
|
440 </param>
|
|
441 <param name="RESAMPLENUMBER" type="select" label="7(iii). Set Number of times Resample" help="default is 10 ">
|
|
442 <option value="10">10</option>
|
|
443 <option value="5">5</option>
|
|
444 <option value="15">15</option>
|
|
445 <option value="20">20</option>
|
|
446 <option value="25">25</option>
|
|
447 </param>
|
|
448 <param name="RESAMPLENUMBERPERCENT" type="select" label="7(iv). Set Percent splitting of data for resampling" help="default is 0.75">
|
|
449 <option value="0.75">0.75</option>
|
|
450 <option value="0.4">0.4</option>
|
|
451 <option value="0.45">0.45</option>
|
|
452 <option value="0.5">0.5</option>
|
|
453 <option value="0.55">0.55</option>
|
|
454 <option value="0.6">0.6</option>
|
|
455 <option value="0.65">0.65</option>
|
|
456 <option value="0.7">0.7</option>
|
|
457 <option value="0.8">0.8</option>
|
|
458 </param>
|
|
459 </when>
|
|
460 <when value="NO6">
|
|
461 <param name="SETUPRESAMPLINGECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
462
|
|
463 <param name="SETUPRESAMPLINGRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
464
|
|
465 <param name="RESAMPLENUMBER" type="hidden" value="10" label="Set Number of Times to Resample" help="default is 10"/>
|
|
466
|
|
467 <param name="RESAMPLENUMBERPERCENT" type="hidden" value="0.75" help="default is 0.75"/>
|
|
468
|
|
469 </when>
|
|
470 </conditional>
|
|
471 <param name="SETUPGRIDRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
472
|
|
473 <param name="SETUPGRIDECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
474
|
|
475 <param name="SETUPGRIDSIZE" type="select" label="8. Set Size of The Grid." help="default is 3 ">
|
|
476 <option value="3">3</option>
|
|
477 <option value="4">4</option>
|
|
478 <option value="5">5</option>
|
|
479 <option value="6">6</option>
|
|
480 <option value="7">7</option>
|
|
481 <option value="8">8</option>
|
|
482 <option value="9">9</option>
|
|
483 <option value="10">10</option>
|
|
484 <option value="11">11</option>
|
|
485 <option value="12">12</option>
|
|
486 <option value="13">13</option>
|
|
487 <option value="14">14</option>
|
|
488 <option value="15">15</option>
|
|
489 <option value="16">16</option>
|
|
490 <option value="17">17</option>
|
|
491 <option value="18">18</option>
|
|
492 <option value="19">19</option>
|
|
493 <option value="20">20</option>
|
|
494 </param>
|
|
495
|
|
496 <param name="FITMODELEVAL" type="boolean" checked="true" value="true" label="9. Build a Model and write result in document" help="default is TRUE"/>
|
|
497 <param name="FITMODELRESULT" type="hidden" value="tex" />
|
|
498 <param name="FITMODELECHO" type="select" label="9(i). Write Code for model building in Document" help="set True if wish to write code in document .default is False" >
|
|
499 <option value="FALSE">false</option>
|
|
500 <option value="TRUE">true</option>
|
|
501 </param>
|
|
502 <param name="MODELDESCRECHO" type="select" label="9(ii). Write code for Model Description " help="set True if wish to print .default is False" >
|
|
503 <option value="FALSE">false</option>
|
|
504 <option value="TRUE">true</option>
|
|
505 </param>
|
|
506 <param name="MODELDESCRRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
507
|
|
508 <param name="RESAMPTABLEECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
509
|
|
510 <param name="RESAMPTABLERESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
511
|
|
512 <param name="PROFILEPLOTECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
513
|
|
514 <param name="PROFILEPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/>
|
|
515
|
|
516 <param name="STOPWORKERSECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
517
|
|
518 <param name="STOPWORKERSRESULT" type="hidden" value= "hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
519
|
|
520 <param name="TESTPREDRESULT" type="hidden" value= "tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
521
|
|
522 <param name="TESTPREDECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/>
|
|
523
|
|
524 <param name="CLASSPROBSTEXRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
525
|
|
526 <param name="CLASSPROBSTEXECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False" />
|
|
527
|
|
528 <!--param name="CLASSPROBSTEXRESULT1" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/>
|
|
529
|
|
530 <param name="CLASSPROBSTEXECHO1" type="hidden" value="FALSE" help="set True if wish to print .default is False" /-->
|
|
531
|
|
532 <param name="SAVEDATAECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/>
|
|
533
|
|
534 <param name="SAVEDATARESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/>
|
|
535
|
|
536 </when>
|
|
537 </conditional>
|
|
538 </inputs>
|
|
539
|
|
540 <outputs>
|
|
541 <data format="RData" label="$METHOD regression Model " name="model" />
|
|
542 <data format="pdf" label="$METHOD regression Document" name="document" />
|
|
543 </outputs>
|
|
544 <help>
|
|
545
|
|
546 .. class:: infomark
|
|
547
|
|
548
|
|
549
|
|
550 **Instruction**
|
|
551
|
|
552 ----------
|
|
553
|
|
554 Users may change any parameter as their requirement. For normal practice
|
|
555
|
|
556 user required to provide only input csv file with response variable (Numeric) as last column and method for model building.
|
|
557
|
|
558 More details are given in user manual.Please click here
|
|
559
|
|
560
|
|
561
|
|
562 </help>
|
|
563
|
|
564
|
|
565
|
|
566 </tool>
|