extras
Browse files
package-mar10/national_weights.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47b7ec83a5f5aacec97fc16e7eda881dbe62f634eac47309f70afe0f2349743e
|
| 3 |
+
size 20638408
|
package-mar10/notes.txt
CHANGED
|
@@ -18,6 +18,20 @@ python -m policyengine_us_data.calibration.unified_calibration \
|
|
| 18 |
--target-config policyengine_us_data/calibration/target_config.yaml \
|
| 19 |
--device cpu
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
# To make the state level H5s
|
| 22 |
make build-h5s
|
| 23 |
|
|
@@ -28,3 +42,15 @@ python -m policyengine_us_data.calibration.publish_local_area \
|
|
| 28 |
--n-clones 430 \
|
| 29 |
--seed 42 \
|
| 30 |
--states-only
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
--target-config policyengine_us_data/calibration/target_config.yaml \
|
| 19 |
--device cpu
|
| 20 |
|
| 21 |
+
|
| 22 |
+
mkdir -p policyengine_us_data/storage/calibration/national
|
| 23 |
+
|
| 24 |
+
python -m policyengine_us_data.calibration.unified_calibration \
|
| 25 |
+
--package-path policyengine_us_data/storage/calibration/calibration_package.pkl \
|
| 26 |
+
--epochs 2000 \
|
| 27 |
+
--beta 0.65 \
|
| 28 |
+
--lambda-l0 1e-4 \
|
| 29 |
+
--lambda-l2 1e-12 \
|
| 30 |
+
--log-freq 500 \
|
| 31 |
+
--target-config policyengine_us_data/calibration/target_config.yaml \
|
| 32 |
+
--device cpu \
|
| 33 |
+
--output policyengine_us_data/storage/calibration/national/weights.npy
|
| 34 |
+
|
| 35 |
# To make the state level H5s
|
| 36 |
make build-h5s
|
| 37 |
|
|
|
|
| 42 |
--n-clones 430 \
|
| 43 |
--seed 42 \
|
| 44 |
--states-only
|
| 45 |
+
|
| 46 |
+
python -m policyengine_us_data.calibration.stacked_dataset_builder \
|
| 47 |
+
--weights-path policyengine_us_data/storage/calibration/national/weights.npy \
|
| 48 |
+
--dataset-path policyengine_us_data/storage/source_imputed_stratified_extended_cps_2024.h5 \
|
| 49 |
+
--db-path policyengine_us_data/storage/calibration/policy_data.db \
|
| 50 |
+
--calibration-blocks policyengine_us_data/storage/calibration/national/stacked_blocks.npy \
|
| 51 |
+
--output-dir local_area_build/national \
|
| 52 |
+
--mode national
|
| 53 |
+
|
| 54 |
+
python -m policyengine_us_data.calibration.promote_local_h5s \
|
| 55 |
+
--local-dir local_area_build \
|
| 56 |
+
--promote-only
|
package-mar10/stacked_blocks.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b08e97e7e736a31001a7c338eff6d15eabea37c3afe8472742a65f92f342db8
|
| 3 |
+
size 56463000
|