test package
Browse files- package-mar10/AK.h5 +3 -0
- package-mar10/AL.h5 +3 -0
- package-mar10/AR.h5 +3 -0
- package-mar10/AZ.h5 +3 -0
- package-mar10/calibration_log.csv +0 -0
- package-mar10/calibration_package.pkl +3 -0
- package-mar10/calibration_weights.npy +3 -0
- package-mar10/notes.txt +30 -0
- package-mar10/policy_data.db +3 -0
- package-mar10/source_imputed_stratified_extended_cps_2024.h5 +3 -0
package-mar10/AK.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ac408818646bf8f84bf5f81247a6e826b3cdf2556495854a4755d7de6dd91f5
|
| 3 |
+
size 8765437
|
package-mar10/AL.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2450e39615113e929d53017ee5daf28503e1a16f08b17ef5daa4c86a8a499b3d
|
| 3 |
+
size 49694949
|
package-mar10/AR.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5ec103225022b525244371910018daf8c3e95040bf4ad1249c248179d7dcad3
|
| 3 |
+
size 28987548
|
package-mar10/AZ.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1170ecce55a0ef0ced6cc298ac5572276fcff43cd8de94cde4b4ada117f5e7a
|
| 3 |
+
size 73434431
|
package-mar10/calibration_log.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
package-mar10/calibration_package.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99b066242d1b7cfef99e981064d0755db777d3a009b95e16faa4cf4c5b5d01e7
|
| 3 |
+
size 3070777303
|
package-mar10/calibration_weights.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5def9180b849840085c0ff610643de799cb00f874c60571533674b6ad0e907f
|
| 3 |
+
size 20638408
|
package-mar10/notes.txt
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Making the data
|
| 2 |
+
`make data`
|
| 3 |
+
|
| 4 |
+
# creating the calibration packge
|
| 5 |
+
|
| 6 |
+
python -m policyengine_us_data.calibration.unified_calibration \
|
| 7 |
+
--target-config policyengine_us_data/calibration/target_config.yaml \
|
| 8 |
+
--build-only
|
| 9 |
+
|
| 10 |
+
To fit the local area model with the calibration package
|
| 11 |
+
python -m policyengine_us_data.calibration.unified_calibration \
|
| 12 |
+
--package-path policyengine_us_data/storage/calibration/calibration_package.pkl \
|
| 13 |
+
--epochs 1000 \
|
| 14 |
+
--beta 0.65 \
|
| 15 |
+
--lambda-l0 1e-7 \
|
| 16 |
+
--lambda-l2 1e-8 \
|
| 17 |
+
--log-freq 500 \
|
| 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 |
+
|
| 24 |
+
which is short for:
|
| 25 |
+
python -m policyengine_us_data.calibration.publish_local_area \
|
| 26 |
+
--weights-path policyengine_us_data/storage/calibration/calibration_weights.npy \
|
| 27 |
+
--dataset-path policyengine_us_data/storage/source_imputed_stratified_extended_cps_2024.h5 \
|
| 28 |
+
--n-clones 430 \
|
| 29 |
+
--seed 42 \
|
| 30 |
+
--states-only
|
package-mar10/policy_data.db
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdc413d547ddf76dd093982874c8a794ee981114d9c578d2a15ae774b25fa02f
|
| 3 |
+
size 16064512
|
package-mar10/source_imputed_stratified_extended_cps_2024.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfd8fc43729f4df272a5d55b0924765313017af2c75027500a45afcb4a3a3d54
|
| 3 |
+
size 18025720
|