Dynamic process modeling with recurrent neural networks