Mercurial > repos > bgruening > sklearn_ensemble
annotate ensemble.xml @ 46:8b3ae64e3a16 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 80417bf0158a9b596e485dd66408f738f405145a
author | bgruening |
---|---|
date | Mon, 02 Oct 2023 08:05:39 +0000 |
parents | fce065687d98 |
children |
rev | line source |
---|---|
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
1 <tool id="sklearn_ensemble" name="Ensemble methods" version="@VERSION@" profile="@PROFILE@"> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
2 <description>for classification and regression</description> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
3 <macros> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
4 <import>main_macros.xml</import> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
5 </macros> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
6 <expand macro="python_requirements" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
7 <expand macro="macro_stdio" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
8 <version_command>echo "@VERSION@"</version_command> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
9 <command><![CDATA[ |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
10 python "$ensemble_script" '$inputs' |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
11 ]]> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
12 </command> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
13 <configfiles> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
14 <inputs name="inputs" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
15 <configfile name="ensemble_script"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
16 <![CDATA[ |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
17 import json |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
18 import numpy as np |
28
9eaf13ccab4d
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c0a3a186966888e5787335a7628bf0a4382637e7
bgruening
parents:
27
diff
changeset
|
19 import pandas |
30
b76516a55138
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
28
diff
changeset
|
20 import sys |
b76516a55138
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
bgruening
parents:
28
diff
changeset
|
21 |
28
9eaf13ccab4d
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c0a3a186966888e5787335a7628bf0a4382637e7
bgruening
parents:
27
diff
changeset
|
22 from scipy.io import mmread |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
23 import sklearn.ensemble |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
24 from galaxy_ml.model_persist import dump_model_to_h5, load_model_from_h5 |
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
25 from galaxy_ml.utils import clean_params, get_X_y |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
26 |
28
9eaf13ccab4d
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c0a3a186966888e5787335a7628bf0a4382637e7
bgruening
parents:
27
diff
changeset
|
27 |
9eaf13ccab4d
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c0a3a186966888e5787335a7628bf0a4382637e7
bgruening
parents:
27
diff
changeset
|
28 N_JOBS = int(__import__('os').environ.get('GALAXY_SLOTS', 1)) |
8
ea8b1c89c20b
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit cea052cf3b8dd4f3620253bd222e126de32e7466
bgruening
parents:
6
diff
changeset
|
29 |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
30 # Get inputs, outputs. |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
31 input_json_path = sys.argv[1] |
19
128bd4ab2b82
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit f54ff2ba2f8e7542d68966ce5a6b17d7f624ac48
bgruening
parents:
18
diff
changeset
|
32 with open(input_json_path, "r") as param_handler: |
128bd4ab2b82
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit f54ff2ba2f8e7542d68966ce5a6b17d7f624ac48
bgruening
parents:
18
diff
changeset
|
33 params = json.load(param_handler) |
128bd4ab2b82
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit f54ff2ba2f8e7542d68966ce5a6b17d7f624ac48
bgruening
parents:
18
diff
changeset
|
34 print(params) |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
35 |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
36 # Put all cheetah up here to avoid confusion. |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
37 #if $selected_tasks.selected_task == "train": |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
38 infile1 = "$selected_tasks.selected_algorithms.input_options.infile1" |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
39 infile2 = "$selected_tasks.selected_algorithms.input_options.infile2" |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
40 #else: |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
41 infile_model = "$selected_tasks.infile_model" |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
42 infile_data = "$selected_tasks.infile_data" |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
43 #end if |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
44 outfile_fit = "$outfile_fit" |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
45 outfile_predict = "$outfile_predict" |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
46 |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
47 # All Python from here on out: |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
48 |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
49 if params["selected_tasks"]["selected_task"] == "train": |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
50 algorithm = params["selected_tasks"]["selected_algorithms"]["selected_algorithm"] |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
51 options = params["selected_tasks"]["selected_algorithms"]["options"] |
23
090cb13556f1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit d00173591e4a783a4c1cb2664e4bb192ab5414f7
bgruening
parents:
19
diff
changeset
|
52 if algorithm in ['RandomForestClassifier', 'RandomForestRegressor']: |
090cb13556f1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit d00173591e4a783a4c1cb2664e4bb192ab5414f7
bgruening
parents:
19
diff
changeset
|
53 options['n_jobs'] = N_JOBS |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
54 if "select_max_features" in options: |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
55 if options["select_max_features"]["max_features"] == "number_input": |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
56 options["select_max_features"]["max_features"] = options["select_max_features"]["num_max_features"] |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
57 options["select_max_features"].pop("num_max_features") |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
58 options["max_features"] = options["select_max_features"]["max_features"] |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
59 options.pop("select_max_features") |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
60 if "min_samples_leaf" in options and options["min_samples_leaf"] == 1.0: |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
61 options["min_samples_leaf"] = 1 |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
62 if "min_samples_split" in options and options["min_samples_split"] > 1.0: |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
63 options["min_samples_split"] = int(options["min_samples_split"]) |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
64 |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
65 X, y = get_X_y(params, infile1, infile2) |
19
128bd4ab2b82
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit f54ff2ba2f8e7542d68966ce5a6b17d7f624ac48
bgruening
parents:
18
diff
changeset
|
66 |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
67 my_class = getattr(sklearn.ensemble, algorithm) |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
68 estimator = my_class(**options) |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
69 estimator.fit(X,y) |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
70 dump_model_to_h5(estimator, outfile_fit) |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
71 |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
72 else: |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
73 classifier_object = load_model_from_h5(infile_model) |
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
74 classifier_object = clean_params(classifier_object) |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
75 header = 'infer' if params["selected_tasks"]["header"] else None |
35
c49ad9558f6a
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 5b2ac730ec6d3b762faa9034eddd19ad1b347476"
bgruening
parents:
30
diff
changeset
|
76 data = pandas.read_csv(infile_data, sep='\t', header=header, index_col=None, parse_dates=True, encoding=None) |
18
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
77 prediction = classifier_object.predict(data) |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
78 prediction_df = pandas.DataFrame(prediction, columns=["predicted"]) |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
79 res = pandas.concat([data, prediction_df], axis=1) |
0070e491573f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 7c2fd140e89605fe689c39e21d70a400545e38cf
bgruening
parents:
17
diff
changeset
|
80 res.to_csv(path_or_buf = outfile_predict, sep="\t", index=False) |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
81 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
82 ]]> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
83 </configfile> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
84 </configfiles> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
85 <inputs> |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
86 <expand macro="sl_Conditional" model="h5mlm"> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
87 <param name="selected_algorithm" type="select" label="Select an ensemble method:"> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
88 <option value="RandomForestClassifier" selected="true">Random forest classifier</option> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
89 <option value="AdaBoostClassifier">Ada boost classifier</option> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
90 <option value="GradientBoostingClassifier">Gradient Boosting Classifier</option> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
91 <option value="RandomForestRegressor">Random forest regressor</option> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
92 <option value="AdaBoostRegressor">Ada boost regressor</option> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
93 <option value="GradientBoostingRegressor">Gradient Boosting Regressor</option> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
94 </param> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
95 <when value="RandomForestClassifier"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
96 <expand macro="sl_mixed_input" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
97 <section name="options" title="Advanced Options" expanded="False"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
98 <expand macro="n_estimators" default_value="100" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
99 <expand macro="criterion" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
100 <expand macro="max_features" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
101 <expand macro="max_depth" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
102 <expand macro="min_samples_split" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
103 <expand macro="min_samples_leaf" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
104 <expand macro="min_weight_fraction_leaf" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
105 <expand macro="max_leaf_nodes" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
106 <expand macro="bootstrap" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
107 <expand macro="warm_start" checked="false" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
108 <expand macro="random_state" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
109 <expand macro="oob_score" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
110 <!--class_weight=None--> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
111 </section> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
112 </when> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
113 <when value="AdaBoostClassifier"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
114 <expand macro="sl_mixed_input" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
115 <section name="options" title="Advanced Options" expanded="False"> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
116 <!--base_estimator=None--> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
117 <expand macro="n_estimators" default_value="50" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
118 <expand macro="learning_rate" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
119 <param argument="algorithm" type="select" label="Boosting algorithm" help=" "> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
120 <option value="SAMME.R" selected="true">SAMME.R</option> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
121 <option value="SAMME">SAMME</option> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
122 </param> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
123 <expand macro="random_state" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
124 </section> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
125 </when> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
126 <when value="GradientBoostingClassifier"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
127 <expand macro="sl_mixed_input" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
128 <section name="options" title="Advanced Options" expanded="False"> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
129 <!--base_estimator=None--> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
130 <param argument="loss" type="select" label="Loss function"> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
131 <option value="deviance" selected="true">deviance - logistic regression with probabilistic outputs</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
132 <option value="exponential">exponential - gradient boosting recovers the AdaBoost algorithm</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
133 </param> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
134 <expand macro="learning_rate" default_value='0.1' /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
135 <expand macro="n_estimators" default_value="100" help="The number of boosting stages to perform" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
136 <expand macro="max_depth" default_value="3" help="maximum depth of the individual regression estimators" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
137 <expand macro="criterion2"> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
138 <option value="friedman_mse" selected="true">friedman_mse - mean squared error with improvement score by Friedman</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
139 </expand> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
140 <expand macro="min_samples_split" type="float" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
141 <expand macro="min_samples_leaf" type="float" label="The minimum number of samples required to be at a leaf node" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
142 <expand macro="min_weight_fraction_leaf" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
143 <expand macro="subsample" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
144 <expand macro="max_features" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
145 <expand macro="max_leaf_nodes" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
146 <expand macro="min_impurity_decrease" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
147 <expand macro="verbose" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
148 <expand macro="warm_start" checked="false" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
149 <expand macro="random_state" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
150 </section> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
151 </when> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
152 <when value="RandomForestRegressor"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
153 <expand macro="sl_mixed_input" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
154 <section name="options" title="Advanced Options" expanded="False"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
155 <expand macro="n_estimators" default_value="100" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
156 <expand macro="criterion2" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
157 <expand macro="max_features" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
158 <expand macro="max_depth" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
159 <expand macro="min_samples_split" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
160 <expand macro="min_samples_leaf" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
161 <expand macro="min_weight_fraction_leaf" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
162 <expand macro="max_leaf_nodes" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
163 <expand macro="min_impurity_decrease" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
164 <expand macro="bootstrap" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
165 <expand macro="oob_score" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
166 <expand macro="random_state" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
167 <expand macro="verbose" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
168 <expand macro="warm_start" checked="false" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
169 </section> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
170 </when> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
171 <when value="AdaBoostRegressor"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
172 <expand macro="sl_mixed_input" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
173 <section name="options" title="Advanced Options" expanded="False"> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
174 <!--base_estimator=None--> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
175 <expand macro="n_estimators" default_value="50" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
176 <expand macro="learning_rate" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
177 <param argument="loss" type="select" label="Loss function" optional="true" help="Used when updating the weights after each boosting iteration. "> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
178 <option value="linear" selected="true">linear</option> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
179 <option value="square">square</option> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
180 <option value="exponential">exponential</option> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
181 </param> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
182 <expand macro="random_state" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
183 </section> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
184 </when> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
185 <when value="GradientBoostingRegressor"> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
186 <expand macro="sl_mixed_input" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
187 <section name="options" title="Advanced Options" expanded="False"> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
188 <param argument="loss" type="select" label="Loss function"> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
189 <option value="ls" selected="true">ls - least squares regression</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
190 <option value="lad">lad - least absolute deviation</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
191 <option value="huber">huber - combination of least squares regression and least absolute deviation</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
192 <option value="quantile">quantile - use alpha to specify the quantile</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
193 </param> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
194 <expand macro="learning_rate" default_value="0.1" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
195 <expand macro="n_estimators" default_value="100" help="The number of boosting stages to perform" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
196 <expand macro="max_depth" default_value="3" help="maximum depth of the individual regression estimators" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
197 <expand macro="criterion2"> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
198 <option value="friedman_mse" selected="true">friedman_mse - mean squared error with improvement score by Friedman</option> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
199 </expand> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
200 <expand macro="min_samples_split" type="float" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
201 <expand macro="min_samples_leaf" type="float" label="The minimum number of samples required to be at a leaf node" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
202 <expand macro="min_weight_fraction_leaf" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
203 <expand macro="subsample" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
204 <expand macro="max_features" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
205 <expand macro="max_leaf_nodes" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
206 <expand macro="min_impurity_decrease" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
207 <param argument="alpha" type="float" value="0.9" label="alpha" help="The alpha-quantile of the huber loss function and the quantile loss function" /> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
208 <!--base_estimator=None--> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
209 <expand macro="verbose" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
210 <expand macro="warm_start" checked="false" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
211 <expand macro="random_state" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
212 </section> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
213 </when> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
214 </expand> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
215 </inputs> |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
216 |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
217 <expand macro="output" /> |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
218 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
219 <tests> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
220 <test> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
221 <param name="infile1" value="train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
222 <param name="infile2" value="train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
223 <param name="col1" value="1,2,3,4" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
224 <param name="col2" value="5" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
225 <param name="selected_task" value="train" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
226 <param name="selected_algorithm" value="RandomForestClassifier" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
227 <param name="random_state" value="10" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
228 <output name="outfile_fit" file="rfc_model01" compare="sim_size" delta="5" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
229 </test> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
230 <test> |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
231 <param name="infile_model" value="rfc_model01" ftype="h5mlm" /> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
232 <param name="infile_data" value="test.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
233 <param name="selected_task" value="load" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
234 <output name="outfile_predict" file="rfc_result01" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
235 </test> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
236 <test> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
237 <param name="infile1" value="regression_train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
238 <param name="infile2" value="regression_train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
239 <param name="col1" value="1,2,3,4,5" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
240 <param name="col2" value="6" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
241 <param name="selected_task" value="train" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
242 <param name="selected_algorithm" value="RandomForestRegressor" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
243 <param name="random_state" value="10" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
244 <output name="outfile_fit" file="rfr_model01" compare="sim_size" delta="5" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
245 </test> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
246 <test> |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
247 <param name="infile_model" value="rfr_model01" ftype="h5mlm" /> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
248 <param name="infile_data" value="regression_test.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
249 <param name="selected_task" value="load" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
250 <output name="outfile_predict" file="rfr_result01" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
251 </test> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
252 <test> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
253 <param name="infile1" value="regression_X.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
254 <param name="infile2" value="regression_y.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
255 <param name="header1" value="True" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
256 <param name="selected_column_selector_option" value="all_columns" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
257 <param name="header2" value="True" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
258 <param name="col2" value="1" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
259 <param name="selected_task" value="train" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
260 <param name="selected_algorithm" value="GradientBoostingRegressor" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
261 <param name="max_features" value="number_input" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
262 <param name="num_max_features" value="0.5" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
263 <param name="random_state" value="42" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
264 <output name="outfile_fit" file="gbr_model01" compare="sim_size" delta="5" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
265 </test> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
266 <test> |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
267 <param name="infile_model" value="gbr_model01" ftype="h5mlm" /> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
268 <param name="infile_data" value="regression_test_X.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
269 <param name="selected_task" value="load" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
270 <param name="header" value="True" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
271 <output name="outfile_predict" file="gbr_prediction_result01.tabular" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
272 </test> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
273 <test> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
274 <param name="infile1" value="train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
275 <param name="infile2" value="train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
276 <param name="col1" value="1,2,3,4" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
277 <param name="col2" value="5" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
278 <param name="selected_task" value="train" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
279 <param name="selected_algorithm" value="GradientBoostingClassifier" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
280 <output name="outfile_fit" file="gbc_model01" compare="sim_size" delta="5" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
281 </test> |
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
282 <test> |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
283 <param name="infile_model" value="gbc_model01" ftype="h5mlm" /> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
284 <param name="infile_data" value="test.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
285 <param name="selected_task" value="load" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
286 <output name="outfile_predict" file="gbc_result01" /> |
9
e4fcbbc81083
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 35fa73d6e9ba8f0789ddfb743d893d950a68af02
bgruening
parents:
8
diff
changeset
|
287 </test> |
26
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
288 <test> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
289 <param name="infile1" value="train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
290 <param name="infile2" value="train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
291 <param name="col1" value="1,2,3,4" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
292 <param name="col2" value="5" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
293 <param name="selected_task" value="train" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
294 <param name="selected_algorithm" value="AdaBoostClassifier" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
295 <param name="random_state" value="10" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
296 <output name="outfile_fit" file="abc_model01" compare="sim_size" delta="5" /> |
26
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
297 </test> |
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
298 <test> |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
299 <param name="infile_model" value="abc_model01" ftype="h5mlm" /> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
300 <param name="infile_data" value="test.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
301 <param name="selected_task" value="load" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
302 <output name="outfile_predict" file="abc_result01" /> |
26
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
303 </test> |
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
304 <test> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
305 <param name="infile1" value="regression_train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
306 <param name="infile2" value="regression_train.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
307 <param name="col1" value="1,2,3,4,5" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
308 <param name="col2" value="6" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
309 <param name="selected_task" value="train" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
310 <param name="selected_algorithm" value="AdaBoostRegressor" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
311 <param name="random_state" value="10" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
312 <output name="outfile_fit" file="abr_model01" compare="sim_size" delta="5" /> |
26
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
313 </test> |
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
314 <test> |
44
fce065687d98
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
bgruening
parents:
38
diff
changeset
|
315 <param name="infile_model" value="abr_model01" ftype="h5mlm" /> |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
316 <param name="infile_data" value="regression_test.tabular" ftype="tabular" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
317 <param name="selected_task" value="load" /> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
318 <output name="outfile_predict" file="abr_result01" /> |
26
8d0d31567045
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit c64ccc5850c8e061a95fb64e07ed388384e82393
bgruening
parents:
25
diff
changeset
|
319 </test> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
320 </tests> |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
321 <help><![CDATA[ |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
322 ***What it does*** |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
323 The goal of ensemble methods is to combine the predictions of several base estimators built with a given learning algorithm in order to improve generalizability / robustness over a single estimator. This tool offers two sets of ensemble algorithms for classification and regression: random forests and ADA boosting which are based on sklearn.ensemble library from Scikit-learn. Here you can find out about the input, output and methods presented in the tools. For information about ensemble methods and parameters settings please refer to `Scikit-learn ensemble`_. |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
324 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
325 .. _`Scikit-learn ensemble`: http://scikit-learn.org/stable/modules/ensemble.html |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
326 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
327 **1 - Methods** |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
328 There are two groups of operations available: |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
329 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
330 1 - Train a model : A training set containing samples and their respective labels (or predicted values) are input. Based on the selected algorithm and options, an estimator object is fit to the data and is returned. |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
331 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
332 2 - Load a model and predict : An existing model predicts the class labels (or regression values) for a new dataset. |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
333 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
334 **2 - Trainig input** |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
335 When you choose to train a model, you need a features dataset X and a labels set y. This tool expects tabular or sparse data for X and a single column for y (tabular). You can select a subset of columns in a tabular dataset as your features dataset or labels column. Below you find some examples: |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
336 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
337 **Sample tabular features dataset** |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
338 The following training dataset contains 3 feature columns and a column containing class labels. You can simply select the first 3 columns as features and the last column as labels: |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
339 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
340 :: |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
341 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
342 4.01163365529 -6.10797684314 8.29829894763 1 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
343 10.0788438916 1.59539821454 10.0684278289 0 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
344 -5.17607775503 -0.878286135332 6.92941850665 2 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
345 4.00975406235 -7.11847496542 9.3802423585 1 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
346 4.61204065139 -5.71217537352 9.12509610964 1 |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
347 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
348 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
349 **Sample sparse features dataset** |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
350 In this case you cannot specifiy a column range. |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
351 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
352 :: |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
353 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
354 4 1048577 8738 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
355 1 271 0.02083333333333341 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
356 1 1038 0.02461995616119806 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
357 2 829017 0.01629088031127686 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
358 2 829437 0.01209127083516686 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
359 2 830752 0.02535100632816968 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
360 3 1047487 0.01485722929945572 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
361 3 1047980 0.02640566620767753 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
362 3 1048475 0.01665869913262564 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
363 4 608 0.01662975263094352 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
364 4 1651 0.02519674277562741 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
365 4 4053 0.04223659971350601 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
366 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
367 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
368 **2 - Trainig output** |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
369 The trained model is generated and output in the form of a binary file. |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
370 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
371 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
372 **3 - Prediction input** |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
373 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
374 When you choose to load a model and do prediction, the tool expects an already trained estimator and a tabular dataset as input. The dataset contains new samples which you want to classify or predict regression values for. |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
375 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
376 |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
377 .. class:: warningmark |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
378 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
379 The number of feature columns must be the same in training and prediction datasets! |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
380 |
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
381 |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
382 **3 - Prediction output** |
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
383 The tool predicts the class labels for new samples and adds them as the last column to the prediction dataset. The new dataset then is output as a tabular file. The prediction output format should look like the training dataset. |
4
3bc536788043
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 0e582cf1f3134c777cce3aa57d71b80ed95e6ba9
bgruening
parents:
2
diff
changeset
|
384 |
38
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
385 ]]> </help> |
142f27ae0806
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 208a8d348e7c7a182cfbe1b6f17868146428a7e2"
bgruening
parents:
35
diff
changeset
|
386 <expand macro="sklearn_citation" /> |
0
31fd07e0acdb
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 6c002ea2995c85f5f16adb2ef1c6be82dfbc5417
bgruening
parents:
diff
changeset
|
387 </tool> |