Next Article in Journal
Precise Identification of Prostate Cancer from DWI Using Transfer Learning
Previous Article in Journal
LightGBM Indoor Positioning Method Based on Merged Wi-Fi and Image Fingerprints
Previous Article in Special Issue
Dynamic Models Supporting Personalised Chronic Disease Management through Healthcare Sensors with Interactive Process Mining
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Diabetic Retinopathy Prediction by Ensemble Learning Based on Biochemical and Physical Data

1
School of Informatics, Xiamen University, Xiamen 361005, China
2
Department of Microelectronics and Nanoelectronics, Tsinghua University, Beijing 100876, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(11), 3663; https://doi.org/10.3390/s21113663
Submission received: 19 April 2021 / Revised: 15 May 2021 / Accepted: 20 May 2021 / Published: 25 May 2021

Abstract

:
(1) Background: Diabetic retinopathy, one of the most serious complications of diabetes, is the primary cause of blindness in developed countries. Therefore, the prediction of diabetic retinopathy has a positive impact on its early detection and treatment. The prediction of diabetic retinopathy based on high-dimensional and small-sample-structured datasets (such as biochemical data and physical data) was the problem to be solved in this study. (2) Methods: This study proposed the XGB-Stacking model with the foundation of XGBoost and stacking. First, a wrapped feature selection algorithm, XGBIBS (Improved Backward Search Based on XGBoost), was used to reduce data feature redundancy and improve the effect of a single ensemble learning classifier. Second, in view of the slight limitation of a single classifier, a stacking model fusion method, Sel-Stacking (Select-Stacking), which keeps Label-Proba as the input matrix of meta-classifier and determines the optimal combination of learners by a global search, was used in the XGB-Stacking model. (3) Results: XGBIBS greatly improved the prediction accuracy and the feature reduction rate of a single classifier. Compared to a single classifier, the accuracy of the Sel-Stacking model was improved to varying degrees. Experiments proved that the prediction model of XGB-Stacking based on the XGBIBS algorithm and the Sel-Stacking method made effective predictions on diabetes retinopathy. (4) Conclusion: The XGB-Stacking prediction model of diabetic retinopathy based on biochemical and physical data had outstanding performance. This is highly significant to improve the screening efficiency of diabetes retinopathy and reduce the cost of diagnosis.

1. Introduction

Diabetes is one of the fastest growing health challenges in the 21st Century. According to the Global Diabetes Atlas [1], there will be 578 million adults with diabetes by 2030. Diabetic retinopathy is one of the most serious complications of diabetes, and it is the commonest cause of legal blindness in the working age population of developed countries [2], so the prevention of diabetic retinopathy cannot be ignored. With the spread of sensor devices and hospital information technology, diabetes data resources are becoming more available. Disease prediction methods based on data mining are increasingly used in real disease diagnosis scenarios, which can also significantly help the prediction and diagnosis of diabetic retinopathy.
Diabetic retinal data include image data and non-image structured data. According to different datasets in the diabetic retinopathy task, different methods are used in data mining. For massive retinal image data, experts often use deep learning to solve problems [3,4]. For structured data, the main prediction method is machine learning, for example: SVM, decision tree, and LR [5]; and the bagging ensemble classifier [6]. In the chronic diabetic retinopathy dataset, the medical association among diseases and physical examination indicators is more complex. For small high-dimensional samples with complex feature association, simple models and individual learners such as SVM and LR easily underfit and have poor performance.
Complex feature association affects the effect of data mining and has higher requirements for algorithm selection. Ensemble learning is a good choice. Ensemble learning produces a group of individual learners and then combines them with some strategies, such as bagging, boosting, and stacking [7]. It has been proven to be better than a single model, which is efficient to increase the accuracy and stability of classification algorithms [8]. However, the boosting and stacking methods are rarely used to predict diabetic retinopathy. For the ensemble algorithms, boosting is an effective and popular ensemble method in machine learning. Gradient Boosting Decision Trees (GBDTs) such as GBDT [9], XGBoost [10], LightGBM [11], and CatBoost [12] have become very successful in recent years, with many awards in machine learning and data mining competitions. In ensemble learning, stacking is a general ensemble method in which many base classifiers are combined using one meta-classifier, which learns from their outputs to reduce the limitations of a single model. Stacking has been proven to be an efficient model combination method that can improve the performance of a single model.
Therefore, this paper took the data of structured diabetic retinopathy as the research object and proposed new methods based on ensemble learning in feature selection and model construction. The contributions of this paper are as follows:
  • A new wrapped feature selection algorithm, XGBIBS (Improved Backward Search Based on XGBoost), was proposed to reduce feature redundancy and improve the effect of a single ensemble learning classifier. The buffer feature subset was added to make it possible to operate on multiple features, and XGBIBS searches for the optimal subset in the sorting space based on the different feature metrics of XGBoost;
  • A stacking model fusion method, Sel-Stacking (Select-Stacking), was proposed to improve the performance of a single model. There were two improvements to the algorithm. Sel-Stacking not only kept Label-Proba as the input matrix of the meta-classifier, but also determined the optimal combination of base classifiers by a global search;
  • A diabetic retinopathy prediction model, XGB-Stacking, was constructed to predict the risk of diabetic retinopathy by combining the XGBIBS feature selection algorithm and the Sel-Stacking model fusion method.
The remainder of the paper is organized as follows. Section 2 reviews related works, including the prediction of diabetic retinopathy, feature selection, and the stacking model fusion method. Section 3 focuses on the method to predict diabetic retinopathy and contains a brief introduction of the dataset, the XGBIBS feature selection algorithm, the Sel-Stacking model fusion method, and the evaluation matrix. The experimental setup and results are analyzed and discussed in Section 4. Finally, the conclusions are drawn in Section 5.

2. Related Work

2.1. Prediction of Diabetic Retinopathy

Experts deal with the prediction of diabetic retinopathy using various methods. Tsao et al. [5] built a prediction model for the DR in type 2 diabetes mellitus using data mining techniques including support vector machines, decision trees, artificial neural networks, and logistic regressions. The experiment showed that appropriate machine learning algorithms combined with discriminative clinical features could effectively detect diabetic retinopathy. Somasundaram et al. [6] designed the Machine Learning Bagging Ensemble Classifier (ML-BEC). Features of diabetic retinopathy disease diagnosis were initially extracted by applying t-distributed Stochastic Neighbor Embedding (t-SNE), and experiments suggested that ML-BEC could achieve better classification accuracy and was efficient for further reducing the diabetic retinopathy classification time. Ramani et al. [13] proposed a novel method that utilized retinal image analysis and data mining techniques to accurately categorize the retinal images as normal, diabetic retinopathy, and glaucoma-affected. The novel method included the Fisher ratio algorithm used in feature selection, as well as C4.5 and random forest, achieving the best classification accuracy.

2.2. Feature Selection Algorithm

2.2.1. Wrapped Feature Selection Based on Heuristic Search

In different feature selection algorithms, the wrapped method tends to give superior performance compared with filters and embedded machine learning models [14]. At present, the wrapped feature selection algorithm based on heuristic search strategy is a research hotspot [15]. There are many different research works on wrapped feature selection algorithms based on heuristic search, such as random search and sequential search. Tan et al. [16] proposed a framework based on a Genetic Algorithm (GA) for feature subset selection that combined various existing feature selection methods. This approach could accommodate multiple feature selection criteria and find small subsets of features that performed well for a particular inductive learning algorithm to build the classifier. Sequence search is also a hot topic. Nakariyakul et al. [17] proposed a new Improved Forward Floating Selection (IFFS) algorithm. An additional search step called “replacing the weak feature” was added to check whether removing any feature in the currently selected feature subset and adding a new one at each sequential step could improve the current feature subset. Fallahpour et al. [18] proposed the Sequential Floating Forward Selection (SFFS) algorithm, and the SFFS-SVM ensemble classifier could be considered a promising addition to existent models when confronting the FDP issue. Guyon et al. [19] proposed a new method of gene selection utilizing support vector machine methods based on Recursive Feature Elimination (RFE). The genes selected by SVM-RFE yielded better classification performance and were biologically relevant to cancer. Li et al. [15] proposed a new wrapped feature selection algorithm, XGBSFS (XGBoost Sequential Floating Selection), and Improved Sequential Floating Forward Selection (ISFFS) was applied to search for the feature subset to achieve high quality.
Different wrapped feature selection methods based on the heuristic search strategy have defects. The time cost of random search is high. The current sequential search strategies are often based on sequential forward search and operate on a single feature in the search process, which easily leads to the appearance of redundant features or makes it difficult to consider the statistical correlation of multiple features.

2.2.2. Feature Selection Algorithm Based on XGBoost

The XGBoost feature selection method has been used in different fields, and it has achieved good performance [15,20,21]. Li et al. [15] proposed a new feature selection method, XGBSFS. In XGBSFS, the thought process of building trees in XGBoost was used as a reference, and different feature importance metrics were measured to avoid the limitation of a single importance metric. Sang et al. [20] proposed feature selection based on XGBoost to improve the performance of DBP prediction effectively, and the XGBoost algorithm could provide better feature ranking than the random forest method. Chen et al. [21] employed XGBoost to reduce the feature noise and performed a dimensionality reduction through gradient boosting and average gain. The experiment obtained the top-ranked features based on the descending order of feature importance to characterize the PPIs.
XGBoost is often used in sequence forward search or the filtered method in feature selection. This method usually loses more feature information, which makes it difficult for XGBoost feature importance metrics to play a greater role.

2.3. Multi-Model by Stacking Ensemble Learning

The multi-model by stacking ensemble learning method has outstanding performance in many fields, and it also has good applicability in disease diagnosis tasks in the medical field [22,23,24,25]. Wang et al. [22] proposed a stacking-based ensemble learning method that simultaneously constructed the diagnostic model and extracted interpretable diagnostic rules. A random forest classifier-based stacking technique was explored for the integration of the base learners. Rawat et al. [23] explored the usage of stacking for two models, and the gradient boosting machine and artificial neural network were used in the prediction of dementia. The experimental results showed that the stacking model was better than the single model. Hammam et al. [24] proposed a stacking deep learning methodology to produce the best results of COVID-19 classification, which produced test accuracy of 98.6%. Ji et al. [25] proposed a classification strategy of multi-feature combination and the Stacking-DWKNN algorithm, which consisted of four modules. The average accuracy obtained was 99.01%.
Among the above stacking model fusion methods, most of them specify the combination of classifiers, and a few of them explore the combination of classifiers. In the stacking method, how to choose the combination of classifiers is also a question worth exploring.

3. Materials and Methods

3.1. Materials

The diabetic complication predicted by this study as diabetic retinopathy. This dataset was provided by the China National Clinical Medical Science Data Center. It is a publicly available database. This dataset is a structured dataset of diabetic retinopathy with numerical variables and qualitative variables, and it does not contain image data. The data monitored by different sensors included the biochemical indicators and physical indicators of diabetic patients, as well as the disease information of patients.
The original dataset was preprocessed before using it in the experimental method. The processing methods included deleting samples with overwhelming missing features, filling in missing values, and deleting outliers.
The processed experimental data included a total of 2990 samples, 68 features, and 1 label, among which the label indicated whether a sample contained diabetic retinopathy. A label value of zero indicated a diabetic patient with diabetic retinopathy, and a label value of one indicated a diabetic patient without diabetic retinopathy. There were 1496 diabetic patients with diabetic retinopathy and 1494 diabetic patients without diabetic retinopathy. All the features are shown in Table 1, including the basic patient information, patient disease information, and various biochemical indicators.
Before applying feature selection and model construction, the dataset was described statistically to understand its sample composition and value proportion. Table 2 shows the sex distribution of the samples, while Table 3 shows the age distribution of the samples. Table 4 shows the distribution of other basic qualitative information about the samples.
There were 1869 male and 1121 female samples, accounting for 62.51% and 37.49%, respectively. The age range covered from 19 to 93 years old, with the proportion of male samples being high. The cumulative proportion of 51–70-year-olds accounted for 62.81%, which means that most of the patients were elderly patients. As can be seen from Table 4, the majority of patients were Han ethnicity (the NATION value was 0), accounting for 95.65%, and the majority of patients were married (the MARITAL_STATUS value was 0), accounting for 97.89%.

3.2. XGBIBS Feature Selection

The XGBIBS feature selection algorithm includes two elements, which are shown in Figure 1. First, XGBoost provides different feature importance metrics to form two feature-ranking spaces for feature search. Second, Buffer Floating Generalized Sequential Backward Search (BFGSBS) is used to search for the optimal subset.

3.2.1. XGBoost Feature Importance Metrics in the XGBIBS Algorithm

Feature importance metrics measure the importance of a feature in the construction of a model. The reason for choosing different feature importance metrics provided by XGBoost is to fully obtain the internal correlation among features and targets and improve the search efficiency. The feature importance score provided by XGBoost can represent the value of the feature in the model to enhance the construction of the decision tree, which is not a simple statistical linear relationship.
The base classifiers of the XGBoost algorithm support two choices: linear classifier and tree model. The importance metrics of XGBoost features in this paper were based on the tree model. In the process of building the tree model, XGBoost starts from the root node, and the feature is selected at each layer, which makes the tree obtain the maximum gain for segmentation. The importance of this feature increases when it is used to segment more times or the average gain of each feature segmentation becomes larger. In the process of the continuous segmentation of a tree, the calculation formula of the gain is as shown in Equation (1).
G a i n = 1 2 [ G L 2 H L + λ + G R 2 H R + λ ( G L + G R ) 2 H L + H R + λ ] γ
Common feature importance metrics in XGBoost are the gain, cover, weight, total_gain, and total_cover. These are shown in Table 5. Feature importance metrics can be obtained through the parameter in XGBoost “feature_importances_”, and different metrics of “feature_importances_” can be set to provide different metrics.
The weight is the number of times that a feature is used to split the data. Its calculation is shown in Formula (2), where X is the set of specified features classified into leaf nodes. The calculation formula of the gain is Formula (3), and the calculation formula of the gain is shown in Formula (1). The calculation formula of the cover is shown in Formula (4). The calculation formula of the total_gain is shown in Formula (5), while the calculation formula of the total_cover is shown in Formula (6).
W e i g h t = | X |
g a i n = G a i n X | X |
c o v e r = c o v e r X | X |
t o t a l _ g a i n = G a i n X
t o t a l _ c o v e r = c o v e r X
Before the XGBoost feature importance metrics are used in the search phase of the XGBIBS feature selection algorithm, the following processing is undertaken:
  • It filters out the features with zero importance. In tree segmentation, it is inevitable that features with a zero importance metric will appear. Most of the features with zero importance are not distinguishable from the samples, as their information value is very low. The XGBIBS feature selection algorithm can filter out the features with zero importance so that they cannot enter the feature search space;
  • It outputs multiple different feature importance metrics at the same time. It is necessary to construct two ranking spaces for the sequence search according to certain rules. After XGBoost calculates the feature importance metrics, it outputs a variety of rankings to be used in the XGBIBS feature selection algorithm. Different feature importance metrics of the BFGSBS strategy can be chosen arbitrarily.

3.2.2. The BFGSBS Strategy in the XGBIBS Algorithm

The BFGSBS strategy in this study implemented floating generalized backward search by increasing the buffer subset. In addition, the BFGSBS strategy constructed two feature-ranking spaces through two importance metrics, i 1 and i 2 , provided by XGBoost. The feature ranking queue for deleting feature subsets and that for adding features were different. The buffer subset of the BFGSBS strategy can fully consider the correlation among multiple features, and through two feature important metrics, it provides a richer combination of features and overcomes the limitations of a single metric.
The implementation steps of the BFGSBS strategy are as follows:
According to the XGBoost feature importance metric i 1 , the features are sorted from small to large to generate the I 1 queue.
According to the other XGBoost feature importance metric i 2 , the features are sorted in the opposite way in order to generate the I 2 queue.
A buffer feature subset is established starting with the full set of features O.
Stage 1 is the sequence backward deletion:
  • Delete the Nth feature from the buffer feature subset O each time (the starting value of N is 1) according to the feature importance queue I 1 , and the buffer feature subset O is updated;
  • Use the new buffer feature subset O to calculate the evaluation function. If the result is better than that of the optimal evaluation function, save this buffer feature subset as a new optimal feature subset B e s t _ O ;
  • After this round of operation, N = N + 1 , and go to Stage 2
    Stage 2 is the floating forward increase:
  • Search for a feature that is not in the buffer feature subset O and in turn from the feature importance queue I 2 ;
  • If this feature is added to the buffer feature subset O, the effect of the evaluation function is improved. Then, the buffer feature subset O is updated, and the buffer feature subset is saved as a new optimal feature subset, B e s t _ O ;
  • End this stage after traversing the order from beginning to end, and return to Stage 1.
After multiple iterations, an optimal feature subset with the least number of features and the highest evaluation function effect is finally obtained.
The two feature importance metrics of the BFGSBS strategy are provided by the XGBoost algorithm. The BFGSBS strategy and XGBoost feature metrics together constitute the XGBIBS feature selection algorithm.
The flowchart of the XGBIBS algorithm (the BFGSBS strategy) is shown in Figure 2. The symbols in Table 6 are used when describing the algorithm. The pseudo-code of the XGBIBS algorithm is given in Algorithm 1.
Sensors 21 03663 i001

3.2.3. Time Complexity of the XGBIBS Algorithm

This section analyzes the time complexity of the XGBIBS feature selection algorithm. The maximum depth of the tree constructed by XGBoost in the XGBIBS algorithm is X, and there are K trees in total. Assume that the training set has N samples and a total of M features, without missing features and samples. The number of non-zero importance features obtained by XGBoost feature importance ranking is m; for the XGBoost algorithm, the time complexity of generating all the feature presorting is O ( m N l o g N ) ; since the results of global presorting can be reused in the later node splitting, no extra time to sort needs to be consumed. For the process of tree model construction, the time complexity of traversing the partition point of each layer is O ( M N ) , so the time complexity of building K trees is O ( M N K X ) . The average time complexity of the quick sort algorithm is O ( m l o g m ) . In BFGSBS, the time complexity of the sequence backward deletion process is O ( m ) because there are m features in the sequence I 1 ; the floating forward add procedure is also traversed from beginning to end on sequence I 2 , the features if which are less than m, so the time complexity of the adding process is O ( m ) ; the time complexity of the base classifier is O ( W ) . The total time complexity of BFGSBS is O ( m 2 W ) . Taking the k-Nearest Neighbor (KNN) as an example, the time complexity of the KNN classifier O ( W ) is O ( m N l o g N ) . Therefore, the time complexity of BFGSBS search is O ( m 3 N l o g N ) . Therefore, the total time complexity of the XGBIBS algorithm is shown as in Formula (7).
O ( X G B I B S ) = O ( m N l o g N + m l o g m + M N K X + m 3 N l o g N )

3.3. Multi-Model by Sel-Stacking Ensemble Learning

Considering the limited number of base learners and the small amount of data in this experiment and in order to prevent the problems of overfitting and local optimization of the model combination, this study made the following improvements to the traditional stacking model fusion algorithm:
  • The Sel-Stacking method changes the input of meta-classifiers. In order to avoid overfitting, the output label and Proba of the base classifiers are retained and used as the input of the meta-classifier at the same time. This prediction is a binary classification problem. A single learner outputs the predicted label and the corresponding classification probability Proba. The Label-Proba matrix predicted by one base classifier of one input sample is shown in Figure 3. For each sample, N base classifiers produce a 2*N output matrix, and M samples with N base classifiers produce a 2M*N Label-Proba matrix.
  • The Sel-Stacking method improves the combination of learners and selects the optimal combination based on the data. For the model of the base classifiers, a variety of classifiers that have applied the XGBIBS feature selection algorithm were respectively connected, and the model was trained with six-fold cross-validation. The Sel-Stacking method adds a feature selection process between the base classifiers and the meta-classifier through a global search to select the best set of base classifiers.
The pseudo-code of the Sel-Stacking algorithm is summarized in Algorithm 2.
Sensors 21 03663 i002
Acc( S 1 , S 2 , dataset X) outputs the accuracy of meta-classifier S 2 , whose input is the prediction matrix generated by base classifiers’ set S 1 on dataset X.
The computational complexity of the Sel-Stacking model fusion algorithm can be divided into two parts. When we use M base learners to fit a dataset with N rows of data, the first part is K-fold stacking, the time complexity of which is O ( K m = 1 M O m ) ; the time complexity of the base classifiers m is O m . The second part trains the beta learner SVM with the dataset generated by the M base classifiers. Since we used a global search to find the best combination of base classifiers, its time complexity is O ( 2 M O S V M ) . Thus, the whole time complexity of the Sel-Stacking is shown as in Formula (8).
O ( S e l S t a c k i n g ) = O ( K m = 1 M O m + 2 M O S V M )

3.4. XGB-Stacking Model Based on the XGBIBS Algorithm and the Sel-Stacking Method

The method for predicting diabetic retinopathy in this study is called the XGB-Stacking model, which was divided into two steps: XGBIBS feature selection and the Sel-Stacking multi-model fusion process. Feature selection on all classifiers was first performed by the XGBIBS algorithm. All the classifiers were used as the optional base classifiers for model fusion.
The flowchart of the method XGB-Stacking is shown in Figure 4.

3.5. Performance Evaluation Matrix

Generally, feature selection had two evaluation indicators in the classification problem experiment: classification accuracy and feature dimension reduction.
Classification accuracy (Acc) is defined as the proportion of the number of correctly classified samples to the overall number of samples, which is shown in Formula (9). NCC represents the Correct Number of Classifications, while NAS represents the total instances of the dataset. Feature Dimensionality Reduction (DR) refers to the ratio of the number of unused features to the number of original features, which is shown in Formula (10), where NSF represents the Number of Selected Features and that of all features. In the model fusion, only the accuracy was used as the evaluation matrix.
A c c = N C C N A S
D R = 1 N S F N A F

4. Experiments and Results Discussion

Because there were two methods proposed, the XGBIBS feature selection algorithm and the Sel-Stacking model fusion method, this study performed experiments to verify the effectiveness of the feature selection method and the model fusion method, respectively.

4.1. Experimental Setup

4.1.1. Experimental Environment

All experiments on the dataset of diabetic retinopathy were implemented on a client of the data provider on a Dell PowerEdge T640 workstation, running Windows 7, with Genuine Intel(R)2.60 GHz CPUs; all codes were implemented with Python 3.6.

4.1.2. Dataset Partition

The dataset was divided into a training set used to train the model, a validation set to prevent overfitting, and an independent test set to test the generalization ability and prediction effect of the model. The dataset partition ratio was 6:2:2. The selection of the dataset segmentation ratio was based on the small sample size of this dataset, with a total of 2990 samples. The proportion of the training set should be slightly higher to ensure the effectiveness of model training, and the proportion of the verification set and test set should not be too small, so as to ensure that the generalization ability of the model is convincing. There were 1794 samples for the training set, 598 samples for the validation set, and 598 samples for the independent test set.

4.1.3. Classifiers’ Selection

In the XGBIBS feature selection process of the XGB-Stacking method, different ensemble learning classifiers were chosen as the base classifiers, as these can effectively improve the accuracy of machine learning tasks. GBDT has outstanding performance in the field of prediction, and the improved methods based on GBDT include XGBoost, LightGBM, and CatBoost, all of which have their own advantages. GBDT, XGBoost, LightGBM, and CatBoost were chosen as the ensemble learning classifiers with AdaBoost and KNN to improve the difference of the classifiers. Therefore, six classifiers were selected in the experiment: KNN, AdaBoost, GBDT, XGBoost, LightGBM, and CatBoost.
In the model fusion by Sel-Stacking of the XGB-Stacking method, the base classifiers were selected from six classifiers after the XGBIBS feature selection, and the meta-classifier was SVM. SVM is more suitable for sample classification in a linear relationship because of the low model complexity, which can prevent overfitting.

4.2. Experimental Results of the XGBIBS Feature Selection Algorithm

In order to verify the superiority of the XGBIBS feature selection algorithm, comparative experiments were conducted from two perspectives: first, comparative experiments were done to prove the effectiveness of two XGBoost feature importance metrics and the BFGSBS strategy in the XGBIBS feature selection algorithm; secondly, this XGBIBS feature selection algorithm was compared with other feature selection algorithms to evaluate the overall performance of the algorithm.
In the experiments, the metrics of feature importance I 1 and I 2 were selected from Set I: gain, cover, weight, total_gain, total_cover. The experiment could not predict in advance which parameter could be used to obtain the best results from the different classifiers. Due to the limited number of indicators in Set I, the global optimum of the parameter combination could be obtained through enumeration.
The optimal feature subsets selected by different classifiers were different. The top ten features selected by XGBIBS algorithm were NEPHROPATHY, HEIGHT, HBA1C, CHD, LEADDP, OTHER_TUMOR, RESPIRATORY_SYSTEM_DISEASE, RENAL_FALIURE, HYPERLIPIDEMIA, and GYNECOLGICAL_TUMOR. Their scores and rankings are shown in Table 7.

4.2.1. The Experimental Result of Using XGBoost Feature Importance Metrics

In order to verify the effectiveness of two XGBoost feature importance metrics in the XGBIBS algorithm, the search strategy was compared with the I 1 -only ranking or the I 2 -only ranking strategies. The comparison strategies were named BFGSBS1 and BFGSBS2, respectively. The figures from Table 8 give the experimental results of the classification accuracy. Table 8 also shows the classification effect of each classifier without feature selection (NoFS). Table 9 shows the influence of feature dimension reduction.
It can be seen from Table 8 that the two-metric strategy BFGSBS was obviously effective in the performance of most classifiers, compared with BFGSBS1 and BFGSBS2. The classification accuracy of BFGSBS1 and BFGSBS was the same for some classifiers, such as AdaBoost, XGBoost, and LightGBM. This was probably because BFGSBS included feature combinations in I 1 , and no better solution was found with the BFGSBS strategy, which included most of the feature combinations in BFGSBS1. For all classifiers, BFGSBS achieved the highest classification effect. This shows that the two feature importance metrics could provide more feature combinations and avoid local optima.
It can be seen from Table 9 that compared with BFGSBS1 and BFGSBS2, BFGSBS performed better on four classifiers (KNN, AdaBoost, XGBoost, CatBoost). Therefore, the application of important metrics of different characteristics was helpful to improve DR. In general, there was little difference in the feature dimension reduction among the three strategies. Two feature importance metrics could improve the accuracy, but they would not weaken the feature dimension reduction.

4.2.2. The Experimental Result of the BFGSBS Search Strategy

In order to verify the effectiveness of the BFGSBS strategy in the XGBIBS feature selection algorithm, BFGSBS was compared with the traditional Sequential Floating Backward Search (SFBS) strategy and Improved Sequential Floating Forward Search (ISFFS) [11]. The SFBS algorithm operates on one feature in the backward search process, and ISFFS is a forward search with different XGBoost feature importance metrics, which only operates on a single feature in a sequential floating forward search according to the effect of the evaluation function during iteration.
Table 10 shows the impact of different strategies on the classification accuracy. The BFGSBS strategy had the highest accuracy on the CatBoost classifier, which was 83.11%. The BFGSBS strategy had obvious advantages compared with SFBS, and it had more prominent performance on all classifiers, with the improvement of classification accuracy being between 0.66% and 4.01%. Compared with ISFFS, BFGSBS achieved relatively higher accuracy on the rest of the classifiers, except for KNN.
Table 11 shows the impact of different strategies on feature dimension reduction. BFGSBS had the highest feature dimension reduction on KNN, which was 82.35%. BFGSBS was significantly better than SFBS, while having a much lower effect than ISFFS. ISFFS had the highest feature dimension reduction on KNN, which was 88.24%. However, the high-dimensional reduction was at the cost of lower accuracy. Therefore, although BFGSBS used more features, the higher classification accuracy indicated that these features were not redundant features. BFGSBS fully exploited the joint advantages of multiple features.

4.2.3. The Experimental Results of Different Feature Selection Algorithms

In order to verify the effectiveness of the XGBIBS method, comparison experiments with other feature selection algorithms, GA and SVM-RFE, were carried out. The experimental results are shown in Table 12 and Table 13.
It can be seen from Table 12 that the XGBIBS algorithm achieved the best results on most ensemble learning classifiers. Compared with the original classifiers without feature selection, the classification effect of XGBIBS was improved by 2.67–8.19%. Compared with SVM-RFE, XGBIBS had a higher or equal classification effect with respect to SVM-RFE. Compared with the genetic algorithm, except for the LightGBM classifier, the rest of the classifiers were better than the genetic algorithm. This shows that the XGBIBS algorithm had its advantages.
Analyzing the influence of different algorithms on the feature dimension reduction, XGBIBS had certain advantages in the improvement of feature dimension reduction on some classifiers. Although XGBIBS had a small feature dimension reduction on some classifiers, this did not impact the advantages of XGBIBS combined with the classification accuracy.
In order to compare the time cost of different feature selection algorithms, KNN was used as a classifier to calculate their time cost. Table 14 shows the runtime of different feature selection strategies and algorithms.
It can be seen from Table 15 that the runtime of the XGBIBS feature selection algorithm on the KNN classifier was 65.20 s, which was significantly higher than that of the algorithm without feature selection. The runtime of XGBIBS was similar to that of SVM-RFE, but much lower than that of GA. In general, although the runtime of the XGBIBS feature selection algorithm increased, the optimization of classification performance was obvious, so the time cost was acceptable.
In summary, XGBIBS had obvious advantages in small high-dimensional sample datasets at reducing redundant features, and the selected feature subsets had the best quality, which could improve the classification accuracy of the classifier.

4.3. The Experimental Results of Model Fusion by Sel-Stacking

Because the Sel-Stacking method improves the two aspects of the traditional model fusion method, experiments were performed from two aspects—the Label-Proba input strategy and the classifier combination strategy—to evaluate the performance of the method.

4.3.1. The Experimental Results of the Meta-Classifier’s Different Input Strategies

This experiment verified the validity of the Label-Proba combination input. There were two comparison input strategies, the classification label input strategy and the classification Proba input strategy. The experimental results of the different input strategies are shown in Table 15.
The Label-Proba combined input with SVM as the meta-classifier had the best effect, which was 83.95%. In the model with SVM as the meta-classifier, the Label-Proba combination was 0.84% higher than the label strategy and 2.01% higher than the Proba strategy. To summarize the above experiments, it can be found that Label-Proba combined the input strategy could enhance the fitting ability of the stacking model fusion algorithm and achieve the best result.

4.3.2. The Experimental Results of Different Classifier Combination Strategies

The experimental results showed that the base classifiers chosen by Sel-Stacking were KNN, GBDT, XGBoost, and CatBoost. These classifiers could achieve the highest classification accuracy of 83.95%.
In order to prove the effectiveness of the model fusion strategy of Sel-Stacking, this experiment compared this method with other model fusion methods and single classifiers.
The alternative classifiers were KNN, AdaBoost, GBDT, XGBoost, LightGBM, and CatBoost. The experiment also provided two ways to randomly select the combination of base classifiers in the stacking method to prove that the base classifiers selected by the Sel-Stacking method had better classification performance.
Other model fusion methods were as follows:
  • Stacking A: KNN, AdaBoost, GBDT, XGBoost, LightGBM, and CatBoost (all optional classifiers chosen as base classifiers in the stacking method);
  • Stacking B: AdaBoost, GBDT, XGBoost, LightGBM, and CatBoost (base classifiers Combination A by selecting randomly in the stacking method);
  • Stacking C: GBDT, XGBoost, LightGBM, and CatBoost (base classifiers Combination B by selecting randomly in the stacking method);
  • Voting A: KNN, AdaBoost, GBDT, XGBoost, LightGBM, and CatBoost (voting method using all optional classifiers);
  • Voting B: KNN, GBDT, XGBoost, and CatBoost (voting method using the base classifiers chosen by the Sel-Stacking method);
  • Blending A: KNN, AdaBoost, GBDT, XGBoost, LightGBM, and CatBoost (blending method using all optional classifiers);
  • Blending B: KNN, GBDT, XGBoost, and CatBoost (blending method using the base classifiers chosen by the Sel-Stacking method).
Single classifiers included all optional base classifiers (KNN, AdaBoost, GBDT, XGBoost, LightGBM, CatBoost) and other individual classifiers, such as SVM, LR, and random forest.
Table 16 shows the classification accuracy and runtime of different model fusion methods, and Table 17 shows the classification accuracy of the Sel-Stacking method and different single classifiers.
According to the experimental results in Table 16, the Sel-Stacking method through the global search reached the best accuracy of 83.95%. Compared with other model fusion methods, the proposed method of Sel-Stacking also had obvious advantages. It can be seen from the experimental results that if the model fusion method was not properly selected, the prediction accuracy was likely to be lower than that of a single classifier, such as Stacking B and Blending. However, it was obvious that the Sel-Stacking method could fully exploit the combined advantages of a single classifier.
Compared with other stacking model fusions, Sel-Stacking took about 1/3 more time to acquire the best performance. Although the time cost of this method was relatively high, in order to pursue higher accuracy, this runtime of tens of seconds was worth it.
A conclusion can be drawn for the experiments that the global optimal base classifier set was KNN, GBDT, XGBoost, and CatBoost, having the best effect. The combination of the above classifiers was the best because the base classifiers selected by this combination had good classification performance and had great differences in classifier construction.
It can be seen from Table 17 that the accuracy of the Sel-Stacking model was 0.84–9.7% higher than that of a single classifier. Compared with traditional machine learning classifiers and single ensemble learning classifiers, the Sel-Stacking model had the highest accuracy, which used the difference and diversity of single learners to make the results more robust and accurate.

5. Conclusions and Future Work

This paper proposed a model fusion algorithm, XGB-Stacking, based on XGBIBS feature selection and the Sel-stacking ensemble learning for the task of predicting diabetic retinopathy. The main aim of XGBIBS feature selection was to reduce the data feature redundancy and improve the effect of a single ensemble learning classifier. The buffer feature subset was added in the BFGSBS strategy to make it possible to operate on multiple features and make XGBIBS feature selection search for the optimal subset in different sequences based on different feature metrics of XGBoost. The Sel-Stacking model fusion method was used to solve the limitation of the generalization ability of a single classifier. In the Sel-Stacking model fusion method, the Label-Proba of the base classifiers was used as the input matrix of the meta-classifier, and the classifier combination method was searched globally to determine the optimal classifier combination. The method proposed in this paper was more suitable for the diabetic retinopathy dataset, and the accuracy of prediction on whether the patient had retinopathy was higher.
The aim of future studies will be to improve the feature dimensionality reduction rate of XGBIBS and to consider stacking model fusion methods combined with other algorithms to improve prediction accuracy.

Author Contributions

Conceptualization, Z.S. and Z.W.; methodology, Z.S. and Z.W.; investigation, Z.S. and Z.W.; data curation, G.C.; writing—original draft preparation, Z.S. and B.L.; writing—review and editing, Q.W.; project administration, Q.W. All authors read and agreed to the published version of the manuscript.

Funding

This work was supported by the Key Project of National Key R&D Project (No. 2017YFC17 03303); the Natural Science Foundation of Fujian Province of China (No. 2019J01846, No. 2020J01435); the External Cooperation Project of Fujian Province, China (No. 2019I0001); the Science and Technology Guiding Project of Fujian Province, China (2019Y0046).

Institutional Review Board Statement

Ethical review and approval were waived for this study, because data collection and data cleaning are organized by the resource provider, and the data has been desensitized.

Informed Consent Statement

Written informed consent has been obtained from patients to publish this paper.

Data Availability Statement

The dataset was from the General Hospital of Chinese people’s Liberation Army_ Diabetes complication early warning dataset. National population health science data center data warehouse, PhD, 2020 https://www.ncmi.cn//phda/dataDetails.do?id=CSTR:A0006.11.A0005.202006.001018 (accessed on 10 December 2020) Data license: (CCO) Public Domain Dedication.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
XGBIBSImproved Backward Search Based on XGBoost
BFGSBSBuffer Floating Generalized Sequential Backward Search
SFBSSequential Floating Backward Search
ISFFSImproved Sequential Floating Forward Selection

References

  1. Saeedi, P.; Petersohn, I.; Salpea, P.; Malanda, B.; Karurangaa, S.; Unwinb, N.; Colagiuric, S.; Guariguatad, L.; Motalae, A.; Ogurtsovaf, K.; et al. Global and regional diabetes prevalence estimates for 2019 and projections for 2030 and 2045: Results from the International Diabetes Federation Diabetes Atlas. Diabetes Res. Clin. Pract. 2019, 157, 107843. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Abràmoff, M.D.; Reinhardt, J.M.; Russell, S.R.; Folk, J.C.; Mahajan, V.B.; Niemeijer, M.; Quellec, G. Automated early detection of diabetic retinopathy. Ophthalmology 2010, 117, 1147–1154. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Sahlsten, J.; Jaskari, J.; Kivinen, J.; Turunen, L.; Jaanio, E.; Hietala, K.; Kaski, K. Deep learning fundus image analysis for diabetic retinopathy and macular edema grading. Sci. Rep. 2019, 9, 1–11. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Gadekallu, T.R.; Khare, N.; Bhattacharya, S.; Singh, S.; Maddikunta, P.K.R.; Srivastava, G. Deep neural networks to predict diabetic retinopathy. J. Ambient. Intell. Humaniz. Comput. 2020, 1–14. [Google Scholar] [CrossRef]
  5. Somasundaram, S.K.; Alli, P. A machine learning ensemble classifier for early prediction of diabetic retinopathy. J. Med. Syst. 2017, 41, 1–12. [Google Scholar]
  6. Tsao, H.Y.; Chan, P.Y.; Su, E.C.Y. Predicting diabetic retinopathy and identifying interpretable biomedical features using machine learning algorithms. BMC Bioinform. 2018, 19, 111–121. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Dietterich, T.G. Ensemble Methods in Machine Learning. In International Workshop on Multiple Classifier Systems; Springer: Berlin/Heidelberg, Germany, 2000. [Google Scholar]
  8. Seni, G.; Elder, J.F. Ensemble methods in data mining: Improving accuracy through combining predictions. Synth. Lect. Data Min. Knowl. Discov. 2010, 2, 1–126. [Google Scholar] [CrossRef]
  9. Friedman, J.H. Stochastic gradient boosting. Comput. Stat. Data Anal. 2002, 38, 367–378. [Google Scholar] [CrossRef]
  10. 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; pp. 785–794. [Google Scholar]
  11. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Liu, T.Y. Lightgbm: A highly efficient gradient boosting decision tree. Adv. Neural Inf. Process. Syst. 2017, 30, 3146–3154. [Google Scholar]
  12. Dorogush, A.V.; Ershov, V.; Gulin, A. CatBoost: Gradient boosting with categorical features support. arXiv 2018, arXiv:1810.11363. [Google Scholar]
  13. Ramani, R.G.; Balasubramanian, L.; Jacob, S.G. Automatic prediction of Diabetic Retinopathy and Glaucoma through retinal image analysis and data mining techniques. In Proceedings of the International Conference on Machine Vision and Image Processing (MVIP), Coimbatore, India, 14–15 December 2012; pp. 149–152. [Google Scholar]
  14. Chandrashekar, G.; Sahin, F. A survey on feature selection methods. Comput. Electr. Eng. 2014, 40, 16–28. [Google Scholar] [CrossRef]
  15. Li, Z.; Liu, Z. Feature selection algorithm based on XGBoost. J. Commun. 2019, 40, 1–8. [Google Scholar]
  16. Tan, F.; Fu, X.; Zhang, Y.; Bourgeois, A.G. A genetic algorithm-based method for feature subset selection. Soft Comput. 2008, 12, 111–120. [Google Scholar] [CrossRef]
  17. Nakariyakul, S.; Casasent, D.P. An improvement on floating search algorithms for feature subset selection. Pattern Recognit. 2009, 42, 1932–1940. [Google Scholar] [CrossRef]
  18. Fallahpour, S.; Lakvan, E.N.; Zadeh, M.H. Using an ensemble classifier based on sequential floating forward selection for financial distress prediction problem. J. Retail. Consum. Serv. 2017, 34, 159–167. [Google Scholar] [CrossRef]
  19. Guyon, I.; Weston, J.; Barnhill, S.; Vapnik, V. Gene selection for cancer classification using support vector machines. Mach. Learn. 2002, 46, 389–422. [Google Scholar] [CrossRef]
  20. Sang, X.; Xiao, W.; Zheng, H.; Yang, Y.; Liu, T. HMMPred: Accurate Prediction of DNA-binding proteins based on HMM Profiles and XGBoost feature selection. Comput. Math. Methods Med. 2020. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. Chen, C.; Zhang, Q.; Yu, B.; Yu, Z.; Lawrence, P.J.; Ma, Q.; Zhang, Y. Improving protein-protein interactions prediction accuracy using XGBoost feature selection and stacked ensemble classifier. Comput. Biol. Med. 2020, 123, 103899. [Google Scholar] [CrossRef] [PubMed]
  22. Wang, Y.; Wang, D.; Geng, N.; Wang, Y.; Yin, Y.; Jin, Y. Stacking-based ensemble learning of decision trees for interpretable prostate cancer detection. Appl. Soft Comput. 2019, 77, 188–204. [Google Scholar] [CrossRef]
  23. Rawat, R.M.; Akram, M.; Pradeep, S.S. Dementia Detection Using Machine Learning by Stacking Models. In Proceedings of the 2020 5th International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 10–12 June 2020; pp. 849–854. [Google Scholar]
  24. Hammam, A.A.; Elmousalami, H.H.; Hassanien, A.E. Stacking Deep Learning for Early COVID-19 Vision Diagnosis. In Big Data Analytics and Artificial Intelligence against COVID-19: Innovation Vision and Approach; Springer: Cham, Switzerland, 2020; pp. 297–307. [Google Scholar]
  25. Ji, S.; Li, R.; Shen, S.; Li, B.; Zhou, B.; Wang, Z. Heartbeat Classification Based on Multifeature Combination and Stacking-DWKNN Algorithm. J. Healthc. Eng. 2021. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Two elements of the XGBIBS algorithm.
Figure 1. Two elements of the XGBIBS algorithm.
Sensors 21 03663 g001
Figure 2. The flowchart of the XGBIBS algorithm (the BFGSBS strategy).
Figure 2. The flowchart of the XGBIBS algorithm (the BFGSBS strategy).
Sensors 21 03663 g002
Figure 3. Label-Proba matrix of a sample.
Figure 3. Label-Proba matrix of a sample.
Sensors 21 03663 g003
Figure 4. The flowchart of the XGB-Stacking model.
Figure 4. The flowchart of the XGB-Stacking model.
Sensors 21 03663 g004
Table 1. All features of the data.
Table 1. All features of the data.
Feature CategoryNumberFeatures
Basic Information9NATION, MARITAL_STATUS, SEX, AGE, BMI, BP_HIGH, BP_LOW, HEIGHT, WEIGHT
Disease Information32A_S, ARRHYTHMIAS, CHD, MI, LUNG_TUMOR, BILIARY_TRACT_DISEASE, CHF, CIRRHOSIS, BREAST_TUMOR, CAROTID_ARTERY_STENOSIS, CEREBRAL_APOPLEXTY, CLD, DIGESTIVE_CARCINOMA, ENDOCRINE_DISEASE, FLD, GYNECOLGICAL_TUMOR, HEMATONOSIS, HYPERLIPIDEMIA, LEADDP, HYPERTENTION, INTRACRANIAL_TUMOR, OTHER_TUMOR, MEN, NEPHROPATHY, PCOS, NERVOUS_SYSTEM_DISEASE, PREGNANT, PANCREATIC_DISEASE, RENAL_FALIURE, RESPIRATORY_SYSTEM_DISEASE, RHEUMATIC_IMMUNITY, UROLOGIC_NEOPLASMS
Biochemical Indicators27ALB, ALP, ALT, AST, DBILI, GGT, GLO, IBILI, LDH_L, TBILI, TP, BU, SCR, SUA, HDL_C, LDL_C, TC, TG, HB, PCV, PLT, GLU, HBA1C, APTT, FBG, PT, PTA
Table 2. Sex distribution of the samples.
Table 2. Sex distribution of the samples.
SEXNumber of SamplesPercentage
Male (SEX = 1)186962.51%
Female (SEX = 0)112137.49%
Table 3. Age distribution of the samples.
Table 3. Age distribution of the samples.
AGENumber of SamplesPercentage
Under 20 years old20.07%
21–30381.27%
31–401394.65%
41–5056218.80%
51–60101834.05%
61–7086028.76%
71 years old and above37112.41%
Table 4. Other basic qualitative information about the samples.
Table 4. Other basic qualitative information about the samples.
FeaturesPercentage (Value = 0)Percentage (Value = 1)
NATION95.65%5.35%
MARITAL_STATUS97.89%2.11%
Table 5. Descriptions of the XGBoost feature importance measurement metrics.
Table 5. Descriptions of the XGBoost feature importance measurement metrics.
ParameterDescription
weightthe number of times a feature is used to split the data across all trees
gainthe average gain of the feature when it is used in trees
coverthe average coverage of the feature when it is used in trees
total_gainthe total gain of the feature when it is used in trees
total_coverthe total coverage of the feature when it is used in trees
Table 6. The definition of the XGBIBS symbols.
Table 6. The definition of the XGBIBS symbols.
SymbolDefinition
I 1 Queue arranged from small to large according to the importance of the XGBoost model i 1
I 2 Queue arranged from large to small according to the importance of the XGBoost model i 2
OThe buffer feature subset
B e s t _ O The optimal feature subset
A c c Classification accuracy
B e s t _ A c c The highest classification accuracy
NTraverse the control variables of the I 1 queue
JTraverse the control variables of the I 2 queue
Table 7. Top 10 features of the XGB-Stacking model.
Table 7. Top 10 features of the XGB-Stacking model.
FeatureRankingScore
NEPHROPATHY119.10
HEIGHT24.95
HBA1C33.69
CHD43.57
LEADDP53.40
OTHER_TUMOR63.24
RESPIRATORY_SYSTEM_DISEASE73.10
RENAL_FALIURE82.69
HYPERLIPIDEMIA92.48
GYNECOLGICAL_TUMORHEIGHT102.25
Table 8. The influence of the XGBoost feature importance metrics on the classification accuracy.
Table 8. The influence of the XGBoost feature importance metrics on the classification accuracy.
ClassifierNoFS (%)BFGSBS1 (%)BFGSBS2 (%)BFGSBS (%)
KNN66.8969.9069.2375.08
AdaBoost78.0980.6080.4380.60
GBDT79.4381.1080.6082.27
XGBoost76.7682.2781.4482.27
LightGBM79.1081.7781.1181.77
CatBoost80.2782.7882.9483.11
Table 9. The influence of the XGBoost feature importance metrics on DR.
Table 9. The influence of the XGBoost feature importance metrics on DR.
ClassifierNoFS (%)BFGSBS1 (%)BFGSBS2 (%)BFGSBS (%)
KNN069.1279.4182.35
AdaBoost064.7147.0664.71
GBDT020.5954.4142.65
XGBoost042.6532.3542.65
LightGBM044.1247.0638.24
CatBoost051.4741.1851.47
Table 10. Influence of different strategies on the classification accuracy.
Table 10. Influence of different strategies on the classification accuracy.
ClassifierNoFS (%)SFBS (%)ISFFS (%)BFGSBS (%)
KNN66.8971.0777.9375.08
AdaBoost78.0980.1080.1080.60
GBDT79.4381.6176.9282.27
XGBoost76.7680.7777.9382.27
LightGBM79.1081.1075.0881.77
CatBoost80.2782.4477.4283.11
Table 11. Influence of different strategies on DR.
Table 11. Influence of different strategies on DR.
ClassifierNoFS (%)SFBS (%)ISFFS (%)BFGSBS (%)
KNN025.0088.2482.35
AdaBoost023.5379.4164.71
GBDT022.0685.2942.65
XGBoost020.5985.2942.65
LightGBM019.1285.2938.24
CatBoost082.3582.3551.47
Table 12. Performance of feature selection algorithms on classification accuracy.
Table 12. Performance of feature selection algorithms on classification accuracy.
ClassifierGA (%)SVM-RFE (%)XGBIBS (%)
KNN73.2472.0775.08
AdaBoost80.1078.4380.60
GBDT81.7780.9482.77
XGBoost81.2781.9482.77
LightGBM82.2781.1081.77
CatBoost81.7783.1183.11
Table 13. Performance of feature selection algorithms on DR.
Table 13. Performance of feature selection algorithms on DR.
ClassifierGA (%)SVM-RFE (%)XGBIBS (%)
KNN55.8833.8282.35
AdaBoost36.7650.0064.71
GBDT36.7657.3542.65
XGBoost44.1248.5342.65
LightGBM51.4755.8838.24
CatBoost47.0622.0651.47
Table 14. Runtime of different feature selection algorithms.
Table 14. Runtime of different feature selection algorithms.
Feature SelectionTime (s)
NoFS0.17
SVM-RFE40.05
GA827.28
BFGSBS65.20
Table 15. Influence of the meta-classifier’s different input strategies on classification accuracy.
Table 15. Influence of the meta-classifier’s different input strategies on classification accuracy.
Input Strategy of the Meta-ClassifierAccuracy (%)
Label83.11
Proba81.94
Label-Proba83.95
Table 16. The accuracy and running time of different model fusion methods.
Table 16. The accuracy and running time of different model fusion methods.
MethodAccuracy (%)Time (s)
Sel-Stacking83.95101.74
Stacking A83.7875.53
Stacking B83.6165.81
Stacking C83.1174.23
Voting A83.448.79
Voting B82.278.42
Blending A80.108.49
Blending B80.107.30
Table 17. The accuracy of the Sel-Stacking method and different single classifiers.
Table 17. The accuracy of the Sel-Stacking method and different single classifiers.
Algorithm CategoryAlgorithmAccuracy (%)
model fusion methodSel-Stacking83.95
Single classifierKNN75.08
AdaBoost80.60
GBDT82.77
XGBoost82.27
LightGBM81.77
CatBoost83.11
SVM74.25
LR74.91
Random Forest76.58
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Shen, Z.; Wu, Q.; Wang, Z.; Chen, G.; Lin, B. Diabetic Retinopathy Prediction by Ensemble Learning Based on Biochemical and Physical Data. Sensors 2021, 21, 3663. https://doi.org/10.3390/s21113663

AMA Style

Shen Z, Wu Q, Wang Z, Chen G, Lin B. Diabetic Retinopathy Prediction by Ensemble Learning Based on Biochemical and Physical Data. Sensors. 2021; 21(11):3663. https://doi.org/10.3390/s21113663

Chicago/Turabian Style

Shen, Zun, Qingfeng Wu, Zhi Wang, Guoyi Chen, and Bin Lin. 2021. "Diabetic Retinopathy Prediction by Ensemble Learning Based on Biochemical and Physical Data" Sensors 21, no. 11: 3663. https://doi.org/10.3390/s21113663

APA Style

Shen, Z., Wu, Q., Wang, Z., Chen, G., & Lin, B. (2021). Diabetic Retinopathy Prediction by Ensemble Learning Based on Biochemical and Physical Data. Sensors, 21(11), 3663. https://doi.org/10.3390/s21113663

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