Mercurial > repos > deepakjadmin > r_caret_test1
diff toolrfe.xml @ 0:a4a2ad5a214e draft default tip
Uploaded
author | deepakjadmin |
---|---|
date | Thu, 05 Nov 2015 02:37:56 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolrfe.xml Thu Nov 05 02:37:56 2015 -0500 @@ -0,0 +1,49 @@ +<tool id="aafeature@1290" name="Feature Selection" > +<description> + This tool used for extract best feature subsets for model building +</description> +<requirements> + <requirement type="set_environment">R_ROOT_DIR</requirement> + <requirement type="package" version="3.2.0">R</requirement> + <requirement type="package" version="1.0.0">caret-tools</requirement> +</requirements> +<!--command interpreter="bash">step3run.sh $file1 $model $output1 2>/dev/null </command--> + +<command interpreter="Rscript">featureselect/feature_selection.R $input $profile $finalset $function1 $resampling $repeat $number 2 &>1 >/dev/null </command> + +<inputs> +<param name="input" format="RData" type="data" label="Select input data file" /> +<param name="function1" type="select" display="radio" label="Select appropriate function for algorithm" > + <option value="rfFuncs" selected="true">random forest based function </option> + <option value="lmFuncs">linear model based function</option> + <option value="treebagFuncs">treebag(CART) based function</option> + <option value="nbFuncs">neive bayes based function</option> +</param> + +<param name="resampling" type="select" label="Select appropriate resampling method" > + <option value="repeatedcv" selected="true">repeatedcv </option> + <option value="boot">boot</option> + <option value="cv">cv</option> + <option value="boot632">boot632</option> +</param> + <param name="repeat" type="select" label="Set Number of times to repeat" help="default is 3 "> + <option value="3" selected="true">3</option> + <option value="1">1</option> + <option value="5">5</option> + <option value="10">10</option> + </param> +<param name="number" type="select" label="Set Number of times Resample" help="default is 10"> + <option value="10" selected="true">10</option> + <option value="5">5</option> + <option value="15">15</option> + <option value="20">20</option> + <option value="25">25</option> + </param> + +</inputs> +<outputs> +<data format="RData" name="profile" label="$function1-profile" /> +<data format="RData" name="finalset" label="Inputdata.RData "/> +</outputs> + +</tool>