Abstract
The Building Safe Water Use Plan promoted by the Macao Marine and Water Bureau aims to encourage property management entities to regularly maintain building water supply systems to ensure the safety and stability of drinking water. However, traditional laboratory testing methods are often time-consuming and labor-intensive, making real-time and efficient water quality monitoring challenging. To address this issue, this study proposes a Raspberry Pi-based multi-sensor system for rapid water quality detection and improved monitoring efficiency. This system integrates multiple sensors to measure key water quality parameters, such as pH, total dissolved solids (TDSs), temperature, and turbidity, while recording data in real-time. The data were continuously collected over a period of five months (July to November 2024). The collected data were analyzed and validated using machine learning algorithms, including Isolation Forest, Random Forest, Logistic Regression, and Local Outlier Factor. Among these models, Random Forest exhibited the best overall performance, achieving an accuracy of 98.10% and an F1 score of 98.99%. These results show that the dataset demonstrates high reliability in anomaly detection and classification tasks, accurately identifying deviations in water quality. This approach not only enhances the efficiency of water quality monitoring but also provides technological support for urban drinking water safety management.
| Original language | English |
|---|---|
| Article number | 4130 |
| Journal | Applied Sciences (Switzerland) |
| Volume | 15 |
| Issue number | 8 |
| DOIs | |
| Publication status | Published - Apr 2025 |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 6 Clean Water and Sanitation
-
SDG 14 Life Below Water
Keywords
- Macao
- anomaly detection
- dataset
- water quality monitoring
Fingerprint
Dive into the research topics of 'Water Quality Monitoring: A Water Quality Dataset from an On-Site Study in Macao'. Together they form a unique fingerprint.Press/Media
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver