comparison 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
comparison
equal deleted inserted replaced
11:c2e2aa55dd5c 12:8e7622bf46e3
1 <tool id="sklearn_fitted_model_eval" name="Evaluate a Fitted Model" version="@VERSION@" profile="20.05"> 1 <tool id="sklearn_fitted_model_eval" name="Evaluate a Fitted Model" version="@VERSION@" profile="@PROFILE@">
2 <description>using a new batch of labeled data</description> 2 <description>using a new batch of labeled data</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>
12 export HDF5_USE_FILE_LOCKING='FALSE'; 12 export HDF5_USE_FILE_LOCKING='FALSE';
13 python '$__tool_directory__/fitted_model_eval.py' 13 python '$__tool_directory__/fitted_model_eval.py'
14 --inputs '$inputs' 14 --inputs '$inputs'
15 --infile_estimator '$infile_estimator' 15 --infile_estimator '$infile_estimator'
16 --outfile_eval '$outfile_eval' 16 --outfile_eval '$outfile_eval'
17 --infile_weights '$infile_weights'
18 --infile1 '$input_options.infile1' 17 --infile1 '$input_options.infile1'
19 --infile2 '$input_options.infile2' 18 --infile2 '$input_options.infile2'
20 ]]> 19 ]]>
21 </command> 20 </command>
22 <configfiles> 21 <configfiles>
23 <inputs name="inputs" /> 22 <inputs name="inputs" />
24 </configfiles> 23 </configfiles>
25 <inputs> 24 <inputs>
26 <param name="infile_estimator" type="data" format="zip" label="Choose the dataset containing pipeline/estimator object" /> 25 <param name="infile_estimator" type="data" format="h5mlm" label="Choose the dataset containing pipeline/estimator object" />
27 <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." />
28 <expand macro="scoring_selection" /> 26 <expand macro="scoring_selection" />
29 <conditional name="input_options"> 27 <conditional name="input_options">
30 <expand macro="data_input_options" /> 28 <expand macro="data_input_options" />
31 <when value="tabular"> 29 <when value="tabular">
32 <expand macro="samples_tabular" label1="Dataset containing features:" multiple1="true" multiple2="false" /> 30 <expand macro="samples_tabular" label1="Dataset containing features:" multiple1="true" multiple2="false" />
33 </when> 31 </when>
34 <when value="sparse"> 32 <when value="sparse">
35 <expand macro="sparse_target" /> 33 <expand macro="sparse_target" />
36 </when> 34 </when>
37 </conditional> 35 </conditional>
38 </inputs> 36 </inputs>
39 <outputs> 37 <outputs>
40 <data format="tabular" name="outfile_eval" /> 38 <data format="tabular" name="outfile_eval" />
41 </outputs> 39 </outputs>
42 <tests> 40 <tests>
43 <test> 41 <test>
44 <param name="infile_estimator" value="searchCV01" ftype="zip" /> 42 <param name="infile_estimator" value="searchCV03" ftype="h5mlm" />
45 <conditional name="scoring"> 43 <conditional name="scoring">
46 <param name="primary_scoring" value="r2" /> 44 <param name="primary_scoring" value="r2" />
47 </conditional> 45 </conditional>
48 <param name="infile1" value="train_test_split_test01.tabular" ftype="tabular" /> 46 <param name="infile1" value="train_test_split_test01.tabular" ftype="tabular" />
49 <param name="header1" value="true" /> 47 <param name="header1" value="true" />
58 <![CDATA[ 56 <![CDATA[
59 **What it does** 57 **What it does**
60 58
61 Given a fitted estimator and a labeled dataset, this tool outputs the performances of the fitted estimator on the labeled dataset with selected scorers. 59 Given a fitted estimator and a labeled dataset, this tool outputs the performances of the fitted estimator on the labeled dataset with selected scorers.
62 60
63 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: 61 For the estimator, this tool supports fitted sklearn estimators and trained deep learning models. For input datasets, it supports the following:
64 62
65 - tabular 63 - tabular
66 64
67 - sparse 65 - sparse
68 66