0
|
1 <tool id="aafeature@1290" name="Feature Selection" >
|
|
2 <description>
|
|
3 This tool used for extract best feature subsets for model building
|
|
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="bash">step3run.sh $file1 $model $output1 2>/dev/null </command-->
|
|
11
|
|
12 <command interpreter="Rscript">featureselect/feature_selection.R $input $profile $finalset $function1 $resampling $repeat $number 2 &>1 >/dev/null </command>
|
|
13
|
|
14 <inputs>
|
|
15 <param name="input" format="RData" type="data" label="Select input data file" />
|
|
16 <param name="function1" type="select" display="radio" label="Select appropriate function for algorithm" >
|
|
17 <option value="rfFuncs" selected="true">random forest based function </option>
|
|
18 <option value="lmFuncs">linear model based function</option>
|
|
19 <option value="treebagFuncs">treebag(CART) based function</option>
|
|
20 <option value="nbFuncs">neive bayes based function</option>
|
|
21 </param>
|
|
22
|
|
23 <param name="resampling" type="select" label="Select appropriate resampling method" >
|
|
24 <option value="repeatedcv" selected="true">repeatedcv </option>
|
|
25 <option value="boot">boot</option>
|
|
26 <option value="cv">cv</option>
|
|
27 <option value="boot632">boot632</option>
|
|
28 </param>
|
|
29 <param name="repeat" type="select" label="Set Number of times to repeat" help="default is 3 ">
|
|
30 <option value="3" selected="true">3</option>
|
|
31 <option value="1">1</option>
|
|
32 <option value="5">5</option>
|
|
33 <option value="10">10</option>
|
|
34 </param>
|
|
35 <param name="number" type="select" label="Set Number of times Resample" help="default is 10">
|
|
36 <option value="10" selected="true">10</option>
|
|
37 <option value="5">5</option>
|
|
38 <option value="15">15</option>
|
|
39 <option value="20">20</option>
|
|
40 <option value="25">25</option>
|
|
41 </param>
|
|
42
|
|
43 </inputs>
|
|
44 <outputs>
|
|
45 <data format="RData" name="profile" label="$function1-profile" />
|
|
46 <data format="RData" name="finalset" label="Inputdata.RData "/>
|
|
47 </outputs>
|
|
48
|
|
49 </tool>
|