River flood forecasting with a neural network model