Mercurial > repos > deepakjadmin > caret_reg_tool3
comparison tool3.xml @ 0:749240e755e1 draft default tip
Uploaded
| author | deepakjadmin |
|---|---|
| date | Fri, 22 Jan 2016 14:18:58 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:749240e755e1 |
|---|---|
| 1 <tool id="tool3AAA" name="Predict Activity using regression model"> | |
| 2 <description> | |
| 3 used to predict activity based on given regression model | |
| 4 </description> | |
| 5 <!--command interpreter="bash">step3run.sh $file1 $model $output1 2>/dev/null </command--> | |
| 6 <requirements> | |
| 7 <requirement type="set_environment">CARET_TOOL3_PATH</requirement> | |
| 8 <requirement type="set_environment">R_ROOT_DIR</requirement> | |
| 9 <requirement type="package" version="3.2.0">R</requirement> | |
| 10 <requirement type="package" version="1.0.0">caret-tools</requirement> | |
| 11 </requirements> | |
| 12 <command interpreter="Rscript">predict.R $file1 $model $output1 2>/dev/null </command> | |
| 13 | |
| 14 <inputs> | |
| 15 <param name="model" format="data" type="data" label="Select Model" help="Select built model obtained from caret tool 'Create script from the template file for regression'." /> | |
| 16 <param name="file1" format="csv" type="data" label="Select file have descriptor data for activity prediction" help="csv format" /> | |
| 17 </inputs> | |
| 18 <outputs> | |
| 19 <data format="txt" name="output1" label="Prediction on $file1.name" /> | |
| 20 </outputs> | |
| 21 <help> | |
| 22 | |
| 23 .. class:: infomark | |
| 24 | |
| 25 Make sure this file **must** contain **all** or **more features** than **input** "csv file" used for **model building** | |
| 26 | |
| 27 ---------- | |
| 28 | |
| 29 **Input "csv file" must be as follows** | |
| 30 | |
| 31 ---------- | |
| 32 | |
| 33 | |
| 34 Example file:- | |
| 35 | |
| 36 | |
| 37 | |
| 38 # example.csv | |
| 39 | |
| 40 feature1,feature2,feature3,..,featureN | |
| 41 | |
| 42 ro1 234,2.3,34,7,..,0.9 | |
| 43 | |
| 44 ro2 432,3.4,23.1,12,..,0.12 | |
| 45 | |
| 46 ro3 692,23,12.2,19,..,0.14 | |
| 47 | |
| 48 | |
| 49 ----------- | |
| 50 | |
| 51 **MODEL** | |
| 52 | |
| 53 Choose model file received from model building step. | |
| 54 | |
| 55 Model file has "data" file format can be seen by | |
| 56 | |
| 57 clicking on output files shown in history . | |
| 58 | |
| 59 | |
| 60 </help> | |
| 61 </tool> |
