Skip to main content
. 2021 Jul 12;18(14):7439. doi: 10.3390/ijerph18147439
Algorithm A1. Estimation procedure for the proposed NCGM.
Require: Spatio-temporal population data Y
location information {xt}t=1L 
neighbor information {Nl}l=1L
hyperparameter λ
Ensure: Population flow Z
estimated neural network parameters φ;
Repeat
Calculate transition probability θtl by neural network f
for t=1 to T1, l=1 to L;
Calculate the objective function G and its gradient
with respect to Z and φ;
Update Z and φ using gradient;
until End condition is satisfied