We can use the files in this repository to predict population from satellite images.
LANDSAT lanstats is a supervised learning model to predict socio-economic characteristics from satellite data. We can easily modify this code to predict other socio-economic characteristics or use other satellite images. In addition to the convnet, I've provide files to construct the data.
The files of interest are:
cnn.py: trains the convolutional neural networkcnn_estimation.py: uses trained model for estimationdata_cleaning.py: a class to merges satellite images with population databases (shapefiles)do_data_cleaning.py: runsdata_cleaning.pyto create training datasetvalidation.py: class to create validation datasetdo_validation.py: creates validation data setdo_postestimation.py: converts satellite images to predictionsestimates.ipynb: generating estimates from predictions
In addition to the usual, the analysis relies on these packages