Mercurial > repos > bgruening > sklearn_stacking_ensemble_models
annotate stacking_ensembles.xml @ 10:ac40a2fe5750 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
author | bgruening |
---|---|
date | Tue, 13 Apr 2021 17:21:05 +0000 |
parents | a2e4a45c6083 |
children |
rev | line source |
---|---|
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
1 <tool id="sklearn_stacking_ensemble_models" name="Stacking Ensembles" version="@VERSION@" profile="20.05"> |
7
a2e4a45c6083
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 6bb8bb56f44769dcba665de057c35d74ac89e196"
bgruening
parents:
5
diff
changeset
|
2 <description>builds stacking, voting ensemble models with numerous base options</description> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
3 <macros> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
4 <import>main_macros.xml</import> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
5 </macros> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
6 <expand macro="python_requirements" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
7 <expand macro="macro_stdio" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
8 <version_command>echo "$ENSEMBLE_VERSION"</version_command> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
9 <command> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
10 <![CDATA[ |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
11 #for $i, $base in enumerate($base_est_builder) |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
12 #if $i == 0 |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
13 #if $base.estimator_selector.selected_module == 'custom_estimator' |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
14 bases='${base.estimator_selector.c_estimator}'; |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
15 #else |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
16 bases='None'; |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
17 #end if |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
18 #elif $base.estimator_selector.selected_module == 'custom_estimator' |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
19 bases="\$bases,${base.estimator_selector.c_estimator}"; |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
20 #else |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
21 bases="\$bases,None"; |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
22 #end if |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
23 #end for |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
24 python '$__tool_directory__/stacking_ensembles.py' |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
25 --inputs '$inputs' |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
26 --outfile '$outfile' |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
27 --bases "\$bases" |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
28 #if $algo_selection.estimator_type not in ('sklearn.ensemble_VotingClassifier', 'sklearn.ensemble_VotingRegressor') |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
29 #if $algo_selection.meta_estimator.estimator_selector.selected_module == 'custom_estimator' |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
30 --meta '${algo_selection.meta_estimator.estimator_selector.c_estimator}' |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
31 #end if |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
32 #end if |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
33 #if $get_params |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
34 --outfile_params '$outfile_params' |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
35 #end if |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
36 ]]> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
37 </command> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
38 <configfiles> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
39 <inputs name="inputs" /> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
40 </configfiles> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
41 <inputs> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
42 <conditional name="algo_selection"> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
43 <param name="estimator_type" type="select" label="Choose the stacking ensemble type"> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
44 <option value="sklearn.ensemble_VotingClassifier" selected="true">sklearn.ensemble -- VotingClassifier</option> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
45 <option value="sklearn.ensemble_VotingRegressor">sklearn.ensemble -- VotingRegressor</option> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
46 <option value="mlxtend.classifier_StackingCVClassifier">mlxtend.classifier -- StackingCVClassifier</option> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
47 <option value="mlxtend.classifier_StackingClassifier">mlxtend.classifier -- StackingClassifier</option> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
48 <option value="mlxtend.regressor_StackingCVRegressor">mlxtend.regressor -- StackingCVRegressor</option> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
49 <option value="mlxtend.regressor_StackingRegressor">mlxtend.regressor -- StackingRegressor</option> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
50 </param> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
51 <when value="sklearn.ensemble_VotingClassifier"> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
52 <expand macro="stacking_voting_weights"> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
53 <param argument="voting" type="select" help="If ‘hard’, uses predicted class labels for majority rule voting. Else if ‘soft’, predicts the class label based on the argmax of the sums of the predicted probabilities, which is recommended for an ensemble of well-calibrated classifiers."> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
54 <option value="hard" selected="true">hard</option> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
55 <option value="soft">soft</option> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
56 </param> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
57 <param argument="flatten_transform" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" help="" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
58 </expand> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
59 </when> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
60 <when value="sklearn.ensemble_VotingRegressor"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
61 <expand macro="stacking_voting_weights" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
62 </when> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
63 <when value="mlxtend.classifier_StackingCVClassifier"> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
64 <expand macro="stacking_ensemble_inputs"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
65 <expand macro="cv_reduced" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
66 <expand macro="shuffle" label="shuffle" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
67 <expand macro="random_state" default_value="" help_text="Integer number. The seed of the pseudo random number generator to use when shuffling the data." /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
68 <param argument="use_probas" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
69 </expand> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
70 <section name="meta_estimator" title="Meta Estimator" expanded="true"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
71 <expand macro="stacking_base_estimator" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
72 </section> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
73 </when> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
74 <when value="mlxtend.classifier_StackingClassifier"> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
75 <expand macro="stacking_ensemble_inputs"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
76 <param argument="use_probas" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
77 <param argument="average_probas" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
78 </expand> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
79 <section name="meta_estimator" title="Meta Estimator" expanded="true"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
80 <expand macro="stacking_base_estimator" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
81 </section> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
82 </when> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
83 <when value="mlxtend.regressor_StackingCVRegressor"> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
84 <expand macro="stacking_ensemble_inputs"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
85 <expand macro="cv_reduced" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
86 <!--TODO support group splitters. Hint: `groups` is a fit_param--> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
87 <expand macro="shuffle" label="shuffle" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
88 <expand macro="random_state" default_value="" help_text="Integer number. The seed of the pseudo random number generator to use when shuffling the data." /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
89 <param argument="refit" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
90 </expand> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
91 <section name="meta_estimator" title="Meta Estimator" expanded="true"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
92 <expand macro="stacking_base_estimator" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
93 </section> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
94 </when> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
95 <when value="mlxtend.regressor_StackingRegressor"> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
96 <expand macro="stacking_ensemble_inputs"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
97 <param argument="refit" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
98 </expand> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
99 <section name="meta_estimator" title="Meta Estimator" expanded="true"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
100 <expand macro="stacking_base_estimator" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
101 </section> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
102 </when> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
103 </conditional> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
104 <repeat name="base_est_builder" min="1" max="20" title="Base Estimator"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
105 <expand macro="stacking_base_estimator" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
106 <!--param name="base_estimator" type="data" format="zip,json" label="Select the dataset containing base estimator" help="One estimator at a time."/--> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
107 </repeat> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
108 <!--param name="meta_estimator" type="data" format="zip,json" label="Select the dataset containing the Meta estimator"/--> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
109 <param name="get_params" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Output parameters for searchCV?" help="Optional. Tunable parameters could be obtained through `estimator_attributes` tool." /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
110 </inputs> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
111 <outputs> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
112 <data format="zip" name="outfile" label="${algo_selection.estimator_type} on ${on_string}" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
113 <data format="tabular" name="outfile_params" label="get_params for ${algo_selection.estimator_type}"> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
114 <filter>get_params</filter> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
115 </data> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
116 </outputs> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
117 <tests> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
118 <test> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
119 <conditional name="algo_selection"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
120 <param name="estimator_type" value="sklearn.ensemble_VotingClassifier" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
121 <section name="options"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
122 <param name="weights" value="[1, 2]" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
123 </section> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
124 </conditional> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
125 <repeat name="base_est_builder"> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
126 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
127 <param name="selected_module" value="svm" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
128 <param name="selected_estimator" value="SVC" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
129 </conditional> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
130 </repeat> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
131 <repeat name="base_est_builder"> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
132 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
133 <param name="selected_module" value="xgboost" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
134 <param name="selected_estimator" value="XGBClassifier" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
135 </conditional> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
136 </repeat> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
137 <param name="get_params" value="false" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
138 <output name="outfile" file="StackingVoting03.zip" compare="sim_size" delta="5" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
139 </test> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
140 <test> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
141 <conditional name="algo_selection"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
142 <param name="estimator_type" value="mlxtend.regressor_StackingCVRegressor" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
143 <section name="meta_estimator"> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
144 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
145 <param name="selected_module" value="custom_estimator" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
146 <param name="c_estimator" value="LinearRegression01.zip" ftype="zip" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
147 </conditional> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
148 </section> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
149 </conditional> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
150 <repeat name="base_est_builder"> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
151 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
152 <param name="selected_module" value="custom_estimator" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
153 <param name="c_estimator" value="RandomForestRegressor01.zip" ftype="zip" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
154 </conditional> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
155 </repeat> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
156 <repeat name="base_est_builder"> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
157 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
158 <param name="selected_module" value="custom_estimator" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
159 <param name="c_estimator" value="XGBRegressor01.zip" ftype="zip" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
160 </conditional> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
161 </repeat> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
162 <param name="get_params" value="false" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
163 <output name="outfile" file="StackingCVRegressor01.zip" compare="sim_size" delta="5" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
164 </test> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
165 <test> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
166 <conditional name="algo_selection"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
167 <param name="estimator_type" value="mlxtend.regressor_StackingRegressor" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
168 <section name="meta_estimator"> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
169 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
170 <param name="selected_module" value="svm" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
171 <param name="selected_estimator" value="SVR" /> |
2
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
172 </conditional> |
22560cf810b8
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
0
diff
changeset
|
173 </section> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
174 </conditional> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
175 <repeat name="base_est_builder"> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
176 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
177 <param name="selected_module" value="custom_estimator" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
178 <param name="c_estimator" value="RandomForestRegressor01.zip" ftype="zip" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
179 </conditional> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
180 </repeat> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
181 <repeat name="base_est_builder"> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
182 <conditional name="estimator_selector"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
183 <param name="selected_module" value="xgboost" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
184 <param name="selected_estimator" value="XGBRegressor" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
185 </conditional> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
186 </repeat> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
187 <param name="get_params" value="false" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
188 <output name="outfile" file="StackingRegressor02.zip" compare="sim_size" delta="5" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
189 </test> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
190 </tests> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
191 <help> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
192 <![CDATA[ |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
193 This tool wrapps Stacking Regression, also called Super Learning, in which different base algorithms train |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
194 on the original dataset and predict results respectively, a second level of `metalearner` fits on the previous |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
195 prediction results to ensemble a strong learner. |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
196 Refer to `http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/stacked-ensembles.html#introduction`_. |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
197 |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
198 .. _`http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/stacked-ensembles.html#introduction`: |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
199 http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/stacked-ensembles.html#introduction |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
200 |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
201 ]]> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
202 </help> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
203 <expand macro="sklearn_citation"> |
10
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
204 <expand macro="skrebate_citation" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
205 <expand macro="xgboost_citation" /> |
ac40a2fe5750
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit e2a5eade6d0e5ddf3a47630381a0ad90d80e8a04"
bgruening
parents:
7
diff
changeset
|
206 <expand macro="imblearn_citation" /> |
0
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
207 <citation type="bibtex"> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
208 @article{raschkas_2018_mlxtend, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
209 author = {Sebastian Raschka}, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
210 title = {MLxtend: Providing machine learning and data science |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
211 utilities and extensions to Python’s |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
212 scientific computing stack}, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
213 journal = {The Journal of Open Source Software}, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
214 volume = {3}, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
215 number = {24}, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
216 month = apr, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
217 year = 2018, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
218 publisher = {The Open Journal}, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
219 doi = {10.21105/joss.00638}, |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
220 url = {http://joss.theoj.org/papers/10.21105/joss.00638} |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
221 } |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
222 </citation> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
223 </expand> |
fcc5eaaec401
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit ab963ec9498bd05d2fb2f24f75adb2fccae7958c
bgruening
parents:
diff
changeset
|
224 </tool> |