Improving the accuracy of a flood forecasting model by means of machine learning and chaos theory