A machine learning framework to improve effluent quality control in wastewater treatment plants.