Vehicle classification using a recurrent neural network (RNN)