#!/bin/bash # Full stage-2 rerun on the new EHD definition Tx_thres = min(Tx90p, 35). # Members of the ensemble, in the order submit_ens.slurm expects them: # tag '' logreg / F1 # tag '_lgbmF3' lgbm_clf / F3 # tag '_mlp' mlp / F3 set -euo pipefail cd /home/tanpv/Progs/claude/HW PH="prep fit predict_oof predict finalize" a=$(MODEL=logreg FSET=F1 TAG="" PHASES="$PH" sbatch --parsable ${DEP:+--dependency=afterok:$DEP} submit_stage2_national.slurm) b=$(MODEL=lgbm_clf FSET=F3 TAG="_lgbmF3" PHASES="$PH" sbatch --parsable --dependency=afterok:$a submit_stage2_national.slurm) c=$(MODEL=mlp FSET=F3 TAG="_mlp" PHASES="$PH" sbatch --parsable --dependency=afterok:$b submit_stage2_national.slurm) d=$(sbatch --parsable --dependency=afterok:$c submit_ens.slurm) # ensemble -> _ens e=$(sbatch --parsable --dependency=afterok:$d submit_regmodel_var3.slurm) # EXP1 regional + per-region thr f=$(sbatch --parsable --dependency=afterok:$e submit_exp2.slurm) # EXP2 gate + cascade echo "logreg=$a lgbmF3=$b mlp=$c ens=$d reg=$e exp2=$f"