Mercurial > repos > goeckslab > pycaret_compare
comparison pycaret_train.xml @ 2:009b18a75dc3 draft default tip
planemo upload for repository https://github.com/goeckslab/Galaxy-Pycaret commit 9497c4faca7063bcbb6b201ab6d0dd1570f22acb
author | goeckslab |
---|---|
date | Sat, 14 Dec 2024 23:18:02 +0000 |
parents | f6def1b90150 |
children |
comparison
equal
deleted
inserted
replaced
1:f6def1b90150 | 2:009b18a75dc3 |
---|---|
4 <import>pycaret_macros.xml</import> | 4 <import>pycaret_macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="python_requirements" /> | 6 <expand macro="python_requirements" /> |
7 <command> | 7 <command> |
8 <![CDATA[ | 8 <![CDATA[ |
9 python $__tool_directory__/pycaret_train.py --input_file $input_file --target_col $target_feature --output_dir . --random_seed $random_seed | 9 python $__tool_directory__/pycaret_train.py --input_file '$input_file' --target_col '$target_feature' --output_dir '.' --random_seed '$random_seed' |
10 #if $model_type == "classification" | 10 #if $model_type == "classification" |
11 #if $classification_models | 11 #if $classification_models |
12 --models $classification_models | 12 --models '$classification_models' |
13 #end if | 13 #end if |
14 #end if | 14 #end if |
15 #if $model_type == "regression" | 15 #if $model_type == "regression" |
16 #if $regression_models | 16 #if $regression_models |
17 --models $regression_models | 17 --models '$regression_models' |
18 #end if | 18 #end if |
19 #end if | 19 #end if |
20 #if $customize_defaults == "true" | 20 #if $customize_defaults == "true" |
21 #if $train_size | 21 #if $train_size |
22 --train_size $train_size | 22 --train_size '$train_size' |
23 #end if | 23 #end if |
24 #if $normalize | 24 #if $normalize |
25 --normalize | 25 --normalize |
26 #end if | 26 #end if |
27 #if $feature_selection | 27 #if $feature_selection |
29 #end if | 29 #end if |
30 #if $enable_cross_validation == "true" | 30 #if $enable_cross_validation == "true" |
31 --cross_validation | 31 --cross_validation |
32 #end if | 32 #end if |
33 #if $cross_validation_folds | 33 #if $cross_validation_folds |
34 --cross_validation_folds $cross_validation_folds | 34 --cross_validation_folds '$cross_validation_folds' |
35 #end if | 35 #end if |
36 #if $remove_outliers | 36 #if $remove_outliers |
37 --remove_outliers | 37 --remove_outliers |
38 #end if | 38 #end if |
39 #if $remove_multicollinearity | 39 #if $remove_multicollinearity |
45 #if $fix_imbalance | 45 #if $fix_imbalance |
46 --fix_imbalance | 46 --fix_imbalance |
47 #end if | 47 #end if |
48 #end if | 48 #end if |
49 #if $test_file | 49 #if $test_file |
50 --test_file $test_file | 50 --test_file '$test_file' |
51 #end if | 51 #end if |
52 --model_type $model_type | 52 --model_type '$model_type' |
53 ]]> | 53 ]]> |
54 </command> | 54 </command> |
55 <inputs> | 55 <inputs> |
56 <param name="input_file" type="data" format="csv,tabular" label="Train Dataset (CSV or TSV)" /> | 56 <param name="input_file" type="data" format="csv,tabular" label="Train Dataset (CSV or TSV)" /> |
57 <param name="test_file" type="data" format="csv,tabular" optional="true" label="Test Dataset (CSV or TSV)" | 57 <param name="test_file" type="data" format="csv,tabular" optional="true" label="Test Dataset (CSV or TSV)" |