annotate learner.xml @ 2:8e8569c19fa7 draft

planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
author tduigou
date Thu, 06 Feb 2025 12:49:54 +0000
parents da588cac4813
children a8e26ed8e636
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>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
41 <inputs>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
42 <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
43 <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
44 <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
45 <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
46 <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
47 <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
48 <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
49 <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
50 <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
51 <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
52 <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
53 <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
54 <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
55 <!-- Seed -->
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
56 <conditional name="seed_cond">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
57 <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
58 <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
59 <option value="random">random</option>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
60 </param>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
61 <when value="random"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
62 <when value="not_random">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
63 <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
64 <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
65 <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
66 </param>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
67 </when>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
68 </conditional>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
69 </section>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
70 </inputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
71 <outputs>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
72 <data name="output_csv" format="csv" label="${tool.name} - Data">
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
73 <!-- <discover_datasets pattern="(?P&lt;name&gt;.*).csv" ext="csv" directory="outdir" /> -->
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
74 <discover_datasets pattern="__designation_and_ext__" ext="csv" directory="outdir" />
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
75 </data>
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
76 <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
77 <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
78 </collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
79 </outputs>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
80 <tests>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
81 <test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
82 <!-- 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
83 <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
84 <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
85 <output name="output_csv">
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
86 <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
87 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
88 <has_n_lines n="51" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
89 </assert_contents>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
90 </discovered_dataset>
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
91 </output>
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
92 <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
93 <element name="EI selected">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
94 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
95 <has_size value="77k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
98 <element name="EI">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
99 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
100 <has_size value="36k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
103 <element name="Train_Test">
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
104 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
105 <has_size value="64k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
108 <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
109 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
110 <has_size value="19k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
113 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
114 </test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
115 <test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
116 <!-- 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
117 <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
118 <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
119 <param name="name_list" value="Yield1,Yield2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
120 <param name="nb_rep" value="5" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
121 <param name="flatten" value="true" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
122 <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
123 <param name="nb_new_data" value="2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
124 <param name="parameter_step" value="2" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
125 <param name="n_group" value="3" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
126 <param name="km" value="5" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
127 <param name="ks" value="2" />
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
128 <!-- <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
129 <output name="output_csv">
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
130 <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
131 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
132 <has_n_lines n="6" />
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
133 </assert_contents>
2
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
134 </discovered_dataset>
8e8569c19fa7 planemo upload for repository https://github.com/brsynth/icfree-ml commit 62b9598dec838ae11d6615d7b34ee5b5088c45fc
tduigou
parents: 0
diff changeset
135 </output>
0
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
136 <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
137 <element name="EI selected">
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="24k" 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="EI">
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="36k" 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="Train_Test">
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="60k" 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 <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
153 <assert_contents>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
154 <has_size value="19k" delta="1k"/>
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 </element>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
157 </output_collection>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
158 </test>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
159 </tests>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
160 <help><![CDATA[
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
161 Learner
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
162 =======
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
163 Active learning and model training
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 ]]></help>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
166 <expand macro="creator"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
167 <expand macro="citation"/>
da588cac4813 planemo upload for repository https://github.com/brsynth/icfree-ml commit 48497f3422d15940998cf709ea74e4b1460fb76c
tduigou
parents:
diff changeset
168 </tool>