Repository navigation
Expand file tree
/
Copy pathrun_all_experiments.sh
More file actions
executable file
·54 lines (46 loc) · 1.65 KB
/
Copy pathrun_all_experiments.sh
File metadata and controls
executable file
·54 lines (46 loc) · 1.65 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
# Run all trauma model experiments
# Estimated runtime: 5-10 minutes on laptop CPU
set -e # Exit on error
echo "========================================"
echo "Trauma Models - Running All Experiments"
echo "========================================"
echo ""
# Create output directories
mkdir -p outputs/figures
mkdir -p outputs/data
mkdir -p outputs/checkpoints
# Model 1: Extreme Penalty
echo "[1/4] Running Extreme Penalty experiment..."
python -m trauma_models.extreme_penalty.experiment \
--config experiments/extreme_penalty_sweep.yaml \
--output outputs/
# Model 2: Noisy Signals
echo "[2/4] Running Noisy Signals experiment..."
python -m trauma_models.noisy_signals.experiment \
--config experiments/noisy_signals_sweep.yaml \
--output outputs/
# Model 3: Limited Dataset
echo "[3/4] Running Limited Dataset experiment..."
python -m trauma_models.limited_dataset.experiment \
--config experiments/limited_dataset_sweep.yaml \
--output outputs/
# Model 4: Catastrophic Forgetting
echo "[4/4] Running Catastrophic Forgetting experiment..."
python -m trauma_models.catastrophic_forgetting.experiment \
--config experiments/catastrophic_forgetting_sweep.yaml \
--output outputs/
echo ""
echo "========================================"
echo "All experiments complete!"
echo "========================================"
echo ""
echo "Results saved to:"
echo " - outputs/figures/ (publication-ready plots)"
echo " - outputs/data/ (CSV/JSON numerical results)"
echo " - outputs/checkpoints/ (model weights)"
echo ""
echo "Next steps:"
echo " 1. Review figures: ls outputs/figures/"
echo " 2. Run tests: pytest tests/"
echo ""