Skip to content

Commit

Permalink
minors
Browse files Browse the repository at this point in the history
  • Loading branch information
bobkatla committed Oct 1, 2024
1 parent 3c49690 commit 1a74b0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion PopSynthesis/Methods/IPSF/SAA/operations/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def adjust_atts_state_match_census(
# With state diff we can now do adjustment for each zone, can parallel it?
pop_syn_across_zones = []
for zid, zone_states_diff in states_diff_census.iterrows():
print(f"Processing zone {zid}")
sub_syn_pop = updated_syn_pop[updated_syn_pop[zone_field] == zid]
zone_adjusted_syn_pop = zone_adjustment(
att, sub_syn_pop, zone_states_diff, pool, adjusted_atts
Expand Down
5 changes: 4 additions & 1 deletion PopSynthesis/Methods/IPSF/SAA/run_hh.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ def run_main() -> None:
"hhsize",
"hhinc",
"totalvehs",
] # , "totalvehs", "dwelltype", "owndwell"
"dwelltype",
"owndwell",
]
hh_marg = hh_marg.head(3)
saa = SAA(hh_marg, hh_seed, order_adjustment, hh_att_state)
final_syn_pop = saa.run()
print(final_syn_pop)
# print(saa.segmented_marg)


Expand Down

0 comments on commit 1a74b0d

Please sign in to comment.