An application of artificial neural networks in environmental pollution forecasting