diff fitted_model_eval.xml @ 12:8e7622bf46e3 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
author bgruening
date Wed, 09 Aug 2023 13:19:01 +0000
parents fa1471b6c095
children
line wrap: on
line diff
--- a/fitted_model_eval.xml	Thu Aug 11 09:56:42 2022 +0000
+++ b/fitted_model_eval.xml	Wed Aug 09 13:19:01 2023 +0000
@@ -1,4 +1,4 @@
-<tool id="sklearn_fitted_model_eval" name="Evaluate a Fitted Model" version="@VERSION@" profile="20.05">
+<tool id="sklearn_fitted_model_eval" name="Evaluate a Fitted Model" version="@VERSION@" profile="@PROFILE@">
     <description>using a new batch of labeled data</description>
     <macros>
         <import>main_macros.xml</import>
@@ -14,7 +14,6 @@
             --inputs '$inputs'
             --infile_estimator '$infile_estimator'
             --outfile_eval '$outfile_eval'
-            --infile_weights '$infile_weights'
             --infile1 '$input_options.infile1'
             --infile2 '$input_options.infile2'
         ]]>
@@ -23,8 +22,7 @@
         <inputs name="inputs" />
     </configfiles>
     <inputs>
-        <param name="infile_estimator" type="data" format="zip" label="Choose the dataset containing pipeline/estimator object" />
-        <param name="infile_weights" type="data" format="h5" optional="true" label="Choose the dataset containing weights for the estimator above" help="Optional. For deep learning only." />
+        <param name="infile_estimator" type="data" format="h5mlm" label="Choose the dataset containing pipeline/estimator object" />
         <expand macro="scoring_selection" />
         <conditional name="input_options">
             <expand macro="data_input_options" />
@@ -34,14 +32,14 @@
             <when value="sparse">
                 <expand macro="sparse_target" />
             </when>
-        </conditional>
+    </conditional>
     </inputs>
     <outputs>
         <data format="tabular" name="outfile_eval" />
     </outputs>
     <tests>
         <test>
-            <param name="infile_estimator" value="searchCV01" ftype="zip" />
+            <param name="infile_estimator" value="searchCV03" ftype="h5mlm" />
             <conditional name="scoring">
                 <param name="primary_scoring" value="r2" />
             </conditional>
@@ -60,7 +58,7 @@
 
 Given a fitted estimator and a labeled dataset, this tool outputs the performances of the fitted estimator on the labeled dataset with selected scorers.
 
-For the estimator, this tool supports fitted sklearn estimators (pickled) and trained deep learning models (model skeleton + weights). For input datasets, it supports the following:
+For the estimator, this tool supports fitted sklearn estimators and trained deep learning models. For input datasets, it supports the following:
 
 - tabular