From 9f4eba7f60c6c47ebe64e3e366e05ea5de071d6f Mon Sep 17 00:00:00 2001 From: Yizhou Chi Date: Thu, 10 Oct 2024 19:43:56 +0800 Subject: [PATCH] add scripts --- expo/scripts/run_cls.sh | 15 +++++++++++++++ expo/scripts/run_cls_mod.sh | 13 +++++++++++++ expo/scripts/run_reg.sh | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 expo/scripts/run_cls.sh create mode 100644 expo/scripts/run_cls_mod.sh create mode 100644 expo/scripts/run_reg.sh diff --git a/expo/scripts/run_cls.sh b/expo/scripts/run_cls.sh new file mode 100644 index 000000000..f0ee5ddcf --- /dev/null +++ b/expo/scripts/run_cls.sh @@ -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." diff --git a/expo/scripts/run_cls_mod.sh b/expo/scripts/run_cls_mod.sh new file mode 100644 index 000000000..ae3622b7a --- /dev/null +++ b/expo/scripts/run_cls_mod.sh @@ -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." diff --git a/expo/scripts/run_reg.sh b/expo/scripts/run_reg.sh new file mode 100644 index 000000000..f8a742886 --- /dev/null +++ b/expo/scripts/run_reg.sh @@ -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."