Mercurial > repos > goeckslab > tabular_learner
comparison tabular_learner.xml @ 8:ba45bc057d70 draft
planemo upload for repository https://github.com/goeckslab/gleam commit 1594d503179f28987720594eb49b48a15486f073
| author | goeckslab |
|---|---|
| date | Mon, 08 Sep 2025 22:38:55 +0000 |
| parents | 3d42f82b3c7f |
| children | e7dd78077b72 |
comparison
equal
deleted
inserted
replaced
| 7:0afd970bd8ae | 8:ba45bc057d70 |
|---|---|
| 53 #end if | 53 #end if |
| 54 #if $probability_threshold | 54 #if $probability_threshold |
| 55 --probability_threshold '$probability_threshold' | 55 --probability_threshold '$probability_threshold' |
| 56 #end if | 56 #end if |
| 57 #end if | 57 #end if |
| 58 #if $test_file | 58 #if $has_test_file == "yes" |
| 59 --test_file '$test_file' | 59 --test_file '$test_file' |
| 60 #end if | 60 #end if |
| 61 --model_type '$model_type' | 61 --model_type '$model_type' |
| 62 ]]> | 62 ]]> |
| 63 </command> | 63 </command> |
| 64 <inputs> | 64 <inputs> |
| 65 <param name="input_file" type="data" format="csv,tabular" label="Tabular Input Dataset" /> | 65 <param name="input_file" type="data" format="csv,tabular" label="Tabular Input Dataset" /> |
| 66 <param name="test_file" type="data" format="csv,tabular" optional="true" label="Tabular Test Dataset" | 66 <conditional name="test_data_choice"> |
| 67 help="If a test dataset is not provided, | 67 <param name="has_test_file" type="select" label="Do you have a separate test dataset?"> |
| 68 the input dataset will be split into training, validation, and test sets. | 68 <option value="no" selected="true">No</option> |
| 69 If a test set is provided, the input dataset will be split into training and validation sets. | 69 <option value="yes">Yes</option> |
| 70 Cross-validation is applied by default during training." /> | 70 </param> |
| 71 <param name="target_feature" multiple="false" type="data_column" use_header_names="true" data_ref="input_file" label="Select the target column:" /> | 71 <when value="yes"> |
| 72 <param name="test_file" type="data" format="csv,tabular" label="Tabular Test Dataset" | |
| 73 help="If a test dataset is provided, the input dataset will be split into training and validation sets only. | |
| 74 If not, the tool will split your input into training, validation, and test automatically." /> | |
| 75 </when> | |
| 76 <when value="no"> | |
| 77 <!-- Nothing extra shown --> | |
| 78 </when> | |
| 79 </conditional> | |
| 80 <param name="target_feature" multiple="false" type="data_column" use_header_names="true" data_ref="input_file" label="Select the target column:" /> | |
| 72 <conditional name="model_selection"> | 81 <conditional name="model_selection"> |
| 73 <param name="model_type" type="select" label="Task"> | 82 <param name="model_type" type="select" label="Task"> |
| 74 <option value="classification">classification</option> | 83 <option value="classification">classification</option> |
| 75 <option value="regression">regression</option> | 84 <option value="regression">regression</option> |
| 76 </param> | 85 </param> |
| 159 <!-- No additional parameters to show if the user selects 'No' --> | 168 <!-- No additional parameters to show if the user selects 'No' --> |
| 160 </when> | 169 </when> |
| 161 </conditional> | 170 </conditional> |
| 162 </inputs> | 171 </inputs> |
| 163 <outputs> | 172 <outputs> |
| 164 <data name="comparison_result" format="html" from_work_dir="comparison_result.html" label="${tool.name} analysis report on ${on_string}"/> | |
| 165 <data name="model" format="h5" from_work_dir="pycaret_model.h5" label="${tool.name} best model on ${on_string}" /> | 173 <data name="model" format="h5" from_work_dir="pycaret_model.h5" label="${tool.name} best model on ${on_string}" /> |
| 166 <data name="best_model_csv" format="csv" from_work_dir="best_model.csv" label="${tool.name} The parameters of the best model on ${on_string}" hidden="true" /> | 174 <data name="best_model_csv" format="csv" from_work_dir="best_model.csv" label="${tool.name} The parameters of the best model on ${on_string}" hidden="true" /> |
| 175 <data name="comparison_result" format="html" from_work_dir="comparison_result.html" label="${tool.name} analysis report on ${on_string}" /> | |
| 167 </outputs> | 176 </outputs> |
| 168 <tests> | 177 <tests> |
| 169 <test> | 178 <test> |
| 170 <param name="input_file" value="pcr.tsv"/> | 179 <param name="input_file" value="pcr.tsv"/> |
| 171 <param name="target_feature" value="11"/> | 180 <param name="target_feature" value="11"/> |
