-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexperiments_classic_long.sh
More file actions
27 lines (25 loc) · 1.17 KB
/
Copy pathexperiments_classic_long.sh
File metadata and controls
27 lines (25 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# kill all detached screen seasons
screen -ls | grep Detached | cut -d. -f1 | awk '{print $1}' | xargs kill
#load screen season
screen -r session_id
# test if teminal is in a screen seasion
echo $STY
# see open windows
Ctrl-a " "
# open new screen season
Ctrl-a c n next p previoous
# Start new screen session
screen -S Red_Pool
# Load python 3.10 Environment
conda activate RED_POOL_3_10
cd residuals_for_ed
export PYTHONPATH=$PYTHONPATH:$(pwd)
cd SyntaxTree
export PYTHONPATH=$PYTHONPATH:$(pwd)
cd ..
for seed in 0 1 2; do
python src/fit_func_pysr.py --acceptance_c_complexity_res 0.02 --selection_strategy greedy --exp_name "classic_long" --postprocessing_methods classic classic_long residuals --seed $seed --max_num_residuals 10 --noise_factor 0 --max_dataset_size 300 --dataset_folder datasets_srbench --pysr_niterations 10
done
for seed in 0 1 2; do
python src/NeSymRes_equations_pool.py --acceptance_c_complexity_res 0.02 --selection_strategy node_level --exp_name "multiple_pool_residuals" --postprocessing_methods residuals_pool classic permute residuals --seed $seed --max_num_residuals 10 --noise_factor 0 --max_dataset_size 300 --dataset_folder datasets_srbench
done