annotate learner.xml @ 7:cac9eb21fb69 draft

planemo upload for repository https://github.com/brsynth/icfree-ml commit 7a51fc3ee7c0eb4b07d47772340ff1d3dab5e7aa-dirty
author tduigou
date Thu, 06 Feb 2025 15:11:19 +0000
parents 09df65e2df97
children fad19e8ec225
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
1 <tool id="icfree_learner" name="iCFree learner" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="MIT">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
2 <description>Active learning and model training</description>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
3 <macros>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
4 <import>macros.xml</import>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
5 </macros>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
6 <expand macro="requirements"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
8 cp '$input_param_tsv' 'param.tsv' &&
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
9 mkdir 'indir' &&
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
10 #for $i, $input in enumerate($input_data_csv)
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
11 #if $input
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
12 cp '$input' 'indir/plate.${i}.csv' &&
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
13 #end if
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
14 #end for
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
15 python -m icfree.learner
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
16 --data_folder 'indir'
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
17 --parameter_file 'param.tsv'
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
18 --output_folder 'outdir'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
19 #if str($adv.name_list) != ''
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
20 --name_list '$adv.name_list'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
21 #end if
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
22 #if str($adv.test) == 'true'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
23 --test
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
24 #end if
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
25 --nb_rep '$adv.nb_rep'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
26 #if str($adv.flatten) != ''
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
27 --flatten
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
28 #end if
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
29 #if str($adv.seed_cond.seed_param) == 'not_random'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
30 --seed '$adv.seed_cond.seed'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
31 #end if
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
32 --nb_new_data_predict '$adv.nb_new_data_predict'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
33 --nb_new_data '$adv.nb_new_data'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
34 --parameter_step '$adv.parameter_step'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
35 --n_group '$adv.n_group'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
36 --km '$adv.km'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
37 --ks '$adv.ks'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
38 --save_plot
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
39 --verbose && ls 'outdir'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
40 ]]></command>
7
cac9eb21fb69 planemo upload for repository https://github.com/brsynth/icfree-ml commit 7a51fc3ee7c0eb4b07d47772340ff1d3dab5e7aa-dirty
tduigou
parents: 6
diff changeset
41 <environment_variables>
cac9eb21fb69 planemo upload for repository https://github.com/brsynth/icfree-ml commit 7a51fc3ee7c0eb4b07d47772340ff1d3dab5e7aa-dirty
tduigou
parents: 6
diff changeset
42 <environment_variable name="MPLCONFIGDIR">.matplotlib</environment_variable>
cac9eb21fb69 planemo upload for repository https://github.com/brsynth/icfree-ml commit 7a51fc3ee7c0eb4b07d47772340ff1d3dab5e7aa-dirty
tduigou
parents: 6
diff changeset
43 </environment_variables>
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
44 <inputs>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
45 <param name="input_data_csv" type="data" format="csv" multiple="true" label="Input data files" help="Input data files" />
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
46 <param name="input_param_tsv" type="data" format="tabular" label="Parameter values for the experiments" help="Parameter values for the experiment"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
47 <section name="adv" title="Advanced Options" expanded="false">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
48 <param name="name_list" type="text" value="" label="Labels of the feature list" help="A comma-separated string of column names or identifiers, converted to a list of strings representing columns that contain labels (y). This separates y columns from the rest (X features). (Default: Yield1,Yield2,Yield3,Yield4,Yield5)" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
49 <param name="test" type="boolean" label="Validate the model" help="A flag for validating the model; not required to run inside the active learning loop. If not set, skip the validating step" checked="false" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
50 <param name="nb_rep" type="integer" value="100" label="Number of test repetitions for validation the model behavior" help="The number of test repetitions for validating the model behavior. 80% of data is randomly separated for training, and 20% is used for testing." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
51 <param name="flatten" type="boolean" label="Flattent feature data" help="A flag to indicate whether to flatten Y data. If set, treats each repetition in the same experiment independently; multiple same X values with different y outputs are modeled. Else, calculates the average of y across repetitions and only model with y average." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
52 <param name="nb_new_data_predict" type="integer" value="1000" label="Number of new data points generated" help="The number of new data points sampled from all possible cases." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
53 <param name="nb_new_data" type="integer" value="50" label="Number of new data points used" help="The number of new data points selected from the generated ones. These are the data points labeled after active learning loops. `nb_new_data_predict` must be greater than `nb_new_data` to be meaningful." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
54 <param name="parameter_step" type="integer" value="10" label="Step size used to decrement the maximum predefined concentration sequentially" help="The step size used to decrement the maximum predefined concentration sequentially. For example, if the maximum concentration is `max`, the sequence of concentrations is calculated as: `max - 1 * parameter_step`, `max - 2 * parameter_step`, `max - 3 * parameter_step`, and so on. Each concentration is a candidate for experimental testing. Smaller steps result in more possible combinations to sample." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
55 <param name="n_group" type="integer" value="15" label="Number of clusters" help="Parameter for the cluster margin algorithm, specifying the number of groups into which generated data will be clustered." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
56 <param name="km" type="integer" value="50" label="Number of data points for the first selection" help="Parameter for the cluster margin algorithm, specifying the number of data points for the first selection. Ensure `nb_new_data_predict > ks > km`." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
57 <param name="ks" type="integer" value="20" label="Number of data points for the second selection" help="Parameter for the cluster margin algorithm, specifying the number of data points for the second selection. This is also similar to `nb_new_data`." />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
58 <!-- Seed -->
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
59 <conditional name="seed_cond">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
60 <param name="seed_param" type="select" label="Seed" help="Choose a seed or let it as random">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
61 <option value="not_random" selected="true">fixed</option>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
62 <option value="random">random</option>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
63 </param>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
64 <when value="random"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
65 <when value="not_random">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
66 <param name="seed" type="text" value="85" label="Seed value" help="Only integer allowed">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
67 <validator type="empty_field" message="Not empty, select random"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
68 <validator type="regex" message="Only integer allowed">^(?:\d+)$</validator>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
69 </param>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
70 </when>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
71 </conditional>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
72 </section>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
73 </inputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
74 <outputs>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
75 <data name="output_csv" format="csv" label="${tool.name} - Data">
7
cac9eb21fb69 planemo upload for repository https://github.com/brsynth/icfree-ml commit 7a51fc3ee7c0eb4b07d47772340ff1d3dab5e7aa-dirty
tduigou
parents: 6
diff changeset
76 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.csv" ext="csv" directory="outdir" />
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
77 </data>
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
78 <collection name="output_png" type="list" label="${tool.name} - Plot">
7
cac9eb21fb69 planemo upload for repository https://github.com/brsynth/icfree-ml commit 7a51fc3ee7c0eb4b07d47772340ff1d3dab5e7aa-dirty
tduigou
parents: 6
diff changeset
79 <discover_datasets pattern="(?P&lt;name&gt;.*)\.png" format="png" directory="outdir" />
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
80 </collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
81 </outputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
82 <tests>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
83 <test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
84 <!-- python -m icfree.learner -data_folder learner -parameter_file learner.input.param.tsv -output_folder tmp -save_plot -verbose -seed 85 -->
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
85 <param name="input_data_csv" value="learner.input.data.1.csv,learner.input.data.2.csv" />
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
86 <param name="input_param_tsv" value="learner.input.param.tsv" />
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
87 <output name="output_csv">
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
88 <discovered_dataset designation="next_sampling_ei50" ftype="csv">
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
89 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
90 <has_n_lines n="51" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
91 </assert_contents>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
92 </discovered_dataset>
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
93 </output>
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
94 <output_collection name="output_png" type="list" count="4">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
95 <element name="EI selected">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
96 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
97 <has_size value="77k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
98 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
99 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
100 <element name="EI">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
101 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
102 <has_size value="36k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
103 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
104 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
105 <element name="Train_Test">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
106 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
107 <has_size value="64k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
108 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
109 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
110 <element name="Yield evolution through each active learning query">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
111 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
112 <has_size value="19k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
113 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
114 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
115 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
116 </test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
117 <test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
118 <!-- python -m icfree.learner -data_folder learner -parameter_file learner.input.param.tsv -output_folder tmp2 -name_list "Yield1,Yield2" -nb_rep 5 -flatten -seed 85 -nb_new_data_predict 20 -nb_new_data 2 -parameter_step 2 -n_group 3 -km 5 -ks 2 -save_plot -verbose -->
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
119 <param name="input_data_csv" value="learner.input.data.1.csv,learner.input.data.2.csv" />
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
120 <param name="input_param_tsv" value="learner.input.param.tsv" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
121 <param name="name_list" value="Yield1,Yield2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
122 <param name="nb_rep" value="5" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
123 <param name="flatten" value="true" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
124 <param name="nb_new_data_predict" value="20" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
125 <param name="nb_new_data" value="2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
126 <param name="parameter_step" value="2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
127 <param name="n_group" value="3" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
128 <param name="km" value="5" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
129 <param name="ks" value="2" />
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
130 <!-- <element name="next_sampling_ei5" file="learner.output.data.2.csv" ftype="csv" > -->
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
131 <output name="output_csv">
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
132 <discovered_dataset designation="next_sampling_ei5" ftype="csv">
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
133 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
134 <has_n_lines n="6" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
135 </assert_contents>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
136 </discovered_dataset>
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
137 </output>
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
138 <output_collection name="output_png" type="list" count="4">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
139 <element name="EI selected">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
140 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
141 <has_size value="24k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
142 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
143 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
144 <element name="EI">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
145 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
146 <has_size value="36k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
147 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
148 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
149 <element name="Train_Test">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
150 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
151 <has_size value="60k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
152 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
153 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
154 <element name="Yield evolution through each active learning query">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
155 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
156 <has_size value="19k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
157 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
158 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
159 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
160 </test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
161 </tests>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
162 <help><![CDATA[
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
163 Learner
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
164 =======
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
165 Active learning and model training
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
166
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
167 ]]></help>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
168 <expand macro="creator"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
169 <expand macro="citation"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
170 </tool>