source ~/miniconda3/etc/profile.d/conda.sh

# 1. hidden confounders: DeCaFlow, DCM, CNF
## decaflow
echo "Running DeCaFlow on hidden confounders..."
cd ~/causal-profiler-experiments/DeCaFlow/
source decaflow_env/bin/activate
cd evaluation
python evaluate.py --config ../../spaces/hidden_confounders_spaces.yml --output_dir results/decaflow_hidden_100 --num_runs 100 --num_tries 1
deactivate
## dcm
echo "Running DCM on hidden confounders..."
cd ~/causal-profiler-experiments/DCM/evaluation
conda activate dcm
python evaluate.py --config ../../spaces/hidden_confounders_spaces.yml --output_dir results/dcm_hidden_100 --num_runs 100 --num_tries 1
conda deactivate
## cnf
echo "Running CNF on hidden confounders..."
cd ~/causal-profiler-experiments/CausalNF/evaluation
conda activate causal_nf
python evaluate.py --config ../../spaces/hidden_confounders_spaces.yml --output_dir results/cnf_hidden_100 --num_runs 100 --num_tries 1
conda deactivate