add scripts

This commit is contained in:
Yizhou Chi 2024-10-10 19:43:56 +08:00
parent eb460d3e19
commit 9f4eba7f60
3 changed files with 42 additions and 0 deletions

15
expo/scripts/run_cls.sh Normal file
View file

@ -0,0 +1,15 @@
#!/bin/bash
tasks=("smoker-status" "software-defects" "jasmine" "credit-g" "Click_prediction_small" "kick" "kc1" "titanic" "icr" "wine-quality-white" "mfeat-factors" "segment" "GesturePhaseSegmentationProcessed")
for i in {1..3}
do
for task in "${tasks[@]}"; do
echo "Running experiment for task: $task"
python run_experiment.py --exp_mode mcts --task "$task" --rollouts 10 --special_instruction stacking
echo "Experiment for task $task completed."
done
done
echo "All experiments completed."

View file

@ -0,0 +1,13 @@
#!/bin/bash
tasks=("banking77" "gnad10" "sms_spam" "oxford-iiit-pet" "stanford_cars" "fashion_mnist" )
for i in {1..3}
do
for task in "${tasks[@]}"; do
echo "Running experiment for task: $task"
python run_experiment.py --exp_mode mcts --task "$task" --rollouts 10
echo "Experiment for task $task completed."
done
done
echo "All experiments completed."

14
expo/scripts/run_reg.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
tasks=("concrete-strength" "Moneyball" "colleges" "SAT11-HAND-runtime-regression" "diamonds" "boston" "house-prices")
for i in {1..3}
do
for task in "${tasks[@]}"; do
echo "Running experiment for task: $task"
python run_experiment.py --exp_mode mcts --task "$task" --rollouts 10 --low_is_better --special_instruction stacking
echo "Experiment for task $task completed."
done
done
echo "All experiments completed."