Latent Space Model for Road Networks to Predict Time-Varying Traffic