Mercurial > repos > anmoljh > rcaret_classification_model
comparison model_building.xml @ 0:2cb81da69c73 draft
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272
author | anmoljh |
---|---|
date | Thu, 31 May 2018 11:58:59 -0400 |
parents | |
children | 247d404ffbcf |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2cb81da69c73 |
---|---|
1 <tool id="rcaret_classification_model" name="R-Caret Classifcation Model-Builder" version="1.0"> | |
2 <description>Build r-caret package based classification models</description> | |
3 <requirements> | |
4 <requirement type="package" version="3.2.1">R</requirement> | |
5 <requirement type="package" version="1.0">carettools</requirement> | |
6 </requirements> | |
7 <stdio> | |
8 <exit_code range="1:" /> | |
9 </stdio> | |
10 | |
11 <command interpreter="python"> | |
12 #if $OPTION11.PARAMETERS == "Advance" | |
13 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 --saampling $OPTION11.CON2.SAAMPLING --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 --resampname $OPTION11.CON6.RESAMPNAME --resamplenumber $OPTION11.CON6.RESAMPLENUMBER --numrepeat $OPTION11.CON6.NUMREPEAT --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 --classprobstexresult1 $OPTION11.CLASSPROBSTEXRESULT1 --classprobstexecho1 $OPTION11.CLASSPROBSTEXECHO1 --savedataecho $OPTION11.SAVEDATAECHO --savedataresult $OPTION11.SAVEDATARESULT --datasets $datasets --outputmodel $model --outputresultpdf $document; | |
14 #end if | |
15 #if $OPTION11.PARAMETERS == "basic" | |
16 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 --saampling $OPTION11.SAAMPLING --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 --resampname $OPTION11.RESAMPNAME --resamplenumber $OPTION11.RESAMPLENUMBER --numrepeat $OPTION11.NUMREPEAT --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 --classprobstexresult1 $OPTION11.CLASSPROBSTEXRESULT1 --classprobstexecho1 $OPTION11.CLASSPROBSTEXECHO1 --savedataecho $OPTION11.SAVEDATAECHO --savedataresult $OPTION11.SAVEDATARESULT --datasets $datasets --outputmodel $model --outputresultpdf $document; | |
17 #end if | |
18 </command> | |
19 | |
20 <inputs> | |
21 <param name="METHOD" type="select" label="SELECT METHOD FOR MODEL BUILDING" > | |
22 <option value="pls">Partial Least Square</option> | |
23 <option value="nnet">Neural Network</option> | |
24 <option value="bagFDA">bag-Fourier Discriminant Analysis</option> | |
25 <!--option value="blackboost">black-boost- Boosting Method</option--> | |
26 <option value="earth">Earth-MARS based method</option> | |
27 <option value="rf">Random Forest</option> | |
28 <option value="RRF">RRFglobal -Variant of Random Forest</option> | |
29 <option value="svmRadial">SVM-Radial</option> | |
30 <option value="svmPoly">SVM-Polynomial</option> | |
31 <option value="ada">ada-boost</option> | |
32 <option value="glm">Generalised linear model </option> | |
33 <option value="treebag">tree based bagging method</option> | |
34 <option value="nb">Naive Bayes</option> | |
35 <option value="knn">K-nearest neighbour</option> | |
36 <option value="C5.0">C5.0 </option> | |
37 </param> | |
38 <param name="RDATA" type="data" format="rdata" label="SELECT FILE CONATINING INPUT DATA" help="RData/RDS format" /> | |
39 | |
40 | |
41 <conditional name="OPTION11"> | |
42 <param name="PARAMETERS" type="select"> | |
43 <option value="basic" selected="True" >Use optimized parameters </option> | |
44 <option value="Advance"> Customized parameters </option> | |
45 </param> | |
46 | |
47 <when value="basic"> | |
48 | |
49 <param name="GETDATAINFOEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE" /> | |
50 <param name="GETDATAINFOECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/> | |
51 <param name="GETDATAINFORESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
52 <param name="MISSINGFILTEREVAL" type="hidden" value= "TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
53 <param name="MISSINGFILTERECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
54 <param name="MISSINGFILTERRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
55 <param name="MISSINGFILTERTHRESHC" type="hidden" value="0.2" help="For column wise default is 0.2"/> | |
56 <param name="MISSINGFILTERTHRESHR" type="hidden" value="0.2" help="For row wise default is 0.2"/> | |
57 <param name="PCAEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
58 <param name="PCAECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/> | |
59 <param name="PCARESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
60 <param name="PCACOMP" type="hidden" value="3" help="set according to need. Default is 3"/> | |
61 <param name="PCAPLOTEVAL" type="hidden" value="TRUE" help="set TRUE if wish to plot PCA. default is TRUE"/> | |
62 <param name="PCAPLOTECHO" type="hidden" value="FALSE" help="Set True if wish to Print .default is False"/> | |
63 <param name="PCAPLOTRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
64 <param name="PCAPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
65 <param name="INITIALDATASPLITEVAL" type="hidden" value= "TRUE" help="set TRUE for splitting in test and train set.default is True"/> | |
66 <param name="INITIALDATASPLITECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
67 <param name="SAAMPLING" type="hidden" value="garBage" help="default is with No sampling"/> | |
68 <param name="INITIALDATASPLITRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
69 <param name="PERCENT" type="hidden" value="0.8" help="default is 0.8"/> | |
70 <param name="NZVEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
71 <param name="NZVRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
72 <param name="NZVECHO" type="hidden" value="FALSE" label="Write Code in Document" help="set True if wish to print .default is False"/> | |
73 <param name="CORRFILTEREVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
74 <param name="CORRFILTERRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
75 <param name="CORRFILTERECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
76 <param name="THRESHHOLDCOR" type="hidden" value="0.75" help="set according to need .default is 0.75"/> | |
77 <param name="PREPROCEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
78 <param name="PREPROCECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
79 <param name="PREPROCRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
80 <param name="SETUPWORKERSEVAL" type="hidden" value="FALSE" help="set TRUE if wish to evaluate. default is False"/> | |
81 <param name="SETUPWORKERSECHO" type="hidden" value="FALSE" label="Write Code in Document" help="set True if wish to print .default is False"/> | |
82 <param name="SETUPWORKERSRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
83 <param name="NUMWORKERS" type="hidden" value="1" help ="default is 1"/> | |
84 <param name="SETUPRESAMPLINGECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
85 <param name="SETUPRESAMPLINGRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
86 <param name="RESAMPNAME" type="hidden" value="boot632" label="Set type of resampling for cross validation" help="default is boot632"/> | |
87 <param name="RESAMPLENUMBER" type="hidden" value="10" label="Set Number of Times to Resample" help="default is 10"/> | |
88 <param name="NUMREPEAT" type="hidden" value="3" label="Set Number of Times to run" help="default is 3"/> | |
89 <param name="RESAMPLENUMBERPERCENT" type="hidden" value="0.75" help="default is 0.75"/> | |
90 <param name="SETUPGRIDRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
91 <param name="SETUPGRIDECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
92 <param name="SETUPGRIDSIZE" type="hidden" value="3" help="default is 3 "/> | |
93 <param name="FITMODELEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
94 <param name="FITMODELRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
95 <param name="FITMODELECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
96 <param name="MODELDESCRECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
97 <param name="MODELDESCRRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
98 <param name="RESAMPTABLEECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
99 <param name="RESAMPTABLERESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
100 <param name="PROFILEPLOTECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
101 <param name="PROFILEPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
102 <param name="STOPWORKERSECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
103 <param name="STOPWORKERSRESULT" type="hidden" value= "hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
104 <param name="TESTPREDRESULT" type="hidden" value= "tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
105 <param name="TESTPREDECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/> | |
106 <param name="CLASSPROBSTEXRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
107 <param name="CLASSPROBSTEXECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False" /> | |
108 <param name="CLASSPROBSTEXRESULT1" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
109 <param name="CLASSPROBSTEXECHO1" type="hidden" value="FALSE" help="set True if wish to print .default is False" /> | |
110 <param name="SAVEDATAECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
111 <param name="SAVEDATARESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
112 </when> | |
113 | |
114 <when value="Advance"> | |
115 <param name="GETDATAINFOEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE" /> | |
116 <param name="GETDATAINFOECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/> | |
117 <param name="GETDATAINFORESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
118 | |
119 <conditional name="CON1"> | |
120 <param name="PARAMAETERS1" type="select" label="1. REMOVE MISSING VALUES FROM THE INPUT DATA"> | |
121 <option value="YES">YES </option> | |
122 <option value="NO" selected="true">NO </option> | |
123 </param> | |
124 | |
125 <when value="YES"> | |
126 <param name="MISSINGFILTEREVAL" type="hidden" value= "TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
127 <param name="MISSINGFILTERECHO" type="select" label="1(i). Write Code in Document" help="set True if wish to print .default is False" > | |
128 <option value="FALSE" selected="true">false</option> | |
129 <option value="TRUE">true</option> | |
130 </param> | |
131 <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"> | |
132 <option value="hide">hide-result will not written in file</option> | |
133 <option value="tex" selected="true">tex-result will written in file</option> | |
134 </param> | |
135 <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 "> | |
136 <option value="0.1">0.1</option> | |
137 <option value="0.2">0.2</option> | |
138 <option value="0.25">0.25</option> | |
139 <option value="0.3">0.3</option> | |
140 <option value="0.35">0.35</option> | |
141 <option value="0.4">0.4</option> | |
142 <option value="0.45">0.45</option> | |
143 <option value="0.5">0.5</option> | |
144 <option value="0.55">0.55</option> | |
145 <option value="0.6">0.6</option> | |
146 <option value="0.65">0.65</option> | |
147 <option value="0.7">0.7</option> | |
148 <option value="0.75">0.75</option> | |
149 <option value="0.8">0.8</option> | |
150 </param> | |
151 <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"> | |
152 <option value="0.1">0.1</option> | |
153 <option value="0.2">0.2</option> | |
154 <option value="0.25">0.25</option> | |
155 <option value="0.3">0.3</option> | |
156 <option value="0.35">0.35</option> | |
157 <option value="0.4">0.4</option> | |
158 <option value="0.45">0.45</option> | |
159 <option value="0.5">0.5</option> | |
160 <option value="0.55">0.55</option> | |
161 <option value="0.6">0.6</option> | |
162 <option value="0.65">0.65</option> | |
163 <option value="0.7">0.7</option> | |
164 <option value="0.75">0.75</option> | |
165 <option value="0.8">0.8</option> | |
166 </param> | |
167 </when> | |
168 | |
169 <when value="NO"> | |
170 <param name="MISSINGFILTEREVAL" type="hidden" value= "FALSE" help="set TRUE if wish to evaluate. default is FALSE"/> | |
171 <param name="MISSINGFILTERECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
172 <param name="MISSINGFILTERRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
173 <param name="MISSINGFILTERTHRESHC" type="hidden" value="0" /> | |
174 <param name="MISSINGFILTERTHRESHR" type="hidden" value="0" /> | |
175 | |
176 </when> | |
177 </conditional> | |
178 | |
179 <param name="PCAEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
180 <param name="PCAECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/> | |
181 <param name="PCARESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
182 <param name="PCACOMP" type="select" label="2. FIND NUMBER OF PRINCIPLE COMPONENT" help="performs PCA and gives number of PC. Default is 3 "> | |
183 <option value="3">3</option> | |
184 <option value="4">4</option> | |
185 <option value="5">5</option> | |
186 <option value="6">6</option> | |
187 <option value="7">7</option> | |
188 <option value="8">8</option> | |
189 <option value="9">9</option> | |
190 <option value="10">10</option> | |
191 </param> | |
192 <param name="PCAPLOTEVAL" type="hidden" value="TRUE" help="set TRUE if wish to plot PCA. default is TRUE"/> | |
193 <param name="PCAPLOTECHO" type="hidden" value="FALSE" help="Set True if wish to Print .default is False"/> | |
194 <param name="PCAPLOTRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
195 <param name="PCAPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
196 | |
197 <conditional name="CON2"> | |
198 <param name="PARAMAETERS2" type="select" label="3. CUSTOMIZE PARAMETERS FOR DATA SPLITTING " help="splits data in test and train set."> | |
199 <option value="YES2">YES </option> | |
200 <option value="NO2" selected="true">NO </option> | |
201 </param> | |
202 | |
203 <when value="YES2"> | |
204 <param name="INITIALDATASPLITEVAL" type="hidden" value= "TRUE" help="set TRUE for splitting in test and train set.default is True"/> | |
205 <param name="SAAMPLING" type="select" label="3(i). Select Sampling Method" help="Defualt is with No sampling. you may choose downsample or upsample" > | |
206 <option value="garBage" selected="true">No Sampling</option> | |
207 <option value="downsampling">downsample</option> | |
208 <option value="upsampling">upsample</option> | |
209 </param> | |
210 <param name="INITIALDATASPLITECHO" type="select" label="3(ii). Write Code in Document" help="set True if wish to print .default is False" > | |
211 <option value="FALSE">false</option> | |
212 <option value="TRUE">true</option> | |
213 </param> | |
214 <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"> | |
215 <option value="tex" selected="true">tex-result will written in file</option> | |
216 <option value="hide">hide-result will not written in file</option> | |
217 </param> | |
218 <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"> | |
219 <option value="0.8">0.8</option> | |
220 <option value="0.75">0.75</option> | |
221 <option value="0.6">0.6</option> | |
222 <option value="0.5">0.5</option> | |
223 <option value="2">use entire data set</option> | |
224 </param> | |
225 </when> | |
226 | |
227 <when value="NO2"> | |
228 <param name="INITIALDATASPLITEVAL" type="hidden" value= "TRUE" help="set TRUE for splitting in test and train set.default is True"/> | |
229 <param name="INITIALDATASPLITECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
230 <param name="SAAMPLING" type="hidden" value="garBage" help="default is with No sampling"/> | |
231 <param name="INITIALDATASPLITRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
232 <param name="PERCENT" type="hidden" value="0.8" help="default is 0.8"/> | |
233 </when> | |
234 </conditional> | |
235 | |
236 <conditional name="CON3"> | |
237 <param name="PARAMAETERS3" type="select" label="4. REMOVE NEAR ZERO VARIANCE " help="removes NZV from train and test set."> | |
238 <option value="YES3">YES </option> | |
239 <option value="NO3" selected="true">NO </option> | |
240 </param> | |
241 | |
242 <when value="YES3"> | |
243 <param name="NZVEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
244 <param name="NZVECHO" type="select" label="4(i). Write Code in Document" help="set True if wish to print .default is False"> | |
245 <option value="FALSE">false</option> | |
246 <option value="TRUE">true</option> | |
247 </param> | |
248 <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"> | |
249 <option value="hide">hide-result will not written in file</option> | |
250 <option value="tex" selected="true">tex-result will written in file</option> | |
251 </param> | |
252 </when> | |
253 | |
254 <when value="NO3"> | |
255 <param name="NZVEVAL" type="hidden" value="FALSE" help="set TRUE if wish to evaluate. "/> | |
256 <param name="NZVECHO" type="hidden" value="FALSE" help="set TRUE if wish to evaluate. "/> | |
257 <param name="NZVRESULT" type="hidden" value="hide" help="set TRUE if wish to evaluate."/> | |
258 </when> | |
259 </conditional> | |
260 | |
261 <!--param name="NZVECHO" type="select" label="Write Code in Document" help="set True if wish to print .default is False"> | |
262 <option value="FALSE">false</option> | |
263 <option value="TRUE">true</option> | |
264 </param--> | |
265 | |
266 <conditional name="CON4"> | |
267 <param name="PARAMAETERS4" type="select" label="5. REMOVE CORRELATED VALUES" help="removes correlated attributes from train and test set."> | |
268 <option value="YES4">YES </option> | |
269 <option value="NO4" selected="true">NO </option> | |
270 </param> | |
271 | |
272 <when value="YES4"> | |
273 <param name="CORRFILTEREVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
274 <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"> | |
275 <option value="0.75">0.75</option> | |
276 <option value="0.4">0.4</option> | |
277 <option value="0.45">0.45</option> | |
278 <option value="0.5">0.5</option> | |
279 <option value="0.55">0.55</option> | |
280 <option value="0.6">0.6</option> | |
281 <option value="0.65">0.65</option> | |
282 <option value="0.7">0.7</option> | |
283 <option value="0.8">0.8</option> | |
284 <option value="0.85">0.85</option> | |
285 <option value="0.9">0.9</option> | |
286 <option value="0.95">0.95</option> | |
287 </param> | |
288 <param name="CORRFILTERECHO" type="select" label="5(ii). Write Code in Document" help="set True if wish to print .default is False" > | |
289 <option value="FALSE">false</option> | |
290 <option value="TRUE">true</option> | |
291 </param> | |
292 <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"> | |
293 <option value="hide">hide-result will not written in file</option> | |
294 <option value="tex" selected="true">tex-result will written in file</option> | |
295 </param> | |
296 </when> | |
297 | |
298 <when value="NO4"> | |
299 <param name="CORRFILTEREVAL" type="hidden" value="FALSE"/> | |
300 <param name="CORRFILTERRESULT" type="hidden" value="hide" /> | |
301 <param name="CORRFILTERECHO" type="hidden" value="FALSE" /> | |
302 <param name="THRESHHOLDCOR" type="hidden" value="0" /> | |
303 </when> | |
304 </conditional> | |
305 | |
306 <conditional name="CON5"> | |
307 <param name="PARAMAETERS5" type="select" label="6. PERFORM CENTERING AND SCALING OF DATA " help="centering and scaling of train and test set."> | |
308 <option value="YES5">YES </option> | |
309 <option value="NO5" selected="true">NO </option> | |
310 </param> | |
311 | |
312 <when value="YES5"> | |
313 <param name="PREPROCEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
314 <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" > | |
315 <option value="FALSE">false</option> | |
316 <option value="TRUE">true</option> | |
317 </param> | |
318 <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"> | |
319 <option value="hide">hide-result will not written in file</option> | |
320 <option value="tex" selected="true">tex-result will written in file</option> | |
321 </param> | |
322 </when> | |
323 | |
324 <when value="NO5"> | |
325 <param name="PREPROCEVAL" type="hidden" value="FALSE"/> | |
326 <param name="PREPROCECHO" type="hidden" value="FALSE" /> | |
327 <param name="PREPROCRESULT" type="hidden" value="hide" /> | |
328 </when> | |
329 | |
330 </conditional> | |
331 | |
332 <param name="SETUPWORKERSEVAL" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is False"/> | |
333 <param name="SETUPWORKERSECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False" /> | |
334 <param name="NUMWORKERS" type="select" label="7. SET NUMBER OF PROCESSORS " help ="default is 1"> | |
335 <option value="1">1</option> | |
336 <option value="2">2</option> | |
337 <option value="4">4</option> | |
338 <option value="6">6</option> | |
339 <option value="8">8</option> | |
340 <option value="16">16</option> | |
341 </param> | |
342 <param name="SETUPWORKERSRESULT" type="hidden" value="hide" /> | |
343 | |
344 <conditional name="CON6"> | |
345 <param name="PARAMAETERS6" type="select" label="8. CUSTOMIZE RESAMPLING PARAMETERS" help="resampling for cross validation"> | |
346 <option value="YES6">YES </option> | |
347 <option value="NO6" selected="true">NO </option> | |
348 </param> | |
349 | |
350 <when value="YES6"> | |
351 <param name="SETUPRESAMPLINGECHO" type="select" label="8(i). write code for resampling" help="set True if wish to print .default is False"> | |
352 <option value="FALSE">false</option> | |
353 <option value="TRUE">true</option> | |
354 </param> | |
355 <param name="SETUPRESAMPLINGRESULT" type="select" label="8(ii). Write Result in document " help="Set tex if wish to write in output pdf file. default is hide"> | |
356 <option value="hide">hide-result will not written in file</option> | |
357 <option value="tex">tex-result will written in file</option> | |
358 </param> | |
359 | |
360 <param name="RESAMPNAME" type="select" label="8(iii). select Resample method for cross validation" help="default is boot632 "> | |
361 <option value="boot632" selected="true">boot632</option> | |
362 <option value="boot">boot</option> | |
363 <option value="cv">cv</option> | |
364 <option value="repeatedcv">repeatedcv</option> | |
365 <option value="LOOCV">LOOCV - leave one out</option> | |
366 </param> | |
367 | |
368 <param name="RESAMPLENUMBER" type="select" label="8(iv). Set Number of times Resample" help="default is 10 "> | |
369 <option value="10" selected="true">10</option> | |
370 <option value="5">5</option> | |
371 <option value="15">15</option> | |
372 <option value="20">20</option> | |
373 <option value="25">25</option> | |
374 </param> | |
375 | |
376 <param name="NUMREPEAT" type="select" label="8(v). Set Number of times to repeat" help="default is 3 "> | |
377 <option value="3" selected="true">3</option> | |
378 <option value="1">1</option> | |
379 <option value="5">5</option> | |
380 <option value="10">10</option> | |
381 </param> | |
382 | |
383 <param name="RESAMPLENUMBERPERCENT" type="select" label="8(vi). Set Percent splitting of data for resampling" help="default is 0.75"> | |
384 <option value="0.75" selected="true">0.75</option> | |
385 <option value="0.4">0.4</option> | |
386 <option value="0.45">0.45</option> | |
387 <option value="0.5">0.5</option> | |
388 <option value="0.55">0.55</option> | |
389 <option value="0.6">0.6</option> | |
390 <option value="0.65">0.65</option> | |
391 <option value="0.7">0.7</option> | |
392 <option value="0.8">0.8</option> | |
393 </param> | |
394 </when> | |
395 | |
396 <when value="NO6"> | |
397 <param name="SETUPRESAMPLINGECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
398 <param name="SETUPRESAMPLINGRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
399 <param name="RESAMPNAME" type="hidden" value="boot632" label="Set type of resampling for cross validation" help="default is boot632"/> | |
400 <param name="RESAMPLENUMBER" type="hidden" value="10" label="Set Number of Times to Resample" help="default is 10"/> | |
401 <param name="NUMREPEAT" type="hidden" value="3" label="Set Number of Times to run" help="default is 3"/> | |
402 <param name="RESAMPLENUMBERPERCENT" type="hidden" value="0.75" help="default is 0.75"/> | |
403 </when> | |
404 | |
405 </conditional> | |
406 | |
407 <param name="SETUPGRIDRESULT" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
408 <param name="SETUPGRIDECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
409 <param name="SETUPGRIDSIZE" type="select" label="9. SET SIZE OF GRID" help="default is 3 "> | |
410 <option value="3">3</option> | |
411 <option value="4">4</option> | |
412 <option value="5">5</option> | |
413 <option value="6">6</option> | |
414 <option value="7">7</option> | |
415 <option value="8">8</option> | |
416 <option value="9">9</option> | |
417 <option value="10">10</option> | |
418 <option value="11">11</option> | |
419 <option value="12">12</option> | |
420 <option value="13">13</option> | |
421 <option value="14">14</option> | |
422 <option value="15">15</option> | |
423 <option value="16">16</option> | |
424 <option value="17">17</option> | |
425 <option value="18">18</option> | |
426 <option value="19">19</option> | |
427 <option value="20">20</option> | |
428 </param> | |
429 | |
430 <param name="FITMODELEVAL" type="boolean" checked="true" value="true" label="10. BUILD A MODEL AND WRITE RESULT IN DOCUMENT" help="default is TRUE"/> | |
431 <param name="FITMODELRESULT" type="hidden" value="tex" /> | |
432 <param name="FITMODELECHO" type="select" label="10(i). Write Code for model building in Document" help="set True if wish to write code in document .default is False" > | |
433 <option value="FALSE">false</option> | |
434 <option value="TRUE">true</option> | |
435 </param> | |
436 <param name="MODELDESCRECHO" type="select" label="10(ii). Write code for Model Description " help="set True if wish to print .default is False" > | |
437 <option value="FALSE">false</option> | |
438 <option value="TRUE">true</option> | |
439 </param> | |
440 <param name="MODELDESCRRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
441 <param name="RESAMPTABLEECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
442 <param name="RESAMPTABLERESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
443 <param name="PROFILEPLOTECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
444 <param name="PROFILEPLOTFIG" type="hidden" value="TRUE" help="set TRUE if wish to evaluate. default is TRUE"/> | |
445 <param name="STOPWORKERSECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
446 <param name="STOPWORKERSRESULT" type="hidden" value= "hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
447 <param name="TESTPREDRESULT" type="hidden" value= "tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
448 <param name="TESTPREDECHO" type="hidden" value="FALSE" help="set True if wish to print. default is False"/> | |
449 <param name="CLASSPROBSTEXRESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
450 <param name="CLASSPROBSTEXECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False" /> | |
451 <param name="CLASSPROBSTEXRESULT1" type="hidden" value="hide" help="Set tex if wish to write in output pdf file. default is hide"/> | |
452 <param name="CLASSPROBSTEXECHO1" type="hidden" value="FALSE" help="set True if wish to print .default is False" /> | |
453 <param name="SAVEDATAECHO" type="hidden" value="FALSE" help="set True if wish to print .default is False"/> | |
454 <param name="SAVEDATARESULT" type="hidden" value="tex" help="Set tex if wish to write in output pdf file. default is tex"/> | |
455 | |
456 </when> | |
457 </conditional> | |
458 </inputs> | |
459 | |
460 <outputs> | |
461 <data format="rdata" label="$METHOD Model" name="model" /> | |
462 <data format="pdf" label="Document for $METHOD" name="document" /> | |
463 <data format="rdata" label="Datasets used for model building " name="datasets" /> | |
464 </outputs> | |
465 | |
466 <help> | |
467 | |
468 .. class:: infomark | |
469 | |
470 | |
471 | |
472 **Instruction** | |
473 | |
474 ---------- | |
475 | |
476 Users may change any parameter as their requirement. For normal practice | |
477 | |
478 user required to provide only input csv file and method for model building. | |
479 | |
480 More details are given in user manual.Please click here | |
481 | |
482 | |
483 </help> | |
484 <tests> | |
485 <test> | |
486 <param name="METHOD" value="pls" /> | |
487 <param name="RDATA" value="desc.rdata"/> | |
488 <param name="PARAMETERS" value="basic" /> | |
489 <output name="model" file="MODEL.rdata" compare="sim_size" delta="20000" /> | |
490 <output name="datasets" file="datasets.rdata" compare="sim_size" delta="20000" /> | |
491 <output name="document" file="MODEL.pdf" compare="sim_size" delta="2000000" > | |
492 <!--extra_files type="file" name="cmd.log.1" value="test2/cmd.log.1" compare="sim_size" delta="20000"/> | |
493 <extra_files type="file" name="cmd.log.2" value="test2/cmd.log.2" compare="sim_size" delta="20000"/> | |
494 <extra_files type="file" name="dataset_2.dat" value="test2/dataset_2.dat" compare="sim_size" delta="80000"/> | |
495 <extra_files type="file" name="dtaset_3.dat" value="test2/dtaset_3.dat" compare="sim_size" delta="80000"/--> | |
496 <extra_files type="file" name="obsPred.pdf" value="test2/obsPred.pdf" compare="sim_size" delta="80000" /> | |
497 <extra_files type="file" name="result-doc.aux" value="test2/result-doc.aux" compare="sim_size" delta="80000"/> | |
498 <extra_files type="file" name="result-doc-densityplot.pdf" value="test2/result-doc-densityplot.pdf" compare="sim_size" delta="80000"/> | |
499 <extra_files type="file" name="result-doc.log" value="test2/result-doc.log" compare="sim_size" delta="80000"/> | |
500 <extra_files type="file" name="result-doc.out" value="test2/result-doc.out" compare="sim_size" delta="80000"/> | |
501 <extra_files type="file" name="result-doc-pcaPlot.pdf" value="test2/result-doc-pcaPlot.pdf" compare="sim_size" delta="80000"/> | |
502 <extra_files type="file" name="result-doc.pdf" value="test2/result-doc.pdf" compare="sim_size" delta="80000"/> | |
503 <extra_files type="file" name="result-doc-profilePlot.pdf" value="test2/result-doc-profilePlot.pdf" compare="sim_size" delta="80000"/> | |
504 <extra_files type="file" name="result-doc.Rnw" value="test2/result-doc.Rnw" compare="sim_size" delta="80000"/> | |
505 <extra_files type="file" name="result-doc.tex" value="test2/result-doc.tex" compare="sim_size" delta="80000"/> | |
506 <!--extra_files type="file" name="pls-Fit.RData" value="test2/pls-Fit.RData" compare="sim_size" delta="9000000"/--> | |
507 </output> | |
508 </test> | |
509 </tests> | |
510 | |
511 </tool> |