Closed tm-jace-peralta closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Added standard country name lookup dicts for iso3.py and hdx.py. All *_generate grids.ipynb
can now take in the common country name, e.g. "vietnam","laos"
What does this PR contain?
Output for https://github.com/thinkingmachines/unicef-ai4d-poverty-mapping/issues/130, https://github.com/thinkingmachines/unicef-ai4d-poverty-mapping/issues/131, https://github.com/thinkingmachines/unicef-ai4d-poverty-mapping/issues/132, https://github.com/thinkingmachines/unicef-ai4d-poverty-mapping/issues/133
vn
), Thailand (tl
), Malaysia (my
), Laos (la
)2_*_generate_grids.ipynb
and rolling out the cross-country model over this grid3_*_rollout_model.ipynb
.The final output of these notebooks contain (1) the predicted relative wealth index and (2) binned wealth category from A-E
Notes on rollout runs
These are the region variable names used per countryAdded standard country name lookup dicts for
iso3.py
andhdx.py
. All*_generate grids.ipynb
can now take common country names, e.g. "vietnam","laos".Removed all of the output of the cells with
.explore
in all3_*_rollout_model.ipynb
notebooks to reduce overall repo memory consumption. An accompanying screenshot of what is expected after.explore
is ran was provided instead.Modifications to
povertymapping/iso3.py
Added country ISO standard name lookup https://github.com/thinkingmachines/unicef-ai4d-poverty-mapping/blob/b2c85028869017c6be58e38a66e53b8ceca53e1b/povertymapping/iso3.py#L18-L19Modifications to
povertymapping/osm.py
Added country osm standard name lookup https://github.com/thinkingmachines/unicef-ai4d-poverty-mapping/blob/b2c85028869017c6be58e38a66e53b8ceca53e1b/povertymapping/osm.py#L204-L206