Next Article in Journal
Radiation Protection of a 3D Computer Tomography Scanning Workplace for Logs—A Case Study
Previous Article in Journal
Graph Neural Networks for Parkinson’s Disease Monitoring and Alerting
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Model for Leak Detection Using Water Pipeline Vibration Sensor

School of Computer Science, Semyung University, Jecheon 27136, Republic of Korea
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(21), 8935; https://doi.org/10.3390/s23218935
Submission received: 5 October 2023 / Revised: 23 October 2023 / Accepted: 31 October 2023 / Published: 2 November 2023
(This article belongs to the Topic Artificial Intelligence in Sensors, 2nd Volume)

Abstract

:
Water leakage from aging water and wastewater pipes is a persistent problem, necessitating the improvement of existing leak detection and response methods. In this study, we conducted an analysis of essential features based on data collected from leak detection sensors installed at water meter boxes and water outlets of pipelines. The water pipeline data collected through the vibration sensor were preprocessed by converting it into a tabular form by frequency band and applied to various machine learning models. The characteristics of each model were analyzed, and XGBoost was selected as the most suitable leak detection model with a high accuracy of 99.79%. These systems can effectively reduce leak detection and response time, minimize water waste, and minimize economic losses. Additionally, this technology can be applied to various fields that utilize water pipes, making it widely applicable.

1. Introduction

The detection of leaks is a crucial issue in today’s world, as it has the potential to affect the environment, human safety, and result in economic losses. Leaks of water, gas, electricity, and oil can occur in various forms, and hence, the detection of leaks is crucial in industrial, commercial, and residential areas. The objective of leak detection is to detect and control leaks in a timely manner to create a safe environment and minimize losses. Leak detection technologies can be broadly classified into physical and electronic methods. Physical methods are traditional and require experienced professionals, making them labor-intensive, time-consuming, and costly. Electronic methods, on the other hand, use modern technologies such as sensor technology, data analytics, and artificial intelligence (AI) to detect and analyze leaks. Therefore, electronic leak detection using AI is receiving a lot of attention from researchers.
AI-based leak detection systems can quickly determine the source and location of a leak by analyzing data collected from various sensors and suggesting the best course of action to resolve it. IoT technology can be utilized to monitor leaks in real-time and respond automatically in conjunction with a centralized control system. However, there are still significant challenges to be addressed in the development of leak detection technology, such as improving the accuracy and sensitivity of detection sensors, ensuring performance in various environments, and developing efficient data processing and analysis methods. Additionally, aging water pipelines consisting of a mixture of metal and non-metal pipes, coupled with various noises, including environmental, electrical, and natural sounds, make it difficult to detect leaks. There is an urgent need to develop technology that can accurately detect leaks in such a complex environment. In this paper, we propose a leak detection model that can overcome these challenges and show high performance in various environments. The proposed model is designed to address the aging problem and various noises in water pipes with a mixture of metal and non-metal pipes. We compare the proposed model with representative machine learning and deep learning models such as K-Nearest Neighbor, decision tree, random forest, extra trees, LightGBM, XGBoost, and CatBoost. Our results show that the XGBoost model achieved the highest performance with an accuracy of 99.79%.
The key contributions of the paper are
  • Introduction of a Novel Leak Detection Model: The paper proposes a new leak detection model specifically designed to address challenges associated with aging water pipelines made of a combination of metal and non-metal materials. This model also effectively handles various types of noise, including environmental, electrical, and natural sounds, which can interfere with leak detection.
  • Comprehensive Model Comparison: The proposed model was rigorously compared with several representative machine learning models, including K-Nearest Neighbor, decision tree, random forest, extra trees, LightGBM, XGBoost, and CatBoost.
  • Applicability in Diverse Environments: The results underscore the model’s capability to accurately detect and pinpoint leaks in water pipelines that comprise a mix of different materials and are subjected to various noises. This is crucial for the efficient management and upkeep of water supply systems.
This paper is organized to provide detailed information about leak detection data and machine learning models for it. The paper begins with an “Introduction” and reviews the existing literature in the field in the “Related Works” section. Section 3, “Water Leakage Detection Framework”, systematically explores the data collected from water pipeline vibration sensors, preprocessing, and different machine learning models. The “Experimental Results” section details the detailed evaluation of the models across multiple experiments. The paper concludes with a “Conclusions” that summarizes the main results and implications of this study.

2. Related Works

Recently, advancements in sensor technology have led to the proliferation of diverse sensors, enabling efficient data acquisition via sensor networks [1,2]. Specifically, this section aims to review the extant literature pertaining to leak detection methodologies. This paper reviews water pipeline leakage detection techniques, which can be classified into three categories: software-based, hardware-based, and conventional methods; it then presents a comparative study of vibration sensors for water pipeline leakage detection and validates a water pipeline testbed using vibration sensors [3]. Liu et al. propose a water pipeline leakage detection method based on machine learning and wireless sensor networks (WSNs) that employs a leakage triggered networking method to reduce energy consumption and a leakage identification method using intrinsic mode function (IMF), approximate entropy (ApEn), principal component analysis (PCA), and a support vector machine (SVM) to enhance the precision and intelligence of leakage detection [4]. Fereidooni et al. propose a fast hybrid method using AI algorithms and hydraulic relations for detecting and locating leaks and identifying the volume of losses material in large scale water distribution networks (WDN) [5]. Luong et al. propose a data renovation method to improve the generalization ability of training data for an intelligent leak detection system based on statistical parameters extracted from acoustic emission signals [6]. Nkemeni et al. present a fully distributed solution for leak detection in a water distribution network using a distributed Kalman filter (DKF) that improves the accuracy of leak detection and power consumption in WSN applications [7]. Shukla et al. present a deep learning algorithm that uses scalogram images of vibration signals collected from accelerometers attached to the pipeline surface to detect leakages in water pipelines with up to 95% accuracy [8]. Mysorewala et al. present a feasibility study of leak detection in wall-mounted water pipelines through vibration measurements using low-power accelerometers; they offer a cost-effective and energy-efficient scheme to detect and classify leaks by optimally placing sensor nodes at carefully selected locations [9].
Wang et al. present an experimental study on water pipeline leak detection using in-pipe acoustic signal analysis and artificial neural network (ANN) prediction to investigate the effects of leak size, pipeline pressure, and flow velocity on the characteristic of acoustic signal and to improve the accuracy of leak recognition [10]. Guo et al. propose a time–frequency convolutional neural network (TFCNN) model for detecting leaks in water distribution systems based on acoustic signals, which improves the accuracy and stability of leakage detection even under low signal-to-noise ratio conditions [11]. Ravichandran et al. present an acoustic leak detection system for distribution water mains using machine learning methods, specifically a multi-strategy ensemble learning approach, which has demonstrated significant improvement in performance, resulting in a reduction of false positive reports by an order of magnitude [12]. Zhou et al. propose a novel ensemble transfer learning one-dimension convolutional neural network (TL1DCNN) approach for pipeline leak detection and localization, which integrates the results of a set of base learners to achieve superior performance compared to traditional methods and other deep learning methods [13]. Liu et al. describe a novel approach to leak detection in water pipes using a Maximum Entropy version of the Least Square Twin K-Class Support Vector Machine (MLT-KSVC) algorithm. This approach assigns different weights to leak samples based on the MaxEnt model, reducing the impact of outliers on the classification process and improving accuracy compared to other methods [14].
Pipelines are one of the least expensive means of transporting fluids over long distances and distributing fluids in large areas and cities. As such, monitoring these pipelines to predict and detect leakage accurately and promptly and to determine the location of the leak is of importance. Sekhavati et al. provides a review and comparative study of computational methods for pipeline leakage detection and localization, discussing the strengths, weaknesses, and limitations of five types of methods: mass/volume balance, negative pressure wave, pressure point analysis, statistical methods, and real-time transient modeling [15]. Tariq et al. present a study on the application of cost-effective MEMS-based accelerometers for leak detection in real water distribution networks, where experiments were conducted over ten months, and machine learning models were developed to improve leak detection accuracy [16]. Tijani et al. propose a reliable technique for pipeline leak detection using acoustic emission signals and deep learning to extract leak-related discriminant features from acoustic images obtained from time series acoustic emission signals using continuous wavelet transform [17]. Ahmad et al. propose a reliable technique for pipeline leak detection using acoustic emission signals and deep learning to extract leak-related features from acoustic images obtained from time series acoustic emission signals using continuous wavelet transform [18]. Xu et al. propose a method for identifying leaks in water pipes using an explainable ensemble tree model of vibration signals based on the wave propagation model and the leakage noise mechanism [19].
Deep learning techniques and algorithms are emerging as a disruptive technology with the potential to transform global economies, environments, and societies. Fu et al. provide a critical review of the role of deep learning in urban water management, examining its current applications and potential future directions to address key challenges in the field [20]. Yu et al. present a study on the effectiveness and practicability of using machine learning models to identify leaks in real pipe networks by classifying vibration signals collected by piezoelectric accelerometers installed in water distribution systems over several cities of China [21]. Zhang et al. describe the development of a convolutional neural network (CNN)–based model to classify acoustic wave files collected by the South Australian Water Corporation’s (SA Water’s) smart water network (SWN) over the city of Adelaide for pipe leak and crack detection with an accuracy of 92.44% [22]. Vanijjirattikhan et al. present the development of an AI-based water leak detection system with cloud information management that can systematically collect and manage leakage sounds and generate a model used by a mobile application to provide operators with guidance for pinpointing leaking pipes [23]. Choudhary et al. present a novel 1-D convolution neural network (1DCNN) model for leak detection, location, and size estimation in a smart water grid (SWG) that uses IoT sensors and devices to monitor water transportation; their method showed better accuracy compared to other state-of-the-art machine learning techniques [24].
Water leakage in the supply system is a silent problem that costs billions of dollars yearly. This paper is a systematic review of forty-seven articles on water leakage detection and location research, with the aim of identifying new technology, trends, and possible future directions in the field [25]. Shen et al. present a study on a tree-based machine learning method for pipeline leakage detection in water distribution systems, where the authors develop and compare three machine-learning-based models using on-site leak detection signals; they find that the AdaBoost model had the lowest false positive rate, and the recall rates of the random forest and AdaBoost models were 100% and 99.52%, respectively [26]. Choi et al. propose a convolutional neural network (CNN) model to detect and classify water leakage in pipelines using vibration data collected by leakage detection sensors, demonstrating superior performance over a support vector machine model in terms of F1-score and Matthew’s correlation coefficient [27]. Yussif et al. present a study that proposes a low-cost approach to locating leakages in urban water distribution networks using acoustic signal behavior and machine learning, achieving high validation accuracy with the developed models [28]. Ullah et al. propose a machine-learning-based platform for detecting pipeline leaks of various pinhole sizes using acoustic emission sensor channel information and achieves an exceptional overall classification accuracy of 99% [29].

3. Water Leakage Detection Framework

In contemporary industrial settings, machine learning models have become indispensable tools, finding applications across a multitude of domains. Within the ambit of this paper, we undertake a systematic comparative analysis of several machine learning models with the specific aim of identifying the most adept model for leak detection. The procedural flow of our proposed methodology is illustrated in Figure 1.
In our study, a comprehensive set of 512 features was distilled from the data amassed through vibration sensors affixed to the water pipelines, leveraging time-frequency domain feature extraction techniques. We incorporated several features for model training, which included the site number, sensor number, and date of leak detection, all of which serve as identification information. Additionally, aggregate values such as leak rate and leak level were introduced as features. Furthermore, we utilized the maximum number of leak detections, represented across 20 columns, as an additional feature. Proceeding to the next phase, we juxtaposed the performance of eight distinct machine learning models. In the concluding phase, these models underwent a rigorous evaluation, validation, optimization, and hyperparameter tuning process to ascertain their efficacy and precision.

3.1. Water Pipeline Leak Vibration Dataset

Water pipeline leak detection is a critical aspect of water infrastructure management. The timely detection of leaks can help prevent water loss, reduce repair costs, and prevent damage to infrastructure. However, traditional leak detection methods can be time-consuming and costly. As a result, there is a growing interest in the development of machine learning models for water pipeline leak detection. To develop accurate and reliable machine learning models, it is important to have high-quality training data. The water pipeline leak detection dataset provides a valuable resource for developing such models. However, the dataset may contain biases that can affect the performance of the models.
To address this issue, domain experts examined data bias through time-frequency analysis and clustering of vibration detection sensor data. Time-frequency analysis is a signal processing technique used to analyze non-stationary signals in the time-frequency domain. Clustering is a machine learning technique used to group similar data points together. The domain experts used these techniques to identify patterns and structures in the data that may not be visible to the naked eye, which helped reduce data bias and improve the accuracy of the machine learning models. In addition, leak detection experts identified and labeled leak sounds through precise reading of leak points. This process provided accurate labeling information for each case in the dataset, which is essential for developing machine learning models for water pipeline leak detection.
The dataset used in this paper is water pipe leak vibration data, which consists of 30,000 cases using leak detection sensors installed at more than 11,000 locations. The dataset comprises various sounds related to outdoor leak, indoor leak, electric noise, other noise, and normal noise. The judgment criterion for water leakage is a sensor installed at the water outlet that detects water leakage, and a water leakage detection specialist will investigate the leakage on site. If a leak occurs outdoors, it is recorded as an ‘outdoor leak’, and if a leak occurs indoors, it is recorded as an ‘indoor leak’. If there is no sign of a leak, but certain noises such as mechanical or electrical sounds are generated, it is recorded as ‘Electric noise’, and if other types of noise are generated, it is recorded as ‘Other noise’. If no other leak is detected, it is recorded as ‘Normal noise’. The acquisition of data is based on water pipeline leak vibration data, followed by confirmation of the acquired data through leak detection, data refinement, and classification by class. The refined data include labeling information for each class, as shown in Table 1. This labeling information provides a valuable resource for developing machine learning models for water pipeline leak detection.
There are various types of leaks that can occur in water supply systems, and it is important to identify and categorize them accurately. Table 2 contains a detailed description of the water pipeline leak detection data. The dataset includes various items such as site number, sensor number, leakage vibration size detected by frequency, maximum detection frequency, and maximum detection size.

3.2. Leak Data Analysis and Preprocessing

In this paper, the dataset utilized for analysis comprises sensor information, vibration data with a frequency of 10 Hz, and aggregate data. The vibration data with a frequency of 0 Hz were excluded as they possessed identical values. The sensor information was preprocessed based on the model characteristics, and ten leak detection checks were conducted for two hours each day during the early morning hours. The average value and aggregate value of the size that responded above a specific threshold were included as features. Figure 2 presents the vibration data visualized by five classification criteria, while Figure 3 illustrates the max 1–19 values, representing the highest frequency and maximum leak size detected in one leak detection. The visualization presented in Figure 4 pertains to the correlation analysis of the vibration data collected at a frequency of 10 Hz.

3.3. Leak Detection Models

3.3.1. K-Nearest Neighbor

The K-Nearest Neighbor (KNN) algorithm is a non-parametric, instance-based learning methodology used for classification and regression tasks [30]. Rooted in the principle of similarity, KNN determines an input instance’s output based on the majority label or mean value of its ‘K’ most similar instances from the training dataset. The algorithm’s simplicity is a significant advantage, requiring no explicit training phase. However, KNN’s computational complexity increases linearly with the size of the training dataset, making it less ideal for large datasets. Despite its simplicity, KNN can achieve high accuracy in scenarios where decision boundaries are irregular. Given its instance-based nature, KNN inherently supports multi-class classification. In this paper, a KNN model was used to interpret and analyze water and sewer vibration sensor data.

3.3.2. Decision Tree

Decision trees are a popular machine learning algorithm that can be used for both classification and regression tasks [31]. The algorithm works by recursively partitioning the input space into smaller subsets as shown in Figure 5, based on the value of the input features, until a stopping criterion is met. The decision to split a node based on a feature j and threshold t can be represented using a split criterion. For classification, the Gini impurity is commonly used:
G i n i D = 1 i = 1 k p i 2
where D represents the data subset at the node, p i 2 is the proportion of samples of class i in D , and k is the number of classes. The aim during the split is to find a feature and threshold that minimizes the weighted average of the Gini impurity of the child nodes. Decision trees have several advantages, including their interpretability, ease of use, and ability to handle both numerical and categorical data. In this paper, we used the decision tree model for the interpretation and analysis of water and sewerage vibration sensor data in a table structure.

3.3.3. Random Forest and Extra Trees

Random forest is an ensemble learning method that combines multiple decision trees to improve their performance [32]. It works by constructing a large number of decision trees, each trained on a different random subset of the training data and a random subset of the input features. The outputs of the individual trees are then aggregated to make a final prediction as shown in Figure 5. The key idea behind random forest is that by aggregating the outputs of multiple decision trees, the overall prediction becomes more robust and less prone to overfitting. For a classification problem with N classes, the random forest output, Y , for an input vector X is
Y X = a r g   max j i = 1 T I h i X = j
where T is the number of trees in the forest, and h i X is the class predicted by the i t h tree. I · is the indicator function, which is 1 if the condition inside is true, and 0 otherwise. Random forest has several advantages over single decision trees, including improved accuracy, robustness to noise and outliers, and the ability to handle high-dimensional data. In this paper, we use a random forest model to experiment with the importance of attributes and the efficiency of parallelization.
Extremely randomized trees (extra trees) [33] represent a form of ensemble learning technique grounded on decision trees, drawing parallels to the well-established random forest algorithm. The extra trees classifier constructs a multitude of decision trees and amalgamates their outputs to enhance prediction accuracy. Distinctively, in contrast to the random forest, extra trees introduce a greater degree of randomization in the selection of node splits. This distinct feature facilitates the generation of a more heterogeneous set of trees, thereby augmenting the model’s robustness and capacitating it to encapsulate a broader spectrum of characteristics.

3.3.4. Gradient Boosting

Gradient boosting is an ensemble machine learning technique that seeks to optimize a differentiable loss function through iterative refinement of predictions [34]. It builds an additive model in a stage-wise fashion, where each subsequent model corrects the errors of its predecessor. At each iteration, it fits a decision tree to the negative gradient (residual errors) of the loss function. Given a dataset x 1 , y 1 , , x N , y N , where y i can be 0 or 1, the prediction of the ensemble at iteration m for an input vector x in terms of log odds is
F m x = F m 1 x + v · h m x
where F m 1 x is the prediction of the ensemble up to the m 1 t h model, h m x   is the prediction of the m t h tree, and v is the learning rate. The central idea revolves around strengthening a weak learner, typically a decision tree, into a robust model by aggregating the outcomes of several trees. Hyperparameters, such as learning rate and tree depth, play pivotal roles in controlling overfitting and the algorithm’s speed. Unlike random forest, which builds trees in parallel, gradient boosting builds trees sequentially. We used the gradient boosting method for leak detection as a basic model for boosting methods.

3.3.5. LightGBM

LightGBM is one of the implementations of the Gradient Boosting Decision Tree (GBDT) algorithm developed by Microsoft. It shows high performance on large datasets and has faster training speed and lower memory usage compared to other GBDT implementations. This performance improvement is possible because LightGBM uses various optimization techniques [35].
The key idea of LightGBM is to divide the entire dataset into small datasets called “leaves” to efficiently process them. LightGBM constructs trees based on these leaves. LightGBM uses a leaf-wise method, which selects the leaf node with the largest information gain when determining the tree structure as shown in Figure 6. LightGBM also supports both feature parallelism and data parallelism. Feature parallelism is a method of creating multiple trees for one dataset by using different features for each tree. In this paper, we used the LightGBM model, which provides high efficiency and fast processing speed using table-structured water and sewer vibration sensor data.

3.3.6. eXtreme Gradient Boosting (XGBoost)

XGBoost, which stands for eXtreme gradient boosting, is a popular distributed gradient boosting library introduced by Tianqi Chen in 2014 [36]. The library extends the traditional gradient boosting algorithm by incorporating overfitting regularization, enabling it to process large amounts of data accurately and quickly. XGBoost can effectively solve various problems through parallel tree boosting as shown in Figure 7, making it a widely used algorithm in machine learning competitions and real-world applications. The prediction of the ensemble at iteration m for an input vector x is
y ^ i m = k = 1 m f k x i
where y ^ i m is the predicted value for observation i at iteration m . f k x is the prediction of the k t h tree. The model is highly customizable, allowing users to specify various hyperparameters to optimize model performance.
In this study, we utilized the fast learning speed and high performance of the XGBoost model to train it for water and sewage leak detection. The XGBoost algorithm was employed to analyze a large dataset of water and sewage system data, which included a variety of parameters such as flow rates, pressure readings, and other key indicators of system performance. Through the use of XGBoost, we were able to effectively identify patterns and anomalies in the data that could indicate the presence of leaks or other issues in the system.

3.3.7. CatBoost

CatBoost, developed by Yandex, is a state-of-the-art gradient boosting algorithm designed explicitly for efficiently handling categorical features without the need for extensive preprocessing [37]. The prediction of the ensemble at iteration m for an input vector x is
y ^ i m = y ^ i m 1 + α · f m x i
where y ^ i m is the predicted value for observation i at iteration m . f k x is the prediction of the m t h tree, and α is a learning rate. Distinctively, it utilizes an approach termed “ordered boosting” to mitigate overfitting, alongside a pooling technique to process categorical variables directly. Oblivious trees, a variant of decision trees with the same feature for splits at each level, form its foundational model structure, enhancing efficiency and reducing overfitting likelihood. Furthermore, the algorithm incorporates L2 regularization, further ensuring model robustness.

4. Experimental Results

4.1. Experimental Environments

In this study, vibration sensors were installed in water meter boxes and valve rooms to collect data for leak detection purposes. The water pipes used in the experiment were categorized into two types: metallic pipes and non-metallic pipes, and differences in vibration detection sensors were observed between them. Metallic pipes were found to transmit vibrations for a longer period, and clear signals could be obtained even at high frequencies. This characteristic makes leak detection in metallic pipes relatively accurate. On the other hand, non-metallic pipes are less effective in transmitting vibrations, and their frequency characteristics are different, making them more challenging to detect. Two types of vibration sensors were used in the experiment: LTE equipment and embedded equipment. These sensors were installed approximately 150 to 300 m apart in water meter boxes and valve rooms. Figure 8 shows the structure of the equipment used to collect the dataset for the leaky small-flow and water pressure monitoring system. Figure 9 displays the sensor models used for dataset collection and leak detection. The equipment and systems are utilized to detect vibrations in both metallic and non-metallic pipes to identify leaks accurately.
Water supply pipelines are essential infrastructure that transports water from a source to a destination. Various types of pipes are used in these pipelines, and they can be categorized into two types: metal pipes and non-metal pipes. Each type of pipe has different characteristics that affect its performance and accuracy of leak detection sensors.
Metal pipes are widely used in water supply pipelines. Enamel Coated Steel Pipe (ECSP) is highly resistant to corrosion, while Liquid Epoxy Coated Steel Pipe (LECSP) has improved corrosion prevention and durability. Cast Iron Pipe (CIP) is known for its heavy weight and high strength, while Ductile Iron Pipe (DIP) is popular for its improved toughness. Galvanized Steel Pipe (GSP) is a steel pipe with enhanced corrosion resistance, and Copper Pipe (CP) has excellent conductivity and heat resistance. Stainless Steel Pipe (SSP) has high corrosion resistance and durability, but its use is limited due to its high cost.
Non-metallic pipes are also used in water supply pipelines. Polyvinyl chloride (PVC) is lightweight and corrosion-resistant, while impact-resistant water pipe (IRWP) is impact-resistant. Polyethylene (PE) is corrosion-resistant and lightweight, while Hume Pipe (HP) is made of concrete and has a sturdy structure.
The different characteristics of water pipes affect the performance and accuracy of leak detection sensors. Therefore, it is necessary to evaluate and improve the performance of leak detection sensors by considering the type of water pipe. Table 3 shows the length (in meters) of water pipes in South Korea as of 2020, which can be used to evaluate the performance and applicability of leak detection sensors in each type of pipe.

4.2. Model Evaluation

In this study, we employed eight models. These include the nearest neighbor (KNN), decision tree, random forest, additive tree, and gradient boosting models from Scikit-learn (version 1.2.2) [38]. Additionally, we used LightGBM (version 3.3.5) [39], XGBoost (version 1.7.6) [40], and CatBoost (version 1.2) [41] from their individual libraries. The dataset was partitioned into 62,564 instances for the training phase and 7820 instances designated for evaluation. However, to optimize our experimental setup, we amalgamated both sets, resulting in a consolidated dataset of 70,384 instances. Subsequently, we reallocated the instances using an 8:2 split, aiming to augment the evaluation data volume. This restructuring yielded a training dataset of 56,307 instances, while the evaluation set encompassed 14,077 instances. For the modeling process, we employed multi-label classification techniques across all models. To ensure rigorous and comprehensive assessment, the training and evaluation phases were conducted employing a stratified K-Fold cross-validation approach, with a chosen K value of 10. In the present study, the target variable, denoted as “leaktype”, is categorically encoded as follows: ‘in’ is represented by the value 0, ‘noise’ is represented by the value 1, ‘normal’ is represented by the value 2, ‘other’ is represented by the value 3, and ‘out’ is represented by the value 4. In the present study, the experimental procedures are categorized into four distinct sections based on the features employed. A comprehensive overview of these divisions is provided in Table 4.

4.2.1. Experimental Results for E1

For the E1 experiment, solely frequency-specific data derived from the vibration sensor were employed for leak detection as features. The outcomes of this experiment are delineated in Table 5. A perusal of Table 6 reveals that the K-Nearest Neighbors (KNN) model outperforms other models in terms of accuracy and computational efficiency. Figure 10 elucidates the classification efficacy of the KNN model. While the classes ‘in’, ‘normal’, and ‘out’—pertinent to the leakage status—demonstrate commendable performance, the ‘noise’ and ‘other’ classes exhibit suboptimal results.

4.2.2. Experimental Results for E2

The E2 experiment incorporated the features from E1, augmented with the maximum number of leak detections, spanning 20 columns. The comparative performance of various models for this experiment is presented in Table 6. Intriguingly, the integration of aggregated maxima led to a decrement in the KNN model’s performance. Conversely, the random forest model emerged as the most efficacious. Figure 11 delineates the class-wise classification performance of the random forest model for the E2 experiment. Figure 12 underscores the significance of features for the random forest model, indicating a predilection of the model towards maximum value features introduced in the E2 experiment.

4.2.3. Experimental Results for E3

The E3 experiment was characterized by the inclusion of leak rate and level. Over a span of 2 h during the early morning hours, 10 leak detection assessments were executed daily. Results surpassing a predefined threshold were represented as the leak probability (lrate), while the mean value of the responses was denoted as the leak level (llevel). Table 7 encapsulates the model performance metrics for the E3 experiment, with the random forest model exhibiting superior performance. Upon analysis of the experimental results, it is evident that there exists a modest enhancement in overall performance relative to the E2 experiment. Figure 13 shows the classification performance of the random forest model in the E3 experiment. Compared to the E2 experiment, there is a slight increase overall, except for class 3, “Other noise”.
Furthermore, Figure 14 accentuates the paramount importance of the newly incorporated leakage rate (lrate) in E3, suggesting that the random forest model predominantly classifies based on the leakage rate and maximum value features.

4.2.4. Experimental Results for E4

For the E4 experiment, additional identification parameters were incorporated, namely the location of the leak detection sensor (site), the sensor’s unique identifier (sid), and the date of the leak detection event (ldate). Table 8 presents the performance metrics for the E4 experiment, highlighting the enhanced efficacy of both the tree and boost models, with the XGBoost model being preeminent. Figure 15 showcases the stellar classification performance of the XGBoost model for the E4 experiment.
Figure 16 delineates the feature importance for the XGBoost model in the E4 experiment, emphasizing the primacy of the leak rate (lrate), followed by the sensor number (sid). Notably, in contrast to the random forest model, the maximum value feature is of diminished importance in the XGBoost model.

5. Conclusions

In this study, our primary objectives revolved around extracting salient features from an expansive set of data, gathered via vibration sensors on various water pipe types under diverse leakage conditions. These data were then meticulously organized into a tabulated format, enabling us to identify and refine the most effective machine learning algorithm for water leak detection. Our evaluations revealed that the XGBoost model excelled in this domain, boasting a remarkable accuracy of 99.79% in detecting water leaks through vibration sensors. This achievement markedly surpasses conventional methods that depend on manual inspections or acoustic sensors, both of which are often susceptible to errors and ambient noise disruptions. Notably, our model adeptly identifies leaks in water pipelines composed of both metallic and non-metallic elements—a recurrent challenge in older water distribution systems.
The implications of our research are profound for the realm of water leak detection. By introducing a cutting-edge machine learning approach, we offer a potent solution, effectively addressing the limitations inherent in current detection techniques. The benefits of adopting this model are manifold, promising not only a significant reduction in water wastage but also a marked decrease in environmental impact, financial expenditure, and potential safety hazards stemming from unnoticed leaks. Moreover, the versatility of our proposed model allows its potential deployment in related sectors, including the gas, oil, and chemical industries. As we chart our future research path, our focus will shift towards optimizing the model for seamless execution on edge computing devices and delving deeper to ascertain its capability in pinpointing the root causes of water leaks.

Author Contributions

Conceptualization, S.L.; methodology, S.L.; software, S.L.; validation, S.L.; formal analysis, S.L.; investigation, S.L. and B.K.; resources, S.L. and B.K.; data curation, S.L. and B.K.; writing—original draft preparation, S.L.; writing—review and editing, S.L.; visualization, S.L. and B.K.; supervision, S.L.; project administration, S.L.; funding acquisition, S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by “Regional Innovation Strategy (RIS)” through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (MOE) (2021RIS-001 (1345370811)).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The Water pipe leak detection dataset is openly available at: https://www.aihub.or.kr/aihubdata/data/view.do?currMenu=115&topMenu=100&aihubDataSe=realm&dataSetSn=138 (accessed on 5 October 2023).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Faheem, M.; Butt, R.A.; Raza, B.; Alquhayz, H.; Ashraf, M.W.; Shah, S.B.; Ngadi, M.A.; Gungor, V.C. QoSRP: A cross-layer QoS channel-aware routing protocol for the Internet of underwater acoustic sensor networks. Sensors 2019, 19, 4762. [Google Scholar] [CrossRef] [PubMed]
  2. Faheem, M.; Ngadi, M.A.; Gungor, V.C. Energy efficient multi-objective evolutionary routing scheme for reliable data gathering in Internet of underwater acoustic sensor networks. Ad Hoc Netw. 2019, 93, 101912. [Google Scholar] [CrossRef]
  3. Ismail, M.I.M.; Dziyauddin, R.A.; Salleh, N.A.A.; Muhammad-Sukki, F.; Bani, N.A.; Izhar, M.A.M.; Latiff, L.A. A review of vibration detection methods using accelerometer sensors for water pipeline leakage. IEEE Access 2019, 7, 51965–51981. [Google Scholar] [CrossRef]
  4. Liu, Y.; Ma, X.; Li, Y.; Tie, Y.; Zhang, Y.; Gao, J. Water pipeline leakage detection based on machine learning and wireless sensor networks. Sensors 2019, 19, 5086. [Google Scholar] [CrossRef] [PubMed]
  5. Fereidooni, Z.; Tahayori, H.; Bahadori-Jahromi, A. A hybrid model-based method for leak detection in large scale water distribution networks. J. Ambient. Intell. Humaniz. Comput. 2021, 12, 1613–1629. [Google Scholar] [CrossRef]
  6. Luong, T.T.; Kim, J.M. The enhancement of leak detection performance for water pipelines through the renovation of training data. Sensors 2020, 20, 2542. [Google Scholar] [CrossRef]
  7. Nkemeni, V.; Mieyeville, F.; Tsafack, P. A distributed computing solution based on distributed kalman filter for leak detection in WSN-based water pipeline monitoring. Sensors 2020, 20, 5204. [Google Scholar] [CrossRef] [PubMed]
  8. Shukla, H.; Piratla, K. Leakage detection in water pipelines using supervised classification of acceleration signals. Autom. Constr. 2020, 117, 103256. [Google Scholar] [CrossRef]
  9. Mysorewala, M.F.; Cheded, L.; Ali, I.M. Leak detection using flow-induced vibrations in pressurized wall-mounted water pipelines. IEEE Access 2020, 8, 188673–188687. [Google Scholar]
  10. Wang, W.; Sun, H.; Guo, J.; Lao, L.; Wu, S.; Zhang, J. Experimental study on water pipeline leak using In-Pipe acoustic signal analysis and artificial neural network prediction. Measurement 2021, 186, 110094. [Google Scholar] [CrossRef]
  11. Guo, G.; Yu, X.; Liu, S.; Ma, Z.; Wu, Y.; Xu, X.; Wang, X.; Smith, K.; Wu, X. Leakage detection in water distribution systems based on time–frequency convolutional neural network. J. Water Resour. Plan. Manag. 2021, 147, 04020101. [Google Scholar] [CrossRef]
  12. Ravichandran, T.; Gavahi, K.; Ponnambalam, K.; Burtea, V.; Mousavi, S.J. Ensemble-based machine learning approach for improved leak detection in water mains. J. Hydroinformatics 2021, 23, 307–323. [Google Scholar] [CrossRef]
  13. Zhou, M.; Yang, Y.; Xu, Y.; Hu, Y.; Cai, Y.; Lin, J.; Pan, H. A pipeline leak detection and localization approach based on ensemble TL1DCNN. IEEE Access 2021, 9, 47565–47578. [Google Scholar] [CrossRef]
  14. Liu, M.; Yang, J.; Zheng, W. Leak Detection in Water Pipes Based on Maximum Entropy Version of Least Square Twin K-Class Support Vector Machine. Entropy 2021, 23, 1247. [Google Scholar] [CrossRef]
  15. Sekhavati, J.; Hashemabadi, S.H.; Soroush, M. Computational methods for pipeline leakage detection and localization: A review and comparative study. J. Loss Prev. Process Ind. 2022, 77, 104771. [Google Scholar] [CrossRef]
  16. Tariq, S.; Bakhtawar, B.; Zayed, T. Data-driven application of MEMS-based accelerometers for leak detection in water distribution networks. Sci. Total Environ. 2022, 809, 151110. [Google Scholar] [CrossRef]
  17. Tijani, I.A.; Abdelmageed, S.; Fares, A.; Fan, K.H.; Hu, Z.Y.; Zayed, T. Improving the leak detection efficiency in water distribution networks using noise loggers. Sci. Total Environ. 2022, 821, 153530. [Google Scholar] [CrossRef]
  18. Ahmad, S.; Ahmad, Z.; Kim, C.H.; Kim, J.M. A method for pipeline leak detection based on acoustic imaging and deep learning. Sensors 2022, 22, 1562. [Google Scholar] [CrossRef]
  19. Xu, W.; Fan, S.; Wang, C.; Wu, J.; Yao, Y.; Wu, J. Leakage identification in water pipes using explainable ensemble tree model of vibration signals. Measurement 2022, 194, 110996. [Google Scholar] [CrossRef]
  20. Fu, G.; Jin, Y.; Sun, S.; Yuan, Z.; Butler, D. The role of deep learning in urban water management: A critical review. Water Res. 2022, 223, 118973. [Google Scholar] [CrossRef]
  21. Yu, T.; Chen, X.; Yan, W.; Xu, Z.; Ye, M. Leak detection in water distribution systems by classifying vibration signals. Mech. Syst. Signal Process. 2023, 185, 109810. [Google Scholar] [CrossRef]
  22. Zhang, C.; Alexander, B.J.; Stephens, M.L.; Lambert, M.F.; Gong, J. A convolutional neural network for pipe crack and leak detection in smart water network. Struct. Health Monit. 2023, 22, 232–244. [Google Scholar] [CrossRef]
  23. Vanijjirattikhan, R.; Khomsay, S.; Kitbutrawat, N.; Khomsay, K.; Supakchukul, U.; Udomsuk, S.; Suwatthikul, J.; Oumtrakul, N.; Anusart, K. AI-based acoustic leak detection in water distribution systems. Results Eng. 2022, 15, 100557. [Google Scholar] [CrossRef]
  24. Choudhary, P.; Botre, B.A.; Akbar, S.A. 1-D convolution neural network based leak detection, location and size estimation in smart water grid. Urban Water J. 2023, 20, 341–351. [Google Scholar] [CrossRef]
  25. Islam, M.R.; Azam, S.; Shanmugam, B.; Mathur, D. A Review on Current Technologies and Future Direction of Water Leakage Detection in Water Distribution Network. IEEE Access 2022, 10, 107177–107201. [Google Scholar] [CrossRef]
  26. Shen, Y.; Cheng, W. A Tree-Based Machine Learning Method for Pipeline Leakage Detection. Water 2022, 14, 2833. [Google Scholar] [CrossRef]
  27. Choi, J.; Im, S. Application of CNN Models to Detect and Classify Leakages in Water Pipelines Using Magnitude Spectra of Vibration Sound. Appl. Sci. 2023, 13, 2845. [Google Scholar] [CrossRef]
  28. Yussif, A.M.; Sadeghi, H.; Zayed, T. Application of Machine Learning for Leak Localization in Water Supply Networks. Buildings 2023, 13, 849. [Google Scholar] [CrossRef]
  29. Ullah, N.; Ahmed, Z.; Kim, J.M. Pipeline Leakage Detection Using Acoustic Emission and Machine Learning Algorithms. Sensors 2023, 23, 3226. [Google Scholar] [CrossRef]
  30. Peterson, L.E. K-nearest neighbor. Scholarpedia 2009, 4, 1883. [Google Scholar] [CrossRef]
  31. Myles, A.J.; Feudale, R.N.; Liu, Y.; Woody, N.A.; Brown, S.D. An introduction to decision tree modeling. J. Chemom. A J. Chemom. Soc. 2004, 18, 275–285. [Google Scholar] [CrossRef]
  32. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
  33. Geurts, P.; Ernst, D.; Wehenkel, L. Extremely randomized trees. Mach. Learn. 2006, 63, 3–42. [Google Scholar] [CrossRef]
  34. Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
  35. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.-Y. Lightgbm: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems, Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017; NeurIPS Proceedings: Long Beach, CA, USA, 2017; Volume 30. [Google Scholar]
  36. Chen, T.; Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; Association for Computing Machinery: New York, NY, USA; pp. 785–794. [Google Scholar]
  37. Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A.V.; Gulin, A. CatBoost: Unbiased boosting with categorical features. In Advances in Neural Information Processing Systems, Proceedings of the 32nd Conference on Neural Information Processing Systems (NeurIPS 2018), Montréal, QC, Canada, 2–8 December 2018; NeurIPS Proceedings: Montréal, QC, Canada, 2018; Volume 31. [Google Scholar]
  38. Scikit-Learn: Machine Learning in Python. Available online: https://scikit-learn.org/ (accessed on 30 October 2023).
  39. A Fast, Distributed, High Performance Gradient Boosting (GBT, GBDT, GBRT, GBM or MART) Framework Based on Decision Tree Algorithms, Used for Ranking, Classification and Many Other Machine Learning Tasks. Available online: https://github.com/microsoft/LightGBM (accessed on 30 October 2023).
  40. Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and More. Runs on Single Machine, Hadoop, Spark, Dask, Flink and DataFlow. Available online: https://github.com/dmlc/xgboost (accessed on 30 October 2023).
  41. A Fast, Scalable, High Performance Gradient Boosting on Decision Trees Library, Used for Ranking, Classification, Regression and Other Machine Learning Tasks for Python, R, Java, C++. Supports Computation on CPU and GPU. Available online: https://github.com/catboost/catboost/ (accessed on 30 October 2023).
Figure 1. Flowchart of the proposed methodology.
Figure 1. Flowchart of the proposed methodology.
Sensors 23 08935 g001
Figure 2. Leak detection data from 10 Hz to 5120 Hz.
Figure 2. Leak detection data from 10 Hz to 5120 Hz.
Sensors 23 08935 g002
Figure 3. Maximum frequency and maximum leak size detected per leak detection (max 1~19).
Figure 3. Maximum frequency and maximum leak size detected per leak detection (max 1~19).
Sensors 23 08935 g003
Figure 4. Correlation analysis results for leak detection data from 10 Hz to 5120 Hz.
Figure 4. Correlation analysis results for leak detection data from 10 Hz to 5120 Hz.
Sensors 23 08935 g004
Figure 5. Example of random forest.
Figure 5. Example of random forest.
Sensors 23 08935 g005
Figure 6. Example of leaf-wise method.
Figure 6. Example of leaf-wise method.
Sensors 23 08935 g006
Figure 7. Example of XGBoost principle.
Figure 7. Example of XGBoost principle.
Sensors 23 08935 g007
Figure 8. Flow and water pressure monitoring structure.
Figure 8. Flow and water pressure monitoring structure.
Sensors 23 08935 g008
Figure 9. Flow and water pressure monitoring sensors.
Figure 9. Flow and water pressure monitoring sensors.
Sensors 23 08935 g009
Figure 10. Classification performance results of the KNN model in E1 experiment.
Figure 10. Classification performance results of the KNN model in E1 experiment.
Sensors 23 08935 g010
Figure 11. Classification performance results of the random forest model in E2 experiment.
Figure 11. Classification performance results of the random forest model in E2 experiment.
Sensors 23 08935 g011
Figure 12. Feature importance of the random forest model in E2 experiment.
Figure 12. Feature importance of the random forest model in E2 experiment.
Sensors 23 08935 g012
Figure 13. Classification performance results of the Random Forest model in E3 experiment.
Figure 13. Classification performance results of the Random Forest model in E3 experiment.
Sensors 23 08935 g013
Figure 14. Feature importance of the random forest model in E3 experiment.
Figure 14. Feature importance of the random forest model in E3 experiment.
Sensors 23 08935 g014
Figure 15. Classification performance results of the XGBoost model in E4 experiment.
Figure 15. Classification performance results of the XGBoost model in E4 experiment.
Sensors 23 08935 g015
Figure 16. Feature importance of the XGBoost model in E4 experiment.
Figure 16. Feature importance of the XGBoost model in E4 experiment.
Sensors 23 08935 g016
Table 1. Water pipeline leak detection dataset summary.
Table 1. Water pipeline leak detection dataset summary.
Water PipeStatus TypeLeak ClassTrain DataTest Data
Metallic Pipes: Steel Pipe (SP), Stainless Steel Pipe (STS), Ductile Cast Iron Pipe (DCIP)
Non-metallic Pipes: Polyethylene (PE), Polyvinyl chloride (PVC)
Leak detectionOutdoor leak (out)17,5392192
Indoor leak (in)13,2731659
Electric noise (noise)5029629
Other noise (other)7019878
UndetectedNormal noise (normal)19,7042462
Total2562,5647820
Table 2. Format and description of water pipeline leak detection data.
Table 2. Format and description of water pipeline leak detection data.
NameColumnDescriptionFormat or RangeType
Site no.siteSite number where the leak detection sensor is installed (identifier 1)S-00000000string
Sensor no.sidLeak detection sensor number (identifier 2)S-00000
00000
00000
string
Date of leak detectionldateThe date the leak event was detected (identifier 3)YYYYMMDDstring
Leak ratelrateDaily dawn hours for a total of 10 leak detection leak detection and set a schedule threshold over a certain threshold and display the result as a probability (Automatically create a leak detection sensor)0~90int
Leak levelllevelDaily at dawn a total of 10 water leak detection leak detection, and if the threshold over a certain threshold and display the average value.
(Automatically create a leak detection sensor)
0~5000int
Leak Detection ClassificationleaktypeIndicates whether a leak is detected.outdoor leak (out),
indoor leak (in),
electric noise (noise),
other noise (other),
normal noise (normal)
string
Leak Detection Frequency Range
(512 columns)
0 HzLeakage vibration magnitude detected at frequency 0 Hz0int
10 HzLeakage vibration magnitude detected at frequency 10 Hz0~5000int
5120 HzLeakage vibration magnitude detected at frequency 5120 Hz0~5000int
Maximum by number of leak detections (20 columns)MAX0Maximum frequency Hz detected in one leak detection0~5120int
MAX1Maximum leak size detected at one leak detection0~5000int
Maximum frequency Hz and maximum leak size detected in the number of leak detections0~5000int
MAX18Maximum frequency Hz detected in 10 leak detections0~5120int
MAX19Leak detection 10 times maximum leak size0~5000int
Table 3. Distances by water and sewer pipes in South Korea (2020).
Table 3. Distances by water and sewer pipes in South Korea (2020).
ClassificationTypeDistance (m)
Metallic PipesECSP975,242
LECSP9,983,024
CIP12,379,317
DIP56,089,910
GSP762,782
CP273,259
SSP25,565,017
Non-metallic PipesPVC24,061,418
IRWP29,260,560
PE44,812,817
HP35,990
Other PipesOTH16,023,203
Total 228,322,539
Table 4. Features used in the model per experiment.
Table 4. Features used in the model per experiment.
No.FeaturesTarget
E1Leak Detection Frequency Range (512 columns)Leak
Detection
Classification
(leaktype)
E2Leak detection frequency range (512 columns) + Maximum by number of leak detections (20 columns)
E3Leak rate + Leak level + Leak detection frequency range (512 columns) + Maximum by number of leak detections (20 columns)
E4Site number + Sensor number + Date of leak detection + Leak rate + Leak level + Leak detection frequency range (512 columns) + Maximum by number of leak detections (20 columns)
Table 5. Compare performance by model for the E1 experiment.
Table 5. Compare performance by model for the E1 experiment.
ModelAccuracyAUCRecallPrecisionF1KappaMCCTraining Time
KNN0.91330.98180.91330.91350.91330.88570.88572.1840
XGBoost0.89170.98360.89170.89130.89030.85610.856741.6480
MLP0.87880.97590.87880.88100.87890.84020.840719.7120
Random Forest0.87800.98070.87800.87940.87550.83720.83872.8340
LightGBM0.87650.97970.87650.87640.87480.83580.83668.3830
CatBoost0.87080.97810.87080.87000.86840.82800.829060.2310
Extra Trees0.83890.97240.83890.84430.83350.78340.78722.8490
Decision Tree0.77050.85290.77050.77080.77060.69730.69732.2730
Gradient Boosting0.69780.90890.69780.70160.67910.58990.597994.0720
Table 6. Compare performance by model for the E2 experiment.
Table 6. Compare performance by model for the E2 experiment.
ModelAccuracyAUCRecallPrecisionF1KappaMCCTraining Time
Random Forest0.91150.98920.91150.91130.90990.88230.88302.8770
XGBoost0.90080.98600.90080.90170.90010.86850.869146.6050
LightGBM0.89710.98500.89710.89810.89620.86350.86428.7430
CatBoost0.89330.98460.89330.89280.89200.85850.859061.5220
Extra Trees0.86550.97970.86550.86680.86110.81990.82212.7550
MLP0.84720.97010.84720.85320.84780.79920.800424.8520
Decision Tree0.80760.87890.80760.80790.80770.74630.74632.1420
KNN0.75320.92010.75320.75320.75210.67380.67442.2280
Gradient Boosting0.73600.93020.73600.74940.72310.64390.6526100.9720
Table 7. Compare performance by model for the E3 experiment.
Table 7. Compare performance by model for the E3 experiment.
ModelAccuracyAUCRecallPrecisionF1KappaMCCTraining Time
Random Forest0.92210.99110.92210.92250.92120.89670.89722.5410
XGBoost0.90300.98680.90300.90350.90230.87150.872038.0860
CatBoost0.89720.98570.89720.89730.89630.86370.864261.6760
LightGBM0.89620.98530.89620.89700.89540.86240.86308.6350
Extra Trees0.89600.98590.89600.89690.89380.86160.86272.2420
MLP0.84730.97230.84730.85330.84620.79810.800028.6360
Decision Tree0.83210.89490.83210.83210.3200.77850.77851.7550
KNN0.75060.91850.75060.75070.74970.67050.67102.2210
Gradient Boosting0.73690.93000.73690.75410.72390.64480.654799.8280
Table 8. Compare performance by model for the E4 experiment.
Table 8. Compare performance by model for the E4 experiment.
ModelAccuracyAUCRecallPrecisionF1KappaMCCTraining Time
XGBoost0.99791.00000.99790.99790.99790.99730.997337.9660
LightGBM0.99711.00000.99710.99720.99710.99620.99628.7510
CatBoost0.99500.99980.99500.99510.99500.99340.993460.6540
Gradient Boosting0.99090.99990.99090.99120.99100.98810.9881100.3840
Decision Tree0.98780.99270.98780.98780.98780.98390.98391.3310
Random Forest0.98280.99940.98280.98280.98270.97730.97742.4130
Extra Trees0.97210.99870.97210.97210.97180.96310.96322.0980
KNN0.82960.95410.82960.82960.82910.77510.77532.2800
MLP0.40840.63360.40840.40840.32890.24020.299016.3160
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lee, S.; Kim, B. Machine Learning Model for Leak Detection Using Water Pipeline Vibration Sensor. Sensors 2023, 23, 8935. https://doi.org/10.3390/s23218935

AMA Style

Lee S, Kim B. Machine Learning Model for Leak Detection Using Water Pipeline Vibration Sensor. Sensors. 2023; 23(21):8935. https://doi.org/10.3390/s23218935

Chicago/Turabian Style

Lee, Suan, and Byeonghak Kim. 2023. "Machine Learning Model for Leak Detection Using Water Pipeline Vibration Sensor" Sensors 23, no. 21: 8935. https://doi.org/10.3390/s23218935

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop