Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added single quotes to parms #41

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/pycaret_predict.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<command>
<![CDATA[
echo $target_feature &&
python $__tool_directory__/pycaret_predict.py --model_path $input_model --data_path $input_dataset --task $model_type
python $__tool_directory__/pycaret_predict.py --model_path '$input_model' --data_path '$input_dataset' --task '$model_type'
#if $target_feature
--target $target_feature
--target '$target_feature'
#end if
]]>
</command>
Expand Down
14 changes: 7 additions & 7 deletions tools/pycaret_train.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
<expand macro="python_requirements" />
<command>
<![CDATA[
python $__tool_directory__/pycaret_train.py --input_file $input_file --target_col $target_feature --output_dir . --random_seed $random_seed
python $__tool_directory__/pycaret_train.py --input_file '$input_file' --target_col '$target_feature' --output_dir '.' --random_seed '$random_seed'
#if $model_type == "classification"
#if $classification_models
--models $classification_models
--models '$classification_models'
#end if
#end if
#if $model_type == "regression"
#if $regression_models
--models $regression_models
--models '$regression_models'
#end if
#end if
#if $customize_defaults == "true"
#if $train_size
--train_size $train_size
--train_size '$train_size'
#end if
#if $normalize
--normalize
Expand All @@ -31,7 +31,7 @@
--cross_validation
#end if
#if $cross_validation_folds
--cross_validation_folds $cross_validation_folds
--cross_validation_folds '$cross_validation_folds'
#end if
#if $remove_outliers
--remove_outliers
Expand All @@ -47,9 +47,9 @@
#end if
#end if
#if $test_file
--test_file $test_file
--test_file '$test_file'
#end if
--model_type $model_type
--model_type '$model_type'
]]>
</command>
<inputs>
Expand Down
Loading