annotate learner.xml @ 0:da588cac4813 draft

planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
author tduigou
date Wed, 05 Feb 2025 14:04:54 +0000
parents
children 8e8569c19fa7
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[
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
8 #import os
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
9 cp '$input_param_tsv' param.tsv &&
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
10 unzip '$input_folder_zip' -d indir &&
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
11 (find indir -type f | while read file; do mv "\$file" indir; done) &&
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
12 python -m icfree.learner
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
13 --data_folder indir
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
14 --parameter_file param.tsv
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
15 --output_folder 'outdir'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
16 #if str($adv.name_list) != ''
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
17 --name_list '$adv.name_list'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
18 #end if
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
19 #if str($adv.test) == 'true'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
20 --test
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 --nb_rep '$adv.nb_rep'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
23 #if str($adv.flatten) != ''
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
24 --flatten
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
25 #end if
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
26 #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
27 --seed '$adv.seed_cond.seed'
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 --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
30 --nb_new_data '$adv.nb_new_data'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
31 --parameter_step '$adv.parameter_step'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
32 --n_group '$adv.n_group'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
33 --km '$adv.km'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
34 --ks '$adv.ks'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
35 --save_plot
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
36 --verbose && ls 'outdir'
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
37 ]]></command>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
38 <inputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
39 <param name="input_folder_zip" type="data" format="zip" label="Zip folder containing the data files" help="Zip folder containing the data file"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
40 <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
41 <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
42 <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
43 <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
44 <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
45 <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
46 <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
47 <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
48 <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
49 <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
50 <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
51 <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
52 <!-- Seed -->
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
53 <conditional name="seed_cond">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
54 <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
55 <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
56 <option value="random">random</option>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
57 </param>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
58 <when value="random"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
59 <when value="not_random">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
60 <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
61 <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
62 <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
63 </param>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
64 </when>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
65 </conditional>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
66 </section>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
67 </inputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
68 <outputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
69 <collection name="output_csv" type="list" label="${tool.name} - Data">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
70 <discover_datasets pattern="(?P&lt;name&gt;.*).csv" format="csv" directory="outdir" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
71 </collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
72 <collection name="output_png" type="list" label="${tool.name} - Plot">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
73 <discover_datasets pattern="(?P&lt;name&gt;.*).png" format="png" directory="outdir" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
74 </collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
75 </outputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
76 <tests>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
77 <test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
78 <!-- python -m icfree.learner -data_folder learner -parameter_file learner.input.param.tsv -output_folder tmp -save_plot -verbose -seed 85 -->
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
79 <param name="input_folder_zip" value="learner.input.folder.zip" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
80 <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
81 <output_collection name="output_csv" type="list" count="1">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
82 <element name="next_sampling_ei50" ftype="csv" >
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
83 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
84 <has_n_lines n="51" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
85 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
86 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
87 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
88 <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
89 <element name="EI selected">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
90 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
91 <has_size value="77k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
92 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
93 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
94 <element name="EI">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
95 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
96 <has_size value="36k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
97 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
98 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
99 <element name="Train_Test">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
100 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
101 <has_size value="64k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
102 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
103 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
104 <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
105 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
106 <has_size value="19k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
107 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
108 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
109 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
110 </test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
111 <test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
112 <!-- 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 -->
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
113 <param name="input_folder_zip" value="learner.input.folder.zip" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
114 <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
115 <param name="name_list" value="Yield1,Yield2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
116 <param name="nb_rep" value="5" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
117 <param name="flatten" value="true" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
118 <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
119 <param name="nb_new_data" value="2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
120 <param name="parameter_step" value="2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
121 <param name="n_group" value="3" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
122 <param name="km" value="5" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
123 <param name="ks" value="2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
124 <output_collection name="output_csv" type="list" count="1">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
125 <element name="next_sampling_ei5" file="learner.output.data.2.csv" ftype="csv" >
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
126 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
127 <has_n_lines n="6" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
128 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
129 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
130 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
131 <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
132 <element name="EI selected">
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_size value="24k" delta="1k"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
135 </assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
136 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
137 <element name="EI">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
138 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
139 <has_size value="36k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
142 <element name="Train_Test">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
143 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
144 <has_size value="60k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
147 <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
148 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
149 <has_size value="19k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
152 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
153 </test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
154 </tests>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
155 <help><![CDATA[
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
156 Learner
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
157 =======
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
158 Active learning and model training
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
159
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
160 ]]></help>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
161 <expand macro="creator"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
162 <expand macro="citation"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
163 </tool>