Water Quality Monitoring: A Water Quality Dataset from an On-Site Study in Macao

Jiawei Gao, Bochao Chen, Su Kit Tang

Research output: Contribution to journalArticlepeer-review

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 languageEnglish
Article number4130
JournalApplied Sciences (Switzerland)
Volume15
Issue number8
DOIs
Publication statusPublished - Apr 2025

Keywords

  • anomaly detection
  • dataset
  • Macao
  • 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.

Cite this