comparison simple_model_fit.xml @ 12:f903c8cf1455 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
author bgruening
date Wed, 09 Aug 2023 13:06:45 +0000
parents 26decbf4bdb8
children
comparison
equal deleted inserted replaced
11:fc70bf5c3b58 12:f903c8cf1455
1 <tool id="sklearn_model_fit" name="Fit a Pipeline, Ensemble" version="@VERSION@" profile="20.05"> 1 <tool id="sklearn_model_fit" name="Fit a Pipeline, Ensemble" version="@VERSION@" profile="@PROFILE@">
2 <description>or other models using a labeled dataset</description> 2 <description>or other models using a labeled dataset</description>
3 <macros> 3 <macros>
4 <import>main_macros.xml</import> 4 <import>main_macros.xml</import>
5 <import>keras_macros.xml</import> 5 <import>keras_macros.xml</import>
6 </macros> 6 </macros>
23 </command> 23 </command>
24 <configfiles> 24 <configfiles>
25 <inputs name="inputs" /> 25 <inputs name="inputs" />
26 </configfiles> 26 </configfiles>
27 <inputs> 27 <inputs>
28 <param name="infile_estimator" type="data" format="zip" label="Choose the dataset containing pipeline/estimator" /> 28 <param name="infile_estimator" type="data" format="h5mlm" label="Choose the dataset containing pipeline/estimator" />
29 <param name="is_deep_learning" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Is the estimator a deep learning model?" /> 29 <param name="is_deep_learning" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Is the estimator a deep learning model?" />
30 <conditional name="input_options"> 30 <conditional name="input_options">
31 <expand macro="data_input_options" /> 31 <expand macro="data_input_options" />
32 <when value="tabular"> 32 <when value="tabular">
33 <expand macro="samples_tabular" label1="Choose the training dataset containing features" multiple1="true" multiple2="false" /> 33 <expand macro="samples_tabular" label1="Choose the training dataset containing features" multiple1="true" multiple2="false" />
36 <expand macro="sparse_target" /> 36 <expand macro="sparse_target" />
37 </when> 37 </when>
38 </conditional> 38 </conditional>
39 </inputs> 39 </inputs>
40 <outputs> 40 <outputs>
41 <data format="zip" name="out_object" label="Fitted model (skeleton) on $(on_string)" /> 41 <data format="h5mlm" name="out_object" label="Fitted model (skeleton) on $(on_string)" />
42 <data format="h5" name="out_weights" label="Weights trained on ${on_string}"> 42 <data format="h5" name="out_weights" label="Weights trained on ${on_string}">
43 <filter>is_deep_learning</filter> 43 <filter>is_deep_learning</filter>
44 </data> 44 </data>
45 </outputs> 45 </outputs>
46 <tests> 46 <tests>
47 <test> 47 <test>
48 <param name="infile_estimator" value="pipeline05" ftype="zip" /> 48 <param name="infile_estimator" value="pipeline05" ftype="h5mlm" />
49 <param name="infile1" value="regression_X.tabular" ftype="tabular" /> 49 <param name="infile1" value="regression_X.tabular" ftype="tabular" />
50 <param name="header1" value="true" /> 50 <param name="header1" value="true" />
51 <param name="col1" value="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17" /> 51 <param name="col1" value="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17" />
52 <param name="infile2" value="regression_y.tabular" ftype="tabular" /> 52 <param name="infile2" value="regression_y.tabular" ftype="tabular" />
53 <param name="header2" value="true" /> 53 <param name="header2" value="true" />
54 <param name="col2" value="1" /> 54 <param name="col2" value="1" />
55 <output name="out_object" file="model_fit01" compare="sim_size" delta="50" /> 55 <output name="out_object" file="model_fit01" compare="sim_size" delta="50" />
56 </test> 56 </test>
57 <test> 57 <test>
58 <param name="infile_estimator" value="keras_model04" /> 58 <param name="infile_estimator" value="keras_model04" ftype="h5mlm"/>
59 <param name="is_deep_learning" value="true" /> 59 <param name="is_deep_learning" value="true" />
60 <param name="infile1" value="regression_X.tabular" ftype="tabular" /> 60 <param name="infile1" value="regression_X.tabular" ftype="tabular" />
61 <param name="header1" value="true" /> 61 <param name="header1" value="true" />
62 <param name="col1" value="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17" /> 62 <param name="col1" value="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17" />
63 <param name="infile2" value="regression_y.tabular" ftype="tabular" /> 63 <param name="infile2" value="regression_y.tabular" ftype="tabular" />
80 - sparse 80 - sparse
81 81
82 82
83 **Output** 83 **Output**
84 84
85 - fitted model, a pickled python object in zip format. 85 - fitted model, h5mlm model.
86 - optional hdf5 file containing weights for deep learning models. 86 - optional hdf5 file containing weights for deep learning models.
87 87
88 ]]> 88 ]]>
89 </help> 89 </help>
90 <expand macro="sklearn_citation"> 90 <expand macro="sklearn_citation">