Assessing Nitrate Contamination Risks in Groundwater: A Machine Learning Approach