
run() {
    echo "Running chexpert"
    echo "Experiment started at $(date)"

    PYTHONPATH="." python fairpate_tabular/fairpate.py --dataset chexpert --budget 3 --seed 0 --fairness_metric DemParity \
    --backend deep_auc --epochs 2 --verbose --teacher_query_set_split 0.99 \
    --num_teachers 50 --threshold 30 --sigma_threshold 20 --sigma_gnmax 10  \
    --parallel 12 

    # PYTHONPATH="." python fairpate_tabular/fairpate.py --dataset chexpert --budget 3 --seed 0 --fairness_metric DemParity --backend deep_auc --epochs 2 --verbose --teacher_query_set_split 0.99 --num_teachers 250 --parallel 12 --skip "voting"

    # PYTHONPATH="." python fairpate_tabular/fairpate.py --dataset chexpert --budget 3 --seed 0 --fairness_metric DemParity --backend deep_auc --epochs 2 --verbose --teacher_query_set_split 0.99 --num_teachers 250 --skip "voting" --parallel 12

    echo "Experiment ended at $(date)"
}


# PYTHONPATH="." python fairpate_tabular/fairpate.py --dataset chexpert --budget 3 --seed 0 --fairness_metric DemParity --backend deep_auc --epochs 2 --verbose --teacher_query_set_split 01.99 --num_teachers 150 --parallel 12 2>&1 --skip "training_teachers" | tee -a logs/chexpert.log

run 2>&1 | tee -a logs/chexpert_250_pretrained.log
