comparison main_macros.xml @ 3:0a1812986bc3 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
author bgruening
date Wed, 09 Aug 2023 11:10:37 +0000 (20 months ago)
parents 38c4f8a98038
children
comparison
equal deleted inserted replaced
2:38c4f8a98038 3:0a1812986bc3
1 <macros> 1 <macros>
2 <token name="@VERSION@">1.0.8.1</token> 2 <token name="@VERSION@">1.0.10.0</token>
3 3 <token name="@PROFILE@">21.05</token>
4 <xml name="python_requirements"> 4
5 <requirements> 5 <xml name="python_requirements">
6 <requirement type="package" version="3.6">python</requirement> 6 <requirements>
7 <requirement type="package" version="0.8.1">Galaxy-ML</requirement> 7 <requirement type="package" version="3.9">python</requirement>
8 <yield/> 8 <requirement type="package" version="0.10.0">galaxy-ml</requirement>
9 </requirements> 9 <yield />
10 </xml> 10 </requirements>
11 11 </xml>
12 <xml name="macro_stdio"> 12
13 <xml name="macro_stdio">
13 <stdio> 14 <stdio>
14 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error"/> 15 <exit_code range=":-1" level="fatal" description="Error occurred. Please check Tool Standard Error" />
16 <exit_code range="137" level="fatal_oom" description="Out of Memory" />
17 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error" />
15 </stdio> 18 </stdio>
16 </xml> 19 </xml>
17 20
18 21 <!--Generic interface-->
19 <!--Generic interface-->
20 22
21 <xml name="sl_Conditional" token_train="tabular" token_data="tabular" token_model="txt"> 23 <xml name="sl_Conditional" token_train="tabular" token_data="tabular" token_model="txt">
22 <conditional name="selected_tasks"> 24 <conditional name="selected_tasks">
23 <param name="selected_task" type="select" label="Select a Classification Task"> 25 <param name="selected_task" type="select" label="Select a Classification Task">
24 <option value="train" selected="true">Train a model</option> 26 <option value="train" selected="true">Train a model</option>
25 <option value="load">Load a model and predict</option> 27 <option value="load">Load a model and predict</option>
26 </param> 28 </param>
27 <when value="load"> 29 <when value="load">
28 <param name="infile_model" type="data" format="@MODEL@" label="Models" help="Select a model file."/> 30 <param name="infile_model" type="data" format="@MODEL@" label="Models" help="Select a model file." />
29 <param name="infile_data" type="data" format="@DATA@" label="Data (tabular)" help="Select the dataset you want to classify."/> 31 <param name="infile_data" type="data" format="@DATA@" label="Data (tabular)" help="Select the dataset you want to classify." />
30 <param name="header" type="boolean" optional="True" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" /> 32 <param name="header" type="boolean" optional="True" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" />
31 <conditional name="prediction_options"> 33 <conditional name="prediction_options">
32 <param name="prediction_option" type="select" label="Select the type of prediction"> 34 <param name="prediction_option" type="select" label="Select the type of prediction">
33 <option value="predict">Predict class labels</option> 35 <option value="predict">Predict class labels</option>
34 <option value="advanced">Include advanced options</option> 36 <option value="advanced">Include advanced options</option>
35 </param> 37 </param>
36 <when value="predict"> 38 <when value="predict">
37 </when> 39 </when>
38 <when value="advanced"> 40 <when value="advanced">
39 </when> 41 </when>
40 </conditional> 42 </conditional>
41 </when> 43 </when>
42 <when value="train"> 44 <when value="train">
43 <conditional name="selected_algorithms"> 45 <conditional name="selected_algorithms">
44 <yield /> 46 <yield />
45 </conditional> 47 </conditional>
46 </when> 48 </when>
47 </conditional> 49 </conditional>
48 </xml> 50 </xml>
49 51
50 <xml name="advanced_section"> 52 <xml name="advanced_section">
51 <section name="options" title="Advanced Options" expanded="False"> 53 <section name="options" title="Advanced Options" expanded="False">
55 57
56 58
57 <!--Generalized Linear Models--> 59 <!--Generalized Linear Models-->
58 <xml name="loss" token_help=" " token_select="false"> 60 <xml name="loss" token_help=" " token_select="false">
59 <param argument="loss" type="select" label="Loss function" help="@HELP@"> 61 <param argument="loss" type="select" label="Loss function" help="@HELP@">
60 <option value="squared_loss" selected="@SELECT@">squared loss</option> 62 <option value="squared_loss" selected="@SELECT@">squared loss</option>
61 <option value="huber">huber</option> 63 <option value="huber">huber</option>
62 <option value="epsilon_insensitive">epsilon insensitive</option> 64 <option value="epsilon_insensitive">epsilon insensitive</option>
63 <option value="squared_epsilon_insensitive">squared epsilon insensitive</option> 65 <option value="squared_epsilon_insensitive">squared epsilon insensitive</option>
64 <yield/> 66 <yield />
65 </param> 67 </param>
66 </xml> 68 </xml>
67 69
68 <xml name="penalty" token_help=" "> 70 <xml name="penalty" token_help=" ">
69 <param argument="penalty" type="select" label="Penalty (regularization term)" help="@HELP@"> 71 <param argument="penalty" type="select" label="Penalty (regularization term)" help="@HELP@">
70 <option value="l2" selected="true">l2</option> 72 <option value="l2" selected="true">l2</option>
71 <option value="l1">l1</option> 73 <option value="l1">l1</option>
72 <option value="elasticnet">elastic net</option> 74 <option value="elasticnet">elastic net</option>
73 <option value="none">none</option> 75 <option value="none">none</option>
74 <yield/> 76 <yield />
75 </param> 77 </param>
76 </xml> 78 </xml>
77 79
78 <xml name="l1_ratio" token_default_value="0.15" token_help=" "> 80 <xml name="l1_ratio" token_default_value="0.15" token_help=" ">
79 <param argument="l1_ratio" type="float" value="@DEFAULT_VALUE@" label="Elastic Net mixing parameter" help="@HELP@"/> 81 <param argument="l1_ratio" type="float" value="@DEFAULT_VALUE@" label="Elastic Net mixing parameter" help="@HELP@" />
80 </xml> 82 </xml>
81 83
82 <xml name="epsilon" token_default_value="0.1" token_help="Used if loss is ‘huber’, ‘epsilon_insensitive’, or ‘squared_epsilon_insensitive’. "> 84 <xml name="epsilon" token_default_value="0.1" token_help="Used if loss is ‘huber’, ‘epsilon_insensitive’, or ‘squared_epsilon_insensitive’. ">
83 <param argument="epsilon" type="float" value="@DEFAULT_VALUE@" label="Epsilon (epsilon-sensitive loss functions only)" help="@HELP@"/> 85 <param argument="epsilon" type="float" value="@DEFAULT_VALUE@" label="Epsilon (epsilon-sensitive loss functions only)" help="@HELP@" />
84 </xml> 86 </xml>
85 87
86 <xml name="learning_rate_s" token_help=" " token_selected1="false" token_selected2="false"> 88 <xml name="learning_rate_s" token_help=" " token_selected1="false" token_selected2="false">
87 <param argument="learning_rate" type="select" optional="true" label="Learning rate schedule" help="@HELP@"> 89 <param argument="learning_rate" type="select" optional="true" label="Learning rate schedule" help="@HELP@">
88 <option value="optimal" selected="@SELECTED1@">optimal</option> 90 <option value="optimal" selected="@SELECTED1@">optimal</option>
89 <option value="constant">constant</option> 91 <option value="constant">constant</option>
90 <option value="invscaling" selected="@SELECTED2@">inverse scaling</option> 92 <option value="invscaling" selected="@SELECTED2@">inverse scaling</option>
91 <yield/> 93 <yield />
92 </param> 94 </param>
93 </xml> 95 </xml>
94 96
95 <xml name="eta0" token_default_value="0.0" token_help="Used with ‘constant’ or ‘invscaling’ schedules. "> 97 <xml name="eta0" token_default_value="0.0" token_help="Used with ‘constant’ or ‘invscaling’ schedules. ">
96 <param argument="eta0" type="float" value="@DEFAULT_VALUE@" label="Initial learning rate" help="@HELP@"/> 98 <param argument="eta0" type="float" value="@DEFAULT_VALUE@" label="Initial learning rate" help="@HELP@" />
97 </xml> 99 </xml>
98 100
99 <xml name="power_t" token_default_value="0.5" token_help=" "> 101 <xml name="power_t" token_default_value="0.5" token_help=" ">
100 <param argument="power_t" type="float" value="@DEFAULT_VALUE@" label="Exponent for inverse scaling learning rate" help="@HELP@"/> 102 <param argument="power_t" type="float" value="@DEFAULT_VALUE@" label="Exponent for inverse scaling learning rate" help="@HELP@" />
101 </xml> 103 </xml>
102 104
103 <xml name="normalize" token_checked="false" token_help=" "> 105 <xml name="normalize" token_checked="false" token_help=" ">
104 <param argument="normalize" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Normalize samples before training" help=" "/> 106 <param argument="normalize" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Normalize samples before training" help=" " />
105 </xml> 107 </xml>
106 108
107 <xml name="copy_X" token_checked="true" token_help=" "> 109 <xml name="copy_X" token_checked="true" token_help=" ">
108 <param argument="copy_X" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Use a copy of samples" help="If false, samples would be overwritten. "/> 110 <param argument="copy_X" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Use a copy of samples" help="If false, samples would be overwritten. " />
109 </xml> 111 </xml>
110 112
111 <xml name="ridge_params"> 113 <xml name="ridge_params">
112 <expand macro="normalize"/> 114 <expand macro="normalize" />
113 <expand macro="alpha" default_value="1.0"/> 115 <expand macro="alpha" default_value="1.0" />
114 <expand macro="fit_intercept"/> 116 <expand macro="fit_intercept" />
115 <expand macro="max_iter" default_value=""/> 117 <expand macro="max_iter" default_value="" />
116 <expand macro="tol" default_value="0.001" help_text="Precision of the solution. "/> 118 <expand macro="tol" default_value="0.001" help_text="Precision of the solution. " />
117 <!--class_weight--> 119 <!--class_weight-->
118 <expand macro="copy_X"/> 120 <expand macro="copy_X" />
119 <param argument="solver" type="select" value="" label="Solver to use in the computational routines" help=" "> 121 <param argument="solver" type="select" value="" label="Solver to use in the computational routines" help=" ">
120 <option value="auto" selected="true">auto</option> 122 <option value="auto" selected="true">auto</option>
121 <option value="svd">svd</option> 123 <option value="svd">svd</option>
122 <option value="cholesky">cholesky</option> 124 <option value="cholesky">cholesky</option>
123 <option value="lsqr">lsqr</option> 125 <option value="lsqr">lsqr</option>
124 <option value="sparse_cg">sparse_cg</option> 126 <option value="sparse_cg">sparse_cg</option>
125 <option value="sag">sag</option> 127 <option value="sag">sag</option>
126 </param> 128 </param>
127 <expand macro="random_state"/> 129 <expand macro="random_state" />
128 </xml> 130 </xml>
129 131
130 <!--Ensemble methods--> 132 <!--Ensemble methods-->
131 <xml name="n_estimators" token_default_value="10" token_help=" "> 133 <xml name="n_estimators" token_default_value="10" token_help=" ">
132 <param argument="n_estimators" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of trees in the forest" help="@HELP@"/> 134 <param argument="n_estimators" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of trees in the forest" help="@HELP@" />
133 </xml> 135 </xml>
134 136
135 <xml name="max_depth" token_default_value="" token_help=" "> 137 <xml name="max_depth" token_default_value="" token_help=" ">
136 <param argument="max_depth" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Maximum depth of the tree" help="@HELP@"/> 138 <param argument="max_depth" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Maximum depth of the tree" help="@HELP@" />
137 </xml> 139 </xml>
138 140
139 <xml name="min_samples_split" token_type="integer" token_default_value="2" token_help=" "> 141 <xml name="min_samples_split" token_type="integer" token_default_value="2" token_help=" ">
140 <param argument="min_samples_split" type="@TYPE@" optional="true" value="@DEFAULT_VALUE@" label="Minimum number of samples required to split an internal node" help="@HELP@"/> 142 <param argument="min_samples_split" type="@TYPE@" optional="true" value="@DEFAULT_VALUE@" label="Minimum number of samples required to split an internal node" help="@HELP@" />
141 </xml> 143 </xml>
142 144
143 <xml name="min_samples_leaf" token_type="integer" token_default_value="1" token_label="Minimum number of samples in newly created leaves" token_help=" "> 145 <xml name="min_samples_leaf" token_type="integer" token_default_value="1" token_label="Minimum number of samples in newly created leaves" token_help=" ">
144 <param argument="min_samples_leaf" type="@TYPE@" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP@"/> 146 <param argument="min_samples_leaf" type="@TYPE@" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP@" />
145 </xml> 147 </xml>
146 148
147 <xml name="min_weight_fraction_leaf" token_default_value="0.0" token_help=" "> 149 <xml name="min_weight_fraction_leaf" token_default_value="0.0" token_help=" ">
148 <param argument="min_weight_fraction_leaf" type="float" optional="true" value="@DEFAULT_VALUE@" label="Minimum weighted fraction of the input samples required to be at a leaf node" help="@HELP@"/> 150 <param argument="min_weight_fraction_leaf" type="float" optional="true" value="@DEFAULT_VALUE@" label="Minimum weighted fraction of the input samples required to be at a leaf node" help="@HELP@" />
149 </xml> 151 </xml>
150 152
151 <xml name="max_leaf_nodes" token_default_value="" token_help=" "> 153 <xml name="max_leaf_nodes" token_default_value="" token_help=" ">
152 <param argument="max_leaf_nodes" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Maximum number of leaf nodes in best-first method" help="@HELP@"/> 154 <param argument="max_leaf_nodes" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Maximum number of leaf nodes in best-first method" help="@HELP@" />
153 </xml> 155 </xml>
154 156
155 <xml name="min_impurity_decrease" token_default_value="0" token_help=" "> 157 <xml name="min_impurity_decrease" token_default_value="0" token_help=" ">
156 <param argument="min_impurity_decrease" type="float" value="@DEFAULT_VALUE@" optional="true" label="The threshold value of impurity for stopping node splitting" help="@HELP@"/> 158 <param argument="min_impurity_decrease" type="float" value="@DEFAULT_VALUE@" optional="true" label="The threshold value of impurity for stopping node splitting" help="@HELP@" />
157 </xml> 159 </xml>
158 160
159 <xml name="bootstrap" token_checked="true" token_help=" "> 161 <xml name="bootstrap" token_checked="true" token_help=" ">
160 <param argument="bootstrap" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="@CHECKED@" label="Use bootstrap samples for building trees." help="@HELP@"/> 162 <param argument="bootstrap" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="@CHECKED@" label="Use bootstrap samples for building trees." help="@HELP@" />
161 </xml> 163 </xml>
162 164
163 <xml name="criterion" token_help=" "> 165 <xml name="criterion" token_help=" ">
164 <param argument="criterion" type="select" label="Function to measure the quality of a split" help=" "> 166 <param argument="criterion" type="select" label="Function to measure the quality of a split" help=" ">
165 <option value="gini" selected="true">Gini impurity</option> 167 <option value="gini" selected="true">Gini impurity</option>
166 <option value="entropy">Information gain</option> 168 <option value="entropy">Information gain</option>
167 <yield/> 169 <yield />
168 </param> 170 </param>
169 </xml> 171 </xml>
170 172
171 <xml name="criterion2" token_help=""> 173 <xml name="criterion2" token_help="">
172 <param argument="criterion" type="select" label="Function to measure the quality of a split" > 174 <param argument="criterion" type="select" label="Function to measure the quality of a split" >
173 <option value="mse">mse - mean squared error</option> 175 <option value="mse">mse - mean squared error</option>
174 <option value="mae">mae - mean absolute error</option> 176 <option value="mae">mae - mean absolute error</option>
175 <yield/> 177 <yield />
176 </param> 178 </param>
177 </xml> 179 </xml>
178 180
179 <xml name="oob_score" token_checked="false" token_help=" "> 181 <xml name="oob_score" token_checked="false" token_help=" ">
180 <param argument="oob_score" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Use out-of-bag samples to estimate the generalization error" help="@HELP@"/> 182 <param argument="oob_score" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Use out-of-bag samples to estimate the generalization error" help="@HELP@" />
181 </xml> 183 </xml>
182 184
183 <xml name="max_features"> 185 <xml name="max_features">
184 <conditional name="select_max_features"> 186 <conditional name="select_max_features">
185 <param argument="max_features" type="select" label="max_features"> 187 <param argument="max_features" type="select" label="max_features">
193 <when value="sqrt"> 195 <when value="sqrt">
194 </when> 196 </when>
195 <when value="log2"> 197 <when value="log2">
196 </when> 198 </when>
197 <when value="number_input"> 199 <when value="number_input">
198 <param name="num_max_features" type="float" value="" optional="true" label="Input max_features number:" help="If int, consider the number of features at each split; If float, then max_features is a percentage and int(max_features * n_features) features are considered at each split."/> 200 <param name="num_max_features" type="float" value="" optional="true" label="Input max_features number:" help="If int, consider the number of features at each split; If float, then max_features is a percentage and int(max_features * n_features) features are considered at each split." />
199 </when> 201 </when>
200 </conditional> 202 </conditional>
201 </xml> 203 </xml>
202 204
203 <xml name="verbose" token_default_value="0" token_help="If 1 then it prints progress and performance once in a while. If greater than 1 then it prints progress and performance for every tree."> 205 <xml name="verbose" token_default_value="0" token_help="If 1 then it prints progress and performance once in a while. If greater than 1 then it prints progress and performance for every tree.">
204 <param argument="verbose" type="integer" value="@DEFAULT_VALUE@" optional="true" label="Enable verbose output" help="@HELP@"/> 206 <param argument="verbose" type="integer" value="@DEFAULT_VALUE@" optional="true" label="Enable verbose output" help="@HELP@" />
205 </xml> 207 </xml>
206 208
207 <xml name="learning_rate" token_default_value="1.0" token_help=" "> 209 <xml name="learning_rate" token_default_value="1.0" token_help=" ">
208 <param argument="learning_rate" type="float" optional="true" value="@DEFAULT_VALUE@" label="Learning rate" help="@HELP@"/> 210 <param argument="learning_rate" type="float" optional="true" value="@DEFAULT_VALUE@" label="Learning rate" help="@HELP@" />
209 </xml> 211 </xml>
210 212
211 <xml name="subsample" token_help=" "> 213 <xml name="subsample" token_help=" ">
212 <param argument="subsample" type="float" value="1.0" optional="true" label="The fraction of samples to be used for fitting the individual base learners" help="@HELP@"/> 214 <param argument="subsample" type="float" value="1.0" optional="true" label="The fraction of samples to be used for fitting the individual base learners" help="@HELP@" />
213 </xml> 215 </xml>
214 216
215 <xml name="presort"> 217 <xml name="presort">
216 <param argument="presort" type="select" label="Whether to presort the data to speed up the finding of best splits in fitting" > 218 <param argument="presort" type="select" label="Whether to presort the data to speed up the finding of best splits in fitting" >
217 <option value="auto" selected="true">auto</option> 219 <option value="auto" selected="true">auto</option>
218 <option value="true">true</option> 220 <option value="true">true</option>
219 <option value="false">false</option> 221 <option value="false">false</option>
220 </param> 222 </param>
221 </xml> 223 </xml>
224
225 <!-- LightGBM -->
226 <xml name="feature_fraction" token_help="LightGBM will randomly select part of the features for each iteration (tree) if feature_fraction is smaller than 1.0. For example, if you set it to 0.8, LightGBM will select 80% of features before training each tree.">
227 <param argument="feature_fraction" type="float" value="1.0" label="Proportion of features to train each tree" help="@HELP@" />
228 </xml>
229
230 <xml name="lambda_l1" token_help=" ">
231 <param argument="lambda_l1" type="float" value="0.0" label="L1 regularization" help="@HELP@" />
232 </xml>
233
234 <xml name="lambda_l2" token_help=" ">
235 <param argument="lambda_l2" type="float" value="0.0" label="L1 regularization" help="@HELP@" />
236 </xml>
237
238 <xml name="min_gain_to_split" token_help=" ">
239 <param argument="min_gain_to_split" type="float" value="0.0" label="Minimal gain to perform split" help="@HELP@" />
240 </xml>
241
242 <xml name="min_child_weight" token_help="Minimal sum hessian in one leaf. It can be used to deal with over-fitting.">
243 <param argument="min_child_weight" type="float" value="0.0" label="Minimal sum hessian in one leaf" help="@HELP@" />
244 </xml>
222 245
223 <!--Parameters--> 246 <!--Parameters-->
224 <xml name="tol" token_default_value="0.0" token_help_text="Early stopping heuristics based on the relative center changes. Set to default (0.0) to disable this convergence detection."> 247 <xml name="tol" token_default_value="0.0" token_help_text="Early stopping heuristics based on the relative center changes. Set to default (0.0) to disable this convergence detection.">
225 <param argument="tol" type="float" optional="true" value="@DEFAULT_VALUE@" label="Tolerance" help="@HELP_TEXT@"/> 248 <param argument="tol" type="float" optional="true" value="@DEFAULT_VALUE@" label="Tolerance" help="@HELP_TEXT@" />
226 </xml> 249 </xml>
227 250
228 <xml name="n_clusters" token_default_value="8"> 251 <xml name="n_clusters" token_default_value="8">
229 <param argument="n_clusters" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of clusters" help=" "/> 252 <param argument="n_clusters" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of clusters" help=" " />
230 </xml> 253 </xml>
231 254
232 <xml name="fit_intercept" token_checked="true"> 255 <xml name="fit_intercept" token_checked="true">
233 <param argument="fit_intercept" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Estimate the intercept" help="If false, the data is assumed to be already centered."/> 256 <param argument="fit_intercept" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Estimate the intercept" help="If false, the data is assumed to be already centered." />
234 </xml> 257 </xml>
235 258
236 <xml name="n_iter_no_change" token_default_value="5" token_help_text="Number of iterations with no improvement to wait before early stopping. "> 259 <xml name="n_iter_no_change" token_default_value="5" token_help_text="Number of iterations with no improvement to wait before early stopping. ">
237 <param argument="n_iter_no_change" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of iterations" help="@HELP_TEXT@"/> 260 <param argument="n_iter_no_change" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of iterations" help="@HELP_TEXT@" />
238 </xml> 261 </xml>
239 262
240 <xml name="shuffle" token_checked="true" token_help_text=" " token_label="Shuffle data after each iteration"> 263 <xml name="shuffle" token_checked="true" token_help_text=" " token_label="Shuffle data after each iteration">
241 <param argument="shuffle" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="@LABEL@" help="@HELP_TEXT@"/> 264 <param argument="shuffle" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="@LABEL@" help="@HELP_TEXT@" />
242 </xml> 265 </xml>
243 266
244 <xml name="random_state" token_default_value="" token_help_text="Integer number. The seed of the pseudo random number generator to use when shuffling the data. A fixed seed allows reproducible results. default=None."> 267 <xml name="random_state" token_default_value="" token_help_text="Integer number. The seed of the pseudo random number generator to use when shuffling the data. A fixed seed allows reproducible results. default=None.">
245 <param argument="random_state" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Random seed number" help="@HELP_TEXT@"/> 268 <param argument="random_state" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Random seed number" help="@HELP_TEXT@" />
246 </xml> 269 </xml>
247 270
248 <xml name="warm_start" token_checked="true" token_help_text="When set to True, reuse the solution of the previous call to fit as initialization,otherwise, just erase the previous solution."> 271 <xml name="warm_start" token_checked="true" token_help_text="When set to True, reuse the solution of the previous call to fit as initialization,otherwise, just erase the previous solution.">
249 <param argument="warm_start" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Perform warm start" help="@HELP_TEXT@"/> 272 <param argument="warm_start" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="@CHECKED@" label="Perform warm start" help="@HELP_TEXT@" />
250 </xml> 273 </xml>
251 274
252 <xml name="C" token_default_value="1.0" token_help_text="Penalty parameter C of the error term."> 275 <xml name="C" token_default_value="1.0" token_help_text="Penalty parameter C of the error term.">
253 <param argument="C" type="float" optional="true" value="@DEFAULT_VALUE@" label="Penalty parameter" help="@HELP_TEXT@"/> 276 <param argument="C" type="float" optional="true" value="@DEFAULT_VALUE@" label="Penalty parameter" help="@HELP_TEXT@" />
254 </xml> 277 </xml>
255 278
256 <!--xml name="class_weight" token_default_value="" token_help_text=""> 279 <!--xml name="class_weight" token_default_value="" token_help_text="">
257 <param argument="class_weight" type="" optional="true" value="@DEFAULT_VALUE@" label="" help="@HELP_TEXT@"/> 280 <param argument="class_weight" type="" optional="true" value="@DEFAULT_VALUE@" label="" help="@HELP_TEXT@" />
258 </xml--> 281 </xml-->
259 282
260 <xml name="alpha" token_default_value="0.0001" token_help_text="Constant that multiplies the regularization term if regularization is used. "> 283 <xml name="alpha" token_default_value="0.0001" token_help_text="Constant that multiplies the regularization term if regularization is used. ">
261 <param argument="alpha" type="float" optional="true" value="@DEFAULT_VALUE@" label="Regularization coefficient" help="@HELP_TEXT@"/> 284 <param argument="alpha" type="float" optional="true" value="@DEFAULT_VALUE@" label="Regularization coefficient" help="@HELP_TEXT@" />
262 </xml> 285 </xml>
263 286
264 <xml name="n_samples" token_default_value="100" token_help_text="The total number of points equally divided among clusters."> 287 <xml name="n_samples" token_default_value="100" token_help_text="The total number of points equally divided among clusters.">
265 <param argument="n_samples" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of samples" help="@HELP_TEXT@"/> 288 <param argument="n_samples" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of samples" help="@HELP_TEXT@" />
266 </xml> 289 </xml>
267 290
268 <xml name="n_features" token_default_value="2" token_help_text="Number of different numerical properties produced for each sample."> 291 <xml name="n_features" token_default_value="2" token_help_text="Number of different numerical properties produced for each sample.">
269 <param argument="n_features" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of features" help="@HELP_TEXT@"/> 292 <param argument="n_features" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of features" help="@HELP_TEXT@" />
270 </xml> 293 </xml>
271 294
272 <xml name="noise" token_default_value="0.0" token_help_text="Floating point number. "> 295 <xml name="noise" token_default_value="0.0" token_help_text="Floating point number. ">
273 <param argument="noise" type="float" optional="true" value="@DEFAULT_VALUE@" label="Standard deviation of the Gaussian noise added to the data" help="@HELP_TEXT@"/> 296 <param argument="noise" type="float" optional="true" value="@DEFAULT_VALUE@" label="Standard deviation of the Gaussian noise added to the data" help="@HELP_TEXT@" />
274 </xml> 297 </xml>
275 298
276 <xml name="C" token_default_value="1.0" token_help_text="Penalty parameter C of the error term. "> 299 <xml name="C" token_default_value="1.0" token_help_text="Penalty parameter C of the error term. ">
277 <param argument="C" type="float" optional="true" value="@DEFAULT_VALUE@" label="Penalty parameter" help="@HELP_TEXT@"/> 300 <param argument="C" type="float" optional="true" value="@DEFAULT_VALUE@" label="Penalty parameter" help="@HELP_TEXT@" />
278 </xml> 301 </xml>
279 302
280 <xml name="max_iter" token_default_value="300" token_label="Maximum number of iterations per single run" token_help_text=" "> 303 <xml name="max_iter" token_default_value="300" token_label="Maximum number of iterations per single run" token_help_text=" ">
281 <param argument="max_iter" type="integer" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@"/> 304 <param argument="max_iter" type="integer" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@" />
282 </xml> 305 </xml>
283 306
284 <xml name="n_init" token_default_value="10" > 307 <xml name="n_init" token_default_value="10" >
285 <param argument="n_init" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of runs with different centroid seeds" help=" "/> 308 <param argument="n_init" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Number of runs with different centroid seeds" help=" " />
286 </xml> 309 </xml>
287 310
288 <xml name="init"> 311 <xml name="init">
289 <param argument="init" type="select" label="Centroid initialization method" help="''k-means++'' selects initial cluster centers that speed up convergence. ''random'' chooses k observations (rows) at random from data as initial centroids."> 312 <param argument="init" type="select" label="Centroid initialization method" help="''k-means++'' selects initial cluster centers that speed up convergence. ''random'' chooses k observations (rows) at random from data as initial centroids.">
290 <option value="k-means++">k-means++</option> 313 <option value="k-means++">k-means++</option>
291 <option value="random">random</option> 314 <option value="random">random</option>
292 </param> 315 </param>
293 </xml> 316 </xml>
294 317
295 <xml name="gamma" token_default_value="1.0" token_label="Scaling parameter" token_help_text=" "> 318 <xml name="gamma" token_default_value="1.0" token_label="Scaling parameter" token_help_text=" ">
296 <param argument="gamma" type="float" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@"/> 319 <param argument="gamma" type="float" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@" />
297 </xml> 320 </xml>
298 321
299 <xml name="degree" token_default_value="3" token_label="Degree of the polynomial" token_help_text=" "> 322 <xml name="degree" token_default_value="3" token_label="Degree of the polynomial" token_help_text=" ">
300 <param argument="degree" type="integer" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@"/> 323 <param argument="degree" type="integer" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@" />
301 </xml> 324 </xml>
302 325
303 <xml name="coef0" token_default_value="1" token_label="Zero coefficient" token_help_text=" "> 326 <xml name="coef0" token_default_value="1" token_label="Zero coefficient" token_help_text=" ">
304 <param argument="coef0" type="integer" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@"/> 327 <param argument="coef0" type="integer" optional="true" value="@DEFAULT_VALUE@" label="@LABEL@" help="@HELP_TEXT@" />
305 </xml> 328 </xml>
306 329
307 <xml name="pos_label" token_default_value=""> 330 <xml name="pos_label" token_default_value="">
308 <param argument="pos_label" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Label of the positive class" help=" "/> 331 <param argument="pos_label" type="integer" optional="true" value="@DEFAULT_VALUE@" label="Label of the positive class" help=" " />
309 </xml> 332 </xml>
310 333
311 <xml name="average"> 334 <xml name="average">
312 <param argument="average" type="select" optional="true" label="Averaging type" help=" "> 335 <param argument="average" type="select" optional="true" label="Averaging type" help=" ">
313 <option value="micro">Calculate metrics globally by counting the total true positives, false negatives and false positives. (micro)</option> 336 <option value="micro">Calculate metrics globally by counting the total true positives, false negatives and false positives. (micro)</option>
314 <option value="samples">Calculate metrics for each instance, and find their average. Only meaningful for multilabel. (samples)</option> 337 <option value="samples">Calculate metrics for each instance, and find their average. Only meaningful for multilabel. (samples)</option>
315 <option value="macro">Calculate metrics for each label, and find their unweighted mean. This does not take label imbalance into account. (macro)</option> 338 <option value="macro">Calculate metrics for each label, and find their unweighted mean. This does not take label imbalance into account. (macro)</option>
316 <option value="weighted">Calculate metrics for each label, and find their average, weighted by support (the number of true instances for each label). This alters ‘macro’ to account for label imbalance; it can result in an F-score that is not between precision and recall. (weighted)</option> 339 <option value="weighted">Calculate metrics for each label, and find their average, weighted by support (the number of true instances for each label). This alters ‘macro’ to account for label imbalance; it can result in an F-score that is not between precision and recall. (weighted)</option>
317 <option value="None">None</option> 340 <option value="None">None</option>
318 <yield/> 341 <yield />
319 </param> 342 </param>
320 </xml> 343 </xml>
321 344
322 <xml name="beta"> 345 <xml name="beta">
323 <param argument="beta" type="float" value="1.0" label="The strength of recall versus precision in the F-score" help=" "/> 346 <param argument="beta" type="float" value="1.0" label="The strength of recall versus precision in the F-score" help=" " />
324 </xml> 347 </xml>
325 348
326 349
327 <!--Data interface--> 350 <!--Data interface-->
328 351
329 <xml name="samples_tabular" token_label1="Training samples dataset:" token_multiple1="false" token_multiple2="false"> 352 <xml name="samples_tabular" token_label1="Training samples dataset:" token_multiple1="false" token_multiple2="false">
330 <param name="infile1" type="data" format="tabular" label="@LABEL1@"/> 353 <param name="infile1" type="data" format="tabular" label="@LABEL1@" />
331 <param name="header1" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" /> 354 <param name="header1" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" />
332 <conditional name="column_selector_options_1"> 355 <conditional name="column_selector_options_1">
333 <expand macro="samples_column_selector_options" multiple="@MULTIPLE1@"/> 356 <expand macro="samples_column_selector_options" multiple="@MULTIPLE1@" />
334 </conditional> 357 </conditional>
335 <param name="infile2" type="data" format="tabular" label="Dataset containing class labels or target values:"/> 358 <param name="infile2" type="data" format="tabular" label="Dataset containing class labels or target values:" />
336 <param name="header2" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" /> 359 <param name="header2" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" />
337 <conditional name="column_selector_options_2"> 360 <conditional name="column_selector_options_2">
338 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="@MULTIPLE2@" infile="infile2"/> 361 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="@MULTIPLE2@" infile="infile2" />
339 </conditional> 362 </conditional>
340 <yield/> 363 <yield />
341 </xml> 364 </xml>
342 365
343 <xml name="samples_column_selector_options" token_column_option="selected_column_selector_option" token_col_name="col1" token_multiple="False" token_infile="infile1"> 366 <xml name="samples_column_selector_options" token_column_option="selected_column_selector_option" token_col_name="col1" token_multiple="False" token_infile="infile1">
344 <param name="@COLUMN_OPTION@" type="select" label="Choose how to select data by column:"> 367 <param name="@COLUMN_OPTION@" type="select" label="Choose how to select data by column:">
345 <option value="by_index_number" selected="true">Select columns by column index number(s)</option> 368 <option value="by_index_number" selected="true">Select columns by column index number(s)</option>
347 <option value="by_header_name">Select columns by column header name(s)</option> 370 <option value="by_header_name">Select columns by column header name(s)</option>
348 <option value="all_but_by_header_name">All columns EXCLUDING some by column header name(s)</option> 371 <option value="all_but_by_header_name">All columns EXCLUDING some by column header name(s)</option>
349 <option value="all_columns">All columns</option> 372 <option value="all_columns">All columns</option>
350 </param> 373 </param>
351 <when value="by_index_number"> 374 <when value="by_index_number">
352 <param name="@COL_NAME@" multiple="@MULTIPLE@" type="data_column" use_header_names="true" data_ref="@INFILE@" label="Select target column(s):"/> 375 <param name="@COL_NAME@" multiple="@MULTIPLE@" type="data_column" use_header_names="true" data_ref="@INFILE@" label="Select target column(s):" />
353 </when> 376 </when>
354 <when value="all_but_by_index_number"> 377 <when value="all_but_by_index_number">
355 <param name="@COL_NAME@" multiple="@MULTIPLE@" type="data_column" use_header_names="true" data_ref="@INFILE@" label="Select target column(s):"/> 378 <param name="@COL_NAME@" multiple="@MULTIPLE@" type="data_column" use_header_names="true" data_ref="@INFILE@" label="Select target column(s):" />
356 </when> 379 </when>
357 <when value="by_header_name"> 380 <when value="by_header_name">
358 <param name="@COL_NAME@" type="text" value="" label="Type header name(s):" help="Comma-separated string. For example: target1,target2"/> 381 <param name="@COL_NAME@" type="text" value="" label="Type header name(s):" help="Comma-separated string. For example: target1,target2" />
359 </when> 382 </when>
360 <when value="all_but_by_header_name"> 383 <when value="all_but_by_header_name">
361 <param name="@COL_NAME@" type="text" value="" label="Type header name(s):" help="Comma-separated string. For example: target1,target2"/> 384 <param name="@COL_NAME@" type="text" value="" label="Type header name(s):" help="Comma-separated string. For example: target1,target2" />
362 </when> 385 </when>
363 <when value="all_columns"> 386 <when value="all_columns">
364 </when> 387 </when>
365 </xml> 388 </xml>
366 389
367 <xml name="clf_inputs_extended" token_label1=" " token_label2=" " token_multiple="False"> 390 <xml name="clf_inputs_extended" token_label1=" " token_label2=" " token_multiple="False">
368 <conditional name="true_columns"> 391 <conditional name="true_columns">
369 <param name="selected_input1" type="select" label="Select the input type of true labels dataset:"> 392 <param name="selected_input1" type="select" label="Select the input type of true labels dataset:">
370 <option value="tabular" selected="true">Tabular</option> 393 <option value="tabular" selected="true">Tabular</option>
371 <option value="sparse">Sparse</option> 394 <option value="sparse">Sparse</option>
372 </param> 395 </param>
373 <when value="tabular"> 396 <when value="tabular">
374 <param name="infile1" type="data" label="@LABEL1@"/> 397 <param name="infile1" type="data" label="@LABEL1@" />
375 <param name="col1" type="data_column" data_ref="infile1" label="Select the target column:"/> 398 <param name="col1" type="data_column" data_ref="infile1" label="Select the target column:" />
376 </when> 399 </when>
377 <when value="sparse"> 400 <when value="sparse">
378 <param name="infile1" type="data" format="txt" label="@LABEL1@"/> 401 <param name="infile1" type="data" format="txt" label="@LABEL1@" />
379 </when> 402 </when>
380 </conditional> 403 </conditional>
381 <conditional name="predicted_columns"> 404 <conditional name="predicted_columns">
382 <param name="selected_input2" type="select" label="Select the input type of predicted labels dataset:"> 405 <param name="selected_input2" type="select" label="Select the input type of predicted labels dataset:">
383 <option value="tabular" selected="true">Tabular</option> 406 <option value="tabular" selected="true">Tabular</option>
384 <option value="sparse">Sparse</option> 407 <option value="sparse">Sparse</option>
385 </param> 408 </param>
386 <when value="tabular"> 409 <when value="tabular">
387 <param name="infile2" type="data" label="@LABEL2@"/> 410 <param name="infile2" type="data" label="@LABEL2@" />
388 <param name="col2" multiple="@MULTIPLE@" type="data_column" data_ref="infile2" label="Select target column(s):"/> 411 <param name="col2" multiple="@MULTIPLE@" type="data_column" data_ref="infile2" label="Select target column(s):" />
389 </when> 412 </when>
390 <when value="sparse"> 413 <when value="sparse">
391 <param name="infile2" type="data" format="txt" label="@LABEL1@"/> 414 <param name="infile2" type="data" format="txt" label="@LABEL1@" />
392 </when> 415 </when>
393 </conditional> 416 </conditional>
394 </xml> 417 </xml>
395 418
396 <xml name="clf_inputs" token_label1="Dataset containing true labels (tabular):" token_label2="Dataset containing predicted values (tabular):" token_multiple1="False" token_multiple="False"> 419 <xml name="clf_inputs" token_label1="Dataset containing true labels (tabular):" token_label2="Dataset containing predicted values (tabular):" token_multiple1="False" token_multiple="False">
397 <param name="infile1" type="data" format="tabular" label="@LABEL1@"/> 420 <param name="infile1" type="data" format="tabular" label="@LABEL1@" />
398 <param name="header1" type="boolean" optional="True" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" /> 421 <param name="header1" type="boolean" optional="True" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" />
399 <conditional name="column_selector_options_1"> 422 <conditional name="column_selector_options_1">
400 <expand macro="samples_column_selector_options" multiple="@MULTIPLE1@"/> 423 <expand macro="samples_column_selector_options" multiple="@MULTIPLE1@" />
401 </conditional> 424 </conditional>
402 <param name="infile2" type="data" format="tabular" label="@LABEL2@"/> 425 <param name="infile2" type="data" format="tabular" label="@LABEL2@" />
403 <param name="header2" type="boolean" optional="True" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" /> 426 <param name="header2" type="boolean" optional="True" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" />
404 <conditional name="column_selector_options_2"> 427 <conditional name="column_selector_options_2">
405 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="@MULTIPLE@" infile="infile2"/> 428 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="@MULTIPLE@" infile="infile2" />
406 </conditional> 429 </conditional>
407 </xml> 430 </xml>
408 431
409 <xml name="multiple_input" token_name="input_files" token_max_num="10" token_format="txt" token_label="Sparse matrix file (.mtx, .txt)" token_help_text="Specify a sparse matrix file in .txt format."> 432 <xml name="multiple_input" token_name="input_files" token_max_num="10" token_format="txt" token_label="Sparse matrix file (.mtx, .txt)" token_help_text="Specify a sparse matrix file in .txt format.">
410 <repeat name="@NAME@" min="1" max="@MAX_NUM@" title="Select input file(s):"> 433 <repeat name="@NAME@" min="1" max="@MAX_NUM@" title="Select input file(s):">
411 <param name="input" type="data" format="@FORMAT@" label="@LABEL@" help="@HELP_TEXT@"/> 434 <param name="input" type="data" format="@FORMAT@" label="@LABEL@" help="@HELP_TEXT@" />
412 </repeat> 435 </repeat>
413 </xml> 436 </xml>
414 437
415 <xml name="sparse_target" token_label1="Select a sparse matrix:" token_label2="Select the tabular containing true labels:" token_multiple="False" token_format1="txt" token_format2="tabular" token_help1="" token_help2=""> 438 <xml name="sparse_target" token_label1="Select a sparse matrix:" token_label2="Select the tabular containing true labels:" token_multiple="False" token_format1="txt" token_format2="tabular" token_help1="" token_help2="">
416 <param name="infile1" type="data" format="@FORMAT1@" label="@LABEL1@" help="@HELP1@"/> 439 <param name="infile1" type="data" format="@FORMAT1@" label="@LABEL1@" help="@HELP1@" />
417 <expand macro="input_tabular_target"/> 440 <expand macro="input_tabular_target" />
418 </xml> 441 </xml>
419 442
420 <xml name="sl_mixed_input"> 443 <xml name="sl_mixed_input">
421 <conditional name="input_options"> 444 <conditional name="input_options">
422 <expand macro="data_input_options"/> 445 <expand macro="data_input_options" />
423 <expand macro="data_input_whens"/> 446 <expand macro="data_input_whens" />
424 </conditional> 447 </conditional>
425 </xml> 448 </xml>
426 449
427 <xml name="sl_mixed_input_plus_sequence"> 450 <xml name="sl_mixed_input_plus_sequence">
428 <conditional name="input_options"> 451 <conditional name="input_options">
429 <expand macro="data_input_options"> 452 <expand macro="data_input_options">
430 <option value="seq_fasta">sequnences in a fasta file</option> 453 <option value="seq_fasta">sequnences in a fasta file</option>
431 <option value="refseq_and_interval">reference genome and intervals</option> 454 <option value="refseq_and_interval">reference genome and intervals</option>
432 </expand> 455 </expand>
433 <expand macro="data_input_whens"> 456 <expand macro="data_input_whens">
434 <when value="seq_fasta"> 457 <when value="seq_fasta">
435 <expand macro="inputs_seq_fasta"/> 458 <expand macro="inputs_seq_fasta" />
436 </when> 459 </when>
437 <when value="refseq_and_interval"> 460 <when value="refseq_and_interval">
438 <expand macro="inputs_refseq_and_interval"/> 461 <expand macro="inputs_refseq_and_interval" />
439 </when> 462 </when>
440 </expand> 463 </expand>
441 </conditional> 464 </conditional>
442 </xml> 465 </xml>
443 466
444 <xml name="data_input_options"> 467 <xml name="data_input_options">
445 <param name="selected_input" type="select" label="Select input type:"> 468 <param name="selected_input" type="select" label="Select input type:">
446 <option value="tabular" selected="true">tabular data</option> 469 <option value="tabular" selected="true">tabular data</option>
447 <option value="sparse">sparse matrix</option> 470 <option value="sparse">sparse matrix</option>
448 <yield/> 471 <yield />
449 </param> 472 </param>
450 </xml> 473 </xml>
451 474
452 <xml name="data_input_whens"> 475 <xml name="data_input_whens">
453 <when value="tabular"> 476 <when value="tabular">
454 <expand macro="samples_tabular" multiple1="true" multiple2="false"/> 477 <expand macro="samples_tabular" multiple1="true" multiple2="false" />
455 </when> 478 </when>
456 <when value="sparse"> 479 <when value="sparse">
457 <expand macro="sparse_target"/> 480 <expand macro="sparse_target" />
458 </when> 481 </when>
459 <yield/> 482 <yield />
460 </xml> 483 </xml>
461 484
462 <xml name="input_tabular_target"> 485 <xml name="input_tabular_target">
463 <param name="infile2" type="data" format="tabular" label="Dataset containing class labels or target values:"/> 486 <param name="infile2" type="data" format="tabular" label="Dataset containing class labels or target values:" />
464 <param name="header2" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Does the dataset contain header:" /> 487 <param name="header2" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Does the dataset contain header:" />
465 <conditional name="column_selector_options_2"> 488 <conditional name="column_selector_options_2">
466 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="false" infile="infile2"/> 489 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="false" infile="infile2" />
467 </conditional> 490 </conditional>
468 </xml> 491 </xml>
469 492
470 <xml name="inputs_seq_fasta"> 493 <xml name="inputs_seq_fasta">
471 <param name="fasta_path" type="data" format="fasta" label="Dataset containing fasta genomic/protein sequences" help="Sequences will be one-hot encoded to arrays."/> 494 <param name="fasta_path" type="data" format="fasta" label="Dataset containing fasta genomic/protein sequences" help="Sequences will be one-hot encoded to arrays." />
472 <expand macro="input_tabular_target"/> 495 <expand macro="input_tabular_target" />
473 </xml> 496 </xml>
474 497
475 <xml name="inputs_refseq_and_interval"> 498 <xml name="inputs_refseq_and_interval">
476 <param name="ref_genome_file" type="data" format="fasta" label="Dataset containing reference genomic sequence"/> 499 <param name="ref_genome_file" type="data" format="fasta" label="Dataset containing reference genomic sequence" />
477 <param name="interval_file" type="data" format="interval" label="Dataset containing sequence intervals for training" help="interval. Sequences will be retrieved from the reference genome and one-hot encoded to training arrays."/> 500 <param name="interval_file" type="data" format="interval" label="Dataset containing sequence intervals for training" help="interval. Sequences will be retrieved from the reference genome and one-hot encoded to training arrays." />
478 <param name="target_file" type="data" format="bed" label="Dataset containing positions and features for target values." help="bed. The file will be compressed with `bgzip` and then indexed using `tabix`."/> 501 <param name="target_file" type="data" format="bed" label="Dataset containing positions and features for target values." help="bed. The file will be compressed with `bgzip` and then indexed using `tabix`." />
479 <param name="infile2" type="data" format="tabular" label="Dataset containing the feature list for prediction"/> 502 <param name="infile2" type="data" format="tabular" label="Dataset containing the feature list for prediction" />
480 <param name="header2" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Does the dataset contain header:" /> 503 <param name="header2" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Does the dataset contain header:" />
481 <conditional name="column_selector_options_2"> 504 <conditional name="column_selector_options_2">
482 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="true" infile="infile2"/> 505 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option2" col_name="col2" multiple="true" infile="infile2" />
483 </conditional> 506 </conditional>
484 </xml> 507 </xml>
485 508
486 <!--Advanced options--> 509 <!--Advanced options-->
487 <xml name="nn_advanced_options"> 510 <xml name="nn_advanced_options">
488 <section name="options" title="Advanced Options" expanded="False"> 511 <section name="options" title="Advanced Options" expanded="False">
489 <yield/> 512 <yield />
490 <param argument="weights" type="select" label="Weight function" help="Used in prediction."> 513 <param argument="weights" type="select" label="Weight function" help="Used in prediction.">
491 <option value="uniform" selected="true">Uniform weights. All points in each neighborhood are weighted equally. (Uniform)</option> 514 <option value="uniform" selected="true">Uniform weights. All points in each neighborhood are weighted equally. (Uniform)</option>
492 <option value="distance">Weight points by the inverse of their distance. (Distance)</option> 515 <option value="distance">Weight points by the inverse of their distance. (Distance)</option>
493 </param> 516 </param>
494 <param argument="algorithm" type="select" label="Neighbor selection algorithm" help=" "> 517 <param argument="algorithm" type="select" label="Neighbor selection algorithm" help=" ">
495 <option value="auto" selected="true">Auto</option> 518 <option value="auto" selected="true">Auto</option>
496 <option value="ball_tree">BallTree</option> 519 <option value="ball_tree">BallTree</option>
497 <option value="kd_tree">KDTree</option> 520 <option value="kd_tree">KDTree</option>
498 <option value="brute">Brute-force</option> 521 <option value="brute">Brute-force</option>
499 </param> 522 </param>
500 <param argument="leaf_size" type="integer" value="30" label="Leaf size" help="Used with BallTree and KDTree. Affects the time and memory usage of the constructed tree."/> 523 <param argument="leaf_size" type="integer" value="30" label="Leaf size" help="Used with BallTree and KDTree. Affects the time and memory usage of the constructed tree." />
501 <!--param name="metric"--> 524 <!--param name="metric"-->
502 <!--param name="p"--> 525 <!--param name="p"-->
503 <!--param name="metric_params"--> 526 <!--param name="metric_params"-->
504 </section> 527 </section>
505 </xml> 528 </xml>
506 529
507 <xml name="svc_advanced_options"> 530 <xml name="svc_advanced_options">
508 <section name="options" title="Advanced Options" expanded="False"> 531 <section name="options" title="Advanced Options" expanded="False">
509 <yield/> 532 <yield />
510 <param argument="kernel" type="select" optional="true" label="Kernel type" help="Kernel type to be used in the algorithm. If none is given, ‘rbf’ will be used."> 533 <param argument="kernel" type="select" optional="true" label="Kernel type" help="Kernel type to be used in the algorithm. If none is given, ‘rbf’ will be used.">
511 <option value="rbf" selected="true">rbf</option> 534 <option value="rbf" selected="true">rbf</option>
512 <option value="linear">linear</option> 535 <option value="linear">linear</option>
513 <option value="poly">poly</option> 536 <option value="poly">poly</option>
514 <option value="sigmoid">sigmoid</option> 537 <option value="sigmoid">sigmoid</option>
515 <option value="precomputed">precomputed</option> 538 <option value="precomputed">precomputed</option>
516 </param> 539 </param>
517 <param argument="degree" type="integer" optional="true" value="3" label="Degree of the polynomial (polynomial kernel only)" help="Ignored by other kernels. dafault : 3 "/> 540 <param argument="degree" type="integer" optional="true" value="3" label="Degree of the polynomial (polynomial kernel only)" help="Ignored by other kernels. dafault : 3 " />
518 <!--TODO: param argument="gamma" float, optional (default=’auto’) --> 541 <!--TODO: param argument="gamma" float, optional (default=’auto’) -->
519 <param argument="coef0" type="float" optional="true" value="0.0" label="Zero coefficient (polynomial and sigmoid kernels only)" 542 <param argument="coef0" type="float" optional="true" value="0.0" label="Zero coefficient (polynomial and sigmoid kernels only)"
520 help="Independent term in kernel function. dafault: 0.0 "/> 543 help="Independent term in kernel function. dafault: 0.0 " />
521 <param argument="shrinking" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" 544 <param argument="shrinking" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true"
522 label="Use the shrinking heuristic" help=" "/> 545 label="Use the shrinking heuristic" help=" " />
523 <param argument="probability" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" 546 <param argument="probability" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false"
524 label="Enable probability estimates. " help="This must be enabled prior to calling fit, and will slow down that method."/> 547 label="Enable probability estimates. " help="This must be enabled prior to calling fit, and will slow down that method." />
525 <!-- param argument="cache_size"--> 548 <!-- param argument="cache_size"-->
526 <!--expand macro="class_weight"/--> 549 <!--expand macro="class_weight"/-->
527 <expand macro="tol" default_value="0.001" help_text="Tolerance for stopping criterion. "/> 550 <expand macro="tol" default_value="0.001" help_text="Tolerance for stopping criterion. " />
528 <expand macro="max_iter" default_value="-1" label="Solver maximum number of iterations" help_text="Hard limit on iterations within solver, or -1 for no limit."/> 551 <expand macro="max_iter" default_value="-1" label="Solver maximum number of iterations" help_text="Hard limit on iterations within solver, or -1 for no limit." />
529 <!--param argument="decision_function_shape"--> 552 <!--param argument="decision_function_shape"-->
530 <expand macro="random_state" help_text="Integer number. The seed of the pseudo random number generator to use when shuffling the data for probability estimation. A fixed seed allows reproducible results."/> 553 <expand macro="random_state" help_text="Integer number. The seed of the pseudo random number generator to use when shuffling the data for probability estimation. A fixed seed allows reproducible results." />
531 </section> 554 </section>
532 </xml> 555 </xml>
533 556
534 <xml name="spectral_clustering_advanced_options"> 557 <xml name="spectral_clustering_advanced_options">
535 <section name="options" title="Advanced Options" expanded="False"> 558 <section name="options" title="Advanced Options" expanded="False">
536 <expand macro="n_clusters"/> 559 <expand macro="n_clusters" />
537 <param argument="eigen_solver" type="select" value="" label="Eigen solver" help="The eigenvalue decomposition strategy to use."> 560 <param argument="eigen_solver" type="select" value="" label="Eigen solver" help="The eigenvalue decomposition strategy to use.">
538 <option value="arpack" selected="true">arpack</option> 561 <option value="arpack" selected="true">arpack</option>
539 <option value="lobpcg">lobpcg</option> 562 <option value="lobpcg">lobpcg</option>
540 <option value="amg">amg</option> 563 <option value="amg">amg</option>
541 <!--None--> 564 <!--None-->
542 </param> 565 </param>
543 <expand macro="random_state"/> 566 <expand macro="random_state" />
544 <expand macro="n_init"/> 567 <expand macro="n_init" />
545 <param argument="gamma" type="float" optional="true" value="1.0" label="Kernel scaling factor" help="Scaling factor of RBF, polynomial, exponential chi^2 and sigmoid affinity kernel. Ignored for affinity=''nearest_neighbors''."/> 568 <param argument="gamma" type="float" optional="true" value="1.0" label="Kernel scaling factor" help="Scaling factor of RBF, polynomial, exponential chi^2 and sigmoid affinity kernel. Ignored for affinity=''nearest_neighbors''." />
546 <param argument="affinity" type="select" label="Affinity" help="Affinity kernel to use. "> 569 <param argument="affinity" type="select" label="Affinity" help="Affinity kernel to use. ">
547 <option value="rbf" selected="true">RBF</option> 570 <option value="rbf" selected="true">RBF</option>
548 <option value="precomputed">precomputed</option> 571 <option value="precomputed">precomputed</option>
549 <option value="nearest_neighbors">Nearset neighbors</option> 572 <option value="nearest_neighbors">Nearset neighbors</option>
550 </param> 573 </param>
551 <param argument="n_neighbors" type="integer" optional="true" value="10" label="Number of neighbors" help="Number of neighbors to use when constructing the affinity matrix using the nearest neighbors method. Ignored for affinity=''rbf''"/> 574 <param argument="n_neighbors" type="integer" optional="true" value="10" label="Number of neighbors" help="Number of neighbors to use when constructing the affinity matrix using the nearest neighbors method. Ignored for affinity=''rbf''" />
552 <!--param argument="eigen_tol"--> 575 <!--param argument="eigen_tol"-->
553 <param argument="assign_labels" type="select" label="Assign labels" help="The strategy to use to assign labels in the embedding space."> 576 <param argument="assign_labels" type="select" label="Assign labels" help="The strategy to use to assign labels in the embedding space.">
554 <option value="kmeans" selected="true">kmeans</option> 577 <option value="kmeans" selected="true">kmeans</option>
555 <option value="discretize">discretize</option> 578 <option value="discretize">discretize</option>
556 </param> 579 </param>
557 <param argument="degree" type="integer" optional="true" value="3" 580 <param argument="degree" type="integer" optional="true" value="3"
558 label="Degree of the polynomial (polynomial kernel only)" help="Ignored by other kernels. dafault : 3 "/> 581 label="Degree of the polynomial (polynomial kernel only)" help="Ignored by other kernels. dafault : 3 " />
559 <param argument="coef0" type="integer" optional="true" value="1" 582 <param argument="coef0" type="integer" optional="true" value="1"
560 label="Zero coefficient (polynomial and sigmoid kernels only)" help="Ignored by other kernels. dafault : 1 "/> 583 label="Zero coefficient (polynomial and sigmoid kernels only)" help="Ignored by other kernels. dafault : 1 " />
561 <!--param argument="kernel_params"--> 584 <!--param argument="kernel_params"-->
562 </section> 585 </section>
563 </xml> 586 </xml>
564 587
565 <xml name="minibatch_kmeans_advanced_options"> 588 <xml name="minibatch_kmeans_advanced_options">
566 <section name="options" title="Advanced Options" expanded="False"> 589 <section name="options" title="Advanced Options" expanded="False">
567 <expand macro="n_clusters"/> 590 <expand macro="n_clusters" />
568 <expand macro="init"/> 591 <expand macro="init" />
569 <expand macro="n_init" default_value="3"/> 592 <expand macro="n_init" default_value="3" />
570 <expand macro="max_iter" default_value="100"/> 593 <expand macro="max_iter" default_value="100" />
571 <expand macro="tol" help_text="Early stopping heuristics based on normalized center change. To disable set to 0.0 ."/> 594 <expand macro="tol" help_text="Early stopping heuristics based on normalized center change. To disable set to 0.0 ." />
572 <expand macro="random_state"/> 595 <expand macro="random_state" />
573 <param argument="batch_size" type="integer" optional="true" value="100" label="Batch size" help="Size of the mini batches."/> 596 <param argument="batch_size" type="integer" optional="true" value="100" label="Batch size" help="Size of the mini batches." />
574 <!--param argument="compute_labels"--> 597 <!--param argument="compute_labels"-->
575 <param argument="max_no_improvement" type="integer" optional="true" value="10" label="Maximum number of improvement attempts" help=" 598 <param argument="max_no_improvement" type="integer" optional="true" value="10" label="Maximum number of improvement attempts" help="
576 Convergence detection based on inertia (the consecutive number of mini batches that doe not yield an improvement on the smoothed inertia). 599 Convergence detection based on inertia (the consecutive number of mini batches that doe not yield an improvement on the smoothed inertia).
577 To disable, set max_no_improvement to None. "/> 600 To disable, set max_no_improvement to None. " />
578 <param argument="init_size" type="integer" optional="true" value="" label="Number of random initialization samples" help="Number of samples to randomly sample for speeding up the initialization . ( default: 3 * batch_size )"/> 601 <param argument="init_size" type="integer" optional="true" value="" label="Number of random initialization samples" help="Number of samples to randomly sample for speeding up the initialization . ( default: 3 * batch_size )" />
579 <param argument="reassignment_ratio" type="float" optional="true" value="0.01" label="Re-assignment ratio" help="Controls the fraction of the maximum number of counts for a center to be reassigned. Higher values yield better clustering results."/> 602 <param argument="reassignment_ratio" type="float" optional="true" value="0.01" label="Re-assignment ratio" help="Controls the fraction of the maximum number of counts for a center to be reassigned. Higher values yield better clustering results." />
580 </section> 603 </section>
581 </xml> 604 </xml>
582 605
583 <xml name="kmeans_advanced_options"> 606 <xml name="kmeans_advanced_options">
584 <section name="options" title="Advanced Options" expanded="False"> 607 <section name="options" title="Advanced Options" expanded="False">
585 <expand macro="n_clusters"/> 608 <expand macro="n_clusters" />
586 <expand macro="init"/> 609 <expand macro="init" />
587 <expand macro="n_init"/> 610 <expand macro="n_init" />
588 <expand macro="max_iter"/> 611 <expand macro="max_iter" />
589 <expand macro="tol" default_value="0.0001" help_text="Relative tolerance with regards to inertia to declare convergence."/> 612 <expand macro="tol" default_value="0.0001" help_text="Relative tolerance with regards to inertia to declare convergence." />
590 <!--param argument="precompute_distances"/--> 613 <!--param argument="precompute_distances"/-->
591 <expand macro="random_state"/> 614 <expand macro="random_state" />
592 <param argument="copy_x" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Use a copy of data for precomputing distances" help="Mofifying the original data introduces small numerical differences caused by subtracting and then adding the data mean."/> 615 <param argument="copy_x" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Use a copy of data for precomputing distances" help="Mofifying the original data introduces small numerical differences caused by subtracting and then adding the data mean." />
593 <expand macro="kmeans_algorithm"/> 616 <expand macro="kmeans_algorithm" />
594 </section> 617 </section>
595 </xml> 618 </xml>
596 619
597 <xml name="kmeans_algorithm"> 620 <xml name="kmeans_algorithm">
598 <param argument="algorithm" type="select" label="K-means algorithm to use:"> 621 <param argument="algorithm" type="select" label="K-means algorithm to use:">
602 </param> 625 </param>
603 </xml> 626 </xml>
604 627
605 <xml name="birch_advanced_options"> 628 <xml name="birch_advanced_options">
606 <section name="options" title="Advanced Options" expanded="False"> 629 <section name="options" title="Advanced Options" expanded="False">
607 <param argument="threshold" type="float" optional="true" value="0.5" label="Subcluster radius threshold" help="The radius of the subcluster obtained by merging a new sample; the closest subcluster should be less than the threshold to avoid a new subcluster."/> 630 <param argument="threshold" type="float" optional="true" value="0.5" label="Subcluster radius threshold" help="The radius of the subcluster obtained by merging a new sample; the closest subcluster should be less than the threshold to avoid a new subcluster." />
608 <param argument="branching_factor" type="integer" optional="true" value="50" label="Maximum number of subclusters per branch" help="Maximum number of CF subclusters in each node."/> 631 <param argument="branching_factor" type="integer" optional="true" value="50" label="Maximum number of subclusters per branch" help="Maximum number of CF subclusters in each node." />
609 <expand macro="n_clusters" default_value="3"/> 632 <expand macro="n_clusters" default_value="3" />
610 <!--param argument="compute_labels"/--> 633 <!--param argument="compute_labels"/-->
611 </section> 634 </section>
612 </xml> 635 </xml>
613 636
614 <xml name="dbscan_advanced_options"> 637 <xml name="dbscan_advanced_options">
615 <section name="options" title="Advanced Options" expanded="False"> 638 <section name="options" title="Advanced Options" expanded="False">
616 <param argument="eps" type="float" optional="true" value="0.5" label="Maximum neighborhood distance" help="The maximum distance between two samples for them to be considered as in the same neighborhood."/> 639 <param argument="eps" type="float" optional="true" value="0.5" label="Maximum neighborhood distance" help="The maximum distance between two samples for them to be considered as in the same neighborhood." />
617 <param argument="min_samples" type="integer" optional="true" value="5" label="Minimal core point density" help="The number of samples (or total weight) in a neighborhood for a point (including the point itself) to be considered as a core point."/> 640 <param argument="min_samples" type="integer" optional="true" value="5" label="Minimal core point density" help="The number of samples (or total weight) in a neighborhood for a point (including the point itself) to be considered as a core point." />
618 <param argument="metric" type="text" optional="true" value="euclidean" label="Metric" help="The metric to use when calculating distance between instances in a feature array."/> 641 <param argument="metric" type="text" optional="true" value="euclidean" label="Metric" help="The metric to use when calculating distance between instances in a feature array." />
619 <param argument="algorithm" type="select" label="Pointwise distance computation algorithm" help="The algorithm to be used by the NearestNeighbors module to compute pointwise distances and find nearest neighbors."> 642 <param argument="algorithm" type="select" label="Pointwise distance computation algorithm" help="The algorithm to be used by the NearestNeighbors module to compute pointwise distances and find nearest neighbors.">
620 <option value="auto" selected="true">auto</option> 643 <option value="auto" selected="true">auto</option>
621 <option value="ball_tree">ball_tree</option> 644 <option value="ball_tree">ball_tree</option>
622 <option value="kd_tree">kd_tree</option> 645 <option value="kd_tree">kd_tree</option>
623 <option value="brute">brute</option> 646 <option value="brute">brute</option>
624 </param> 647 </param>
625 <param argument="leaf_size" type="integer" optional="true" value="30" label="Leaf size" help="Leaf size passed to BallTree or cKDTree. Memory and time efficieny factor in tree constrution and querying."/> 648 <param argument="leaf_size" type="integer" optional="true" value="30" label="Leaf size" help="Leaf size passed to BallTree or cKDTree. Memory and time efficieny factor in tree constrution and querying." />
626 </section> 649 </section>
627 </xml> 650 </xml>
628 651
629 <xml name="clustering_algorithms_options"> 652 <xml name="clustering_algorithms_options">
630 <conditional name="algorithm_options"> 653 <conditional name="algorithm_options">
631 <param name="selected_algorithm" type="select" label="Clustering Algorithm"> 654 <param name="selected_algorithm" type="select" label="Clustering Algorithm">
632 <option value="KMeans" selected="true">KMeans</option> 655 <option value="KMeans" selected="true">KMeans</option>
633 <option value="SpectralClustering">Spectral Clustering</option> 656 <option value="SpectralClustering">Spectral Clustering</option>
634 <option value="MiniBatchKMeans">Mini Batch KMeans</option> 657 <option value="MiniBatchKMeans">Mini Batch KMeans</option>
635 <option value="DBSCAN">DBSCAN</option> 658 <option value="DBSCAN">DBSCAN</option>
636 <option value="Birch">Birch</option> 659 <option value="Birch">Birch</option>
637 </param> 660 </param>
638 <when value="KMeans"> 661 <when value="KMeans">
639 <expand macro="kmeans_advanced_options"/> 662 <expand macro="kmeans_advanced_options" />
640 </when> 663 </when>
641 <when value="DBSCAN"> 664 <when value="DBSCAN">
642 <expand macro="dbscan_advanced_options"/> 665 <expand macro="dbscan_advanced_options" />
643 </when> 666 </when>
644 <when value="Birch"> 667 <when value="Birch">
645 <expand macro="birch_advanced_options"/> 668 <expand macro="birch_advanced_options" />
646 </when> 669 </when>
647 <when value="SpectralClustering"> 670 <when value="SpectralClustering">
648 <expand macro="spectral_clustering_advanced_options"/> 671 <expand macro="spectral_clustering_advanced_options" />
649 </when> 672 </when>
650 <when value="MiniBatchKMeans"> 673 <when value="MiniBatchKMeans">
651 <expand macro="minibatch_kmeans_advanced_options"/> 674 <expand macro="minibatch_kmeans_advanced_options" />
652 </when> 675 </when>
653 </conditional> 676 </conditional>
654 </xml> 677 </xml>
655 678
656 <xml name="distance_metrics"> 679 <xml name="distance_metrics">
659 <option value="cityblock">cityblock</option> 682 <option value="cityblock">cityblock</option>
660 <option value="cosine">cosine</option> 683 <option value="cosine">cosine</option>
661 <option value="l1">l1</option> 684 <option value="l1">l1</option>
662 <option value="l2">l2</option> 685 <option value="l2">l2</option>
663 <option value="manhattan">manhattan</option> 686 <option value="manhattan">manhattan</option>
664 <yield/> 687 <yield />
665 </param> 688 </param>
666 </xml> 689 </xml>
667 690
668 <xml name="distance_nonsparse_metrics"> 691 <xml name="distance_nonsparse_metrics">
669 <option value="braycurtis">braycurtis</option> 692 <option value="braycurtis">braycurtis</option>
700 <xml name="sparse_pairwise_metric_functions"> 723 <xml name="sparse_pairwise_metric_functions">
701 <param name="selected_metric_function" type="select" label="Select the pairwise metric you want to compute:"> 724 <param name="selected_metric_function" type="select" label="Select the pairwise metric you want to compute:">
702 <option value="euclidean_distances" selected="true">Euclidean distance matrix</option> 725 <option value="euclidean_distances" selected="true">Euclidean distance matrix</option>
703 <option value="pairwise_distances">Distance matrix</option> 726 <option value="pairwise_distances">Distance matrix</option>
704 <option value="pairwise_distances_argmin">Minimum distances between one point and a set of points</option> 727 <option value="pairwise_distances_argmin">Minimum distances between one point and a set of points</option>
705 <yield/> 728 <yield />
706 </param> 729 </param>
707 </xml> 730 </xml>
708 731
709 <xml name="pairwise_metric_functions"> 732 <xml name="pairwise_metric_functions">
710 <option value="additive_chi2_kernel" >Additive chi-squared kernel</option> 733 <option value="additive_chi2_kernel" >Additive chi-squared kernel</option>
718 </xml> 741 </xml>
719 742
720 <xml name="sparse_pairwise_condition"> 743 <xml name="sparse_pairwise_condition">
721 <when value="pairwise_distances"> 744 <when value="pairwise_distances">
722 <section name="options" title="Advanced Options" expanded="False"> 745 <section name="options" title="Advanced Options" expanded="False">
723 <expand macro="distance_metrics"> 746 <expand macro="distance_metrics">
724 <yield/> 747 <yield />
725 </expand> 748 </expand>
726 </section> 749 </section>
727 </when> 750 </when>
728 <when value="euclidean_distances"> 751 <when value="euclidean_distances">
729 <section name="options" title="Advanced Options" expanded="False"> 752 <section name="options" title="Advanced Options" expanded="False">
730 <param argument="squared" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" 753 <param argument="squared" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false"
731 label="Return squared Euclidean distances" help=" "/> 754 label="Return squared Euclidean distances" help=" " />
732 </section> 755 </section>
733 </when> 756 </when>
734 </xml> 757 </xml>
735 758
736 <xml name="argmin_distance_condition"> 759 <xml name="argmin_distance_condition">
737 <when value="pairwise_distances_argmin"> 760 <when value="pairwise_distances_argmin">
738 <section name="options" title="Advanced Options" expanded="False"> 761 <section name="options" title="Advanced Options" expanded="False">
739 <param argument="axis" type="integer" optional="true" value="1" label="Axis" help="Axis along which the argmin and distances are to be computed."/> 762 <param argument="axis" type="integer" optional="true" value="1" label="Axis" help="Axis along which the argmin and distances are to be computed." />
740 <expand macro="distance_metrics"> 763 <expand macro="distance_metrics">
741 <yield/> 764 <yield />
742 </expand> 765 </expand>
743 <param argument="batch_size" type="integer" optional="true" value="500" label="Batch size" help="Number of rows to be processed in each batch run."/> 766 <param argument="batch_size" type="integer" optional="true" value="500" label="Batch size" help="Number of rows to be processed in each batch run." />
744 </section> 767 </section>
745 </when> 768 </when>
746 </xml> 769 </xml>
747 770
748 <xml name="sparse_preprocessors"> 771 <xml name="sparse_preprocessors">
749 <param name="selected_pre_processor" type="select" label="Select a preprocessor:"> 772 <param name="selected_pre_processor" type="select" label="Select a preprocessor:">
750 <option value="StandardScaler" selected="true">Standard Scaler (Standardizes features by removing the mean and scaling to unit variance)</option> 773 <option value="StandardScaler" selected="true">Standard Scaler (Standardizes features by removing the mean and scaling to unit variance)</option>
751 <option value="Binarizer">Binarizer (Binarizes data)</option> 774 <option value="Binarizer">Binarizer (Binarizes data)</option>
752 <option value="MaxAbsScaler">Max Abs Scaler (Scales features by their maximum absolute value)</option> 775 <option value="MaxAbsScaler">Max Abs Scaler (Scales features by their maximum absolute value)</option>
753 <option value="Normalizer">Normalizer (Normalizes samples individually to unit norm)</option> 776 <option value="Normalizer">Normalizer (Normalizes samples individually to unit norm)</option>
754 <yield/> 777 <yield />
755 </param> 778 </param>
756 </xml> 779 </xml>
757 780
758 <xml name="sparse_preprocessors_ext"> 781 <xml name="sparse_preprocessors_ext">
759 <expand macro="sparse_preprocessors"> 782 <expand macro="sparse_preprocessors">
767 </expand> 790 </expand>
768 </xml> 791 </xml>
769 792
770 <xml name="sparse_preprocessor_options"> 793 <xml name="sparse_preprocessor_options">
771 <when value="Binarizer"> 794 <when value="Binarizer">
772 <section name="options" title="Advanced Options" expanded="False"> 795 <section name="options" title="Advanced Options" expanded="False">
773 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" 796 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true"
774 label="Use a copy of data for precomputing binarization" help=" "/> 797 label="Use a copy of data for precomputing binarization" help=" " />
775 <param argument="threshold" type="float" optional="true" value="0.0" 798 <param argument="threshold" type="float" optional="true" value="0.0"
776 label="Threshold" 799 label="Threshold"
777 help="Feature values below or equal to this are replaced by 0, above it by 1. Threshold may not be less than 0 for operations on sparse matrices. "/> 800 help="Feature values below or equal to this are replaced by 0, above it by 1. Threshold may not be less than 0 for operations on sparse matrices. " />
778 </section> 801 </section>
779 </when> 802 </when>
780 <when value="StandardScaler"> 803 <when value="StandardScaler">
781 <section name="options" title="Advanced Options" expanded="False"> 804 <section name="options" title="Advanced Options" expanded="False">
782 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" 805 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true"
783 label="Use a copy of data for performing inplace scaling" help=" "/> 806 label="Use a copy of data for performing inplace scaling" help=" " />
784 <param argument="with_mean" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" 807 <param argument="with_mean" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true"
785 label="Center the data before scaling" help=" "/> 808 label="Center the data before scaling" help=" " />
786 <param argument="with_std" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" 809 <param argument="with_std" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true"
787 label="Scale the data to unit variance (or unit standard deviation)" help=" "/> 810 label="Scale the data to unit variance (or unit standard deviation)" help=" " />
788 </section> 811 </section>
789 </when> 812 </when>
790 <when value="MaxAbsScaler"> 813 <when value="MaxAbsScaler">
791 <section name="options" title="Advanced Options" expanded="False"> 814 <section name="options" title="Advanced Options" expanded="False">
792 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" 815 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true"
793 label="Use a copy of data for precomputing scaling" help=" "/> 816 label="Use a copy of data for precomputing scaling" help=" " />
794 </section> 817 </section>
795 </when> 818 </when>
796 <when value="Normalizer"> 819 <when value="Normalizer">
797 <section name="options" title="Advanced Options" expanded="False"> 820 <section name="options" title="Advanced Options" expanded="False">
798 <param argument="norm" type="select" optional="true" label="The norm to use to normalize non zero samples" help=" "> 821 <param argument="norm" type="select" optional="true" label="The norm to use to normalize non zero samples" help=" ">
799 <option value="l1" selected="true">l1</option> 822 <option value="l1" selected="true">l1</option>
800 <option value="l2">l2</option> 823 <option value="l2">l2</option>
801 <option value="max">max</option> 824 <option value="max">max</option>
802 </param> 825 </param>
803 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" 826 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true"
804 label="Use a copy of data for precomputing row normalization" help=" "/> 827 label="Use a copy of data for precomputing row normalization" help=" " />
805 </section> 828 </section>
806 </when> 829 </when>
807 <yield/> 830 <yield />
808 </xml> 831 </xml>
809 832
810 <xml name="sparse_preprocessor_options_ext"> 833 <xml name="sparse_preprocessor_options_ext">
811 <expand macro="sparse_preprocessor_options"> 834 <expand macro="sparse_preprocessor_options">
812 <when value="KernelCenterer"> 835 <when value="KernelCenterer">
813 <section name="options" title="Advanced Options" expanded="False"> 836 <section name="options" title="Advanced Options" expanded="False">
814 </section> 837 </section>
815 </when> 838 </when>
816 <when value="MinMaxScaler"> 839 <when value="MinMaxScaler">
817 <section name="options" title="Advanced Options" expanded="False"> 840 <section name="options" title="Advanced Options" expanded="False">
818 <param argument="feature_range" type="text" value="(0, 1)" optional="true" help="Desired range of transformed data. None or tuple (min, max). None equals to (0, 1)"/> 841 <param argument="feature_range" type="text" value="(0, 1)" optional="true" help="Desired range of transformed data. None or tuple (min, max). None equals to (0, 1)" />
819 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" 842 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true"
820 label="Use a copy of data for precomputing normalization" help=" "/> 843 label="Use a copy of data for precomputing normalization" help=" " />
821 </section> 844 </section>
822 </when> 845 </when>
823 <when value="PolynomialFeatures"> 846 <when value="PolynomialFeatures">
824 <section name="options" title="Advanced Options" expanded="False"> 847 <section name="options" title="Advanced Options" expanded="False">
825 <param argument="degree" type="integer" optional="true" value="2" label="The degree of the polynomial features " help=""/> 848 <param argument="degree" type="integer" optional="true" value="2" label="The degree of the polynomial features " help="" />
826 <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) "/> 849 <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) " />
827 <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 "/> 850 <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 " />
828 </section> 851 </section>
829 </when> 852 </when>
830 <when value="RobustScaler"> 853 <when value="RobustScaler">
831 <section name="options" title="Advanced Options" expanded="False"> 854 <section name="options" title="Advanced Options" expanded="False">
832 <!--=True, =True, copy=True--> 855 <!--=True, =True, copy=True-->
833 <param argument="with_centering" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" 856 <param argument="with_centering" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true"
834 label="Center the data before scaling" help=" "/> 857 label="Center the data before scaling" help=" " />
835 <param argument="with_scaling" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" 858 <param argument="with_scaling" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true"
836 label="Scale the data to interquartile range" help=" "/> 859 label="Scale the data to interquartile range" help=" " />
837 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" 860 <param argument="copy" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true"
838 label="Use a copy of data for inplace scaling" help=" "/> 861 label="Use a copy of data for inplace scaling" help=" " />
839 </section> 862 </section>
840 </when> 863 </when>
841 <when value="QuantileTransformer"> 864 <when value="QuantileTransformer">
842 <section name="options" title="Advanced Options" expanded="False"> 865 <section name="options" title="Advanced Options" expanded="False">
843 <param name="n_quantiles" type="integer" value="1000" min="0" label="Number of quantiles to be computed" /> 866 <param name="n_quantiles" type="integer" value="1000" min="0" label="Number of quantiles to be computed" />
844 <param name="output_distribution" type="select" label="Marginal distribution for the transformed data"> 867 <param name="output_distribution" type="select" label="Marginal distribution for the transformed data">
845 <option value="uniform" selected="true">uniform</option> 868 <option value="uniform" selected="true">uniform</option>
846 <option value="normal">normal</option> 869 <option value="normal">normal</option>
847 </param> 870 </param>
848 <param name="ignore_implicit_zeros" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to discard sparse entries" help="Only applies to sparse matrices. If False, sparse entries are treated as zeros"/> 871 <param name="ignore_implicit_zeros" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to discard sparse entries" help="Only applies to sparse matrices. If False, sparse entries are treated as zeros" />
849 <param name="subsample" type="integer" value="100000" label="Maximum number of samples used to estimate the quantiles for computational efficiency" help="Note that the subsampling procedure may differ for value-identical sparse and dense matrices."/> 872 <param name="subsample" type="integer" value="100000" label="Maximum number of samples used to estimate the quantiles for computational efficiency" help="Note that the subsampling procedure may differ for value-identical sparse and dense matrices." />
850 <expand macro="random_state" help_text="This is used by subsampling and smoothing noise"/> 873 <expand macro="random_state" help_text="This is used by subsampling and smoothing noise" />
851 </section> 874 </section>
852 </when> 875 </when>
853 <when value="PowerTransformer"> 876 <when value="PowerTransformer">
854 <section name="options" title="Advanced Options" expanded="False"> 877 <section name="options" title="Advanced Options" expanded="False">
855 <param name="method" type="select" label="The power transform method"> 878 <param name="method" type="select" label="The power transform method">
856 <option value="yeo-johnson" selected="true">yeo-johnson (works with positive and negative values)</option> 879 <option value="yeo-johnson" selected="true">yeo-johnson (works with positive and negative values)</option>
857 <option value="box-cox">box-cox (might perform better, but only works with strictly positive values)</option> 880 <option value="box-cox">box-cox (might perform better, but only works with strictly positive values)</option>
858 </param> 881 </param>
859 <param name="standardize" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Whether to apply zero-mean, unit-variance normalization to the transformed output."/> 882 <param name="standardize" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Whether to apply zero-mean, unit-variance normalization to the transformed output." />
860 </section> 883 </section>
861 </when> 884 </when>
862 <when value="KBinsDiscretizer"> 885 <when value="KBinsDiscretizer">
863 <section name="options" title="Advanced Options" expanded="False"> 886 <section name="options" title="Advanced Options" expanded="False">
864 <param name="n_bins" type="integer" value="5" min="2" label="The number of bins to produce"/> 887 <param name="n_bins" type="integer" value="5" min="2" label="The number of bins to produce" />
865 <param name="encode" type="select" label="Method used to encode the transformed result"> 888 <param name="encode" type="select" label="Method used to encode the transformed result">
866 <option value="onehot" selected="true">onehot (encode the transformed result with one-hot encoding and return a sparse matrix)</option> 889 <option value="onehot" selected="true">onehot (encode the transformed result with one-hot encoding and return a sparse matrix)</option>
867 <option value="onehot-dense">onehot-dense (encode the transformed result with one-hot encoding and return a dense array)</option> 890 <option value="onehot-dense">onehot-dense (encode the transformed result with one-hot encoding and return a dense array)</option>
868 <option value="ordinal">ordinal (return the bin identifier encoded as an integer value)</option> 891 <option value="ordinal">ordinal (return the bin identifier encoded as an integer value)</option>
869 </param> 892 </param>
870 <param name="strategy" type="select" label="Strategy used to define the widths of the bins"> 893 <param name="strategy" type="select" label="Strategy used to define the widths of the bins">
871 <option value="uniform">uniform (all bins in each feature have identical widths)</option> 894 <option value="uniform">uniform (all bins in each feature have identical widths)</option>
872 <option value="quantile" selected="true">quantile (all bins in each feature have the same number of points)</option> 895 <option value="quantile" selected="true">quantile (all bins in each feature have the same number of points)</option>
873 <option value="kmeans">kmeans (values in each bin have the same nearest center of a 1D k-means cluster)</option> 896 <option value="kmeans">kmeans (values in each bin have the same nearest center of a 1D k-means cluster)</option>
874 </param> 897 </param>
875 </section> 898 </section>
876 </when> 899 </when>
877 </expand> 900 </expand>
878 </xml> 901 </xml>
879 902
880 <xml name="cv_splitter"> 903 <xml name="cv_splitter">
889 <option value="StratifiedShuffleSplit">StratifiedShuffleSplit</option> 912 <option value="StratifiedShuffleSplit">StratifiedShuffleSplit</option>
890 <option value="TimeSeriesSplit">TimeSeriesSplit</option> 913 <option value="TimeSeriesSplit">TimeSeriesSplit</option>
891 <option value="PredefinedSplit">PredefinedSplit</option> 914 <option value="PredefinedSplit">PredefinedSplit</option>
892 <option value="OrderedKFold">OrderedKFold</option> 915 <option value="OrderedKFold">OrderedKFold</option>
893 <option value="RepeatedOrderedKFold">RepeatedOrderedKFold</option> 916 <option value="RepeatedOrderedKFold">RepeatedOrderedKFold</option>
894 <yield/> 917 <yield />
895 </xml> 918 </xml>
896 919
897 <xml name="cv_splitter_options"> 920 <xml name="cv_splitter_options">
898 <when value="default"> 921 <when value="default">
899 <expand macro="cv_n_splits"/> 922 <expand macro="cv_n_splits" />
900 </when> 923 </when>
901 <when value="KFold"> 924 <when value="KFold">
902 <expand macro="cv_n_splits"/> 925 <expand macro="cv_n_splits" />
903 <expand macro="cv_shuffle"/> 926 <expand macro="cv_shuffle" />
904 <expand macro="random_state"/> 927 <expand macro="random_state" />
905 </when> 928 </when>
906 <when value="StratifiedKFold"> 929 <when value="StratifiedKFold">
907 <expand macro="cv_n_splits"/> 930 <expand macro="cv_n_splits" />
908 <expand macro="cv_shuffle"/> 931 <expand macro="cv_shuffle" />
909 <expand macro="random_state"/> 932 <expand macro="random_state" />
910 </when> 933 </when>
911 <when value="LeaveOneOut"> 934 <when value="LeaveOneOut">
912 </when> 935 </when>
913 <when value="LeavePOut"> 936 <when value="LeavePOut">
914 <param argument="p" type="integer" value="" label="p" help="Integer. Size of the test sets."/> 937 <param argument="p" type="integer" value="" label="p" help="Integer. Size of the test sets." />
915 </when> 938 </when>
916 <when value="RepeatedKFold"> 939 <when value="RepeatedKFold">
917 <expand macro="cv_n_splits" value="5"/> 940 <expand macro="cv_n_splits" value="5" />
918 <param argument="n_repeats" type="integer" value="10" label="n_repeats" help="Number of times cross-validator needs to be repeated." /> 941 <param argument="n_repeats" type="integer" value="10" label="n_repeats" help="Number of times cross-validator needs to be repeated." />
919 <expand macro="random_state" /> 942 <expand macro="random_state" />
920 </when> 943 </when>
921 <when value="RepeatedStratifiedKFold"> 944 <when value="RepeatedStratifiedKFold">
922 <expand macro="cv_n_splits" value="5"/> 945 <expand macro="cv_n_splits" value="5" />
923 <param argument="n_repeats" type="integer" value="10" label="n_repeats" help="Number of times cross-validator needs to be repeated." /> 946 <param argument="n_repeats" type="integer" value="10" label="n_repeats" help="Number of times cross-validator needs to be repeated." />
924 <expand macro="random_state" /> 947 <expand macro="random_state" />
925 </when> 948 </when>
926 <when value="ShuffleSplit"> 949 <when value="ShuffleSplit">
927 <expand macro="cv_n_splits" value="10" help="Number of re-shuffling and splitting iterations."/> 950 <expand macro="cv_n_splits" value="10" help="Number of re-shuffling and splitting iterations." />
928 <expand macro="cv_test_size" value="0.1" /> 951 <expand macro="cv_test_size" value="0.1" />
929 <expand macro="random_state"/> 952 <expand macro="random_state" />
930 </when> 953 </when>
931 <when value="StratifiedShuffleSplit"> 954 <when value="StratifiedShuffleSplit">
932 <expand macro="cv_n_splits" value="10" help="Number of re-shuffling and splitting iterations."/> 955 <expand macro="cv_n_splits" value="10" help="Number of re-shuffling and splitting iterations." />
933 <expand macro="cv_test_size" value="0.1" /> 956 <expand macro="cv_test_size" value="0.1" />
934 <expand macro="random_state"/> 957 <expand macro="random_state" />
935 </when> 958 </when>
936 <when value="TimeSeriesSplit"> 959 <when value="TimeSeriesSplit">
937 <expand macro="cv_n_splits"/> 960 <expand macro="cv_n_splits" />
938 <param argument="max_train_size" type="integer" value="" optional="true" label="Maximum size of the training set" help="Maximum size for a single training set." /> 961 <param argument="max_train_size" type="integer" value="" optional="true" label="Maximum size of the training set" help="Maximum size for a single training set." />
939 </when> 962 </when>
940 <when value="PredefinedSplit"> 963 <when value="PredefinedSplit">
941 <param argument="test_fold" type="text" value="" area="true" label="test_fold" help="List, e.g., [0, 1, -1, 1], represents two test sets, [X[0]] and [X[1], X[3]], X[2] is excluded from any test set due to '-1'."/> 964 <param argument="test_fold" type="text" value="" area="true" label="test_fold" help="List, e.g., [0, 1, -1, 1], represents two test sets, [X[0]] and [X[1], X[3]], X[2] is excluded from any test set due to '-1'." />
942 </when> 965 </when>
943 <when value="OrderedKFold"> 966 <when value="OrderedKFold">
944 <expand macro="cv_n_splits"/> 967 <expand macro="cv_n_splits" />
945 <expand macro="cv_shuffle"/> 968 <expand macro="cv_shuffle" />
946 <expand macro="random_state"/> 969 <expand macro="random_state" />
970 <expand macro="cv_n_stratification_bins" />
947 </when> 971 </when>
948 <when value="RepeatedOrderedKFold"> 972 <when value="RepeatedOrderedKFold">
949 <expand macro="cv_n_splits"/> 973 <expand macro="cv_n_splits" />
950 <param argument="n_repeats" type="integer" value="5"/> 974 <param argument="n_repeats" type="integer" value="5" />
951 <expand macro="random_state"/> 975 <expand macro="random_state" />
952 </when> 976 <expand macro="cv_n_stratification_bins" />
953 <yield/> 977 </when>
978 <yield />
954 </xml> 979 </xml>
955 980
956 <xml name="cv"> 981 <xml name="cv">
957 <conditional name="cv_selector"> 982 <conditional name="cv_selector">
958 <param name="selected_cv" type="select" label="Select the cv splitter:"> 983 <param name="selected_cv" type="select" label="Select the cv splitter:">
963 <option value="LeavePGroupsOut">LeavePGroupsOut</option> 988 <option value="LeavePGroupsOut">LeavePGroupsOut</option>
964 </expand> 989 </expand>
965 </param> 990 </param>
966 <expand macro="cv_splitter_options"> 991 <expand macro="cv_splitter_options">
967 <when value="GroupKFold"> 992 <when value="GroupKFold">
968 <expand macro="cv_n_splits"/> 993 <expand macro="cv_n_splits" />
969 <expand macro="cv_groups" /> 994 <expand macro="cv_groups" />
970 </when> 995 </when>
971 <when value="GroupShuffleSplit"> 996 <when value="GroupShuffleSplit">
972 <expand macro="cv_n_splits" value="5"/> 997 <expand macro="cv_n_splits" value="5" />
973 <expand macro="cv_test_size"/> 998 <expand macro="cv_test_size" />
974 <expand macro="random_state"/> 999 <expand macro="random_state" />
975 <expand macro="cv_groups"/> 1000 <expand macro="cv_groups" />
976 </when> 1001 </when>
977 <when value="LeaveOneGroupOut"> 1002 <when value="LeaveOneGroupOut">
978 <expand macro="cv_groups"/> 1003 <expand macro="cv_groups" />
979 </when> 1004 </when>
980 <when value="LeavePGroupsOut"> 1005 <when value="LeavePGroupsOut">
981 <param argument="n_groups" type="integer" value="" label="n_groups" help="Number of groups (p) to leave out in the test split." /> 1006 <param argument="n_groups" type="integer" value="" label="n_groups" help="Number of groups (p) to leave out in the test split." />
982 <expand macro="cv_groups"/> 1007 <expand macro="cv_groups" />
983 </when> 1008 </when>
984 </expand> 1009 </expand>
985 </conditional> 1010 </conditional>
986 </xml> 1011 </xml>
987 1012
988 <xml name="cv_reduced" token_label="Select the cv splitter"> 1013 <xml name="cv_reduced" token_label="Select the cv splitter">
989 <conditional name="cv_selector"> 1014 <conditional name="cv_selector">
990 <param name="selected_cv" type="select" label="@LABEL@"> 1015 <param name="selected_cv" type="select" label="@LABEL@">
991 <expand macro="cv_splitter"/> 1016 <expand macro="cv_splitter" />
992 </param> 1017 </param>
993 <expand macro="cv_splitter_options"/> 1018 <expand macro="cv_splitter_options" />
994 </conditional> 1019 </conditional>
995 </xml> 1020 </xml>
996 1021
997 <xml name="cv_n_splits" token_value="3" token_help="Number of folds. Must be at least 2."> 1022 <xml name="cv_n_splits" token_value="5" token_help="Number of folds. Must be at least 2.">
998 <param argument="n_splits" type="integer" value="@VALUE@" min="1" label="n_splits" help="@HELP@"/> 1023 <!--why set min to 1?-->
1024 <param argument="n_splits" type="integer" value="@VALUE@" min="1" label="n_splits" help="@HELP@" />
999 </xml> 1025 </xml>
1000 1026
1001 <xml name="cv_shuffle"> 1027 <xml name="cv_shuffle">
1002 <param argument="shuffle" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to shuffle data before splitting" /> 1028 <param argument="shuffle" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Whether to shuffle data before splitting" />
1003 </xml> 1029 </xml>
1004 1030
1031 <xml name="cv_n_stratification_bins">
1032 <param argument="n_stratification_bins" type="integer" value="" optional="true" help="Integer. The number of stratification bins. Only relevent when shuffle is True. Valid in [2, `n_samples // n_splits`]. Default value is None, which is same as `n_samples // n_splits`. The higher the value is, the distribution of target values is more approximately the ame across all split folds." />
1033 </xml>
1034
1005 <xml name="cv_test_size" token_value="0.2"> 1035 <xml name="cv_test_size" token_value="0.2">
1006 <param argument="test_size" type="float" value="@VALUE@" min="0.0" label="Portion or number of the test set" help="0.0-1.0, proportion of the dataset to include in the test split; >1, integer only, the absolute number of test samples "/> 1036 <param argument="test_size" type="float" value="@VALUE@" min="0.0" label="Portion or number of the test set" help="0.0-1.0, proportion of the dataset to include in the test split; >1, integer only, the absolute number of test samples " />
1007 </xml> 1037 </xml>
1008 1038
1009 <xml name="cv_groups" > 1039 <xml name="cv_groups" >
1010 <section name="groups_selector" title="Groups column selector" expanded="true"> 1040 <section name="groups_selector" title="Groups column selector" expanded="true">
1011 <param name="infile_g" type="data" format="tabular" label="Choose dataset containing groups info:"/> 1041 <param name="infile_g" type="data" format="tabular" label="Choose dataset containing groups info:" />
1012 <param name="header_g" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" /> 1042 <param name="header_g" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="False" label="Does the dataset contain header:" />
1013 <conditional name="column_selector_options_g"> 1043 <conditional name="column_selector_options_g">
1014 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option_g" col_name="col_g" multiple="False" infile="infile_g"/> 1044 <expand macro="samples_column_selector_options" column_option="selected_column_selector_option_g" col_name="col_g" multiple="False" infile="infile_g" />
1015 </conditional> 1045 </conditional>
1016 </section> 1046 </section>
1017 </xml> 1047 </xml>
1018 1048
1019 <xml name="train_test_split_params"> 1049 <xml name="train_test_split_params">
1023 <option value="simple" selected="true">ShuffleSplit</option> 1053 <option value="simple" selected="true">ShuffleSplit</option>
1024 <option value="stratified">StratifiedShuffleSplit -- target values serve as class labels</option> 1054 <option value="stratified">StratifiedShuffleSplit -- target values serve as class labels</option>
1025 <option value="group">GroupShuffleSplit or split by group names</option> 1055 <option value="group">GroupShuffleSplit or split by group names</option>
1026 </param> 1056 </param>
1027 <when value="None"> 1057 <when value="None">
1028 <expand macro="train_test_split_test_size"/> 1058 <expand macro="train_test_split_test_size" />
1029 </when> 1059 </when>
1030 <when value="simple"> 1060 <when value="simple">
1031 <expand macro="train_test_split_test_size"/> 1061 <expand macro="train_test_split_test_size" />
1032 <expand macro="random_state"/> 1062 <expand macro="random_state" />
1033 </when> 1063 </when>
1034 <when value="stratified"> 1064 <when value="stratified">
1035 <expand macro="train_test_split_test_size"/> 1065 <expand macro="train_test_split_test_size" />
1036 <expand macro="random_state"/> 1066 <expand macro="random_state" />
1037 </when> 1067 </when>
1038 <when value="group"> 1068 <when value="group">
1039 <expand macro="train_test_split_test_size" optional="true"/> 1069 <expand macro="train_test_split_test_size" optional="true" />
1040 <expand macro="random_state"/> 1070 <expand macro="random_state" />
1041 <param argument="group_names" type="text" value="" optional="true" label="Type in group names instead" 1071 <param argument="group_names" type="text" value="" optional="true" label="Type in group names instead"
1042 help="For example: chr6, chr7. This parameter is optional. If used, it will override the holdout size and random seed."/> 1072 help="For example: chr6, chr7. This parameter is optional. If used, it will override the holdout size and random seed." />
1043 <yield/> 1073 <yield />
1044 </when> 1074 </when>
1045 </conditional> 1075 </conditional>
1046 <!--param argument="train_size" type="float" optional="True" value="" label="Train size:"/>--> 1076 <!--param argument="train_size" type="float" optional="True" value="" label="Train size:" />-->
1047 </xml> 1077 </xml>
1048 1078
1049 <xml name="train_test_split_test_size" token_optional="false"> 1079 <xml name="train_test_split_test_size" token_optional="false">
1050 <param name="test_size" type="float" value="0.2" optional="@OPTIONAL@" label="Holdout size" help="Leass than 1, for preportion; greater than 1 (integer), for number of samples."/> 1080 <param name="test_size" type="float" value="0.2" optional="@OPTIONAL@" label="Holdout size" help="Leass than 1, for preportion; greater than 1 (integer), for number of samples." />
1051 </xml> 1081 </xml>
1052 1082
1053 <xml name="feature_selection_algorithms"> 1083 <xml name="feature_selection_algorithms">
1054 <option value="SelectKBest" selected="true">SelectKBest - Select features according to the k highest scores</option> 1084 <option value="SelectKBest" selected="true">SelectKBest - Select features according to the k highest scores</option>
1055 <option value="GenericUnivariateSelect">GenericUnivariateSelect - Univariate feature selector with configurable strategy</option> 1085 <option value="GenericUnivariateSelect">GenericUnivariateSelect - Univariate feature selector with configurable strategy</option>
1059 <option value="SelectFwe">SelectFwe - Filter: Select the p-values corresponding to Family-wise error rate</option> 1089 <option value="SelectFwe">SelectFwe - Filter: Select the p-values corresponding to Family-wise error rate</option>
1060 <option value="VarianceThreshold">VarianceThreshold - Feature selector that removes all low-variance features</option> 1090 <option value="VarianceThreshold">VarianceThreshold - Feature selector that removes all low-variance features</option>
1061 <option value="SelectFromModel">SelectFromModel - Meta-transformer for selecting features based on importance weights</option> 1091 <option value="SelectFromModel">SelectFromModel - Meta-transformer for selecting features based on importance weights</option>
1062 <option value="RFE">RFE - Feature ranking with recursive feature elimination</option> 1092 <option value="RFE">RFE - Feature ranking with recursive feature elimination</option>
1063 <option value="RFECV">RFECV - Feature ranking with recursive feature elimination and cross-validated selection of the best number of features</option> 1093 <option value="RFECV">RFECV - Feature ranking with recursive feature elimination and cross-validated selection of the best number of features</option>
1064 <yield/> 1094 <yield />
1065 </xml> 1095 </xml>
1066 1096
1067 <xml name="feature_selection_algorithm_details"> 1097 <xml name="feature_selection_algorithm_details">
1068 <when value="GenericUnivariateSelect"> 1098 <when value="GenericUnivariateSelect">
1069 <expand macro="feature_selection_score_function" /> 1099 <expand macro="feature_selection_score_function" />
1091 </section> 1121 </section>
1092 </when> 1122 </when>
1093 <when value="SelectFpr"> 1123 <when value="SelectFpr">
1094 <expand macro="feature_selection_score_function" /> 1124 <expand macro="feature_selection_score_function" />
1095 <section name="options" title="Advanced Options" expanded="False"> 1125 <section name="options" title="Advanced Options" expanded="False">
1096 <param argument="alpha" type="float" value="" optional="True" label="Alpha" help="The highest p-value for features to be kept."/> 1126 <param argument="alpha" type="float" value="" optional="True" label="Alpha" help="The highest p-value for features to be kept." />
1097 </section> 1127 </section>
1098 </when> 1128 </when>
1099 <when value="SelectFdr"> 1129 <when value="SelectFdr">
1100 <expand macro="feature_selection_score_function" /> 1130 <expand macro="feature_selection_score_function" />
1101 <section name="options" title="Advanced Options" expanded="False"> 1131 <section name="options" title="Advanced Options" expanded="False">
1102 <param argument="alpha" type="float" value="" optional="True" label="Alpha" help="The highest uncorrected p-value for features to keep."/> 1132 <param argument="alpha" type="float" value="" optional="True" label="Alpha" help="The highest uncorrected p-value for features to keep." />
1103 </section> 1133 </section>
1104 </when> 1134 </when>
1105 <when value="SelectFwe"> 1135 <when value="SelectFwe">
1106 <expand macro="feature_selection_score_function" /> 1136 <expand macro="feature_selection_score_function" />
1107 <section name="options" title="Advanced Options" expanded="False"> 1137 <section name="options" title="Advanced Options" expanded="False">
1108 <param argument="alpha" type="float" value="" optional="True" label="Alpha" help="The highest uncorrected p-value for features to keep."/> 1138 <param argument="alpha" type="float" value="" optional="True" label="Alpha" help="The highest uncorrected p-value for features to keep." />
1109 </section> 1139 </section>
1110 </when> 1140 </when>
1111 <when value="VarianceThreshold"> 1141 <when value="VarianceThreshold">
1112 <section name="options" title="Options" expanded="False"> 1142 <section name="options" title="Options" expanded="False">
1113 <param argument="threshold" type="float" value="0.0" optional="True" label="Threshold" help="Features with a training-set variance lower than this threshold will be removed."/> 1143 <param argument="threshold" type="float" value="0.0" optional="True" label="Threshold" help="Features with a training-set variance lower than this threshold will be removed." />
1114 </section> 1144 </section>
1115 </when> 1145 </when>
1116 </xml> 1146 </xml>
1117 1147
1118 <xml name="feature_selection_SelectFromModel"> 1148 <xml name="feature_selection_SelectFromModel">
1121 <param name="input_mode" type="select" label="Construct a new estimator from a selection list?" > 1151 <param name="input_mode" type="select" label="Construct a new estimator from a selection list?" >
1122 <option value="new" selected="true">Yes</option> 1152 <option value="new" selected="true">Yes</option>
1123 <option value="prefitted">No. Load a prefitted estimator</option> 1153 <option value="prefitted">No. Load a prefitted estimator</option>
1124 </param> 1154 </param>
1125 <when value="new"> 1155 <when value="new">
1126 <expand macro="estimator_selector_fs"/> 1156 <expand macro="estimator_selector_fs" />
1127 </when> 1157 </when>
1128 <when value="prefitted"> 1158 <when value="prefitted">
1129 <param name="fitted_estimator" type="data" format='zip' label="Load a prefitted estimator" /> 1159 <param name="fitted_estimator" type="data" format='h5mlm' label="Load a prefitted estimator" />
1130 </when> 1160 </when>
1131 </conditional> 1161 </conditional>
1132 <expand macro="feature_selection_SelectFromModel_options"/> 1162 <expand macro="feature_selection_SelectFromModel_options" />
1133 </when> 1163 </when>
1134 </xml> 1164 </xml>
1135 1165
1136 <xml name="feature_selection_SelectFromModel_no_prefitted"> 1166 <xml name="feature_selection_SelectFromModel_no_prefitted">
1137 <when value="SelectFromModel"> 1167 <when value="SelectFromModel">
1138 <conditional name="model_inputter"> 1168 <conditional name="model_inputter">
1139 <param name="input_mode" type="select" label="Construct a new estimator from a selection list?" > 1169 <param name="input_mode" type="select" label="Construct a new estimator from a selection list?" >
1140 <option value="new" selected="true">Yes</option> 1170 <option value="new" selected="true">Yes</option>
1141 </param> 1171 </param>
1142 <when value="new"> 1172 <when value="new">
1143 <expand macro="estimator_selector_all"/> 1173 <expand macro="estimator_selector_all" />
1144 </when> 1174 </when>
1145 </conditional> 1175 </conditional>
1146 <expand macro="feature_selection_SelectFromModel_options"/> 1176 <expand macro="feature_selection_SelectFromModel_options" />
1147 </when> 1177 </when>
1148 </xml> 1178 </xml>
1149 1179
1150 <xml name="feature_selection_SelectFromModel_options"> 1180 <xml name="feature_selection_SelectFromModel_options">
1151 <section name="options" title="Advanced Options" expanded="False"> 1181 <section name="options" title="Advanced Options" expanded="False">
1152 <param argument="threshold" type="text" value="" optional="true" label="threshold" help="The threshold value to use for feature selection. e.g. 'mean', 'median', '1.25*mean'." /> 1182 <param argument="threshold" type="text" value="" optional="true" label="threshold" help="The threshold value to use for feature selection. e.g. 'mean', 'median', '1.25*mean'." />
1153 <param argument="norm_order" type="integer" value="1" label="norm_order" help="Order of the norm used to filter the vectors of coefficients below threshold in the case where the coef_ attribute of the estimator is of dimension 2. " /> 1183 <param argument="norm_order" type="integer" value="1" label="norm_order" help="Order of the norm used to filter the vectors of coefficients below threshold in the case where the coef_ attribute of the estimator is of dimension 2. " />
1154 <param argument="max_features" type="integer" value="" optional="true" label="The maximum number of features selected scoring above threshold" help="To disable threshold and only select based on max_features, set threshold=-np.inf."/> 1184 <param argument="max_features" type="integer" value="" optional="true" label="The maximum number of features selected scoring above threshold" help="To disable threshold and only select based on max_features, set threshold=-np.inf." />
1155 </section> 1185 </section>
1156 </xml> 1186 </xml>
1157 1187
1158 <xml name="feature_selection_RFE"> 1188 <xml name="feature_selection_RFE">
1159 <when value="RFE"> 1189 <when value="RFE">
1160 <yield/> 1190 <yield />
1161 <section name="options" title="Advanced Options" expanded="False"> 1191 <section name="options" title="Advanced Options" expanded="False">
1162 <param argument="n_features_to_select" type="integer" value="" optional="true" label="n_features_to_select" help="The number of features to select. If None, half of the features are selected." /> 1192 <param argument="n_features_to_select" type="integer" value="" optional="true" label="n_features_to_select" help="The number of features to select. If None, half of the features are selected." />
1163 <param argument="step" type="float" value="1" label="step" optional="true" help="Default = 1. " /> 1193 <param argument="step" type="float" value="1" label="step" optional="true" help="Default = 1. " />
1164 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." /> 1194 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." />
1165 </section> 1195 </section>
1166 </when> 1196 </when>
1167 </xml> 1197 </xml>
1168 1198
1169 <xml name="feature_selection_RFECV_fs"> 1199 <xml name="feature_selection_RFECV_fs">
1170 <when value="RFECV"> 1200 <when value="RFECV">
1171 <yield/> 1201 <yield />
1172 <section name="options" title="Advanced Options" expanded="False"> 1202 <section name="options" title="Advanced Options" expanded="False">
1173 <param argument="step" type="float" value="1" label="step" optional="true" help="Default = 1. " /> 1203 <param argument="step" type="float" value="1" label="step" optional="true" help="Default = 1. " />
1174 <param argument="min_features_to_select" type="integer" value="1" optional="true" label="The minimum number of features to be selected"/> 1204 <param argument="min_features_to_select" type="integer" value="1" optional="true" label="The minimum number of features to be selected" />
1175 <expand macro="cv"/> 1205 <expand macro="cv" />
1176 <expand macro="scoring_selection"/> 1206 <expand macro="scoring_selection" />
1177 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." /> 1207 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." />
1178 </section> 1208 </section>
1179 </when> 1209 </when>
1180 </xml> 1210 </xml>
1181 1211
1182 <xml name="feature_selection_RFECV_pipeline"> 1212 <xml name="feature_selection_RFECV_pipeline">
1183 <when value="RFECV"> 1213 <when value="RFECV">
1184 <yield/> 1214 <yield />
1185 <section name="options" title="Advanced Options" expanded="False"> 1215 <section name="options" title="Advanced Options" expanded="False">
1186 <param argument="step" type="float" value="1" label="step" optional="true" help="Default = 1. " /> 1216 <param argument="step" type="float" value="1" label="step" optional="true" help="Default = 1. " />
1187 <param argument="min_features_to_select" type="integer" value="1" optional="true" label="The minimum number of features to be selected"/> 1217 <param argument="min_features_to_select" type="integer" value="1" optional="true" label="The minimum number of features to be selected" />
1188 <expand macro="cv_reduced"/> 1218 <expand macro="cv_reduced" />
1189 <!-- TODO: group splitter support--> 1219 <!-- TODO: group splitter support-->
1190 <expand macro="scoring_selection"/> 1220 <expand macro="scoring_selection" />
1191 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." /> 1221 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." />
1192 </section> 1222 </section>
1193 </when> 1223 </when>
1194 </xml> 1224 </xml>
1195 1225
1196 <xml name="feature_selection_DyRFECV_fs"> 1226 <xml name="feature_selection_DyRFECV_fs">
1197 <when value="DyRFECV"> 1227 <when value="DyRFECV">
1198 <yield/> 1228 <yield />
1199 <section name="options" title="Advanced Options" expanded="False"> 1229 <section name="options" title="Advanced Options" expanded="False">
1200 <param argument="step" type="text" size="30" value="1" label="step" optional="true" help="Default = 1. Support float, int and list." > 1230 <param argument="step" type="text" size="30" value="1" label="step" optional="true" help="Default = 1. Support float, int and list." >
1201 <sanitizer> 1231 <sanitizer>
1202 <valid initial="default"> 1232 <valid initial="default">
1203 <add value="["/> 1233 <add value="[" />
1204 <add value="]"/> 1234 <add value="]" />
1205 </valid> 1235 </valid>
1206 </sanitizer> 1236 </sanitizer>
1207 </param> 1237 </param>
1208 <param argument="min_features_to_select" type="integer" value="1" optional="true" label="The minimum number of features to be selected"/> 1238 <param argument="min_features_to_select" type="integer" value="1" optional="true" label="The minimum number of features to be selected" />
1209 <expand macro="cv"/> 1239 <expand macro="cv" />
1210 <expand macro="scoring_selection"/> 1240 <expand macro="scoring_selection" />
1211 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." /> 1241 <param argument="verbose" type="integer" value="0" label="verbose" help="Controls verbosity of output." />
1212 </section> 1242 </section>
1213 </when> 1243 </when>
1214 </xml> 1244 </xml>
1215 1245
1216 <xml name="feature_selection_pipeline"> 1246 <xml name="feature_selection_pipeline">
1217 <!--compare to `feature_selection_fs`, no fitted estimator for SelectFromModel and no custom estimator for RFE and RFECV--> 1247 <!--compare to `feature_selection_fs`, no fitted estimator for SelectFromModel and no custom estimator for RFE and RFECV-->
1218 <conditional name="fs_algorithm_selector"> 1248 <conditional name="fs_algorithm_selector">
1219 <param name="selected_algorithm" type="select" label="Select a feature selection algorithm"> 1249 <param name="selected_algorithm" type="select" label="Select a feature selection algorithm">
1220 <expand macro="feature_selection_algorithms"/> 1250 <expand macro="feature_selection_algorithms" />
1221 </param> 1251 </param>
1222 <expand macro="feature_selection_algorithm_details"/> 1252 <expand macro="feature_selection_algorithm_details" />
1223 <expand macro="feature_selection_SelectFromModel_no_prefitted"/> 1253 <expand macro="feature_selection_SelectFromModel_no_prefitted" />
1224 <expand macro="feature_selection_RFE"> 1254 <expand macro="feature_selection_RFE">
1225 <expand macro="estimator_selector_all"/> 1255 <expand macro="estimator_selector_all" />
1226 </expand> 1256 </expand>
1227 <expand macro="feature_selection_RFECV_pipeline"> 1257 <expand macro="feature_selection_RFECV_pipeline">
1228 <expand macro="estimator_selector_all"/> 1258 <expand macro="estimator_selector_all" />
1229 </expand> 1259 </expand>
1230 <!-- TODO: add DyRFECV to pipeline--> 1260 <!-- TODO: add DyRFECV to pipeline-->
1231 </conditional> 1261 </conditional>
1232 </xml> 1262 </xml>
1233 1263
1236 <param name="selected_algorithm" type="select" label="Select a feature selection algorithm"> 1266 <param name="selected_algorithm" type="select" label="Select a feature selection algorithm">
1237 <expand macro="feature_selection_algorithms"> 1267 <expand macro="feature_selection_algorithms">
1238 <option value="DyRFECV">DyRFECV - Extended RFECV with changeable steps</option> 1268 <option value="DyRFECV">DyRFECV - Extended RFECV with changeable steps</option>
1239 </expand> 1269 </expand>
1240 </param> 1270 </param>
1241 <expand macro="feature_selection_algorithm_details"/> 1271 <expand macro="feature_selection_algorithm_details" />
1242 <expand macro="feature_selection_SelectFromModel"/> 1272 <expand macro="feature_selection_SelectFromModel" />
1243 <expand macro="feature_selection_RFE"> 1273 <expand macro="feature_selection_RFE">
1244 <expand macro="estimator_selector_fs"/> 1274 <expand macro="estimator_selector_fs" />
1245 </expand> 1275 </expand>
1246 <expand macro="feature_selection_RFECV_fs"> 1276 <expand macro="feature_selection_RFECV_fs">
1247 <expand macro="estimator_selector_fs"/> 1277 <expand macro="estimator_selector_fs" />
1248 </expand> 1278 </expand>
1249 <expand macro="feature_selection_DyRFECV_fs"> 1279 <expand macro="feature_selection_DyRFECV_fs">
1250 <expand macro="estimator_selector_fs"/> 1280 <expand macro="estimator_selector_fs" />
1251 </expand> 1281 </expand>
1252 </conditional> 1282 </conditional>
1253 </xml> 1283 </xml>
1254 1284
1255 <xml name="feature_selection_score_function"> 1285 <xml name="feature_selection_score_function">
1261 <option value="mutual_info_regression">mutual_info_regression - Estimate mutual information for a continuous target variable</option> 1291 <option value="mutual_info_regression">mutual_info_regression - Estimate mutual information for a continuous target variable</option>
1262 </param> 1292 </param>
1263 </xml> 1293 </xml>
1264 1294
1265 <xml name="model_validation_common_options"> 1295 <xml name="model_validation_common_options">
1266 <expand macro="cv"/> 1296 <expand macro="cv" />
1267 <expand macro="verbose"/> 1297 <expand macro="verbose" />
1268 <yield/> 1298 <yield />
1269 </xml> 1299 </xml>
1270 1300
1271 <xml name="scoring_selection"> 1301 <xml name="scoring_selection" token_help="Metric to refit the best estimator.">
1272 <conditional name="scoring"> 1302 <conditional name="scoring">
1273 <param name="primary_scoring" type="select" multiple="false" label="Select the primary metric (scoring):" help="Metric to refit the best estimator."> 1303 <param name="primary_scoring" type="select" multiple="false" label="Select the primary metric (scoring):" help="@HELP@">
1274 <option value="default" selected="true">default with estimator</option> 1304 <option value="default" selected="true">default with estimator</option>
1275 <option value="accuracy">Classification -- 'accuracy'</option> 1305 <expand macro="scoring_selection_options" />
1276 <option value="balanced_accuracy">Classification -- 'balanced_accuracy'</option> 1306 </param>
1277 <option value="average_precision">Classification -- 'average_precision'</option> 1307 <when value="default" />
1278 <option value="f1">Classification -- 'f1'</option> 1308 <when value="accuracy"><expand macro="secondary_scoring_selection_classification" /></when>
1279 <option value="f1_micro">Classification -- 'f1_micro'</option> 1309 <when value="balanced_accuracy"><expand macro="secondary_scoring_selection_classification" /></when>
1280 <option value="f1_macro">Classification -- 'f1_macro'</option> 1310 <when value="average_precision"><expand macro="secondary_scoring_selection_classification" /></when>
1281 <option value="f1_weighted">Classification -- 'f1_weighted'</option> 1311 <when value="f1"><expand macro="secondary_scoring_selection_classification" /></when>
1282 <option value="f1_samples">Classification -- 'f1_samples'</option> 1312 <when value="f1_micro"><expand macro="secondary_scoring_selection_classification" /></when>
1283 <option value="neg_log_loss">Classification -- 'neg_log_loss'</option> 1313 <when value="f1_macro"><expand macro="secondary_scoring_selection_classification" /></when>
1284 <option value="precision">Classification -- 'precision'</option> 1314 <when value="f1_weighted"><expand macro="secondary_scoring_selection_classification" /></when>
1285 <option value="precision_micro">Classification -- 'precision_micro'</option> 1315 <when value="f1_samples"><expand macro="secondary_scoring_selection_classification" /></when>
1286 <option value="precision_macro">Classification -- 'precision_macro'</option> 1316 <when value="neg_log_loss"><expand macro="secondary_scoring_selection_classification" /></when>
1287 <option value="precision_wighted">Classification -- 'precision_wighted'</option> 1317 <when value="precision"><expand macro="secondary_scoring_selection_classification" /></when>
1288 <option value="precision_samples">Classification -- 'precision_samples'</option> 1318 <when value="precision_micro"><expand macro="secondary_scoring_selection_classification" /></when>
1289 <option value="recall">Classification -- 'recall'</option> 1319 <when value="precision_macro"><expand macro="secondary_scoring_selection_classification" /></when>
1290 <option value="recall_micro">Classification -- 'recall_micro'</option> 1320 <when value="precision_wighted"><expand macro="secondary_scoring_selection_classification" /></when>
1291 <option value="recall_macro">Classification -- 'recall_macro'</option> 1321 <when value="precision_samples"><expand macro="secondary_scoring_selection_classification" /></when>
1292 <option value="recall_wighted">Classification -- 'recall_wighted'</option> 1322 <when value="recall"><expand macro="secondary_scoring_selection_classification" /></when>
1293 <option value="recall_samples">Classification -- 'recall_samples'</option> 1323 <when value="recall_micro"><expand macro="secondary_scoring_selection_classification" /></when>
1294 <option value="roc_auc">Classification -- 'roc_auc'</option> 1324 <when value="recall_macro"><expand macro="secondary_scoring_selection_classification" /></when>
1295 <option value="explained_variance">Regression -- 'explained_variance'</option> 1325 <when value="recall_wighted"><expand macro="secondary_scoring_selection_classification" /></when>
1296 <option value="neg_mean_absolute_error">Regression -- 'neg_mean_absolute_error'</option> 1326 <when value="recall_samples"><expand macro="secondary_scoring_selection_classification" /></when>
1297 <option value="neg_mean_squared_error">Regression -- 'neg_mean_squared_error'</option> 1327 <when value="roc_auc"><expand macro="secondary_scoring_selection_classification" /></when>
1298 <option value="neg_mean_squared_log_error">Regression -- 'neg_mean_squared_log_error'</option> 1328 <when value="explained_variance"><expand macro="secondary_scoring_selection_regression" /></when>
1299 <option value="neg_median_absolute_error">Regression -- 'neg_median_absolute_error'</option> 1329 <when value="neg_mean_absolute_error"><expand macro="secondary_scoring_selection_regression" /></when>
1300 <option value="r2">Regression -- 'r2'</option> 1330 <when value="neg_mean_squared_error"><expand macro="secondary_scoring_selection_regression" /></when>
1301 <option value="max_error">Regression -- 'max_error'</option> 1331 <when value="neg_mean_squared_log_error"><expand macro="secondary_scoring_selection_regression" /></when>
1302 <option value="binarize_auc_scorer">anomaly detection -- binarize_auc_scorer</option> 1332 <when value="neg_median_absolute_error"><expand macro="secondary_scoring_selection_regression" /></when>
1303 <option value="binarize_average_precision_scorer">anomaly detection -- binarize_average_precision_scorer</option> 1333 <when value="r2"><expand macro="secondary_scoring_selection_regression" /></when>
1304 </param> 1334 <when value="max_error"><expand macro="secondary_scoring_selection_regression" /></when>
1305 <when value="default"/> 1335 <when value="spearman_correlation"><expand macro="secondary_scoring_selection_regression" /></when>
1306 <when value="accuracy"><expand macro="secondary_scoring_selection_classification"/></when> 1336 <when value="binarize_auc_scorer"><expand macro="secondary_scoring_selection_anormaly" /></when>
1307 <when value="balanced_accuracy"><expand macro="secondary_scoring_selection_classification"/></when> 1337 <when value="binarize_average_precision_scorer"><expand macro="secondary_scoring_selection_anormaly" /></when>
1308 <when value="average_precision"><expand macro="secondary_scoring_selection_classification"/></when> 1338 </conditional>
1309 <when value="f1"><expand macro="secondary_scoring_selection_classification"/></when> 1339 </xml>
1310 <when value="f1_micro"><expand macro="secondary_scoring_selection_classification"/></when> 1340
1311 <when value="f1_macro"><expand macro="secondary_scoring_selection_classification"/></when> 1341 <xml name="scoring_selection_options">
1312 <when value="f1_weighted"><expand macro="secondary_scoring_selection_classification"/></when> 1342 <option value="accuracy">Classification -- 'accuracy'</option>
1313 <when value="f1_samples"><expand macro="secondary_scoring_selection_classification"/></when> 1343 <option value="balanced_accuracy">Classification -- 'balanced_accuracy'</option>
1314 <when value="neg_log_loss"><expand macro="secondary_scoring_selection_classification"/></when> 1344 <option value="average_precision">Classification -- 'average_precision'</option>
1315 <when value="precision"><expand macro="secondary_scoring_selection_classification"/></when> 1345 <option value="f1">Classification -- 'f1'</option>
1316 <when value="precision_micro"><expand macro="secondary_scoring_selection_classification"/></when> 1346 <option value="f1_micro">Classification -- 'f1_micro'</option>
1317 <when value="precision_macro"><expand macro="secondary_scoring_selection_classification"/></when> 1347 <option value="f1_macro">Classification -- 'f1_macro'</option>
1318 <when value="precision_wighted"><expand macro="secondary_scoring_selection_classification"/></when> 1348 <option value="f1_weighted">Classification -- 'f1_weighted'</option>
1319 <when value="precision_samples"><expand macro="secondary_scoring_selection_classification"/></when> 1349 <option value="f1_samples">Classification -- 'f1_samples'</option>
1320 <when value="recall"><expand macro="secondary_scoring_selection_classification"/></when> 1350 <option value="neg_log_loss">Classification -- 'neg_log_loss'</option>
1321 <when value="recall_micro"><expand macro="secondary_scoring_selection_classification"/></when> 1351 <option value="precision">Classification -- 'precision'</option>
1322 <when value="recall_macro"><expand macro="secondary_scoring_selection_classification"/></when> 1352 <option value="precision_micro">Classification -- 'precision_micro'</option>
1323 <when value="recall_wighted"><expand macro="secondary_scoring_selection_classification"/></when> 1353 <option value="precision_macro">Classification -- 'precision_macro'</option>
1324 <when value="recall_samples"><expand macro="secondary_scoring_selection_classification"/></when> 1354 <option value="precision_wighted">Classification -- 'precision_wighted'</option>
1325 <when value="roc_auc"><expand macro="secondary_scoring_selection_classification"/></when> 1355 <option value="precision_samples">Classification -- 'precision_samples'</option>
1326 <when value="explained_variance"><expand macro="secondary_scoring_selection_regression"/></when> 1356 <option value="recall">Classification -- 'recall'</option>
1327 <when value="neg_mean_absolute_error"><expand macro="secondary_scoring_selection_regression"/></when> 1357 <option value="recall_micro">Classification -- 'recall_micro'</option>
1328 <when value="neg_mean_squared_error"><expand macro="secondary_scoring_selection_regression"/></when> 1358 <option value="recall_macro">Classification -- 'recall_macro'</option>
1329 <when value="neg_mean_squared_log_error"><expand macro="secondary_scoring_selection_regression"/></when> 1359 <option value="recall_wighted">Classification -- 'recall_wighted'</option>
1330 <when value="neg_median_absolute_error"><expand macro="secondary_scoring_selection_regression"/></when> 1360 <option value="recall_samples">Classification -- 'recall_samples'</option>
1331 <when value="r2"><expand macro="secondary_scoring_selection_regression"/></when> 1361 <option value="roc_auc">Classification -- 'roc_auc'</option>
1332 <when value="max_error"><expand macro="secondary_scoring_selection_regression"/></when> 1362 <option value="explained_variance">Regression -- 'explained_variance'</option>
1333 <when value="binarize_auc_scorer"><expand macro="secondary_scoring_selection_anormaly"/></when> 1363 <option value="neg_mean_absolute_error">Regression -- 'neg_mean_absolute_error'</option>
1334 <when value="binarize_average_precision_scorer"><expand macro="secondary_scoring_selection_anormaly"/></when> 1364 <option value="neg_mean_squared_error">Regression -- 'neg_mean_squared_error'</option>
1335 </conditional> 1365 <option value="neg_mean_squared_log_error">Regression -- 'neg_mean_squared_log_error'</option>
1366 <option value="neg_median_absolute_error">Regression -- 'neg_median_absolute_error'</option>
1367 <option value="r2">Regression -- 'r2'</option>
1368 <option value="max_error">Regression -- 'max_error'</option>
1369 <option value="spearman_correlation">Regression -- Spearman's rank correlation coefficient</option>
1370 <option value="binarize_auc_scorer">anomaly detection -- binarize_auc_scorer</option>
1371 <option value="binarize_average_precision_scorer">anomaly detection -- binarize_average_precision_scorer</option>
1336 </xml> 1372 </xml>
1337 1373
1338 <xml name="secondary_scoring_selection_classification"> 1374 <xml name="secondary_scoring_selection_classification">
1339 <param name="secondary_scoring" type="select" multiple="true" label="Additional scoring used in multi-metric mode:" help="If the same metric with the primary is chosen, the metric will be ignored."> 1375 <param name="secondary_scoring" type="select" multiple="true" label="Additional scoring used in multi-metric mode:" help="If the same metric with the primary is chosen, the metric will be ignored.">
1340 <option value="accuracy">Classification -- 'accuracy'</option> 1376 <option value="accuracy">Classification -- 'accuracy'</option>
1367 <option value="neg_mean_squared_error">Regression -- 'neg_mean_squared_error'</option> 1403 <option value="neg_mean_squared_error">Regression -- 'neg_mean_squared_error'</option>
1368 <option value="neg_mean_squared_log_error">Regression -- 'neg_mean_squared_log_error'</option> 1404 <option value="neg_mean_squared_log_error">Regression -- 'neg_mean_squared_log_error'</option>
1369 <option value="neg_median_absolute_error">Regression -- 'neg_median_absolute_error'</option> 1405 <option value="neg_median_absolute_error">Regression -- 'neg_median_absolute_error'</option>
1370 <option value="r2">Regression -- 'r2'</option> 1406 <option value="r2">Regression -- 'r2'</option>
1371 <option value="max_error">Regression -- 'max_error'</option> 1407 <option value="max_error">Regression -- 'max_error'</option>
1408 <option value="spearman_correlation">Regression -- Spearman's rank correlation coefficient</option>
1372 </param> 1409 </param>
1373 </xml> 1410 </xml>
1374 1411
1375 <xml name="secondary_scoring_selection_anormaly"> 1412 <xml name="secondary_scoring_selection_anormaly">
1376 <param name="secondary_scoring" type="select" multiple="true" label="Additional scoring used in multi-metric mode:" help="If the same metric with the primary is chosen, the metric will be ignored."> 1413 <param name="secondary_scoring" type="select" multiple="true" label="Additional scoring used in multi-metric mode:" help="If the same metric with the primary is chosen, the metric will be ignored.">
1377 <option value="binarize_auc_scorer">anomaly detection -- binarize_auc_scorer</option> 1414 <expand macro="scoring_selection_options" />
1378 <option value="binarize_average_precision_scorer">anomaly detection -- binarize_average_precision_scorer</option>
1379 </param> 1415 </param>
1380 </xml> 1416 </xml>
1381 1417
1382 <xml name="pre_dispatch" token_type="hidden" token_default_value="all" token_help="Number of predispatched jobs for parallel execution"> 1418 <xml name="pre_dispatch" token_type="hidden" token_default_value="all" token_help="Number of predispatched jobs for parallel execution">
1383 <param argument="pre_dispatch" type="@TYPE@" value="@DEFAULT_VALUE@" optional="true" label="pre_dispatch" help="@HELP@"/> 1419 <param argument="pre_dispatch" type="@TYPE@" value="@DEFAULT_VALUE@" optional="true" label="pre_dispatch" help="@HELP@" />
1384 </xml> 1420 </xml>
1385 1421
1386 <xml name="estimator_and_hyperparameter"> 1422 <xml name="estimator_and_hyperparameter">
1387 <param name="infile_estimator" type="data" format="zip" label="Choose the dataset containing pipeline/estimator object"/> 1423 <param name="infile_estimator" type="data" format="h5mlm" label="Choose the dataset containing pipeline/estimator object" />
1388 <section name="hyperparams_swapping" title="Hyperparameter Swapping" expanded="false"> 1424 <section name="hyperparams_swapping" title="Hyperparameter Swapping" expanded="false">
1389 <param name="infile_params" type="data" format="tabular" optional="true" label="Choose the dataset containing hyperparameters for the pipeline/estimator above" help="This dataset could be the output of `get_params` in the `Estimator Attributes` tool."/>
1390 <repeat name="param_set" min="1" max="30" title="New hyperparameter setting"> 1425 <repeat name="param_set" min="1" max="30" title="New hyperparameter setting">
1391 <param name="sp_name" type="select" optional="true" label="Choose a parameter name (with current value)"> 1426 <param name="sp_name" type="select" optional="true" label="Choose a parameter name (with current value)">
1392 <options from_dataset="infile_params" startswith="@"> 1427 <options from_dataset="infile_estimator" meta_file_key="hyper_params" startswith="@">
1393 <column name="name" index="2"/> 1428 <column name="name" index="2" />
1394 <column name="value" index="1"/> 1429 <column name="value" index="1" />
1395 <filter type="unique_value" name="unique_param" column="1"/> 1430 <filter type="unique_value" name="unique_param" column="1" />
1396 </options> 1431 </options>
1397 </param> 1432 </param>
1398 <param name="sp_value" type="text" value="" optional="true" label="New value" help="Supports int, float, boolean, single quoted string, and selected object constructor. Similar to the `Parameter settings for search` section in `searchcv` tool except that only single value is expected here."> 1433 <param name="sp_value" type="text" value="" optional="true" label="New value" help="Supports int, float, boolean, single quoted string, and selected object constructor. Similar to the `Parameter settings for search` section in `searchcv` tool except that only single value is expected here.">
1399 <sanitizer> 1434 <sanitizer>
1400 <valid initial="default"> 1435 <valid initial="default">
1401 <add value="&apos;"/> 1436 <add value="&apos;" />
1402 <add value="&quot;"/> 1437 <add value="&quot;" />
1403 </valid> 1438 </valid>
1404 </sanitizer> 1439 </sanitizer>
1405 </param> 1440 </param>
1406 </repeat> 1441 </repeat>
1407 </section> 1442 </section>
1408 </xml> 1443 </xml>
1409 1444
1410 <xml name="search_cv_options"> 1445 <xml name="search_cv_options">
1411 <expand macro="scoring_selection"/> 1446 <expand macro="scoring_selection" />
1412 <expand macro="model_validation_common_options"/> 1447 <expand macro="model_validation_common_options" />
1413 <!--expand macro="pre_dispatch" default_value="2*n_jobs" help="Controls the number of jobs that get dispatched during parallel execution"/--> 1448 <!--expand macro="pre_dispatch" default_value="2*n_jobs" help="Controls the number of jobs that get dispatched during parallel execution"/-->
1414 <param argument="iid" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="iid" help="If True, data is identically distributed across the folds"/> 1449 <!--param argument="iid" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="iid" help="If True, data is identically distributed across the folds" />-->
1415 <!--param argument="refit" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="refit" help="Refit an estimator using the best found parameters on the whole dataset. Be aware that `refit=True` invokes extra computation, but it's REQUIRED for outputting the best estimator!"/> --> 1450 <!--param argument="refit" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="refit" help="Refit an estimator using the best found parameters on the whole dataset. Be aware that `refit=True` invokes extra computation, but it's REQUIRED for outputting the best estimator!" /> -->
1416 <param argument="error_score" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Raise fit error:" help="If false, the metric score is assigned to NaN if an error occurs in estimator fitting and FitFailedWarning is raised."/> 1451 <param argument="error_score" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Raise fit error:" help="If false, the metric score is assigned to NaN if an error occurs in estimator fitting and FitFailedWarning is raised." />
1417 <param argument="return_train_score" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="return_train_score" help=""/> 1452 <param argument="return_train_score" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="return_train_score" help="" />
1418 </xml> 1453 </xml>
1419 1454
1420 <xml name="estimator_module_options"> 1455 <xml name="estimator_module_options">
1421 <option value="svm" selected="true">sklearn.svm</option> 1456 <option value="svm" selected="true">sklearn.svm</option>
1422 <option value="linear_model">sklearn.linear_model</option> 1457 <option value="linear_model">sklearn.linear_model</option>
1423 <option value="ensemble">sklearn.ensemble</option> 1458 <option value="ensemble">sklearn.ensemble</option>
1424 <option value="naive_bayes">sklearn.naive_bayes</option> 1459 <option value="naive_bayes">sklearn.naive_bayes</option>
1425 <option value="tree">sklearn.tree</option> 1460 <option value="tree">sklearn.tree</option>
1426 <option value="neighbors">sklearn.neighbors</option> 1461 <option value="neighbors">sklearn.neighbors</option>
1427 <option value="xgboost">xgboost</option> 1462 <option value="xgboost">xgboost</option>
1428 <yield/> 1463 <yield />
1429 </xml> 1464 </xml>
1430 1465
1431 <xml name="estimator_suboptions"> 1466 <xml name="estimator_suboptions">
1432 <when value="svm"> 1467 <when value="svm">
1433 <param name="selected_estimator" type="select" label="Choose estimator class:"> 1468 <param name="selected_estimator" type="select" label="Choose estimator class:">
1437 <option value="NuSVR">NuSVR</option> 1472 <option value="NuSVR">NuSVR</option>
1438 <option value="OneClassSVM">OneClassSVM</option> 1473 <option value="OneClassSVM">OneClassSVM</option>
1439 <option value="SVC">SVC</option> 1474 <option value="SVC">SVC</option>
1440 <option value="SVR">SVR</option> 1475 <option value="SVR">SVR</option>
1441 </param> 1476 </param>
1442 <expand macro="estimator_params_text"/> 1477 <expand macro="estimator_params_text" />
1443 </when> 1478 </when>
1444 <when value="linear_model"> 1479 <when value="linear_model">
1445 <param name="selected_estimator" type="select" label="Choose estimator class:"> 1480 <param name="selected_estimator" type="select" label="Choose estimator class:">
1446 <option value="ARDRegression" selected="true">ARDRegression</option> 1481 <option value="ARDRegression" selected="true">ARDRegression</option>
1447 <option value="BayesianRidge">BayesianRidge</option> 1482 <option value="BayesianRidge">BayesianRidge</option>
1474 <option value="RidgeCV">RidgeCV</option> 1509 <option value="RidgeCV">RidgeCV</option>
1475 <option value="SGDClassifier">SGDClassifier</option> 1510 <option value="SGDClassifier">SGDClassifier</option>
1476 <option value="SGDRegressor">SGDRegressor</option> 1511 <option value="SGDRegressor">SGDRegressor</option>
1477 <option value="TheilSenRegressor">TheilSenRegressor</option> 1512 <option value="TheilSenRegressor">TheilSenRegressor</option>
1478 </param> 1513 </param>
1479 <expand macro="estimator_params_text"/> 1514 <expand macro="estimator_params_text" />
1480 </when> 1515 </when>
1481 <when value="ensemble"> 1516 <when value="ensemble">
1482 <param name="selected_estimator" type="select" label="Choose estimator class:"> 1517 <param name="selected_estimator" type="select" label="Choose estimator class:">
1483 <option value="AdaBoostClassifier" selected="true">AdaBoostClassifier</option> 1518 <option value="AdaBoostClassifier" selected="true">AdaBoostClassifier</option>
1484 <option value="AdaBoostRegressor">AdaBoostRegressor</option> 1519 <option value="AdaBoostRegressor">AdaBoostRegressor</option>
1494 <option value="RandomForestClassifier">RandomForestClassifier</option> 1529 <option value="RandomForestClassifier">RandomForestClassifier</option>
1495 <option value="RandomForestRegressor">RandomForestRegressor</option> 1530 <option value="RandomForestRegressor">RandomForestRegressor</option>
1496 <option value="RandomTreesEmbedding">RandomTreesEmbedding</option> 1531 <option value="RandomTreesEmbedding">RandomTreesEmbedding</option>
1497 <!--option value="VotingClassifier">VotingClassifier</option--> 1532 <!--option value="VotingClassifier">VotingClassifier</option-->
1498 </param> 1533 </param>
1499 <expand macro="estimator_params_text"/> 1534 <expand macro="estimator_params_text" />
1500 </when> 1535 </when>
1501 <when value="naive_bayes"> 1536 <when value="naive_bayes">
1502 <param name="selected_estimator" type="select" label="Choose estimator class:"> 1537 <param name="selected_estimator" type="select" label="Choose estimator class:">
1503 <option value="BernoulliNB" selected="true">BernoulliNB</option> 1538 <option value="BernoulliNB" selected="true">BernoulliNB</option>
1504 <option value="GaussianNB">GaussianNB</option> 1539 <option value="GaussianNB">GaussianNB</option>
1505 <option value="MultinomialNB">MultinomialNB</option> 1540 <option value="MultinomialNB">MultinomialNB</option>
1506 </param> 1541 </param>
1507 <expand macro="estimator_params_text"/> 1542 <expand macro="estimator_params_text" />
1508 </when> 1543 </when>
1509 <when value="tree"> 1544 <when value="tree">
1510 <param name="selected_estimator" type="select" label="Choose estimator class:"> 1545 <param name="selected_estimator" type="select" label="Choose estimator class:">
1511 <option value="DecisionTreeClassifier" selected="true">DecisionTreeClassifier</option> 1546 <option value="DecisionTreeClassifier" selected="true">DecisionTreeClassifier</option>
1512 <option value="DecisionTreeRegressor">DecisionTreeRegressor</option> 1547 <option value="DecisionTreeRegressor">DecisionTreeRegressor</option>
1513 <option value="ExtraTreeClassifier">ExtraTreeClassifier</option> 1548 <option value="ExtraTreeClassifier">ExtraTreeClassifier</option>
1514 <option value="ExtraTreeRegressor">ExtraTreeRegressor</option> 1549 <option value="ExtraTreeRegressor">ExtraTreeRegressor</option>
1515 </param> 1550 </param>
1516 <expand macro="estimator_params_text"/> 1551 <expand macro="estimator_params_text" />
1517 </when> 1552 </when>
1518 <when value="neighbors"> 1553 <when value="neighbors">
1519 <param name="selected_estimator" type="select" label="Choose estimator class:"> 1554 <param name="selected_estimator" type="select" label="Choose estimator class:">
1520 <option value="KNeighborsClassifier" selected="true">KNeighborsClassifier</option> 1555 <option value="KNeighborsClassifier" selected="true">KNeighborsClassifier</option>
1521 <option value="KNeighborsRegressor">KNeighborsRegressor</option> 1556 <option value="KNeighborsRegressor">KNeighborsRegressor</option>
1526 <option value="RadiusNeighborsClassifier">RadiusNeighborsClassifier</option> 1561 <option value="RadiusNeighborsClassifier">RadiusNeighborsClassifier</option>
1527 <option value="RadiusNeighborsRegressor">RadiusNeighborsRegressor</option> 1562 <option value="RadiusNeighborsRegressor">RadiusNeighborsRegressor</option>
1528 <option value="NearestCentroid">NearestCentroid</option> 1563 <option value="NearestCentroid">NearestCentroid</option>
1529 <option value="NearestNeighbors">NearestNeighbors</option> 1564 <option value="NearestNeighbors">NearestNeighbors</option>
1530 </param> 1565 </param>
1531 <expand macro="estimator_params_text"/> 1566 <expand macro="estimator_params_text" />
1532 </when> 1567 </when>
1533 <when value="xgboost"> 1568 <when value="xgboost">
1534 <param name="selected_estimator" type="select" label="Choose estimator class:"> 1569 <param name="selected_estimator" type="select" label="Choose estimator class:">
1535 <option value="XGBRegressor" selected="true">XGBRegressor</option> 1570 <option value="XGBRegressor" selected="true">XGBRegressor</option>
1536 <option value="XGBClassifier">XGBClassifier</option> 1571 <option value="XGBClassifier">XGBClassifier</option>
1537 </param> 1572 </param>
1538 <expand macro="estimator_params_text"/> 1573 <expand macro="estimator_params_text" />
1539 </when> 1574 </when>
1540 <yield/> 1575 <yield />
1541 </xml> 1576 </xml>
1542 1577
1543 <xml name="estimator_selector_all"> 1578 <xml name="estimator_selector_all">
1544 <conditional name="estimator_selector"> 1579 <conditional name="estimator_selector">
1545 <param name="selected_module" type="select" label="Choose the module that contains target estimator:" > 1580 <param name="selected_module" type="select" label="Choose the module that contains target estimator:" >
1546 <expand macro="estimator_module_options"/> 1581 <expand macro="estimator_module_options" />
1547 </param> 1582 </param>
1548 <expand macro="estimator_suboptions"/> 1583 <expand macro="estimator_suboptions" />
1549 </conditional> 1584 </conditional>
1550 </xml> 1585 </xml>
1551 1586
1552 <xml name="estimator_selector_fs"> 1587 <xml name="estimator_selector_fs">
1553 <conditional name="estimator_selector"> 1588 <conditional name="estimator_selector">
1554 <param name="selected_module" type="select" label="Choose the module that contains target estimator:" > 1589 <param name="selected_module" type="select" label="Choose the module that contains target estimator:" >
1555 <expand macro="estimator_module_options"> 1590 <expand macro="estimator_module_options">
1556 <option value="custom_estimator">Load a custom estimator</option> 1591 <option value="custom_estimator">Load a custom estimator</option>
1557 </expand> 1592 </expand>
1558 </param> 1593 </param>
1559 <expand macro="estimator_suboptions"> 1594 <expand macro="estimator_suboptions">
1560 <when value="custom_estimator"> 1595 <when value="custom_estimator">
1561 <param name="c_estimator" type="data" format="zip" label="Choose the dataset containing the custom estimator or pipeline:"/> 1596 <param name="c_estimator" type="data" format="h5mlm" label="Choose the dataset containing the custom estimator or pipeline:" />
1562 </when> 1597 </when>
1563 </expand> 1598 </expand>
1564 </conditional> 1599 </conditional>
1565 </xml> 1600 </xml>
1566 1601
1567 <xml name="estimator_params_text" token_label="Type in parameter settings if different from default:" token_default_value='' 1602 <xml name="estimator_params_text" token_label="Type in parameter settings if different from default:" token_default_value=''
1568 token_help="Dictionary-capable, e.g., C=1, kernel='linear'. No double quotes. Leave this box blank for default estimator."> 1603 token_help="Dictionary-capable, e.g., C=1, kernel='linear'. No double quotes. Leave this box blank for default estimator.">
1569 <param name="text_params" type="text" value="@DEFAULT_VALUE@" optional="true" label="@LABEL@" help="@HELP@"> 1604 <param name="text_params" type="text" value="@DEFAULT_VALUE@" optional="true" label="@LABEL@" help="@HELP@">
1570 <sanitizer> 1605 <sanitizer>
1571 <valid initial="default"> 1606 <valid initial="default">
1572 <add value="&apos;"/> 1607 <add value="&apos;" />
1573 </valid> 1608 </valid>
1574 </sanitizer> 1609 </sanitizer>
1575 </param> 1610 </param>
1576 </xml> 1611 </xml>
1577 1612
1583 <option value="AdditiveChi2Sampler">AdditiveChi2Sampler</option> 1618 <option value="AdditiveChi2Sampler">AdditiveChi2Sampler</option>
1584 <option value="SkewedChi2Sampler">SkewedChi2Sampler</option> 1619 <option value="SkewedChi2Sampler">SkewedChi2Sampler</option>
1585 </param> 1620 </param>
1586 <when value="Nystroem"> 1621 <when value="Nystroem">
1587 <expand macro="estimator_params_text" 1622 <expand macro="estimator_params_text"
1588 help="Default(=blank): coef0=None, degree=None, gamma=None, kernel='rbf', kernel_params=None, n_components=100, random_state=None. No double quotes"/> 1623 help="Default(=blank): coef0=None, degree=None, gamma=None, kernel='rbf', kernel_params=None, n_components=100, random_state=None. No double quotes" />
1589 </when> 1624 </when>
1590 <when value="RBFSampler"> 1625 <when value="RBFSampler">
1591 <expand macro="estimator_params_text" 1626 <expand macro="estimator_params_text"
1592 help="Default(=blank): gamma=1.0, n_components=100, random_state=None."/> 1627 help="Default(=blank): gamma=1.0, n_components=100, random_state=None." />
1593 </when> 1628 </when>
1594 <when value="AdditiveChi2Sampler"> 1629 <when value="AdditiveChi2Sampler">
1595 <expand macro="estimator_params_text" 1630 <expand macro="estimator_params_text"
1596 help="Default(=blank): sample_interval=None, sample_steps=2."/> 1631 help="Default(=blank): sample_interval=None, sample_steps=2." />
1597 </when> 1632 </when>
1598 <when value="SkewedChi2Sampler"> 1633 <when value="SkewedChi2Sampler">
1599 <expand macro="estimator_params_text" 1634 <expand macro="estimator_params_text"
1600 help="Default(=blank): n_components=100, random_state=None, skewedness=1.0."/> 1635 help="Default(=blank): n_components=100, random_state=None, skewedness=1.0." />
1601 </when> 1636 </when>
1602 </conditional> 1637 </conditional>
1603 </xml> 1638 </xml>
1604 1639
1605 <xml name="matrix_decomposition_all"> 1640 <xml name="matrix_decomposition_all">
1619 <!--option value="SparseCoder">SparseCoder</option--> 1654 <!--option value="SparseCoder">SparseCoder</option-->
1620 <option value="TruncatedSVD">TruncatedSVD</option> 1655 <option value="TruncatedSVD">TruncatedSVD</option>
1621 </param> 1656 </param>
1622 <when value="DictionaryLearning"> 1657 <when value="DictionaryLearning">
1623 <expand macro="estimator_params_text" 1658 <expand macro="estimator_params_text"
1624 help="Default(=blank): alpha=1, code_init=None, dict_init=None, fit_algorithm='lars', max_iter=1000, n_components=None, random_state=None, split_sign=False, tol=1e-08, transform_algorithm='omp', transform_alpha=None, transform_n_nonzero_coefs=None, verbose=False."/> 1659 help="Default(=blank): alpha=1, code_init=None, dict_init=None, fit_algorithm='lars', max_iter=1000, n_components=None, random_state=None, split_sign=False, tol=1e-08, transform_algorithm='omp', transform_alpha=None, transform_n_nonzero_coefs=None, verbose=False." />
1625 </when> 1660 </when>
1626 <when value="FactorAnalysis"> 1661 <when value="FactorAnalysis">
1627 <expand macro="estimator_params_text" 1662 <expand macro="estimator_params_text"
1628 help="Default(=blank): copy=True, iterated_power=3, max_iter=1000, n_components=None, noise_variance_init=None, random_state=0, svd_method='randomized', tol=0.01."/> 1663 help="Default(=blank): copy=True, iterated_power=3, max_iter=1000, n_components=None, noise_variance_init=None, random_state=0, svd_method='randomized', tol=0.01." />
1629 </when> 1664 </when>
1630 <when value="FastICA"> 1665 <when value="FastICA">
1631 <expand macro="estimator_params_text" 1666 <expand macro="estimator_params_text"
1632 help="Default(=blank): algorithm='parallel', fun='logcosh', fun_args=None, max_iter=200, n_components=None, random_state=None, tol=0.0001, w_init=None, whiten=True. No double quotes."/> 1667 help="Default(=blank): algorithm='parallel', fun='logcosh', fun_args=None, max_iter=200, n_components=None, random_state=None, tol=0.0001, w_init=None, whiten=True. No double quotes." />
1633 </when> 1668 </when>
1634 <when value="IncrementalPCA"> 1669 <when value="IncrementalPCA">
1635 <expand macro="estimator_params_text" 1670 <expand macro="estimator_params_text"
1636 help="Default(=blank): batch_size=None, copy=True, n_components=None, whiten=False."/> 1671 help="Default(=blank): batch_size=None, copy=True, n_components=None, whiten=False." />
1637 </when> 1672 </when>
1638 <when value="KernelPCA"> 1673 <when value="KernelPCA">
1639 <expand macro="estimator_params_text" 1674 <expand macro="estimator_params_text"
1640 help="Default(=blank): alpha=1.0, coef0=1, copy_X=True, degree=3, eigen_solver='auto', fit_inverse_transform=False, gamma=None, kernel='linear', kernel_params=None, max_iter=None, n_components=None, random_state=None, remove_zero_eig=False, tol=0. No double quotes."/> 1675 help="Default(=blank): alpha=1.0, coef0=1, copy_X=True, degree=3, eigen_solver='auto', fit_inverse_transform=False, gamma=None, kernel='linear', kernel_params=None, max_iter=None, n_components=None, random_state=None, remove_zero_eig=False, tol=0. No double quotes." />
1641 </when> 1676 </when>
1642 <when value="LatentDirichletAllocation"> 1677 <when value="LatentDirichletAllocation">
1643 <expand macro="estimator_params_text" 1678 <expand macro="estimator_params_text"
1644 help="Default(=blank): batch_size=128, doc_topic_prior=None, evaluate_every=-1, learning_decay=0.7, learning_method=None, learning_offset=10.0, max_doc_update_iter=100, max_iter=10, mean_change_tol=0.001, n_components=10, n_topics=None, perp_tol=0.1, random_state=None, topic_word_prior=None, total_samples=1000000.0, verbose=0."/> 1679 help="Default(=blank): batch_size=128, doc_topic_prior=None, evaluate_every=-1, learning_decay=0.7, learning_method=None, learning_offset=10.0, max_doc_update_iter=100, max_iter=10, mean_change_tol=0.001, n_components=10, n_topics=None, perp_tol=0.1, random_state=None, topic_word_prior=None, total_samples=1000000.0, verbose=0." />
1645 </when> 1680 </when>
1646 <when value="MiniBatchDictionaryLearning"> 1681 <when value="MiniBatchDictionaryLearning">
1647 <expand macro="estimator_params_text" 1682 <expand macro="estimator_params_text"
1648 help="Default(=blank): alpha=1, batch_size=3, dict_init=None, fit_algorithm='lars', n_components=None, n_iter=1000, random_state=None, shuffle=True, split_sign=False, transform_algorithm='omp', transform_alpha=None, transform_n_nonzero_coefs=None, verbose=False."/> 1683 help="Default(=blank): alpha=1, batch_size=3, dict_init=None, fit_algorithm='lars', n_components=None, n_iter=1000, random_state=None, shuffle=True, split_sign=False, transform_algorithm='omp', transform_alpha=None, transform_n_nonzero_coefs=None, verbose=False." />
1649 </when> 1684 </when>
1650 <when value="MiniBatchSparsePCA"> 1685 <when value="MiniBatchSparsePCA">
1651 <expand macro="estimator_params_text" 1686 <expand macro="estimator_params_text"
1652 help="Default(=blank): alpha=1, batch_size=3, callback=None, method='lars', n_components=None, n_iter=100, random_state=None, ridge_alpha=0.01, shuffle=True, verbose=False."/> 1687 help="Default(=blank): alpha=1, batch_size=3, callback=None, method='lars', n_components=None, n_iter=100, random_state=None, ridge_alpha=0.01, shuffle=True, verbose=False." />
1653 </when> 1688 </when>
1654 <when value="NMF"> 1689 <when value="NMF">
1655 <expand macro="estimator_params_text" 1690 <expand macro="estimator_params_text"
1656 help="Default(=blank): alpha=0.0, beta_loss='frobenius', init=None, l1_ratio=0.0, max_iter=200, n_components=None, random_state=None, shuffle=False, solver='cd', tol=0.0001, verbose=0."/> 1691 help="Default(=blank): alpha=0.0, beta_loss='frobenius', init=None, l1_ratio=0.0, max_iter=200, n_components=None, random_state=None, shuffle=False, solver='cd', tol=0.0001, verbose=0." />
1657 </when> 1692 </when>
1658 <when value="PCA"> 1693 <when value="PCA">
1659 <expand macro="estimator_params_text" 1694 <expand macro="estimator_params_text"
1660 help="Default(=blank): copy=True, iterated_power='auto', n_components=None, random_state=None, svd_solver='auto', tol=0.0, whiten=False."/> 1695 help="Default(=blank): copy=True, iterated_power='auto', n_components=None, random_state=None, svd_solver='auto', tol=0.0, whiten=False." />
1661 </when> 1696 </when>
1662 <when value="SparsePCA"> 1697 <when value="SparsePCA">
1663 <expand macro="estimator_params_text" 1698 <expand macro="estimator_params_text"
1664 help="Default(=blank): U_init=None, V_init=None, alpha=1, max_iter=1000, method='lars', n_components=None, random_state=None, ridge_alpha=0.01, tol=1e-08, verbose=False."/> 1699 help="Default(=blank): U_init=None, V_init=None, alpha=1, max_iter=1000, method='lars', n_components=None, random_state=None, ridge_alpha=0.01, tol=1e-08, verbose=False." />
1665 </when> 1700 </when>
1666 <when value="TruncatedSVD"> 1701 <when value="TruncatedSVD">
1667 <expand macro="estimator_params_text" 1702 <expand macro="estimator_params_text"
1668 help="Default(=blank): algorithm='randomized', n_components=2, n_iter=5, random_state=None, tol=0.0."/> 1703 help="Default(=blank): algorithm='randomized', n_components=2, n_iter=5, random_state=None, tol=0.0." />
1669 </when> 1704 </when>
1670 </conditional> 1705 </conditional>
1671 </xml> 1706 </xml>
1672 1707
1673 <xml name="FeatureAgglomeration"> 1708 <xml name="FeatureAgglomeration">
1675 <param name="select_algorithm" type="select" label="Choose the algorithm:"> 1710 <param name="select_algorithm" type="select" label="Choose the algorithm:">
1676 <option value="FeatureAgglomeration" selected="true">FeatureAgglomeration</option> 1711 <option value="FeatureAgglomeration" selected="true">FeatureAgglomeration</option>
1677 </param> 1712 </param>
1678 <when value="FeatureAgglomeration"> 1713 <when value="FeatureAgglomeration">
1679 <expand macro="estimator_params_text" 1714 <expand macro="estimator_params_text"
1680 help="Default(=blank): affinity='euclidean', compute_full_tree='auto', connectivity=None, linkage='ward', memory=None, n_clusters=2, pooling_func=np.mean."/> 1715 help="Default(=blank): affinity='euclidean', compute_full_tree='auto', connectivity=None, linkage='ward', memory=None, n_clusters=2, pooling_func=np.mean." />
1681 </when> 1716 </when>
1682 </conditional> 1717 </conditional>
1683 </xml> 1718 </xml>
1684 1719
1685 <xml name="skrebate"> 1720 <xml name="skrebate">
1692 <option value="MultiSURFstar">MultiSURFstar</option> 1727 <option value="MultiSURFstar">MultiSURFstar</option>
1693 <!--option value="TuRF">TuRF</option> --> 1728 <!--option value="TuRF">TuRF</option> -->
1694 </param> 1729 </param>
1695 <when value="ReliefF"> 1730 <when value="ReliefF">
1696 <expand macro="estimator_params_text" 1731 <expand macro="estimator_params_text"
1697 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, n_neighbors=100, verbose=False."/> 1732 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, n_neighbors=100, verbose=False." />
1698 </when> 1733 </when>
1699 <when value="SURF"> 1734 <when value="SURF">
1700 <expand macro="estimator_params_text" 1735 <expand macro="estimator_params_text"
1701 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False."/> 1736 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False." />
1702 </when> 1737 </when>
1703 <when value="SURFstar"> 1738 <when value="SURFstar">
1704 <expand macro="estimator_params_text" 1739 <expand macro="estimator_params_text"
1705 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False."/> 1740 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False." />
1706 </when> 1741 </when>
1707 <when value="MultiSURF"> 1742 <when value="MultiSURF">
1708 <expand macro="estimator_params_text" 1743 <expand macro="estimator_params_text"
1709 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False."/> 1744 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False." />
1710 </when> 1745 </when>
1711 <when value="MultiSURFstar"> 1746 <when value="MultiSURFstar">
1712 <expand macro="estimator_params_text" 1747 <expand macro="estimator_params_text"
1713 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False."/> 1748 help="Default(=blank): discrete_threshold=10, n_features_to_select=10, verbose=False." />
1714 </when> 1749 </when>
1715 <!--when value="TuRF"> 1750 <!--when value="TuRF">
1716 <expand macro="estimator_params_text" 1751 <expand macro="estimator_params_text"
1717 help="Default(=blank): core_algorithm='ReliefF', discrete_threshold=10, n_features_to_select=10, n_neighbors=100, pct=0.5, verbose=False."/> 1752 help="Default(=blank): core_algorithm='ReliefF', discrete_threshold=10, n_features_to_select=10, n_neighbors=100, pct=0.5, verbose=False." />
1718 </when> --> 1753 </when> -->
1719 </conditional> 1754 </conditional>
1720 </xml> 1755 </xml>
1721 1756
1722 <xml name="imbalanced_learn_sampling"> 1757 <xml name="imbalanced_learn_sampling">
1743 <option value="combine.SMOTETomek">combine.SMOTETomek</option> 1778 <option value="combine.SMOTETomek">combine.SMOTETomek</option>
1744 <option value="Z_RandomOverSampler">Z_RandomOverSampler - for regression</option> 1779 <option value="Z_RandomOverSampler">Z_RandomOverSampler - for regression</option>
1745 </param> 1780 </param>
1746 <when value="under_sampling.ClusterCentroids"> 1781 <when value="under_sampling.ClusterCentroids">
1747 <expand macro="estimator_params_text" 1782 <expand macro="estimator_params_text"
1748 help="Default(=blank): sampling_strategy='auto', random_state=None, estimator=None, voting='auto'."/> 1783 help="Default(=blank): sampling_strategy='auto', random_state=None, estimator=None, voting='auto'." />
1749 </when> 1784 </when>
1750 <when value="under_sampling.CondensedNearestNeighbour"> 1785 <when value="under_sampling.CondensedNearestNeighbour">
1751 <expand macro="estimator_params_text" 1786 <expand macro="estimator_params_text"
1752 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=None, n_seeds_S=1."/> 1787 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=None, n_seeds_S=1." />
1753 </when> 1788 </when>
1754 <when value="under_sampling.EditedNearestNeighbours"> 1789 <when value="under_sampling.EditedNearestNeighbours">
1755 <expand macro="estimator_params_text" 1790 <expand macro="estimator_params_text"
1756 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, max_iter=100, kind_sel='all'."/> 1791 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, max_iter=100, kind_sel='all'." />
1757 </when> 1792 </when>
1758 <when value="under_sampling.RepeatedEditedNearestNeighbours"> 1793 <when value="under_sampling.RepeatedEditedNearestNeighbours">
1759 <expand macro="estimator_params_text" 1794 <expand macro="estimator_params_text"
1760 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, max_iter=100, kind_sel='all'."/> 1795 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, max_iter=100, kind_sel='all'." />
1761 </when> 1796 </when>
1762 <when value="under_sampling.AllKNN"> 1797 <when value="under_sampling.AllKNN">
1763 <expand macro="estimator_params_text" 1798 <expand macro="estimator_params_text"
1764 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, kind_sel='all', allow_minority=False."/> 1799 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, kind_sel='all', allow_minority=False." />
1765 </when> 1800 </when>
1766 <when value="under_sampling.InstanceHardnessThreshold"> 1801 <when value="under_sampling.InstanceHardnessThreshold">
1767 <expand macro="estimator_params_text" 1802 <expand macro="estimator_params_text"
1768 help="Default(=blank): estimator=None, sampling_strategy='auto', random_state=None, cv=5."/> 1803 help="Default(=blank): estimator=None, sampling_strategy='auto', random_state=None, cv=5." />
1769 </when> 1804 </when>
1770 <when value="under_sampling.NearMiss"> 1805 <when value="under_sampling.NearMiss">
1771 <expand macro="estimator_params_text" 1806 <expand macro="estimator_params_text"
1772 help="Default(=blank): sampling_strategy='auto', random_state=None, version=1, n_neighbors=3, n_neighbors_ver3=3."/> 1807 help="Default(=blank): sampling_strategy='auto', random_state=None, version=1, n_neighbors=3, n_neighbors_ver3=3." />
1773 </when> 1808 </when>
1774 <when value="under_sampling.NeighbourhoodCleaningRule"> 1809 <when value="under_sampling.NeighbourhoodCleaningRule">
1775 <expand macro="estimator_params_text" 1810 <expand macro="estimator_params_text"
1776 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, kind_sel='all', threshold_cleaning=0.5."/> 1811 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=3, kind_sel='all', threshold_cleaning=0.5." />
1777 </when> 1812 </when>
1778 <when value="under_sampling.OneSidedSelection"> 1813 <when value="under_sampling.OneSidedSelection">
1779 <expand macro="estimator_params_text" 1814 <expand macro="estimator_params_text"
1780 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=None, n_seeds_S=1."/> 1815 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=None, n_seeds_S=1." />
1781 </when> 1816 </when>
1782 <when value="under_sampling.RandomUnderSampler"> 1817 <when value="under_sampling.RandomUnderSampler">
1783 <expand macro="estimator_params_text" 1818 <expand macro="estimator_params_text"
1784 help="Default(=blank): sampling_strategy='auto', random_state=None, replacement=False."/> 1819 help="Default(=blank): sampling_strategy='auto', random_state=None, replacement=False." />
1785 </when> 1820 </when>
1786 <when value="under_sampling.TomekLinks"> 1821 <when value="under_sampling.TomekLinks">
1787 <expand macro="estimator_params_text" 1822 <expand macro="estimator_params_text"
1788 help="Default(=blank): sampling_strategy='auto', random_state=None."/> 1823 help="Default(=blank): sampling_strategy='auto', random_state=None." />
1789 </when> 1824 </when>
1790 <when value="over_sampling.ADASYN"> 1825 <when value="over_sampling.ADASYN">
1791 <expand macro="estimator_params_text" 1826 <expand macro="estimator_params_text"
1792 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=5."/> 1827 help="Default(=blank): sampling_strategy='auto', random_state=None, n_neighbors=5." />
1793 </when> 1828 </when>
1794 <when value="over_sampling.RandomOverSampler"> 1829 <when value="over_sampling.RandomOverSampler">
1795 <expand macro="estimator_params_text" 1830 <expand macro="estimator_params_text"
1796 help="Default(=blank): sampling_strategy='auto', random_state=None."/> 1831 help="Default(=blank): sampling_strategy='auto', random_state=None." />
1797 </when> 1832 </when>
1798 <when value="over_sampling.SMOTE"> 1833 <when value="over_sampling.SMOTE">
1799 <expand macro="estimator_params_text" 1834 <expand macro="estimator_params_text"
1800 help="Default(=blank): sampling_strategy='auto', random_state=None, k_neighbors=5."/> 1835 help="Default(=blank): sampling_strategy='auto', random_state=None, k_neighbors=5." />
1801 </when> 1836 </when>
1802 <when value="over_sampling.SVMSMOTE"> 1837 <when value="over_sampling.SVMSMOTE">
1803 <expand macro="estimator_params_text" 1838 <expand macro="estimator_params_text"
1804 help="Default(=blank): sampling_strategy='auto', k_neighbors=5, m_neighbors=10, out_step=0.5, random_state=None, svm_estimator=None."/> 1839 help="Default(=blank): sampling_strategy='auto', k_neighbors=5, m_neighbors=10, out_step=0.5, random_state=None, svm_estimator=None." />
1805 </when> 1840 </when>
1806 <when value="over_sampling.BorderlineSMOTE"> 1841 <when value="over_sampling.BorderlineSMOTE">
1807 <expand macro="estimator_params_text" 1842 <expand macro="estimator_params_text"
1808 help="Default(=blank): sampling_strategy='auto', k_neighbors=5, kind='borderline-1', m_neighbors=10, random_state=None."/> 1843 help="Default(=blank): sampling_strategy='auto', k_neighbors=5, kind='borderline-1', m_neighbors=10, random_state=None." />
1809 </when> 1844 </when>
1810 <when value="over_sampling.SMOTENC"> 1845 <when value="over_sampling.SMOTENC">
1811 <expand macro="estimator_params_text" 1846 <expand macro="estimator_params_text"
1812 help="Default: categorical_features=[], sampling_strategy='auto', random_state=None, k_neighbors=5."/> 1847 help="Default: categorical_features=[], sampling_strategy='auto', random_state=None, k_neighbors=5." />
1813 </when> 1848 </when>
1814 <when value="combine.SMOTEENN"> 1849 <when value="combine.SMOTEENN">
1815 <expand macro="estimator_params_text" 1850 <expand macro="estimator_params_text"
1816 help="Default(=blank): sampling_strategy='auto', random_state=None, smote=None, enn=None."/> 1851 help="Default(=blank): sampling_strategy='auto', random_state=None, smote=None, enn=None." />
1817 </when> 1852 </when>
1818 <when value="combine.SMOTETomek"> 1853 <when value="combine.SMOTETomek">
1819 <expand macro="estimator_params_text" 1854 <expand macro="estimator_params_text"
1820 help="Default(=blank): sampling_strategy='auto', random_state=None, smote=None, tomek=None."/> 1855 help="Default(=blank): sampling_strategy='auto', random_state=None, smote=None, tomek=None." />
1821 </when> 1856 </when>
1822 <when value="Z_RandomOverSampler"> 1857 <when value="Z_RandomOverSampler">
1823 <expand macro="estimator_params_text" 1858 <expand macro="estimator_params_text"
1824 help="Default(=blank): sampling_strategy='auto', random_state=None, negative_thres=0, positive_thres=-1."/> 1859 help="Default(=blank): sampling_strategy='auto', random_state=None, negative_thres=0, positive_thres=-1." />
1825 </when> 1860 </when>
1826 </conditional> 1861 </conditional>
1827 </xml>
1828
1829 <xml name="stacking_ensemble_inputs">
1830 <section name="options" title="Advanced Options" expanded="false">
1831 <yield/>
1832 <param argument="use_features_in_secondary" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false"/>
1833 <param argument="store_train_meta_features" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false"/>
1834 </section>
1835 </xml>
1836
1837 <xml name="stacking_base_estimator">
1838 <conditional name="estimator_selector">
1839 <param name="selected_module" type="select" label="Choose the module that contains target estimator:" >
1840 <expand macro="estimator_module_options">
1841 <option value="custom_estimator">Load a custom estimator</option>
1842 </expand>
1843 </param>
1844 <expand macro="estimator_suboptions">
1845 <when value="custom_estimator">
1846 <param name="c_estimator" type="data" format="zip" label="Choose the dataset containing the custom estimator or pipeline"/>
1847 </when>
1848 </expand>
1849 </conditional>
1850 </xml>
1851
1852 <xml name="stacking_voting_weights">
1853 <section name="options" title="Advanced Options" expanded="false">
1854 <param argument="weights" type="text" value="[]" optional="true" help="Sequence of weights (float or int). Uses uniform weights if None (`[]`).">
1855 <sanitizer>
1856 <valid initial="default">
1857 <add value="["/>
1858 <add value="]"/>
1859 </valid>
1860 </sanitizer>
1861 </param>
1862 <yield/>
1863 </section>
1864 </xml> 1862 </xml>
1865 1863
1866 <xml name="preprocessors_sequence_encoders"> 1864 <xml name="preprocessors_sequence_encoders">
1867 <conditional name="encoder_selection"> 1865 <conditional name="encoder_selection">
1868 <param name="encoder_type" type="select" label="Choose the sequence encoder class"> 1866 <param name="encoder_type" type="select" label="Choose the sequence encoder class">
1869 <option value="GenomeOneHotEncoder">GenomeOneHotEncoder</option> 1867 <option value="GenomeOneHotEncoder">GenomeOneHotEncoder</option>
1870 <option value="ProteinOneHotEncoder">ProteinOneHotEncoder</option> 1868 <option value="ProteinOneHotEncoder">ProteinOneHotEncoder</option>
1871 </param> 1869 </param>
1872 <when value="GenomeOneHotEncoder"> 1870 <when value="GenomeOneHotEncoder">
1873 <expand macro="preprocessors_sequence_encoder_arguments"/> 1871 <expand macro="preprocessors_sequence_encoder_arguments" />
1874 </when> 1872 </when>
1875 <when value="ProteinOneHotEncoder"> 1873 <when value="ProteinOneHotEncoder">
1876 <expand macro="preprocessors_sequence_encoder_arguments"/> 1874 <expand macro="preprocessors_sequence_encoder_arguments" />
1877 </when> 1875 </when>
1878 </conditional> 1876 </conditional>
1879 </xml> 1877 </xml>
1880 1878
1881 <xml name="preprocessors_sequence_encoder_arguments"> 1879 <xml name="preprocessors_sequence_encoder_arguments">
1882 <param argument="seq_length" type="integer" value="" min="0" optional="true" help="Integer. Sequence length"/> 1880 <param argument="seq_length" type="integer" value="" min="0" optional="true" help="Integer. Sequence length" />
1883 <param argument="padding" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" help="Whether to pad or truncate sequence to meet the sequence length."/> 1881 <param argument="padding" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" help="Whether to pad or truncate sequence to meet the sequence length." />
1884 </xml> 1882 </xml>
1885 1883
1886 <!-- Outputs --> 1884 <!-- Outputs -->
1887 1885
1888 <xml name="output"> 1886 <xml name="output">
1889 <outputs> 1887 <outputs>
1890 <data format="tabular" name="outfile_predict"> 1888 <data format="tabular" name="outfile_predict">
1891 <filter>selected_tasks['selected_task'] == 'load'</filter> 1889 <filter>selected_tasks['selected_task'] == 'load'</filter>
1892 </data> 1890 </data>
1893 <data format="zip" name="outfile_fit" label="${tool.name}.${selected_tasks.selected_algorithms.selected_algorithm}"> 1891 <data format="h5mlm" name="outfile_fit" label="${tool.name}.${selected_tasks.selected_algorithms.selected_algorithm}">
1894 <filter>selected_tasks['selected_task'] == 'train'</filter> 1892 <filter>selected_tasks['selected_task'] == 'train'</filter>
1895 </data> 1893 </data>
1896 </outputs> 1894 </outputs>
1897 </xml> 1895 </xml>
1898 1896
1899 <!--Citations--> 1897 <!--Citations-->
1900 <xml name="eden_citation"> 1898 <xml name="eden_citation">
1901 <citations> 1899 <citations>
1902 <citation type="doi">10.5281/zenodo.15094</citation> 1900 <citation type="doi">10.5281/zenodo.15094</citation>
1903 </citations> 1901 </citations>
1904 </xml> 1902 </xml>
1905 1903
1906 <xml name="sklearn_citation"> 1904 <xml name="sklearn_citation">
1907 <citations> 1905 <citations>
1908 <citation type="bibtex"> 1906 <citation type="bibtex">
1909 @article{scikit-learn, 1907 @article{scikit-learn,
1910 title={Scikit-learn: Machine Learning in {P}ython}, 1908 title={Scikit-learn: Machine Learning in {P}ython},
1911 author={Pedregosa, F. and Varoquaux, G. and Gramfort, A. and Michel, V. 1909 author={Pedregosa, F. and Varoquaux, G. and Gramfort, A. and Michel, V.
1912 and Thirion, B. and Grisel, O. and Blondel, M. and Prettenhofer, P. 1910 and Thirion, B. and Grisel, O. and Blondel, M. and Prettenhofer, P.
1913 and Weiss, R. and Dubourg, V. and Vanderplas, J. and Passos, A. and 1911 and Weiss, R. and Dubourg, V. and Vanderplas, J. and Passos, A. and
1914 Cournapeau, D. and Brucher, M. and Perrot, M. and Duchesnay, E.}, 1912 Cournapeau, D. and Brucher, M. and Perrot, M. and Duchesnay, E.},
1915 journal={Journal of Machine Learning Research}, 1913 journal={Journal of Machine Learning Research},
1916 volume={12}, 1914 volume={12},
1917 pages={2825--2830}, 1915 pages={2825--2830},
1918 year={2011} 1916 year={2011}
1919 } 1917 }
1920 </citation> 1918 </citation>
1921 <yield/> 1919 <yield />
1922 </citations> 1920 </citations>
1923 </xml> 1921 </xml>
1924 1922
1925 <xml name="scipy_citation"> 1923 <xml name="scipy_citation">
1926 <citations> 1924 <citations>
1927 <citation type="bibtex"> 1925 <citation type="bibtex">
1928 @Misc{, 1926 @Misc{,
1929 author = {Eric Jones and Travis Oliphant and Pearu Peterson and others}, 1927 author = {Eric Jones and Travis Oliphant and Pearu Peterson and others},
1930 title = {{SciPy}: Open source scientific tools for {Python}}, 1928 title = {{SciPy}: Open source scientific tools for {Python}},
1931 year = {2001--}, 1929 year = {2001--},
1932 url = "http://www.scipy.org/", 1930 url = "http://www.scipy.org/",
1933 note = {[Online; accessed 2016-04-09]} 1931 note = {[Online; accessed 2016-04-09]}
1934 } 1932 }
1935 </citation> 1933 </citation>
1936 </citations> 1934 </citations>
1937 </xml> 1935 </xml>
1938 1936
1939 <xml name="skrebate_citation"> 1937 <xml name="skrebate_citation">
1940 <citation type="bibtex"> 1938 <citation type="bibtex">