Abstract
BACKGROUND:
According to the World Health Organization, one in ten adults will have Type 2 Diabetes Mellitus (T2DM) in the next few years. Autonomic dysfunction is one of the significant complications of T2DM. Autonomic dysfunction is usually assessed by standard Ewing’s test and resting Heart Rate Variability (HRV) indices.
OBJECTIVE:
Resting HRV has limited use in screening due to its large intra and inter-individual variations. Therefore, a combined approach of resting and orthostatic challenge HRV measurement with a machine learning technique was used in the present study.
METHODS:
A total of 213 subjects of both genders between 20 to 70 years of age participated in this study from March 2018 to December 2019 at Smt. Kashibai Navale Medical College and General Hospital (SKNMCGH) in Pune, India. The volunteers were categorized according to their glycemic status as control (
RESULTS:
We observed a significant difference in time, frequency, and non-linear resting HRV indices between the control and T2DM groups. A blunted autonomic response to an orthostatic challenge quantified by percentage difference was observed in T2DM compared to the control group. HRV patterns during rest and the orthostatic challenge were extracted by various machine learning algorithms. The Classification and Regression Tree (CART) model has shown better performance among all the machine learning algorithms. It has shown an accuracy of 84.04%, the sensitivity of 89.51%, a specificity of 66.67%, with an Area Under Receiver Operating Characteristic Curve (AUC) of 0.78 compared to resting HRV alone with 75.12% accuracy, 86.42% sensitivity, 39.22% specificity, with an AUC of 0.63 for differentiating autonomic dysfunction in non-diabetic control and T2DM.
CONCLUSION:
It was possible to develop a Classification and Regression Tree (CART) model to detect autonomic dysfunction. The technique of percentage difference between resting and orthostatic challenge HRV indicates the blunted autonomic response. The developed CART model can differentiate the autonomic dysfunction using both resting and orthostatic challenge HRV data compared to only resting HRV data in T2DM. Thus, monitoring HRV parameters using the CART model during rest and after orthostatic challenge may be a better alternative to detect autonomic dysfunction in T2DM as against only resting HRV.
Keywords
Introduction
According to the International Diabetes Federation report, around 642 million people will be affected with Type 2 Diabetes Mellitus (T2DM) in 2040 [1]. T2DM is a syndrome characterized by a high glucose level in the blood. The hyperglycemia in adults is usually due to increased insulin resistance, followed by reduced insulin secretion from beta cells of the pancreas. Uncontrolled T2DM over a period of time leads to various micro and macrovascular complications like retinopathy, nephropathy, and coronary artery disease [2, 3]. These complications are suggested to be due to concurrent autonomic dysfunction, which may precede clinical symptoms of complication. Autonomic dysfunction is estimated to be present in 60% of T2DM patients having the disease of more than five years. It is therefore crucial to detect autonomic dysfunction at an early stage in diabetes patients so that timely intervention for preventing the complications can be employed. Autonomic dysfunction is usually detected by Ewing’s battery test (CART-cardiac autonomic reflect test) [4] and resting HRV per the guidelines of the American diabetic association [5]. However, large intra and inter-individual variations in HRV and inherent nonlinearity have limited its widespread utility for detecting autonomic dysfunction. Therefore in the presented study, we employed HRV measurement both during supine resting and orthostatic challenge and used the CART machine learning algorithm to capture its non-linear characteristic.
Various researchers have studied the diagnosis of autonomic dysfunction using resting HRV parameters [6, 7, 8, 9]. In the literature survey, many authors adopted the exercise-based investigation of autonomic dysfunction diagnosis in T2DM [10]. The main focus of such investigation is to study the recovery performance of heart rate after exercise [10]. The performance of heart rate recovery areas such as atrial and ventricular repolarization after exercise was investigated by Banthia et al. [11]. Michal et al. stated that exercise could be a useful diagnostic and monitoring tool for studying the progression of the impaired autonomic nervous system (ANS), which could be a sign of cardiovascular complications [12]. Even though exercise-based analysis provides more diagnostic information, many researchers believe that HRV analysis in resting position is still a more viable technique because patients are less involved in the entire process.
Researchers are now looking into the immediate effect of a stimulus or orthostatic challenge on T2DM patients in order to detect autonomic dysfunction. As a result, we investigated resting HRV parameters and orthostatic challenge HRV parameters in the current study. However, to the best of our knowledge, this is the first study that uses the resting and orthostatic challenge HRV parameters to detect autonomic dysfunction in T2DM subjects using a machine learning approach. In the literature, only the gold standard method Ewing’s battery test and resting HRV parameters are used to detect autonomic dysfunction [4].
In the present study, a few new approaches were introduced.
The new approach to find blunted response in T2DM patients in terms of percentage difference was proposed, and the direction of changes in HRV parameters was observed. Recording of HRV during rest and after orthostatic challenge to quantify the percentage difference between HRV indices in T2DM as compared to normoglycemic control. Use of machine learning to capture non-linear difference of HRV patterns measured both during rest and after orthostatic challenge in both groups. Machine learning-based low-cost, non-invasive tool to detect autonomic dysfunction in T2DM patients. The present study suggests that resting and orthostatic challenge HRV parameters are a superior diagnostic indicator of autonomic dysfunction than resting HRV alone in T2DM patients.
Our study has improved the detection of autonomic dysfunction compared to the standard available screening test.
Patients demographics
A total of 216 volunteers (52 control (Euglycemic) and 164 patients with T2DM between 20 to 70 years of both genders) participated in the study conducted at OPD of Smt. Kashibai Navale Medical College and General Hospital (SKNMGCH), Pune, India. The data of three participants were not used in the final analysis. The study was approved by the ethical committee of Smt. Kashibai Navale Medical College and General Hospital and informed consent was obtained from all participants.
The exclusion criteria were: 1) Data that falls outside of mean
Data collection protocol
The criteria to carry out the experimental research were as per the guidelines of the Task Force of the European Society for Cardiology and the North American Pacing and Electrophysiology Society [13], and Standards for Reporting Diagnostic Accuracy Studies (STARD) [14].
ECG recording
ECG sampled at 1000 Hz was recorded using Chronovisor HRV-Dx 1.0.1 ambulatory monitor of all participants at the Central research lab of SKNMCGH. A standard ECG lead II procedure was used. Patients were informed of the test protocol prior to the procedure. They were advised to avoid tea, coffee, alcohol, smoking, or any other stimulant form that could affect the test for at least 24 hours before the ECG recording. The blood pressure (BP), height, and weight was recorded using standard procedure. The patients were advised to take a rest for 5 minutes before recording. After five minutes of rest, the electrode was placed as per the American Heart Association protocol [15]. Twenty-one minutes is the average time needed for the entire recording process. The ECG was recorded for fifteen minutes in a resting position, five minutes after giving an orthostatic challenge to the resting body, and a one-minute deep breathing test. The breathing rate (BR) was measured from ECG post hoc.
For the study of the HRV, the five minutes of ECG segments in resting and after orthostatic challenges were used for analysis. A tilt test at 70 degree using a motorized tilt table was used for the orthostatic challenge. The following figure shows the ECG recording in resting and after giving orthostatic stimuli.
ECG recording – resting position.
ECG recording – orthostatic challenge.
The HRV was analyzed using Chronovisor HRV analysis software suite version 1.1.487 as per the HRV task force guideline [13]. The recorded ECG were manually tested for removal of artifacts, ectopic beats, and interpolated. The RR interval between two successive beats was evaluated in offline mode using the Chronovisor software. The HRV signal was extracted from the ECG signal and analyzed in the time domain, frequency domain, and non-linear dynamics. The time-domain analysis of HRV consists of the mean of RR interval (Mean RR), which represents the average value of RR intervals that is in milliseconds, the standard deviation of all RR interval (SDNN) represents the variance, and the root mean square differences between adjacent RR intervals (RMSSD) represents the parasympathetic modulation of the ANS [13, 16].
In the frequency domain analysis of HRV, RR time series intervals were decomposed into a frequency spectrum using the Autoregressive method (AR method) and Fast Fourier Transform method (FFT). We used the FFT method for frequency spectrum analysis. The frequency spectrum power was defined as total power (TP) in absolute (ms
The non-linear dynamic approach of HRV analysis offers valuable knowledge for physiological understanding and risk assessment. A technique taken from non-linear dynamics is the Poincare plot, a graph of the current RR interval against the previous RR interval [13, 16]. Two parameters have been extracted using this method, namely standard deviation 1(SD1) representing the width. Standard deviation 2(SD2) represents the length of the Poincare geometry. SD1 referred to the short-term beat to beat variability, while SD2 specifies long-term beat to beat variability [13]. Detrended fluctuation analysis (DFA), approximate entropy (AppEn), and sample entropy (SampEn) are other major parameters in non-linear dynamics. DFA
A deep breathing test consisting of deep inhalation and exhalation for six consecutive cycles was performed to obtain an Expiration/Inspiration (E: I) ratio to detect autonomic dysfunction [17, 18].
Statistical analysis
A descriptive statistics and nonparametric Mann-Whitney U test was used to compare resting HRV parameters between control and T2DM using Epi. Info. 7 statistical software tool. In the present study, a The behavior of the resting system after the orthostatic challenge in both the group was calculated using the percentage difference formula. The percentage difference is given in absolute value, and a negative sign indicates the direction of changes.
A decision tree is a supervised machine learning algorithm that recursively separates the data into groups or classes. The algorithms used in the decision tree are- ID3, C4.5, C5.0, CHAID, CRUISE, QUEST, and CART [19, 20, 21, 22]. A decision tree consists of a base node called a root node. The nodes connected with the root node edges are called the internal node, and the rest of the node is called a leaf node. The splitting of nodes is decided by the algorithm Information Gain, Chi-square test, and Gini Index. In this study, we used the CART decision tree algorithm which can handle both categorical values (Classification) and continuous values (Regression) [22].
A typical decision tree.
The CART was first developed by Breiman in 1984 [22] and consists of binary trees. One of the advantages of CART is that it handles missing values and outliers. A binary tree is constructed by splitting a node recursively into two internal nodes, resulting in a leaf node for each split. Figure 3 shows a typical binary tree. It is supposed that dataset
The towing splitting criteria is used to find the best split such that the leaf node has maximum homogeneity or purity. The tree repeats the splitting process until it cannot find another best splitting node that increases the purity of the leaf node. The index used for checking the best splitting node is the Gini Index. This index indicates leaf node purity and is illustrated as:
where
The Gini Index for each node by the total number of instances in the root node is calculated as follows-
where the probability of instances in classes 0 and 1 are
The stopping criteria strongly influence the performance of the model or tree. The recursive binary splitting tree needs to know when to stop; otherwise, it would recursively split the instances. The most common procedure to stop splitting is to assign a pre-defined limit to each leaf node. The number of instances in the node is less than the pre-defined limit, then that node is taken as the final node. Another stopping criterion is, if the depth and purity of the nodes are greater than the pre-defined limit, then stop the splitting of the tree.
Pruning the tree
One of the significant difficulties in creating a decision tree model is overfitting. Overfitting occurs due to training errors. The pruning technique is used in the decision tree to prevent overfitting and reduce the size of the decision tree. The pre-pruning approach does not allow the tree to classify the training set perfectly, while the post-prune method enables the tree to classify the training set perfectly. In CART, post-pruning/cost complexity pruning can be used. The pseudocode for Classification and Regression Tree is given below (Algorithm 1).
In order to develop a CART model for our application to classify autonomic dysfunction in control and T2DM, the python with jupyter notebook was used. The programming is performed on a PC with an Interl
The CART machine learning algorithm was employed using HRV indices measured in both during supine rest and orthostatic challenge in both the groups (labeled as control and T2DM). All the resting and resting
Performance evaluation metrics
In this study, we have developed a CART machine learning model to detect autonomic dysfunction. The training and testing phase was carried out with 10-fold cross-validation. The data chosen for training is 80 percent and 20 percent for testing for every ten iterations. The performance metrics such as accuracy (ACC), sensitivity (SEN), specificity (SPC), and area under the receiver operating characteristic curve (AUC) were used to test the performance of the CART algorithm. The performance metrics were calculated using the confusion matrix, and the formulas are given in Table 1.
AUC is another important technique for evaluating algorithm performance. The AUC analysis measured the area under the receiver operating characteristic curve (ROC). The AUC near 1 indicates the perfect prediction, while the AUC near to 0.5 indicates the worst prediction. The appropriate AUC range is between 0.70 and 1 [23].
Results
Comparison of resting HRV between control and T2DM
Time-domain parameters of control and T2DM
The parameters analyzed in time domain measures included Mean RR, SDNN, RMSSD, and BR. In the resting position, Mean RR and SDNN significantly decreased in T2DM compared to control, and BR was significantly high, as shown in Table 2.
Performance metrics
Performance metrics
TP: True Positive, TN: True Negative, FP: False Positive, FN: False Negative.
Time-domain parameters between control and T2DM during lying resting position
The parameters analyzed in frequency domain measures included TP (ms
Frequency domain parameters between control and T2DM during lying resting position
Frequency domain parameters between control and T2DM during lying resting position
Poincare plot parameters SD1 and SD2, DFA-
Non-linear parameters between control and T2DM during lying resting position
Non-linear parameters between control and T2DM during lying resting position
As most of the studies of HRV in diabetes were done in resting conditions only, we have also given an orthostatic challenge/stimulus and noted the response of ANS to that orthostatic challenge measured by HRV [11]. Orthostatic challenges usually lead to increased heart rate, decreased variance, and increased blood pressure, which is the normal physiological response. The results of orthostatic challenges are shown in Table 5. The percentage difference in direction between control and T2DM after the orthostatic challenge is shown in Fig. 4.
Percentage difference in resting and orthostatic challenge HRV parameters of control and T2DM subjects
Percentage difference in resting and orthostatic challenge HRV parameters of control and T2DM subjects
Footnotes
Conflict of interest
The authors declare no conflict of interest.
Funding
No funding reported.







