You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
.PHONY: all format test install download upload docker documentation data data-local-area publish-local-area clean build paper clean-paper presentations
1
+
.PHONY: all format test install download upload docker documentation data publish-local-area clean build paper clean-paper presentations
Hyperparameters are in `policyengine_us_data/datasets/cps/local_area_calibration/fit_calibration_weights.py`:
41
+
42
+
```python
43
+
BETA=0.35
44
+
GAMMA=-0.1
45
+
ZETA=1.1
46
+
INIT_KEEP_PROB=0.999
47
+
LOG_WEIGHT_JITTER_SD=0.05
48
+
LOG_ALPHA_JITTER_SD=0.01
49
+
LAMBDA_L0=1e-8
50
+
LAMBDA_L2=1e-8
51
+
LEARNING_RATE=0.15
52
+
```
53
+
54
+
To change them:
55
+
1. Edit `fit_calibration_weights.py`
56
+
2. Commit and push to your branch
57
+
3. Re-run the Modal command with that branch
58
+
59
+
## Important Notes
60
+
61
+
-**Keep your connection open** - Modal needs to stay connected to download results. Don't close your laptop or let it sleep until you see the local "Weights saved to:" and "Calibration log saved to:" messages.
62
+
- Modal clones from GitHub, so local changes must be pushed before they take effect.
0 commit comments