| Algorithm A1. Estimation procedure for the proposed NCGM. | |
| Require: | Spatio-temporal population data location information neighbor information hyperparameter |
| Ensure: | Population flow estimated neural network parameters Repeat Calculate transition probability by neural network for to , to Calculate the objective function and its gradient with respect to and Update and using gradient; until End condition is satisfied |