RDE: A novel approach to improve the classification performance and expressivity of KDB

Bayesian network classifiers (BNCs) have demonstrated competitive classification performance in a variety of real-world applications. A highly scalable BNC with high expressivity is extremely desirable. This paper proposes Redundant Dependence Elimination (RDE) for improving the classification performance and expressivity of k-dependence Bayesian classifier (KDB). To demonstrate the unique characteristics of each case, RDE identifies redundant conditional dependencies and then substitute/remove them. The learned personalized k-dependence Bayesian Classifier (PKDB) can achieve high-confidence conditional probabilities, and graphically interpret the dependency relationships between attributes. Two thyroid cancer datasets and four other cancer datasets from the UCI machine learning repository are selected for our experimental study. The experimental results prove the effectiveness of the proposed algorithm in terms of zero-one loss, bias, variance and AUC.


Introduction
Data mining is the analysis step of the "knowledge discovery in databases" process and its goal is the extraction of patterns and knowledge from large amounts of data. During the past decades, statistical models, such as Bayesian network, neural network and support vector machine, have been proposed and applied in many real life applications, e.g. precision medicine. Due to the high prediction performance of these statistical models, researchers would like to gain an understanding of the reasons behind such a prediction, especially when the prediction contradicts their intuition. For example, physicians are typically not only interested in the final prediction, but also like to understand the underlying inference procedure that may help explain why the system makes a certain recommendation. An explanatory, causal and graphical model is more desirable to visualize and mine previously undiscovered knowledge from data [1].
Bayesian network classifiers (BNCs) have long been a popular tool for graphically representing the probabilistic dependencies and inferring under conditions of uncertainty [2][3][4][5]. Numerous BNCs (e.g., Naive Bayes (NB) [6], tree augmented Naive Bayes (TAN) [7], a1111111111 a1111111111 a1111111111 a1111111111 a1111111111 Averaged One-Dependence Estimators (AODE) [8] and k-dependence Bayesian classifier (KDB) [9][10][11] have been proposed to mine dependency relationships from data. Among them, KDB can generalize to describe any higher degrees of attribute dependence. KDB provides the "average network" to express significant dependencies and this "one size fits all" solution obviously cannot apply to all cases. Patients with similar symptoms may have different kinds of diseases. For example, because of low incidence rate, AIDS (Acquired Immune Deficiency Syndrome) at early stage is often diagnosed as influenza [12]. How to enable person to have "personalized network", which can describe the dependency relationships among specific characteristics or attributes for each case, is still challenging. Local graph structure KDB P [2] takes each case or unlabeled testing instance P as a target and can describe local causal relationships implicated. However, the number of conditional dependencies in KDB P is determined by user-specified parameter k. Some redundant dependencies should be replaced with more meaningful or "personalized" dependencies that only hold in specific instances.
In this paper, a new approach, called Redundant Dependency Elimination (RDE), is proposed to identify redundant conditional dependencies in KDB P and then substitute/remove them at classification time. The resulting optimized network structure of KDB P , denoted by KDB O , can increase the confidence level of conditional probabilities. The final personalized classifier, PKDB, is an ensemble of KDBs learned from training data and testing instance respectively. PKDB combines the computational efficiency of classical generative learning with the control of bias/variance trade-off. Two thyroid disease datasets and four other cancer datasets from the UCI machine learning repository are selected for our experimental study. The experimental results show the advantages of PKDB over other classifiers.

Classifiers
LibSVM [13] and Random forest [14] are introduced in this paper for comparison study. We use Weka's implementations and default settings of Random forest with the exceptions of 20 decision trees. We use Weka's implementations and default settings of LibSVM and performing a "grid-search" on C and γ for the RBF kernel using 5-fold cross-validation. Each pair of (C, γ) is tried (C = 2 −5 , 2 −3 , Á Á Á, 2 15 , γ = 2 −15 , 2 −13 , Á Á Á, 2 3 ) and the one with the lowest cross-validation zero-one loss is selected. For clarity, the abbreviation of algorithms mentioned above is shown in Table 1. Table 1. Abbreviation of algorithms introduced in this paper.

Index
Description Abbreviation

Data
Six datasets from UCI machine learning repository [15] are selected in this paper for case study. The detailed introduction of these datasets are shown in Table 2, which summarizes the characteristics of each dataset, including the numbers of instances, attributes and classes. For each benchmark dataset, we use MDL discretization [16] to discretize quantitative attributes using 3-bin equal frequency discretization.

Metrics
Zero-one loss is one of the most commonly used metrics to measure the classification performance of a classifier. Zero-one loss can measure how well a classifier correctly identifies or discriminate an unlabeled instance. Let X and Y be the input and output spaces respectively, and elements x and y respectively. The zero-one loss function for instance x is defined as [17]: where dðy;ŷÞ ¼ 1 ifŷ ¼ y and zero otherwise, y andŷ are respectively the true class label and predicted label of x. Kohavi and Wolpert presented a bias-variance decomposition of the zeroone loss function [17]. The bias term measures the squared difference between the average output of the target and the algorithm, and it is defined as follows [17]: The variance term measures the sensitivity of the algorithm to the changes in the training set, and it is defined as follows [17]: In machine learning, the bias-variance tradeoff is a central problem for supervised learning. Ideally, one wants to choose a model that both accurately captures the regularities in its training data, but also generalizes well to unseen data. Unfortunately, it is typically impossible to do both simultaneously. High-variance learning methods (e.g., high-dependence BNCs) are usually more complex, enabling them to capture more complex multivariate relationships, but at risk of overfitting to noisy or unrepresentative training data. In contrast, high-bias component of zero-one loss is highly appealing to simpler models that don't tend to overfit, but may underfit their training data, failing to capture important regularities.
The statistical hypothesis test, e.g. Friedman test [18], can test the null hypothesis of no differences between algorithms. Friedman test ranks the algorithms for each data set separately: the best performing algorithm getting the rank of 1, the second best ranking 2, and so on. In case of ties, average ranks are assigned. The Friedman statistic can be computed as follows [18]: where R j ¼ P i r j i and r j i is the rank of the j-th of t algorithms on the i-th of N datasets. Sensitivity measures the proportion of actual positives that are correctly identified and specificity measures the proportion of actual negatives that are correctly identified. Receiver operating characteristic curve, i.e. ROC curve, is a powerful tool to illustrate the diagnostic ability of a binary classifier by plotting the true positive rate (Sensitivity) against the false positive rate (100-Specificity) for different cut-off points. Each point on the ROC curve represents a sensitivity/specificity pair corresponding to a particular decision threshold. The ROC curve graphically displays the trade-off between sensitivity and specificity and is useful in assigning the best cut-offs. The area under the ROC curve (AUC) [19] provides a simple numeric measure indicating the performance over the visual comparison of ROC curves.

Bayesian network classifiers
Given class variable Y and a set of discrete attributes X = {X 1 , X 2 , Á Á Á, X n } (In the following formulas, all variables are assumed to be discrete.) the aim of supervised learning is to predict the discrete class label y of a testing instance x = (x 1 , Á Á Á, x n ), where x i is the value of attribute X i and y is the value of class variable Y. The restricted BNCs, e.g., KDB, model joint probability distribution P(x, y) according to chain rule, which can be described in the form of a product of a set of conditional probabilities.

Pðx; yÞ ¼ PðyÞ
where P i represents the parent attribute set of X i . From the definition of conditional probability, we use the following Formula to classify When attribute number n is high and/or data size N is relatively small, it would be difficult to obtain a sufficiently accurate estimate of P(x i |P i , y) from the sample frequencies. One popular solution is to restrict the number of parents of each attribute while trying to retain accurate estimate of P(x i |P i , y). That is, given attribute subsetP i & P i , Pðx i jP i ; yÞ % Pðx i jP i ; yÞ holds. Sahami [11] proposed the notion of k-dependence BNC, which allows each attribute X i to have a maximum of k attribute nodes as parents.
NB is the simplest of the BNCs, assuming that all attributes are independent given the class. There exist no dependency relationships between attributes and thus NB is a 0-dependence BNC. AODE utilizes a restricted class of one-dependence estimators (ODEs) and aggregates the predictions of all qualified estimators within this class. TAN relaxes NB's independence assumption by allowing every attribute to have at most one other attribute as parent. Its basic structure extends the Chow-Liu tree [20] to a maximum spanning tree. The arc or conditional dependence between attributes X i and X j is measured by conditional mutual information (CMI) I(X i ; X j |Y) given class variable, which is defined as follows [21], KDB further relaxes NB's independence assumption by allowing any attribute X i to be conditioned on at most k other attributes, i.e., at most k arcs from other attributes to X i . Unlike TAN, KDB requires to determine the attribute order by comparing the mutual information (MI) I(X i ; Y) between attribute X i and class Y, which is defined as follows [21], The learning procedures of KDB is described in Algorithm 1.

Algorithm 1: Structure learning of KDB
KDB can represent the "average knowledge" or "expert knowledge" mined from data, that roughly describes the dependency relationships between different inputs, e.g., the dependency relationship between {Gender, Age} and TSH. However, KDB cannot finely describe the dependency relationships in different patient records, e.g., the relative independency relationship between {Gender = "male", Age = 20} and TSH = "yes", or the relative dependency relationship between {Gender = "female", Age = 45} and TSH = "yes". In contrast, KDB P represents "personalized knowledge" mined from instance P. The "average knowledge" learned from labeled training data and the "personalized knowledge" learned from unlabeled testing instance are complementary in nature. Thus they should be considered simultaneously for classification. To achieve this goal, KDB P applies the same learning strategy that KDB uses. Given testing instance P ¼ ðx 1 ; Á Á Á ; x n Þ, KDB P sorts attributes by comparing local mutual information (LMI) I(x i ; x j |Y) and choose appropriate conditional dependencies by comparing conditional local mutual information (CLMI). LMI and CLMI are defined as follows [2], From the viewpoint of information theory, MI or I(X i ; Y) can measure the uncertainty reduction in Y given the information from X i . The attributes corresponding to greater reduction will get higher rank and added to the network structure in priority. By comparing formulas (5) and (6) we can see that, . MI refers to the average of all possible events, and it is the expected value of LMI over all possible values of X i . LMI can be used to measure the uncertainty reduction in Y given the information from , we can get similar results that I(x i ; x j |Y) can measure the conditional dependence between X i and X j when they take specific values.
The ensemble of KDB and KDB P , i.e., AKDB [2], has better overall prediction accuracy, on average, than any individual member. KDB and KDB P apply the same learning strategy whereas model different data spaces (training data and testing instance). It is difficult to judge which output from these two classifiers should be considered in priority. The linear combiner is used for models that output real-valued numbers, so is applicable for BNC. In practice, it is inappropriate to pre-determine the weight of subclassifier. Thus in practice AKDB uses the uniformly rather than nonuniformly weighted average. The ensemble probability estimate iŝ Given m class labels, the class label y Ã of unlabeled instance x corresponds to the highest value of posterior probability ofPðyjx; AKDBÞ, where y 2 {y 1 , Á Á Á, y m }, i.e., The classification procedure of AKDB is shown in Algorithm 3.

Redundant dependency elimination
Suppose that P i = {X 1 , Á Á Á, X i−1 }, from the chain rule of mutual information we have [21] The same strategy is also applicable to KDB P . Obviously, the dependency relationships between the parent attributes of X i are neglected, that will inevitably result in estimation bias. For different instances, the dependency relationships may differ. Here, we introduce Pointwise mutual information (PMI) I(x i ; x j ) and Pointwise conditional mutual information (PCMI) I(x i ; x k |x j ) to address this issue. The definitions of PMI and PCMI are as follows [22], The dependency relationships in KDB P that are relevant or irrelevant to class labels are respectively measured by formulas (6) and (10), the confidence levels of which are determined by the estimation of probability distributions. The probability distributions have to be estimated from training data before structure learning. For small datasets, the sparsely distributed attribute values make the estimation of lower-order probability estimations much more reliable than that of the higher-order ones. If the probability distributions learned from training data are not reliable, the resulting non-robust classifier will make wrong prediction. That may be the main reason why NB offers competitive performance with high efficiency, strong robustness and loose coupling on some small datasets.
PMI and PCMI refer to single events. Like MI, PMI also follows the chain rule, i.e., In computational linguistics, PMI has been used for finding co-occurrences of words in a text corpus and to approximate the probabilities P(x) and P(x, y) respectively. MI can roughly measure the dependency relationship between the associated variables, but cannot measure the inherent relational mapping between specific variable values. Given two attributes X i , X j , each having two values and <X i , X j > = {(1, 1), (1, 2), (2, 2)} for example, obviously when X i = 1 the uncertainty of X j reaches a maximum, whereas when X i = 2 the uncertainty of X j is reduced to zero. In practice, it may be the case that certain values are more significant than others, or that certain patterns of association are more semantically important than others. Further, it is desirable to obtain reasonable causal relationships for causality analysis rather than a simple classification result. Considering an example of a substructure shown in Fig 1(a). Corresponding training data is presented in Table 3. In this example, X i has two parents X j , X k and its conditional probability is P(x i |x j , x k , y).
KDB or KDB P just consider the conditional dependence between X i and its parents, and the relationships among parents are neglected, that may not help to increase the confidence level of P(x i |P i , y) or reduce the uncertainty of X i when it takes specific values. For testing instance P, its class label is unknown thus Redundant Dependency Elimination (RDE) just considers the dependency relationships between attribute values. For example, given  Table 3. An example of training data with four attributes, in which the mapping relationships between {X i , X j , X k } are shown.  Table 3, from the chain rule of PMI we will have Thus I(x i ; x j , x k ) = I(x i ; x j ), i.e., x k does not provide any extra valuable information to reduce the uncertainty of x i . To further increase the conditional probability of x i , we should select another attribute value, e.g., x t , to take the place of x k . If I(x i ; x t |x j ) > 0, then Thus the larger the difference is, the more appropriate X t is as the parent of X i . If the attributes are sorted by comparing I(x i ; Y) and the resulting order is {x 1 , Á Á Á, x n }, then x i can select at most k parents from i − 1 attributes that ranks higher. Suppose that its parents are sorted by comparing I(x i ; x j |Y)(j < i) and the order is fx 1 ; Á Á Á ;x iÀ 1 g, RDE first operates by iteratively identifying redundant parents of each attribute. It uses the criterion to infer that except the informationx 1 provides to x i ,x j can provide extra information to x i , whereX j 2 P i and 1 < j i − 1, δ is a minimum redundancy ratio. If there exist attribute values that make formula (14) hold, then an appropriate parent of x i should be selected from them. This process is terminated if there is no redundancy or no substituted attribute available. We keep the attribute value with the smallest index and disregard the other attribute values. For instance, ifx 2 ;x 3 andx 4 hold for formula (14), we only takex 2 as the parent of x i . Starting from the basic network structure learned from testing instance, KDB O repairs "harmful" interdependencies by applying RDE to remove highly correlated attribute values in classification time. Note that attribute selection approaches, such as Backwards sequential elimination (BSE, [23,24]), simply remove attributes to achieve zero-one loss improvement. BSE operates by iteratively removing successive attributes until no zero-one loss improvement. According to Formula 2, attribute X i can have at most i − 1 parents, i.e., there exists i − 1 conditional dependencies between X i and its parents. If X i is removed from Bayesian network structure, then i − 1 conditional dependencies will be implicitly removed correspondingly. That will result in great change in network structure and classification bias. In contrast, RDE retains all attributes and resolve such interdependencies with much more flexible strategy and finer tuning, as for some test instances one conditional dependence may be identified as redundant and then substituted or removed, for other test instances it may hold.
One effective way of resolving the trade-off between bias and variance is to use ensemble learning [9,25]. For example, boosting combines many "weak" (high bias) models in an ensemble that has lower bias than the individual models, while bagging combines "strong" learners in a way that reduces their variance. KDB  PKDB can represent arbitrary k-dependence relationships. It seems that PKDB with higher degree of attribute dependence will more closely fit the training data and can achieve better generalization performance than those with lower degree of attribute dependence. However, higher degree of attribute dependence needs more training instances to ensure more accurate estimation of conditional probability. From Table 2, the thyroid disease datasets for experimental study contain relatively small number (< 3800) of instances but large number (! 25) of attributes. To make resulting algorithm combine the computational efficiency of classical generative learning with the control of bias/variance trade-off, in the following discussion we restrict PKDB to be 2-dependence, i.e., k = 2, as used in [2]. Since attribute X i can have k parent attributes with higher ranks, the problem of redundant dependency arises when i ! k + 2. The detailed learning procedure of PKDB is presented in Algorithm 4.

Results
The experimental system is implemented in C++. The experiments are conducted on a desktop computer with an Intel(R) Core(TM) i5-7200 CPU @3.20GHz, 64 bits and 12,288 MB of memory. For the BNCs to be compared, 10-fold cross validation is applied to obtain an accurate estimation of the average performance. For each fold, leave-one-out cross validation zero-one loss [26] [27] is used as selection criterion to determine δ in Formula (14). Table 4 summarizes the experimental results in terms of zero-one loss, bias, variance and AUC. The Friedman statistic is distributed according to X 2 F with t − 1 degrees of freedom. Thus, for any pre-determined level of significance α, the null hypothesis will be rejected if X 2 F > X a F . The critical value of X a F for α = 0.05 with seven degrees of freedom is 14.07. The Friedman statistic of zero-one loss in Table 4 is 15.32, which is larger than 14.07. Hence, the null-hypotheses is rejected and these classifiers are different.
Quinlan believed that the two relatively large datasets, i.e. Dis and Hypothyroid, have been corrupted [28] and many missing values exist (6064 missing values in dataset Dis and 5329 missing values in dataset Hypothyroid). When we substitute these missing values with a specific value, i.e., "?" or unknown, noise is artificially introduced and the performance of learned classifier may be degraded. For the other four small datasets with less than 800 instances, the training data provided only accounts for a small portion of the full dataset. Thus the estimation of conditional probability will be of low-confidence. Relatively simple structure resulted from underfitting rather than overfitting may help to improve the classification performance of learning algorithm. From the experimental results of zero-one loss in Table 4 we can see that, classifiers with complex structure don't necessarily enjoy significant advantage over classifiers with simple structure. For example, KDB, LibSVM and RF perform poorer than NB on datasets Breast-cancer-w and Heart-disease-c. However, KDB P provides an effective way to learn high-confidence dependency relationships implicated in testing instance. RDE can remove the redundant dependency relationships that are irrelevant to class label and add high-confidence conditional dependencies. The negative effect caused by noise and insufficient data will be mitigated to some extent. AKDB performs better than KDB. PKDB even performs the best among all classifiers in terms of zero-one loss.
We then clarify from the viewpoint of bias-variance decomposition. The experimental results of variance are reasonable that AODE achieves higher variance than NB because of its complex structure. However, AODE achieves higher bias on dataset Dis, which means underfitting to some extent. Since AODE indiscriminately represents all 29 Ã 28 = 812 conditional dependencies, some weak dependencies may represent a large noise component in the training set and counteract the effect the strong dependencies, making it underfit dataset Dis and its prediction less accurate than NB. For dataset Hypothyroid AODE only needs to represent 25 Ã 24 = 600 conditional dependencies and negative effect of weak dependencies can be mitigated. When k = 2, KDB can represent 0 + 1 + 2Á Á Á + 2 = 49 conditional dependencies (as shown in Fig 2 whereas TAN only needs to represent 28 conditional dependencies. Thus KDB achieves higher variance since it fits training set well even there exists noise. As a result, the KDB does not fit the testing instance much better than TAN. Noisy training data will reduce the confidence level of the classification model. For classifiers learned from the other four small datasests, overfitting is almost inevitable. KDB, LibSVM and RF perform poorer than NB on datasets Breast-cancer-w and Heart-disease-c in terms of variance. How to reduce variance is a crucial point for improving classification accuracy. RDE helps to mitigate the negative effect of overfitting, thus the variance for PKDB is always lower than that for AKDB and KDB.  [17] TAN [16] KDB [18] AKDB [11] PKDB LibSVM Random Forest

Zero-one loss
AUC is often used to evaluate the classification performance while dealing with imbalanced data. From Table 4 we can see that, TAN and KDB perform better than NB more often than not on small datasets. That indicates although the negative effect caused by overfitting may reduce the classification accuracy, the dependency relationships implicated will help to improve the the discriminatory power of BNCs. The definitions of LMI and CLMI considers all possible values of class variable, thus KDB P cannot overfit the given testing instance P, but provides a possible dependence tree structure to describe the relationships among attribute values in P. The advantage of PKDB over other classifiers in AUC is especially obvious on datasets Dis and Hypothyroid. In contrast, AKDB also uses the personalized KDB P , it performs much worse. This can be attributed to the low-confidence dependency relationships mined from these small datasets. LibSVM performs poorer on datasets Dis and Hypothyroid but better on the other four small datasets. RF demonstrates significant robustness while dealing with relatively large or small datasets.

Discussion
Doctors may need to determine if blood tests are necessary for patients due to their respective risk factors, e.g., family history of goitres, Gender or Age. By computing LMI, CLMI from the local perspective, KDB O , which learns from individual testing instance, is obviously an example of learners for precision medicine. PKDB can utilize the information provided by the training set and testing instances with the help of the aggregating mechanism. To prove this, we take two cases for example from Hypothyroid dataset, which take different class labels. The first case that is diagnozed as "hypothyroid" is shown as follows where '?' is used to denote a value that is missing or unknown. The attribute values in case 1 have been sorted by comparing I(x i ; Y). Among them, x 19 or TSH ranks the highest, thus the level of TSH is closely related to some definite results and further tests will be needed. The full network structure with 25 attributes are too complex (47 arcs or conditional dependencies) to explain, so we just select one substructure to clarify. The conditional dependencies in KDB P and KDB, which focus on attributes {X 8 , X 6 , X 9 }, are respectively shown in Figs 3(a) and 4. In  Fig 3(a), the testing result of X 22 (T4U) can explain why the patient does not feel sick(X 8 = f), thus X 6 (query on hyperthyroid) does not provide valuable information. The arc X 6 ! X 8 is removed. By comparing KDB shown in Fig 4 and KDB O shown in Fig 3(b), the limitation of KDB in precise representation is obvious. Hyperthyroidism is a condition in which thyroid gland produces too much of the hormone thyroxine. One symptom for hyperthyroid is an enlarged thyroid gland, which may appear as a swelling at the base of one's neck. It is reasonable in Fig 3(b) that X 9 (tumor) is related to X 6 (query on hyperthyroid) whereas in Fig 4  X 9 (tumor) is related to X 5 (query on hypothyroid). To judge the possibility of hypothyroidism, blood tests (including TSH(X 12 ), T3(X 20 ) and T4U(X 22 )) are needed. The close relationships can be clearly seen in  The arcs X 6 (Query hyperthyroid) ! X 8 (Sick), X 12 (TSH measured) ! X 9 (Tumor) in (a) are identified as redundant and removed. As shown in (b), no more attributes with higher ranks are considered as possible parents of X 8 and X 9 . https://doi.org/10.1371/journal.pone.0199822.g003 The detail of the second instance that is diagnozed as "negative" is shown as follows, Case2 ¼ ðx 23 ¼ 51; x 21 ¼ 37; x 20 ¼ 0:5; x 19 ¼ 9:7; x 22 ¼ 0:72; x 13 ¼ y; x 12 ¼ y; x 1 ¼ t; The conditional dependencies in KDB P and KDB, which focus on attributes {X 1 , X 15 , X 16 }, are respectively shown in Figs 5(a) and 6. The information implicated in some attribute values may overlap or even cover that in other attribute values. For example, "TSH measured = y" is a premise of "TSH = 4.6". "Sex = F" is a premise of "Pregnant = t". Although there exist strong dependencies between these attribute values and they may appear simultaneously as the coparents of some attributes, this kind of dependencies are redundant and should be substituted. The arc X 12 ! X 1 is removed from Fig 5(a) and we should find another parent for X 1 as shown in Fig 5(b). To provide accurate diagnosis for hypothyroid, the blood tests of TT4 and FTI are always used simultaneously. Thus the arc X 15 ! X 16 is also redundant and should be removed. The limitation of KDB in scalability is obvious. As shown in Fig 6, the value of X 13 (T3 measured) is a premise of the value of X 20 (T3). When they appear as the co-parents of some other attribute, e.g., X 1 , the conditional probability P(x 1 |x 13 , x 20 , y) will approximate the estimate of P(x 1 |x 20 , y). X 13 (T3 measured) cannot provide any valuable information to X 1 .

Conclusion and future work
KDB P takes instance P as the target and its network structure describes the dependency relationships in P. Because of the computational overhead, only a limited number of dependencies, which are determined by parameter k, can be described by KDB P . The proposed approach, RDE, is a filter that transforms the testing instance to substitute these redundant dependencies with other dependencies at classification time. The experimental results show that the classification accuracy (or zero-one loss) and robustness (bias and variance) are significantly enhanced by the addition of RDE. Besides, the dependency relationships that RDE identified in testing instance are irrelevant to class label, thus it is especially applicable to imbalanced data, e.g. Dis and Hypothyroid. That may be the main reason why RDE obtains the highest AUC values among all the BNCs on the datasets Dis and Hypothyroid.  The arcs X 12 (TSH measured) ! X 15 (Query hypothyroid) and X 15 (T4U measured) ! X 16 (FTI measured) in (a) are identified as redundant and removed. No more attributes with higher ranks are considered as possible parents of X 15 and X 16 . Arc X 12 (TSH measured) ! X 1 (On thyroxine) is substituted with arc X 20 (T3) ! X 1 (On thyroxine).
https://doi.org/10.1371/journal.pone.0199822.g005 RDE searches for the mapping relationships between specific attribute values and then identifies redundant ones. Thus it is suited to probabilistic techniques which deal with discrete attributes, such as KDB. RDE can also be extended to deal with continuous attributes. One possible solution is that, if the conditional probability density function p(x j |x i ) is relatively high (or greater than a specified value δ) then the mapping relationship x i ! x j is supposed to exist and x j is redundant. The estimation of p(x j |x i ) should be learned reliably from training data and the data size should be very large. Although the estimation of p(x j |x i ) will be time-consuming and more experimental study is needed to determine the value of δ for different attributes, the research work on extending RDE is still very promising.