annotate pre_process.xml @ 0:12b2bef577d0 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
author bgruening
date Fri, 03 Jun 2016 13:56:11 -0400
parents
children 43075be4044b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
1 <tool id="sklearn_data_preprocess" name="Preprocess" version="@VERSION@">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
2 <description>raw feature vectors into standardized datasets</description>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
3 <macros>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
4 <import>main_macros.xml</import>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
5 </macros>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
6 <expand macro="python_requirements"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
7 <expand macro="macro_stdio"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
8 <version_command>echo "@VERSION@"</version_command>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
9 <command>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
10 <![CDATA[
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
11 python "$pre_processor_script" '$inputs'
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
12 ]]>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
13 </command>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
14 <configfiles>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
15 <inputs name="inputs" />
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
16 <configfile name="pre_processor_script">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
17 <![CDATA[
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
18 import sys
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
19 import json
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
20 import pandas
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
21 import pickle
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
22 import numpy as np
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
23 from scipy.io import mmread
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
24 from scipy.io import mmwrite
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
25 from sklearn import preprocessing
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
26
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
27 input_json_path = sys.argv[1]
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
28 params = json.load(open(input_json_path, "r"))
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
29
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
30 #if $input_type.selected_input_type == "sparse":
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
31 X = mmread(open("$infile", 'r'))
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
32 #else:
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
33 X = pandas.read_csv("$infile", sep='\t', header=None, index_col=None, parse_dates=True, encoding=None, tupleize_cols=False )
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
34 #end if
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
35
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
36 #if $input_type.pre_processors.infile_transform.ext == 'txt':
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
37 y = mmread(open("$infile", 'r'))
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
38 #else:
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
39 y = pandas.read_csv("$infile", sep='\t', header=None, index_col=None, parse_dates=True, encoding=None, tupleize_cols=False )
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
40 #end if
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
41
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
42 preprocessor = params["input_type"]["pre_processors"]["selected_pre_processor"]
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
43 options = params["input_type"]["pre_processors"]["options"]
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
44
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
45 my_class = getattr(preprocessing, preprocessor)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
46 estimator = my_class(**options)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
47 estimator.fit(X)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
48 result = estimator.transform(y)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
49
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
50 #if $input_type.pre_processors.infile_transform.ext == 'txt':
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
51 mmwrite(open("$outfile_transform" , 'w+'), result)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
52 #else:
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
53 res = pandas.DataFrame(result)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
54 res.to_csv(path_or_buf = "$outfile_transform", sep="\t", index=False, header=None)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
55 #end if
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
56
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
57 #if $save:
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
58 pickle.dump(estimator,open("$outfile_fit", 'w+'), pickle.HIGHEST_PROTOCOL)
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
59 #end if
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
60 ]]>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
61 </configfile>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
62 </configfiles>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
63 <inputs>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
64 <conditional name="input_type">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
65 <param name="selected_input_type" type="select" label="Select the type of your input data:">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
66 <option value="tabular" selected="true">Tabular</option>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
67 <option value="sparse">Sparse</option>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
68 </param>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
69 <when value="tabular">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
70 <param name="infile" type="data" format="tabular" label="Select a tabular file you want to train your preprocessor on its data:"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
71 <conditional name="pre_processors">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
72 <expand macro="sparse_preprocessors">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
73 <option value="KernelCenterer">Kernel Centerer (Centers a kernel matrix)</option>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
74 <option value="MinMaxScaler">Minmax Scaler (Scales features to a range)</option>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
75 <option value="PolynomialFeatures">Polynomial Features (Generates polynomial and interaction features)</option>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
76 <option value="RobustScaler">Robust Scaler (Scales features using outlier-invariance statistics)</option>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
77 </expand>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
78 <expand macro="sparse_preprocessor_options">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
79 <when value="KernelCenterer">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
80 <expand macro="multitype_input"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
81 <section name="options" title="Advanced Options" expanded="False">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
82 </section>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
83 </when>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
84 <when value="MinMaxScaler">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
85 <expand macro="multitype_input"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
86 <section name="options" title="Advanced Options" expanded="False">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
87 <!--feature_range-->
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
88 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Use a copy of data for precomputing normalization" help=" "/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
89 </section>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
90 </when>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
91 <when value="PolynomialFeatures">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
92 <expand macro="multitype_input"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
93 <section name="options" title="Advanced Options" expanded="False">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
94 <param argument="degree" type="integer" optional="true" value="2" label="The degree of the polynomial features " help=""/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
95 <param argument="interaction_only" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="false" label="Produce interaction features only" help="(Features that are products of at most degree distinct input features) "/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
96 <param argument="include_bias" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Include a bias column" help="Feature in which all polynomial powers are zero "/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
97 </section>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
98 </when>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
99 <when value="RobustScaler">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
100 <expand macro="multitype_input"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
101 <section name="options" title="Advanced Options" expanded="False">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
102 <!--=True, =True, copy=True-->
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
103 <param argument="with_centering" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Center the data before scaling" help=" "/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
104 <param argument="with_scaling" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Scale the data to interquartile range" help=" "/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
105 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Use a copy of data for inplace scaling" help=" "/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
106 </section>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
107 </when>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
108 </expand>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
109 </conditional>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
110 </when>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
111 <when value="sparse">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
112 <param name="infile" type="data" format="txt" label="Select a sparse representation you want to train your preprocessor on its data:"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
113 <conditional name="pre_processors">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
114 <expand macro="sparse_preprocessors"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
115 <expand macro="sparse_preprocessor_options"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
116 </conditional>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
117 </when>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
118 </conditional>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
119 <param name="save" type="boolean" truevalue="booltrue" falsevalue="boolflase" checked="false" label="Save the preprocessor" help="Saves the preprocessor after fitting to the data. The preprocessor can then be passed to other tools and used in later operations."/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
120 </inputs>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
121 <outputs>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
122 <data format="tabular" name="outfile_transform" from_work_dir="./output"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
123 <data format="zip" name="outfile_fit">
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
124 <filter>save</filter>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
125 </data>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
126 </outputs>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
127 <tests>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
128 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
129 <param name="infile" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
130 <param name="infile_transform" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
131 <param name="selected_input_type" value="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
132 <param name="selected_pre_processor" value="KernelCenterer"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
133 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
134 <output name="outfile_transform" file="prp_result01" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
135 <output name="outfile_fit" file="prp_model01" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
136 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
137 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
138 <param name="infile" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
139 <param name="infile_transform" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
140 <param name="selected_input_type" value="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
141 <param name="selected_pre_processor" value="MinMaxScaler"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
142 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
143 <output name="outfile_transform" file="prp_result02" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
144 <output name="outfile_fit" file="prp_model02" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
145 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
146 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
147 <param name="infile" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
148 <param name="infile_transform" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
149 <param name="selected_input_type" value="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
150 <param name="selected_pre_processor" value="PolynomialFeatures"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
151 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
152 <output name="outfile_transform" file="prp_result03" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
153 <output name="outfile_fit" file="prp_model03" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
154 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
155 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
156 <param name="infile" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
157 <param name="infile_transform" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
158 <param name="selected_input_type" value="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
159 <param name="selected_pre_processor" value="RobustScaler"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
160 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
161 <output name="outfile_transform" file="prp_result04" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
162 <output name="outfile_fit" file="prp_model04" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
163 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
164 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
165 <param name="infile" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
166 <param name="infile_transform" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
167 <param name="selected_input_type" value="sparse"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
168 <param name="selected_pre_processor" value="Binarizer"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
169 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
170 <output name="outfile_transform" file="prp_result05" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
171 <output name="outfile_fit" file="prp_model05" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
172 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
173 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
174 <param name="infile" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
175 <param name="infile_transform" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
176 <param name="selected_input_type" value="sparse"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
177 <param name="selected_pre_processor" value="Imputer"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
178 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
179 <param name="axis" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
180 <output name="outfile_transform" file="prp_result06" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
181 <output name="outfile_fit" file="prp_model06" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
182 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
183 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
184 <param name="infile" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
185 <param name="infile_transform" value="train.tabular" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
186 <param name="selected_input_type" value="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
187 <param name="selected_pre_processor" value="StandardScaler"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
188 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
189 <output name="outfile_transform" file="prp_result07" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
190 <output name="outfile_fit" file="prp_model07" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
191 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
192 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
193 <param name="infile" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
194 <param name="infile_transform" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
195 <param name="selected_input_type" value="sparse"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
196 <param name="selected_pre_processor" value="MaxAbsScaler"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
197 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
198 <output name="outfile_transform" file="prp_result08" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
199 <output name="outfile_fit" file="prp_model08" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
200 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
201 <test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
202 <param name="infile" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
203 <param name="infile_transform" value="csr_sparse2.mtx" ftype="txt"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
204 <param name="selected_input_type" value="sparse"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
205 <param name="selected_pre_processor" value="Normalizer"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
206 <param name="save" value="true"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
207 <output name="outfile_transform" file="prp_result09" ftype="tabular"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
208 <output name="outfile_fit" file="prp_model09" ftype="zip" compare="sim_size" delta="500"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
209 </test>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
210 </tests>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
211 <help>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
212 <![CDATA[
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
213 **What it does**
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
214
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
215 This tool provides several transformer classes to change raw feature vectors into a representation that is more suitable for the downstream estimators. The library is provided by sklearn.preprocessing package.
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
216
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
217 For information about preprocessing classes and parameter settings please refer to `Scikit-learn preprocessing`_.
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
218
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
219 .. _`Scikit-learn preprocessing`: http://scikit-learn.org/stable/modules/preprocessing.html
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
220 ]]>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
221 </help>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
222 <expand macro="sklearn_citation"/>
12b2bef577d0 planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit a349cb4673231f12344e418513a08691925565d9
bgruening
parents:
diff changeset
223 </tool>