Mercurial > repos > deepakjadmin > caret_tool3
diff tool3V2.xml @ 0:9c0e0cc778f8 draft
Uploaded
author | deepakjadmin |
---|---|
date | Fri, 22 Jan 2016 12:09:17 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool3V2.xml Fri Jan 22 12:09:17 2016 -0500 @@ -0,0 +1,61 @@ +<tool id="dffedssfopp12sdf" name="Predict Activity"> +<description> + used to predict activity based on given model +</description> +<!--command interpreter="bash">step3run.sh $file1 $model $output1 2>/dev/null </command--> +<requirements> + <requirement type="set_environment">CARET_TOOL3_PATH</requirement> + <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="Rscript">Preold_advance.R $file1 $model $output1 2>/dev/null </command> + +<inputs> +<param name="model" type="data" label="Select Model" help="Select built model obtained from caret tool 'Create script from the template file'." /> +<param name="file1" format="csv" type="data" label="Select file have descriptor data for activity prediction" help="csv format" /> +</inputs> +<outputs> +<data format="txt" name="output1" label="Prediction on $file1.name" /> +</outputs> +<help> + +.. class:: infomark + +Make sure this file **must** contain **all** or **more features** than **input** "csv file" used for **model building** + +---------- + +**Input "csv file" must be as follows** + +---------- + + +Example file:- + + + +# example.csv + + feature1,feature2,feature3,..,featureN + +ro1 234,2.3,34,7,..,0.9 + +ro2 432,3.4,23.1,12,..,0.12 + +ro3 692,23,12.2,19,..,0.14 + + +----------- + +**MODEL** + +Choose model file received from model building step. + +Model file has "data" file format can be seen by + +clicking on output files shown in history . + + +</help> +</tool>