comparison clf_metrics.xml @ 41:e3c787437a6d draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 9981e25b00de29ed881b2229a173a8c812ded9bb
author bgruening
date Wed, 09 Aug 2023 13:46:39 +0000
parents a7067bbf1e58
children
comparison
equal deleted inserted replaced
40:0ee984c1cbd6 41:e3c787437a6d
75 <option value="accuracy_score" selected="true">Accuracy classification score</option> 75 <option value="accuracy_score" selected="true">Accuracy classification score</option>
76 <option value="classification_report">Text report of the main classification metrics</option> 76 <option value="classification_report">Text report of the main classification metrics</option>
77 <option value="f1_score">F1 score (aka balanced F-score or F-measure)</option> 77 <option value="f1_score">F1 score (aka balanced F-score or F-measure)</option>
78 <option value="fbeta_score">F-beta score</option> 78 <option value="fbeta_score">F-beta score</option>
79 <option value="hamming_loss">Average Hamming loss</option> 79 <option value="hamming_loss">Average Hamming loss</option>
80 <option value="jaccard_similarity_score">Jaccard similarity coefficient score</option> 80 <option value="jaccard_score">Jaccard similarity coefficient score</option>
81 <option value="precision_recall_fscore_support">Compute precision, recall, F-measure and support for each class</option> 81 <option value="precision_recall_fscore_support">Compute precision, recall, F-measure and support for each class</option>
82 <option value="precision_score">Precision</option> 82 <option value="precision_score">Precision</option>
83 <option value="recall_score">Recall</option> 83 <option value="recall_score">Recall</option>
84 <option value="zero_one_loss">Zero-one classification loss</option> 84 <option value="zero_one_loss">Zero-one classification loss</option>
85 <option value="auc">Area under the curve (AUC)</option> 85 <option value="auc">Area under the curve (AUC)</option>
136 <expand macro="clf_inputs" /> 136 <expand macro="clf_inputs" />
137 <!--section name="options" title="Advanced Options" expanded="False"> 137 <!--section name="options" title="Advanced Options" expanded="False">
138 <!- -classes- -> 138 <!- -classes- ->
139 </section--> 139 </section-->
140 </when> 140 </when>
141 <when value="jaccard_similarity_score"> 141 <when value="jaccard_score">
142 <expand macro="clf_inputs" /> 142 <expand macro="clf_inputs" />
143 <section name="options" title="Advanced Options" expanded="False"> 143 <section name="options" title="Advanced Options" expanded="False">
144 <param argument="normalize" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Normalize" help="If false, returns the sum of the Jaccard similarity coefficient over the sample set. Otherwise, returns the average of Jaccard similarity coefficient. " /> 144 <expand macro="average">
145 </expand>
145 </section> 146 </section>
146 </when> 147 </when>
147 <when value="precision_recall_fscore_support"> 148 <when value="precision_recall_fscore_support">
148 <expand macro="clf_inputs" /> 149 <expand macro="clf_inputs" />
149 <section name="options" title="Advanced Options" expanded="False"> 150 <section name="options" title="Advanced Options" expanded="False">
186 <param argument="normalize" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Normalize" help="If false, returns the number of misclassifications. Otherwise, returns the fraction of misclassifications. " /> 187 <param argument="normalize" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="true" label="Normalize" help="If false, returns the number of misclassifications. Otherwise, returns the fraction of misclassifications. " />
187 </section> 188 </section>
188 </when> 189 </when>
189 <when value="auc"> 190 <when value="auc">
190 <expand macro="clf_inputs" /> 191 <expand macro="clf_inputs" />
191 <section name="options" title="Advanced Options" expanded="False">
192 <param argument="reorder" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolflase" checked="false" label="Assume an ascending curve in the case of ties" help="If the curve is non-ascending, the result will be wrong. " />
193 </section>
194 </when> 192 </when>
195 <when value="brier_score_loss"> 193 <when value="brier_score_loss">
196 <expand macro="clf_inputs" /> 194 <expand macro="clf_inputs" />
197 <section name="options" title="Advanced Options" expanded="False"> 195 <section name="options" title="Advanced Options" expanded="False">
198 <!--weights--> 196 <!--weights-->
300 <param name="infile2" value="y.tabular" ftype="tabular" /> 298 <param name="infile2" value="y.tabular" ftype="tabular" />
301 <param name="col2" value="2" /> 299 <param name="col2" value="2" />
302 <output name="outfile" file="hamming_loss.txt" /> 300 <output name="outfile" file="hamming_loss.txt" />
303 </test> 301 </test>
304 <test> 302 <test>
305 <param name="selected_metric" value="jaccard_similarity_score" /> 303 <param name="selected_metric" value="jaccard_score" />
306 <param name="infile1" value="y.tabular" ftype="tabular" /> 304 <param name="infile1" value="y.tabular" ftype="tabular" />
307 <param name="col1" value="1" /> 305 <param name="col1" value="1" />
308 <param name="infile2" value="y.tabular" ftype="tabular" /> 306 <param name="infile2" value="y.tabular" ftype="tabular" />
309 <param name="col2" value="2" /> 307 <param name="col2" value="2" />
308 <param name="average" value="weighted" />
310 <output name="outfile" file="jaccard_similarity_score.txt" /> 309 <output name="outfile" file="jaccard_similarity_score.txt" />
311 </test> 310 </test>
312 <test> 311 <test>
313 <param name="selected_metric" value="precision_recall_fscore_support" /> 312 <param name="selected_metric" value="precision_recall_fscore_support" />
314 <param name="infile1" value="y.tabular" ftype="tabular" /> 313 <param name="infile1" value="y.tabular" ftype="tabular" />
344 <param name="col2" value="2" /> 343 <param name="col2" value="2" />
345 <output name="outfile" file="zero_one_loss.txt" /> 344 <output name="outfile" file="zero_one_loss.txt" />
346 </test> 345 </test>
347 <test> 346 <test>
348 <param name="selected_metric" value="auc" /> 347 <param name="selected_metric" value="auc" />
349 <param name="infile1" value="y.tabular" ftype="tabular" /> 348 <param name="infile1" value="y_sorted.tabular" ftype="tabular" />
350 <param name="col1" value="1" /> 349 <param name="col1" value="1" />
351 <param name="infile2" value="y.tabular" ftype="tabular" /> 350 <param name="infile2" value="y_sorted.tabular" ftype="tabular" />
352 <param name="col2" value="2" /> 351 <param name="col2" value="2" />
353 <param name="reorder" value="true" />
354 <output name="outfile" file="auc.txt" /> 352 <output name="outfile" file="auc.txt" />
355 </test> 353 </test>
356 <test> 354 <test>
357 <param name="selected_metric" value="brier_score_loss" /> 355 <param name="selected_metric" value="brier_score_loss" />
358 <param name="infile1" value="y.tabular" ftype="tabular" /> 356 <param name="infile1" value="y.tabular" ftype="tabular" />