diff 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
line wrap: on
line diff
--- a/simple_model_fit.xml	Thu Aug 11 09:43:03 2022 +0000
+++ b/simple_model_fit.xml	Wed Aug 09 13:06:45 2023 +0000
@@ -1,4 +1,4 @@
-<tool id="sklearn_model_fit" name="Fit a Pipeline, Ensemble" version="@VERSION@" profile="20.05">
+<tool id="sklearn_model_fit" name="Fit a Pipeline, Ensemble" version="@VERSION@" profile="@PROFILE@">
     <description>or other models using a labeled dataset</description>
     <macros>
         <import>main_macros.xml</import>
@@ -25,7 +25,7 @@
         <inputs name="inputs" />
     </configfiles>
     <inputs>
-        <param name="infile_estimator" type="data" format="zip" label="Choose the dataset containing pipeline/estimator" />
+        <param name="infile_estimator" type="data" format="h5mlm" label="Choose the dataset containing pipeline/estimator" />
         <param name="is_deep_learning" type="boolean" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Is the estimator a deep learning model?" />
         <conditional name="input_options">
             <expand macro="data_input_options" />
@@ -38,14 +38,14 @@
         </conditional>
     </inputs>
     <outputs>
-        <data format="zip" name="out_object" label="Fitted model (skeleton) on $(on_string)" />
+        <data format="h5mlm" name="out_object" label="Fitted model (skeleton) on $(on_string)" />
         <data format="h5" name="out_weights" label="Weights trained on ${on_string}">
             <filter>is_deep_learning</filter>
         </data>
     </outputs>
     <tests>
         <test>
-            <param name="infile_estimator" value="pipeline05" ftype="zip" />
+            <param name="infile_estimator" value="pipeline05" ftype="h5mlm" />
             <param name="infile1" value="regression_X.tabular" ftype="tabular" />
             <param name="header1" value="true" />
             <param name="col1" value="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17" />
@@ -55,7 +55,7 @@
             <output name="out_object" file="model_fit01" compare="sim_size" delta="50" />
         </test>
         <test>
-            <param name="infile_estimator" value="keras_model04" />
+            <param name="infile_estimator" value="keras_model04" ftype="h5mlm"/>
             <param name="is_deep_learning" value="true" />
             <param name="infile1" value="regression_X.tabular" ftype="tabular" />
             <param name="header1" value="true" />
@@ -82,7 +82,7 @@
 
 **Output**
 
-- fitted model, a pickled python object in zip format.
+- fitted model, h5mlm model.
 - optional hdf5 file containing weights for deep learning models.
 
         ]]>