Related Experiment Video
Updated: Jan 12, 2026

Automatic Image Processing to Determine the Community Size Structure of Riverine Macroinvertebrates
Published on: January 13, 2023
Implementing machine learning methods for in-depth analysis and classification of surface water quality in Central
Valentine Conny Putri Perdana1, Suherman Suherman1, Darly Guntur Darris Purba2
1Diponegoro University: Universitas Diponegoro, Semarang, Central Java, Indonesia.
Machine learning models accurately predict water pollution, but some "safe" classifications violated legal standards. A regulatory-aware layer is proposed to ensure AI-driven environmental monitoring aligns with compliance.
Area of Science:
- Environmental Science
- Computer Science
- Data Science
Background:
- Water quality monitoring is crucial for environmental protection and public health.
- Ecological challenges and sustainable resource management necessitate advanced monitoring solutions.
- Machine learning offers potential for accurate water pollution assessment.
Purpose of the Study:
- To propose and evaluate a machine learning framework for water pollution classification.
- To compare the performance of Support Vector Machine (SVM) and Extreme Gradient Boosting (XGBoost) models.
- To integrate regulatory compliance validation into the predictive framework.
Main Methods:
- Utilized Support Vector Machine (SVM) and Extreme Gradient Boosting (XGBoost) for predictive classification.
- Employed Synthetic Minority Over-sampling Technique (SMOTE-Tomek) to address data imbalance.
- Conducted interpretability analyses using SHAP and LIME, and validated against Indonesia's Government Regulation No. 22/2021.
Main Results:
- XGBoost achieved 98.76% accuracy and 97.62% F1-Macro score; SVM achieved 90.25% accuracy and 83.57% F1-Macro score.
- Biological and chemical indicators (fecal coliform, BOD, COD) showed high feature importance.
- Model predictions identified potential "false-safe" classifications violating regulatory thresholds.
Conclusions:
- Machine learning models show high predictive accuracy for water pollution levels.
- Ensuring regulatory compliance is critical, as models may produce "false-safe" results.
- A regulatory-aware layer with rule-based validation and calibration is proposed for enhanced real-world applicability and policy alignment.
Related Concept Videos
Testing Water Quality
Quality of Water
Sampling Methods: Sample Types
Solid samples include a variety of substances, such as sediments from water bodies, soil, metals, and biological tissues. Two standard methods for extracting sediments from water bodies are grab sampling and piston coring. Grab sampling involves using a device to collect a discrete sediment sample from the bottom of a water body with minimal disturbance. Grab samples do not always represent the entire area due to...
Classification of Titrimetric Analysis Based on Reaction Types
Titrations between an acid and a base lead to neutralization reactions that form...
Precipitation Titration: Endpoint Detection Methods
In the Volhard method, a standard excess of AgNO3 is first added to the...
Methods of Classification and Identification

