Recurrent and convolutional neural networks for traffic management