comparison ml_visualization_ex.xml @ 12:6c787aeeac06 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 80417bf0158a9b596e485dd66408f738f405145a
author bgruening
date Mon, 02 Oct 2023 08:27:46 +0000
parents 8e7ae32df1ab
children
comparison
equal deleted inserted replaced
11:840ef9fe2482 12:6c787aeeac06
1 <tool id="ml_visualization_ex" name="Machine Learning Visualization Extension" version="@VERSION@" profile="20.05"> 1 <tool id="ml_visualization_ex" name="Machine Learning Visualization Extension" version="@VERSION@" profile="@PROFILE@">
2 <description>includes several types of plotting for machine learning</description> 2 <description>includes several types of plotting for machine learning</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>
83 <option value="html" selected="true">An interactive html by plotly</option> 83 <option value="html" selected="true">An interactive html by plotly</option>
84 <!--<option value="png">PNG image by matplotlib</option> TODO--> 84 <!--<option value="png">PNG image by matplotlib</option> TODO-->
85 </param> 85 </param>
86 </when> 86 </when>
87 <when value="feature_importances"> 87 <when value="feature_importances">
88 <param name="infile_estimator" type="data" format="zip" label="Select the dataset containing fitted estimator/pipeline" /> 88 <param name="infile_estimator" type="data" format="h5mlm" label="Select the dataset containing fitted estimator/pipeline" />
89 <param name="infile1" type="data" format="tabular" label="Select the dataset containing feature names" help="Make sure the headers (first row) are feature names." /> 89 <param name="infile1" type="data" format="tabular" label="Select the dataset containing feature names" help="Make sure the headers (first row) are feature names." />
90 <conditional name="column_selector_options"> 90 <conditional name="column_selector_options">
91 <expand macro="samples_column_selector_options" multiple="true" /> 91 <expand macro="samples_column_selector_options" multiple="true" />
92 </conditional> 92 </conditional>
93 <param name="threshold" type="float" value="" optional="true" min="0." label="Threshold value" help="Features with importance below the threshold value will be ignored." /> 93 <param name="threshold" type="float" value="" optional="true" min="0." label="Threshold value" help="Features with importance below the threshold value will be ignored." />
100 <when value="keras_plot_model"> 100 <when value="keras_plot_model">
101 <param name="infile_model_config" type="data" format="json" label="Select the JSON dataset containing configuration for a neural network model" /> 101 <param name="infile_model_config" type="data" format="json" label="Select the JSON dataset containing configuration for a neural network model" />
102 <param name="title" type="hidden" value="" optional="true" label="Plot title" help="Optional. If change is desired." /> 102 <param name="title" type="hidden" value="" optional="true" label="Plot title" help="Optional. If change is desired." />
103 <param name="plot_format" type="hidden" value="png" label="The output format and library" /> 103 <param name="plot_format" type="hidden" value="png" label="The output format and library" />
104 </when> 104 </when>
105
106 <when value="classification_confusion_matrix"> 105 <when value="classification_confusion_matrix">
107 <param name="infile_true" type="data" format="tabular" label="Select dataset containing true labels" /> 106 <param name="infile_true" type="data" format="tabular" label="Select dataset containing true labels" />
108 <param name="header_true" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Does the dataset contain header:" /> 107 <param name="header_true" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="false" label="Does the dataset contain header:" />
109 <conditional name="column_selector_options_true"> 108 <conditional name="column_selector_options_true">
110 <expand macro="samples_column_selector_options" multiple="true" column_option="selected_column_selector_option" col_name="col1" infile="infile_true" /> 109 <expand macro="samples_column_selector_options" multiple="true" column_option="selected_column_selector_option" col_name="col1" infile="infile_true" />
144 <param name="infile2" value="y_score.tabular" ftype="tabular" /> 143 <param name="infile2" value="y_score.tabular" ftype="tabular" />
145 <output name="output" file="ml_vis04.html" compare="sim_size" /> 144 <output name="output" file="ml_vis04.html" compare="sim_size" />
146 </test> 145 </test>
147 <test> 146 <test>
148 <param name="plot_type" value="feature_importances" /> 147 <param name="plot_type" value="feature_importances" />
149 <param name="infile_estimator" value="best_estimator_.zip" ftype="zip" /> 148 <param name="infile_estimator" value="best_estimator_.h5mlm" ftype="h5mlm" />
150 <param name="infile1" value="regression_X.tabular" ftype="tabular" /> 149 <param name="infile1" value="regression_X.tabular" ftype="tabular" />
151 <param name="selected_column_selector_option" value="all_columns" /> 150 <param name="selected_column_selector_option" value="all_columns" />
152 <output name="output" file="ml_vis01.html" compare="sim_size" /> 151 <output name="output" file="ml_vis01.html" compare="sim_size" />
153 </test> 152 </test>
154 <test> 153 <test>