Next Article in Journal
Magnetic Properties and Microstructure of FeCoNi(CuAl)0.8Snx (0 ≤ x ≤ 0.10) High-Entropy Alloys
Next Article in Special Issue
Entropy Measures in Analysis of Head up Tilt Test Outcome for Diagnosing Vasovagal Syncope
Previous Article in Journal
Robust Signaling for Bursty Interference
Previous Article in Special Issue
On the Calculation of Sample Entropy Using Continuous and Discrete Human Gait Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Characterization of Artifact Influence on the Classification of Glucose Time Series Using Sample Entropy Statistics

1
Technological Institute of Informatics, Universitat Politècnica de València, Alcoi Campus, 03801 Alcoi, Spain
2
Department of Cybernetics, Czech Technical University in Prague, 16000 Prague, Czech Republic
3
Internal Medicine Department, Teaching Hospital of Móstoles, 28935 Madrid, Spain
4
Department of Diabetes, Diabetes Centre, Institute for Clinical and Experimental Medicine, 14021 Prague, Czech Republic
5
Department of Medical Biochemistry and Laboratory Diagnostics, General University Hospital, Charles University in Prague 1st Faculty of Medicine, 12108 Prague, Czech Republic
6
Hepatogastroenterology Department, Transplant centre, Institute for Clinical and Experimental Medicine, 14021 Prague, Czech Republic
7
Obesitology Department, Institute of Endocrinology, 11694 Prague, Czech Republic
8
Experimental Medicine Centre, Institute for Clinical and Experimental Medicine, 14021 Prague, Czech Republic
*
Author to whom correspondence should be addressed.
Submission received: 8 October 2018 / Revised: 7 November 2018 / Accepted: 9 November 2018 / Published: 12 November 2018
(This article belongs to the Special Issue The 20th Anniversary of Entropy - Approximate and Sample Entropy)

Abstract

:
This paper analyses the performance of SampEn and one of its derivatives, Fuzzy Entropy (FuzzyEn), in the context of artifacted blood glucose time series classification. This is a difficult and practically unexplored framework, where the availability of more sensitive and reliable measures could be of great clinical impact. Although the advent of new blood glucose monitoring technologies may reduce the incidence of the problems stated above, incorrect device or sensor manipulation, patient adherence, sensor detachment, time constraints, adoption barriers or affordability can still result in relatively short and artifacted records, as the ones analyzed in this paper or in other similar works. This study is aimed at characterizing the changes induced by such artifacts, enabling the arrangement of countermeasures in advance when possible. Despite the presence of these disturbances, results demonstrate that SampEn and FuzzyEn are sufficiently robust to achieve a significant classification performance, using records obtained from patients with duodenal-jejunal exclusion. The classification results, in terms of area under the ROC of up to 0.9, with several tests yielding AUC values also greater than 0.8, and in terms of a leave-one-out average classification accuracy of 80%, confirm the potential of these measures in this context despite the presence of artifacts, with SampEn having slightly better performance than FuzzyEn.

1. Introduction

The main idea of diabetes control is assessing a time series (blood glucose) [1]. Traditionally, this was performed by means of punctual fasting blood measurements. This was obviously inappropriate. A slight improvement was self-monitoring through serial capillary blood controls performed by the patient [2]. However, again, this was cumbersome and offered a poor overview of the time series. An important step was the use of glycosylated Hemoglobin (HbA1c), which provided an integrated assessment of the glucose blood levels of the last 8–12 weeks [3]. This became a standard of care for many years. However, HbA1c has several drawbacks (it depends on hemoglobin levels, on the life span of red blood cells, etc.) [4]. Furthermore, it is increasingly clear that raw blood glucose level is not the only relevant variable and that the glycemic profile (complexity, variability), which is not evaluated by HbA1c, is also clinically significant [5]. Therefore, the development of a Continuous Glucose Monitoring System (CGMS) was universally perceived as an important improvement. Although its cost and some technical problems are refraining its generalization, many authors believe that CGMS will soon become a standard of care [6].
The analysis of glucose time series using entropy estimators is a very difficult endeavor. Because of the technical constraints and patient inconvenience during portable CGM, records are usually very short (24 or 48 h, non-uniformly sampled at 5-, 10- or 20-min intervals, usually). As a result, the length of the time series available falls well below the recommended minimum length of 10 m , where m is the embedded dimension used in entropy estimators derived from Approximate Entropy (ApEn) [7], such as Sample Entropy (SampEn) [8] or Fuzzy Entropy (FuzzyEn) [9], with usual values of m = 2 , 3 , or even higher.
In addition, devices of CGM need to be recalibrated, up to several times per day [10], and mainly at the beginning of the ambulatory monitoring. Missing values are also frequently found in these records, due to device or sensor errors [11]. Other problems encountered in blood glucose time series are sensor out-of-range or sensor disconnection values, causing a signal saturation or a flat reading during a time interval usually involving several contiguous samples.
Although the advent of new blood glucose monitoring technologies may reduce the incidence of the problems stated above, incorrect device or sensor manipulation, patient adherence, sensor detachment, time constraints, adoption barriers or affordability [12,13,14,15,16] can still result in relatively short and artifacted records, as the ones analyzed in this paper.
CGM provides essential information related to the diagnosis and prognosis of the subjects. Moreover, CGM will become an indispensable tool for closed-loop control of future artificial pancreas, and the processing of any relevant information must be fast, robust and reliable. Traditionally, besides the usual all-or-nothing thresholds applied to detect hyper- or hypo-glycemia [17,18], this processing has been mainly based on a set of glucose variability metrics [19,20,21]. More recently, this variability analysis has evolved into a more elaborated scheme using time series regularity, complexity or entropy estimators [22]. Among all these proposed estimators, Detrended Fluctuation Analysis (DFA) [23] is probably the most used method in the context of glucose data. This measure quantifies the long-term correlations of non-stationary time series, and it has been used to assess the fluctuations of glucose in normal daily life in diabetic and non-diabetic subjects [24], as a predictor for the development of diabetes of patients at risk [25], to study the initial phases of glucose metabolism dysfunction in hypertensive patients [26], as a marker of risk for critical patients [27] or to estimate insulin resistance also in diabetic and non-diabetic subjects [28].
Other entropy estimators based on ApEn have been less extensively used in this context [29], probably due to the problems stated above. Glycemic ApEn has been correlated with patient outcome after surgery, among other metrics [30]. SampEn, its derivative multiscale entropy, mainly, has been used to study the complexity of glucose dynamics in diabetes [31]. So far, FuzzyEn has not been included in any research work related to the analysis of blood glucose time series. However, these two methods have been extensively and successfully used in many other time series classification studies [9,32,33,34,35,36,37,38], not only physiological records [39,40], and have also demonstrated their robustness against signal artifacts [41,42,43]. This is why these two entropy statistics were chosen for the present study.
Given the claimed better performance of FuzzyEn reported in the literature [9], in comparison with its predecessors ApEn and SampEn, we wanted to study the applicability of this new metric to glycemia data, taking into account the possible ill effects caused by the record features stated above, and their characterization. Based on the dataset obtained from a study of the endocrine consequences of duodenal-jejunal exclusion [44], this paper comparatively assesses the capability of SampEn and its derivative FuzzyEn to distinguish between classes, under different conditions in terms of record length, artifacts and border effects. The clinical implications of such a classifier can be varied and diverse. Changes in glucose dynamics could be correlated with other anthropometric, biochemical or hormonal characteristics [44,45] in order to try to anticipate the rate and intensity of metabolic improvements after the exclusion and better understand the possible mechanisms of its effects. It could also be used as a screening tool for patient/treatment selection.
The performance was assessed using the Area Under the ROC Curve (AUC) [46] values obtained for the classification of two input classes (Months 1 and 10 for the database described in Section 2.2). AUC is a widely-used measure in a diversity of classification schemes, including those based on entropy metrics in the context of biomedical applications [32,47,48,49,50,51].
The metric for the classification was SampEn or FuzzyEn, and the input time series underwent different transformations to account for the effects targeted in this characterization study: record length (Section 3.2), missing samples (Section 3.3), sensor saturation (Section 3.4) and time offset (Section 3.5). The block diagram of the analysis proposed is shown in Figure 1.

2. Materials and Methods

2.1. SampEn and FuzzyEn

SampEn was first introduced in [8], as an improvement of ApEn, and FuzzyEn in [9], also as an enhancement of SampEn. These methods were devised to characterize the level of irregularity, complexity, randomness or predictability found in time series, which is related to the dynamics of many physiological systems [52], as is the case for the gluco-regulatory system. Both algorithms are quite similar, but FuzzyEn replaces the dissimilarity measure by a fuzzy function (membership function); and the subsequences are normalized in terms of zero mean, before computing such dissimilarity.
The input to both methods is a time series x of length N: x = x 1 , x 2 , x 3 , , x N , from which a set of ordered subsequences x i of length m < < N is extracted: x i = x i , x i + 1 , x i + 2 , , x i + m 1 .
In SampEn, the maximum distance between 2 different subsequences d i j = max ( | x i + k x j + k | ) , 0 k m 1 , j i is computed. This distance is thresholded using a predefined parameter r, the number of distances found, j , and for a specific i, within such a threshold, stored in a counter B i ( r ) . This process is repeated i and the final value averaged:
B m ( r ) = 1 N m i = 1 N m B i m ( r )
An additional counter A m ( r ) is obtained using m m + 1 . Finally, SampEn is obtained as:
SampEn ( m , r , N ) = log A m ( r ) B m ( r )
In FuzzyEn, each local mean is first subtracted from every subsequence: y i = x i mean ( x i ) , x i + 1 mean ( x i ) , x i + 2 mean ( x i ) , x i + m 1 mean ( x i ) , i = 1 , , N m + 1 . The dissimilarity is now computed as D i j = μ ( d i j , r ) , 0 k m 1 , j i , where μ is the fuzzy function selected, usually the exponential function exp ( ( d i j / r ) n ) . The counters now become:
ϕ i m ( r ) = 1 N m 1 j = 1 , j i N m D i j m
φ m ( r ) = 1 N m i = 1 N m ϕ i m ( r )
Finally, FuzzyEn is obtained as:
FuzzyEn ( m , r , n , N ) = log φ m ( r ) log φ m + 1 ( r )
The performance of both metrics depends on the value of the parameters m and r, and specifically for FuzzyEn, n. These values are very application specific, and for optimal performance, an exploratory analysis of a range of values must be carried out in advance (grid search). During the experiments, and in all cases, r values tested ranged from 0.15–0.30, in 0.01 steps, and m values from 1 up to 3. This way, the influence of the parameters on the results was minimized, and only optimal configurations in the specified subset, in terms of maximum AUC, and in accordance with the recommended values for m and r, were considered.

2.2. Experimental Dataset

The experimental dataset was recorded at the Third Department of Medicine, Department of Endocrinology and Metabolism, Charles University in Prague, Czech Republic. This database contains 91 records of 30 diabetic patients that underwent a duodenal-jejunal bypass liner implantation. Records contain measurements at baseline (before implantation), 1 month and 10 months later and 3 months after removal. Durations span from a few hours (796 samples being the shortest) up to more than 6 days for a few records (2022 samples being the longest), with a sampling period of 5 min. Sensors had to be recalibrated twice per day, mainly at the beginning of the recordings, and that is why possible border effects were likely to be present during the first hours or even days of the recordings due to the learning curve.
In this study, only records obtained during the implantation (at Month 1, class A1, 24 records, and at Month 10, class B1, 23 records, 47 in total) were studied (Figure 2). The rationale of this selection was to study the possible effects of such implantation. In the seminal endocrine study [44], many physiological characteristics exhibited significant differences that could be arguably translated into measurable glucose control changes from A1 to B1. Specifically, that study assessed the influence of The Duodenal-Jejunal Bypass Liner (DJBL) on anthropometric parameters, glucose regulation and the metabolic and hormonal profile of diabetic obese patients. All the subjects experienced a significant body weight, waist circumference and body fat reduction, starting at one month after implantation, which further progressed until the 10 month. Glucose variability decreased during the period from the first month until the 10-month follow-up, which can be related to changes in glucose complexity or dynamics, as studied here [52]. This effect was lost after DJBL removal, and that is why only classes A1 and B1 are analyzed in the present study. Fasting plasma insulin and C-peptide concentrations also decreased during that period. Other changes can be checked in [44]. Of all 47 records, 36 corresponded to the same subjects (18 in each class). Incomplete pairs were therefore discarded. Additionally, paired tests always need less subjects [53]. The percentage of missing samples in these records was close to 10% in the worst case, with a few records with no missing samples at all. Further details of this database can be found in [44].

3. Experiments and Results

3.1. Parameter Optimization

The parameters m and r for SampEn and FuzzyEn were optimized using a grid search, namely AUC was computed for all their values proposed in Section 2.1, and the optimal configuration was taken as that for which AUC was maximal. For practical purposes, to keep the computational burden within reasonable limits, the n FuzzyEn parameter was optimized for a single case instead, six day-long records, taken at the center of the records. The result of the optimization of the n parameter was n = 0.625 , with an AUC = 0.82 (Figure 3).
For illustrative purposes, Table 1 shows the optimal configuration achieved for records of six days, best cases, to provide a more complete picture of the performance of the classification. A column is included to depict the statistical significance of the results in terms of a Mann–Whitney test, since the results were not normally distributed.
The numerical results are shown in Table 2 for the case SampEn ( 1 , 0.17 , 1728 ) . This configuration achieved a specificity of 100% (correctly classified B1 records, with a 95% confidence interval of [ 0.629 , 1 ] ), sensitivity of 85.7% (correctly classified A1 records, with a confidence interval of [ 0.562 , 0.975 ] ), and a global classification accuracy of 91.3%, with an optimal threshold of 0.2625. These numerical results are graphically depicted in the ROC analysis [54] of Figure 4. With a parametric ROC fitting [53], the AUC is 0.82, with an asymptotic confidence interval of [ 0.627 , 1 ] and p = 0.0012 . With a nonparametric ROC fitting (empiric, top-left plot in Figure 4), AUC is 0.90, with a confidence interval [55] of [ 0.766 , 1 ] , with p = 1.08 × 10 8 , and a standard error estimation of 0.0708. The sample size that required estimation using [53], with power = 0.8 and AUC = 0.8, was 20, 10 for each class, which is close to the actual size in this study, 23 (14 and 9).
The maximum AUC was achieved for m = 1 and r = 0.17 for records of six6 days long, in general for r values close to 0.2 , and for m = 1 for SampEn and m = 3 for FuzzyEn, in accordance with the general guidelines for these parameters. In addition, for the best case, a Leave-One-Out (LOO) validation procedure was applied to further assess the validity of this performance. Results for 25 tests with replacement are shown in Table 3.
Since the algorithm differences between FuzzyEn and SampEn are the dissimilarity function and the epoch mean normalization, in order to find out what was the feature that played the major role in the result differences, the optimization procedure was repeated without the epoch mean normalization. The new results with the modified FuzzyEn method, FuzzyEn*, are shown in Table 4.
According to the results in Table 4, FuzzyEn performance does not significantly vary if the epochs are not normalized in terms of the mean. Therefore, the other algorithm difference, the dissimilarity function, seemed to play the main role in the lower performance of FuzzyEn in this case.

3.2. Influence of Record Length

The influence of record length is a very well-known weakness of most entropy metrics, not only those studied here. In contexts where the acquisition stage ensures a sufficiently long time series, this weakness can be easily overcome. However, this is not the case with blood glucose time series, where the invasiveness of the sensors and the limitations of the process (low sampling rate, battery life, calibration) do not enable measurements longer than a few days at most.
This experiment was carried out using the six day-long records of the database. The length of the records was progressively increased from 1–6 days in 288 samples steps (one day, taken at the center of the complete record to avoid border effects), and the parameters were optimized as described in the previous section. The AUC for each length was computed using both estimators. The results are shown in Figure 5.
Since most records were at least 288 samples long, but only 23 out of 47 achieved the required six-day duration, only those 23 were used in the experiments for all lengths (Figure 6 and Figure 7). This way, the final dataset remained constant during the computation of all the tests. For a single day, namely the mid-288 samples, lengths of 18, 36, 72 and 144 samples were also studied. The maximum performance was achieved for the longest records, as expected. At Day 6, AUC using SampEn was 0.90 and 0.82 for FuzzyEn. For durations shorter than four days, both metrics yielded approximately the same results (AUC close to 0.75).
It is important to note that most entropy measures are very sensitive to input record length, and this fact may contribute to the differences in performance with the six day-long records and their shorter counterparts. Namely, the differences found are not only due to physiological or monitoring reasons, but also due to analytical needs. This sensitivity is graphically illustrated in Figure 8. SampEn becomes stable at approximately 1000 samples, nearly four days, whereas FuzzyEn stability is reached at 200–300 samples, one day. This may also explain why the performance of FuzzyEn does not vary with length as much as that of SampEn, mainly from Day 4, as depicted in Figure 5.

3.3. Influence of Missing Samples

Missing samples is a common issue in blood glucose time series (Figure 9), but there is no study so far that has characterized the impact of the incomplete data on the signal classification performance. Researchers usually discard records or epochs with too many missing samples (20% is a heuristic threshold we had used in the past), and a common approach for short series of missing data is to reconstruct those values from the neighboring observations available.
The experimental database included many records with missing samples, but they were interpolated before the experiments (pre-filtering). The assessment of the impact of missing samples was conducted using random synthetic ones (spikes down to zero), with customized percentages ranging from 2.5% up to 10%, in 2.5 steps. The results are shown in Table 5.
In order to gain more insight into the influence of missing samples, the 10% case in Table 5 was re-analyzed after applying an interpolation scheme to remove all the gaps. Using the fuzzy metric, from an AUC of 0.74, sensitivity of 0.72 ± 0.075 and specificity of 0.686 ± 0.084 , the performance after interpolation was back to that of the initial case shown in Table 1. This was also the case for SampEn, which suggests that linear interpolation is a suitable tool to account for missing samples.
Although more than one missing sample can be found consecutively (missing epochs), that case is easily detected and usually addressed splitting the record at that point (the longer the gap, the less reliable the calculations become [11]), and therefore, only the most frequent case of a single missing sample was analyzed.

3.4. Influence of Sensor Saturation

Sensor saturation refers to the impossibility for the device to provide readings above (end of scale) or below (minimum sensitivity) some certain thresholds, usually due to technical constraints or sensor attachment problems. This is very usual in real continuous blood glucose monitoring. Before the user or the physician notices there is something wrong with the placement of the sensor or any other device malfunction, such as the loss of or incorrect calibration parameters, some samples have already been acquired. Figure 10a depicts a record with low saturation values at 2.2 mmol/L, whereas in Figure 10b, the record is saturated at 22.2 mmol/L at some points (limitation of the recorder used). These records did not belong to the experimental dataset.
The assessment of the impact of saturation was conducted using random saturation pulses, of 22.2 mmol/L of amplitude, and with customized lengths of six up to 60 samples, in six-sample steps. They were randomly located in the records in a similar way as the spikes, but only one pulse per record. The quantitative results are shown in Table 6.

3.5. Influence of Time Offset

Glucose time series are not stationary [56]. From a practical perspective in this study, this means the values obtained for the entropy metrics using a certain time window will surely differ from those obtained at another time window. In addition, many doctors have reported intuitively that the beginning of the records could probably be less reliable or stable. Clinically, there are also temporal changes due to initial calibrations of the measuring devices, the learning curve related to their proper use or wearing and changes in treatment adherence before or after a clinic appointment [57]. This is known as the white-coat effect, and it is a well-known disturbance that causes significant temporal changes in physiological markers during clinical visits [58,59]. These changes can arguably play a role in the correct analysis of the resulting time series, since they are not related to the dynamics of the glucose control systems, but to other irrelevant external factors.
Therefore, the entropy-likely fluctuations associated with temporal changes had to be studied with regard to the signal classification capability of these methods. For this purpose, AUC was computed for three-day time windows shifted one day from zero up to three days, with two days overlapping, using records of six days long. The results of these experiments are shown in Table 7, including a statistical significance analysis.

4. Discussion

This study analyses the impact of the typical artifacts found in blood glucose records on the class segmentation capabilities of SampEn and its derivative FuzzyEn. The influence of the parameters is practically removed by a grid search of the optimal configuration for the purpose of each experiment.
The main metric to quantify the performance of the methods was AUC, including a statistical significance assessment for some cases, an LOO cross-validation, and a global classification accuracy score for the optimal configuration. AUC is a very popular metric to assess the performance of a classifier due to its simplicity, robustness (insensitive to class asymmetry) and straightforward interpretability: if a classifier A has a greater AUC than a classifier B, A has a better average performance than B [46]. AUC quantifies the classifier’s ability to avoid false classification [60], with a performance threshold for random guessing of 0.5. In other words, the closer AUC is to 1.0, the better is the expected performance of the classifier.
The influence of the record length was characterized by increasing the number of samples used in the entropy calculations in steps of 288 samples, that is one day. As depicted in Figure 5, the longer the record, the higher the AUC, and therefore, the more separable the two classes are. The AUC remains more or less constant up to four days, and then, it increases significantly. This could be due to the achievement of a length that enables a more robust entropy estimation (greater than 1000 samples), as recommended in some works [7] and visually justified in Figure 8. However, it does not mean SampEn or FuzzyEn are not usable at short lengths, because the important feature is the dissimilarity between entropy values from each class, not their absolute values. In any case, SampEn yields better results than FuzzyEn for all the lengths except for extremely short records (only 18 or 36 samples). It is important also to note that records were cut from data at the center of the entire available records to avoid possible border effects and ensure more data stability.
The presence of one-sample gaps in the time series did have a significant impact on the separability of the two classes under analysis. Both metrics worsened their performance at each step, although FuzzyEn appeared to be a little bit more robust. Arguably, it can be hypothesized that these missing samples may hinder the classification of blood glucose records, and they should be avoided, if possible, or filtered out with some kind of interpolation. For real interference levels of 10%, the separability becomes very poor, even for a baseline AUC higher than 0.90. It is also important to note that this analysis was carried out in terms of classification performance, not in terms of changes in absolute entropy values, which surely took place [43].
Sensor saturation is another record disturbance that also significantly damages classification performance. Even for very short saturated epochs (60 samples, five hours at one sample per five minutes, 3.5% of the six-day records), the two classes become almost undistinguishable. This is also another quite frequent issue in most blood glucose records, and it is almost impossible to remove using signal processing techniques, since the real signal cannot be reconstructed. Therefore, this disturbance should be detected and corrected as soon as possible at the acquisition stage.
The possible effect of the specific time window on the analysis is quantified in Table 7. Time windows of three days were taken from the beginning of the records of at least six days long of the experimental database, and the calculations of SampEn and FuzzyEn were repeated for all the possible windows, shifted one day in each case, with two days overlapping. This experiment was devised to find out if the global differences found were due only to non-stationary changes, or if the differences were regularly distributed along the entire records. Although class differences are fairly significant in most of the epochs analyzed, there is a clear trend towards higher differences at later stages. This may be due to a more stable glucose monitoring, a better device calibration or just a correlation with the learning curve linked to the whole process of CGM. It is important to note, however, that the beginning of the records seems to be the most unreliable part in terms of class segmentation, namely there seems to be a border effect on CGM records that should be avoided during analysis.
In all cases analyzed, the class separability was higher using SampEn. Even skipping the subsequence mean normalization stage in FuzzyEn, the SampEn performance was higher, which means that this type of record requires a sharp dissimilarity function. The input parameters were quite consistent and stable. As for m and r, there was small intra-class variability, with optimal values close to m = 1 for SampEn, m = 3 for FuzzyEn and r = 0.2 for both. The optimal n obtained for FuzzyEn was very low, n = 0.625 .

5. Conclusions

There are no standardized metrics for CGMS evaluation and perhaps different goals on different patients may require different metrics. Specifically concerning complexity, it is crucial to choose the right complexity metric, optimize its parameters and analyze the influence of sample length, missing data, sensor saturation and time offset. This is precisely the goal of the present paper. We assessed the metric’s discriminating power comparing two time series of a sample of patients before and 10 months after undergoing a therapeutic maneuver (DJLB) known to modify glucose metabolism, and we evaluated if and how these metrics were able to detect those changes.
CGM data are an extremely useful source of metabolic information with a myriad of current and future applications. However, records are usually very short and noisy, mainly in terms of missing samples and sensor saturation, and these artifacts may arguably interfere with the correct interpretation of the results using the otherwise successful entropy features. This study was aimed at characterizing the changes induced by such artifacts, enabling the arrangement of countermeasures in advance.
As expected, record length is pivotal for a reliable entropy assessment of the records. Although classification potential was always higher than 0.75, even for 288 samples, measured in terms of AUC, more robust results were obtained for longer records. In any case, we would recommend not to use records shorter than 24 h, since it is important to cancel out the chronobiological effects on the glucose dynamics, for example sleep and the fasting periods and meals during the day. For shorter series, it would be necessary first to characterize these chronobiological effects.
Missing samples seem to interfere significantly with the estimation of the underlying dynamics in glucose time series. Even with a very low ratio of 2.5%, there was a significant reduction of the AUC obtained, and this reduction was consistent along all the ratios tested. As for relatively usual higher ratios of 10% missing samples, it could become impossible to distinguish between the two classes. Fortunately, this artifact can be easily removed by just interpolating the missing samples, and this should be a routine procedure in the preprocessing stages of this kind of biomedical record.
The saturation of readings is also a usual disturbance in CGM data. A single epoch of six saturated consecutive values in the entire 1728 sample record has a great impact on the AUC, greater than that of missing samples. Moreover, this artifact is very difficult to remove since it would entail the reconstruction of the missing values. As a consequence, it would be advisable to implement some kind of alarm to detect this situation and implement corrective measures as soon as possible, during the acquisition stage.
Time offset is another key element to ensure proper interpretation of the class separability. The beginning of the records is less powerful in this regard, whereas the maximum separability is achieved at later stages. It is well known that initial calibration and sensor stabilization may cause border effects in these recordings, but more recordings, including timestamps for events, would be necessary to find out exactly what are the factors influencing this trend. As a general recommendation, the longer the records, the better, and if possible, discard the initial samples for analysis.
As for the statistics employed, SampEn outperforms FuzzyEn in all cases. Despite being an evolution and improvement, FuzzyEn does not achieve the AUC obtained with SampEn, in contrast with previous works [42], where FuzzyEn was clearly better. This means that derivatives are not necessarily always more effective than the original metrics, and more characterization studies would be necessary to define the optimal application domains in each case. However, despite the limitations of CGM data, classical regularity estimators can successfully be applied, as with other biomedical records.

Author Contributions

D.C.-F. and A.M.-P. designed and conducted the experiments. M.M., P.K., M.B. and M.H. collected the CGM data. D.N. and V.B. processed and prepared the time series of the database for analysis. B.V. characterized and prepared the artifacts. D.C.-F. wrote the paper.

Funding

The Czech partners were supported by DROIKEM000023001 and RVOVFN64165. No funding was received to support this research work by the Spanish partners.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

References

  1. Cobelli, C.; Man, C.D.; Sparacino, G.; Magni, L.; Nicolao, G.D.; Kovatchev, B.P. Diabetes: Models, Signals, and Control. IEEE Rev. Biomed. Eng. 2009, 2, 54–96. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Kirk, J.K.; Stegner, J. Self-Monitoring of Blood Glucose: Practical Aspects. J. Diabetes Sci. Technol. 2010, 4, 435–439. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Sherwani, S.I.; Khan, H.A.; Ekhzaimy, A.; Masood, A.; Sakharkar, M.K. Significance of HbA1c Test in Diagnosis and Prognosis of Diabetic Patients. Biomarker Insights 2016, 11. [Google Scholar] [CrossRef] [PubMed]
  4. Bonora, E.; Tuomilehto, J. The Pros and Cons of Diagnosing Diabetes With A1C. Diabetes Care 2011, 34, S184–S190. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. DeVries, J.H. Glucose Variability: Where It Is Important and How to Measure It. Diabetes 2013, 62, 1405–1408. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Fonseca, V.A.; Grunberger, G.; Anhalt, H.; Bailey, T.S.; Blevins, T.; Garg, S.K.; Handelsman, Y.; Hirsch, I.B.; Orzeck, E.A.; Roberts, V.L.; et al. Continuous glucose monitoring: A consensus conference of the american association of clinical endocrinologists and american college of endocrinology. Endocr. Pract. 2016, 22, 1008–1021. [Google Scholar] [CrossRef] [PubMed]
  7. Pincus, S.; Gladstone, I.; Ehrenkranz, R. A regularity statistic for medical data analysis. J. Clin. Monit. Comput. 1991, 7, 335–345. [Google Scholar] [CrossRef]
  8. Richman, J.; Moorman, J.R. Physiological time-series analysis using approximate entropy and sample entropy. Am. J. Physiol. Heart Circ. Physiol. 2000, 278, H2039–H2049. [Google Scholar] [CrossRef] [PubMed]
  9. Chen, W.; Zhuang, J.; Yu, W.; Wang, Z. Measuring complexity using FuzzyEn, ApEn, and SampEn. Med. Eng. Phys. 2009, 31, 61–68. [Google Scholar] [CrossRef] [PubMed]
  10. Sparacino, G.; Facchinetti, A.; Cobelli, C. “Smart” Continuous Glucose Monitoring Sensors: On-Line Signal Processing Issues. Sensors 2010, 10, 6751–6772. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  11. Fonda, S.J.; Lewis, D.G.; Vigersky, R.A. Minding the Gaps in Continuous Glucose Monitoring: A Method to Repair Gaps to Achieve More Accurate Glucometrics. J. Diabetes Sci. Technol. 2013, 7, 88–92. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. David, R. Continuous Glucose Monitoring: A Review of Successes, Challenges, and Opportunities. Diabetes Technol. Ther. 2016, 18, S2-3–S2-13. [Google Scholar]
  13. Gómez, A.M.; Henao Carrillo, D.C.; Muñoz Velandia, O.M. Devices for continuous monitoring of glucose: update in technology. Med. Devices 2017, 10, 215–224. [Google Scholar] [CrossRef] [PubMed]
  14. Vaddiraju, S.; Burgess, D.J.; Tomazos, I.; Jain, F.C.; Papadimitrakopoulos, F. Technologies for Continuous Glucose Monitoring: Current Problems and Future Promises. J. Diabetes Sci. Technol. 2010, 4, 1540–1562. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Fokkert, M.J.; van Dijk, P.R.; Edens, M.A.; Abbes, S.; de Jong, D.; Slingerland, R.J.; Bilo, H.J.G. Performance of the FreeStyle Libre Flash glucose monitoring system in patients with type 1 and 2 diabetes mellitus. BMJ Open Diabetes Res. Care 2017, 5. [Google Scholar] [CrossRef] [PubMed]
  16. Petrie, J.R.; Peters, A.L.; Bergenstal, R.M.; Holl, R.W.; Fleming, G.A.; Heinemann, L. Improving the Clinical Value and Utility of CGM Systems: Issues and Recommendations. Diabetes Care 2017, 40, 1614–1621. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Forouhi, N.G.; Wareham, N.J. Epidemiology of diabetes. Medicine 2014, 42, 698–702. [Google Scholar] [CrossRef] [PubMed]
  18. DeFronzo, R. Pathogenesis of type 2 diabetes mellitus. Med. Clin. N. Am. 2004, 88, 787–835. [Google Scholar] [CrossRef] [PubMed]
  19. Weber, C.; Schnell, O. The Assessment of Glycemic Variability and Its Impact on Diabetes-Related Complications: An Overview. Diabetes Technol. Ther. 2009, 10, 623–633. [Google Scholar] [CrossRef] [PubMed]
  20. Siegelaar, S.E.; Holleman, F.; Hoekstra, J.B.L.; DeVries, J.H. Glucose Variability; Does It Matter? Endocr. Rev. 2010, 31, 171–182. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. Rodbard, D. Interpretation of Continuous Glucose Monitoring Data: Glycemic Variability and Quality of Glycemic Control. Diabetes Technol. Ther. 2009, 11, S55–S67. [Google Scholar] [CrossRef] [PubMed]
  22. Juan, C.; Luís, V.; Esther, L.; Julián, R.G.; Manuel, V. The route to diabetes: Loss of complexity in the glycemic profile from health through the metabolic syndrome to type 2 diabetes. Diabetes Metab. Syndr. Obes. Targets Ther. 2008, 1, 3–11. [Google Scholar]
  23. Peng, C.K.; Buldyrev, S.V.; Havlin, S.; Simons, M.; Stanley, H.E.; Goldberger, A.L. Mosaic organization of DNA nucleotides. Phys. Rev. E 1994, 49, 1685–1689. [Google Scholar] [CrossRef]
  24. Ogata, H.; Tokuyama, K.; Nagasaka, S.; Ando, A.; Kusaka, I.; Sato, N.; Goto, A.; Ishibashi, S.; Kiyono, K.; Struzik, R.; et al. Long-range correlated glucose fluctuations in diabetes. Methods Inf. Med. 2007, 46, 222–226. [Google Scholar] [CrossRef] [PubMed]
  25. Rodriguez de Castro, C.; Vigil, L.; Vargas, B.; Garcia Delgado, E.; Garcia-Carretero, R.; Ruiz-Galiana, J.; Varela, M. Glucose time series complexity as a predictor of type 2 Diabetes. Diabetes Metab. Res. Rev. 2016, 30, e2831. [Google Scholar] [CrossRef] [PubMed]
  26. Vigil, L.; Condés, E.; Varela, M.; Rodriguez, C.; Colas, A.; Vargas, B.; Lopez, M.; Cirugeda, E. Glucose series complexity in hypertensive patients. J. Am. Soc. Hypertension 2014, 8, 630–636. [Google Scholar] [CrossRef] [PubMed]
  27. Brunner, R.; Adelsmayr, G.; Herkner, H.; Madl, C.; Holzinger, U. Glycemic variability and glucose complexity in critically ill patients: A retrospective analysis of continuous glucose monitoring data. Crit. Care 2012, 16, R175. [Google Scholar] [CrossRef] [PubMed]
  28. Crenier, L.; Lytrivi, M.; Van Dalem, A.; Keymeulen, B.; Corvilain, B. Glucose Complexity Estimates Insulin Resistance in Either Nondiabetic Individuals or in Type 1 Diabetes. J. Clin. Endocrinol. Metab. 2016, 101, 1490–1497. [Google Scholar] [CrossRef] [PubMed]
  29. Kohnert, K.; Salzsieder, E. Useful Measures to Assess Glucose Dynamics from Continuous Glucose Monitoring Data. Curr. Res. Diabetes Obes. J. 2017, 1, 1–4. [Google Scholar]
  30. Engoren, M.; Schwann, T.A.; Habib, R.H. Hyperglycemia, hypoglycemia, and glycemic complexity are associated with worse outcomes after surgery. J. Crit. Care 2014, 29, 611–617. [Google Scholar] [CrossRef] [PubMed]
  31. Chen, J.L.; Chen, P.F.; Wang, H.M. Decreased complexity of glucose dynamics in diabetes: Evidence from multiscale entropy analysis of continuous glucose monitoring system data. Am. J. Physiol. Regul. Integr. Comp. Physiol. 2014, 307, R179–R183. [Google Scholar] [CrossRef] [PubMed]
  32. Choi, W.Y.; Hoh, J.K. Nonlinear analysis of fetal heart rate dynamics in fetuses compromised by asymptomatic partial placental abruption. Placenta 2015, 36, 1474–1479. [Google Scholar] [CrossRef] [PubMed]
  33. Zhao, L.; Wei, S.; Zhang, C.; Zhang, Y.; Jiang, X.; Liu, F.; Liu, C. Determination of Sample Entropy and Fuzzy Measure Entropy Parameters for Distinguishing Congestive Heart Failure from Normal Sinus Rhythm Subjects. Entropy 2015, 17, 6270–6288. [Google Scholar] [CrossRef] [Green Version]
  34. Li, H.; Peng, C.; Ye, D. A study of sleep staging based on a sample entropy analysis of electroencephalogram. Bio-Med. Mater. Eng. 2015, 26, S1149–S1156. [Google Scholar] [CrossRef] [PubMed]
  35. Yu, M.; Chen, F.; Hu, F. Classification of EEG Signal Based on HCSP and Fuzzy Entropy. In Proceedings of the 2017 2nd International Conference on Cybernetics, Robotics and Control (CRC), Chengdu, China, 21–23 July 2017; pp. 189–193. [Google Scholar] [CrossRef]
  36. Zhang, D.; Ding, H.; Liu, Y.; Zhou, C.; Ding, H.; Ye, D. Neurodevelopment in newborns: A sample entropy analysis of electroencephalogram. Physiol. Meas. 2009, 30, 491. [Google Scholar] [CrossRef] [PubMed]
  37. Jia, Y.; Gu, H.; Luo, Q. Sample entropy reveals an age-related reduction in the complexity of dynamic brain. Sci. Rep. 2017, 7, 7990. [Google Scholar] [CrossRef] [PubMed]
  38. Acharya, U.R.; Fujita, H.; Adam, M.; Lih, O.S.; Hong, T.J.; Sudarshan, V.K.; Koh, J.E. Automated characterization of arrhythmias using nonlinear features from tachycardia ECG beats. In Proceedings of the 2016 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Budapest, Hungary, 9–12 October 2016; pp. 000533–000538. [Google Scholar] [CrossRef]
  39. Mehta, P.; Gaikwad, J.A.; Kulkarni, J.V. Application of multi-scale fuzzy entropy for roller bearing fault detection and fault classification based on VPMCD. In Proceedings of the 2016 IEEE International Conference on Recent Trends in Electronics, Information Communication Technology (RTEICT), Bangalore, India, 20–21 May 2016; pp. 256–261. [Google Scholar] [CrossRef]
  40. Sugisaki, K.; Ohmori, H. Realtime estimation of the degree of market efficiency using variable weighted Sample Entropy. In Proceedings of the 2008 SICE Annual Conference, Tokyo, Japan, 20–22 August 2008; pp. 1415–1418. [Google Scholar] [CrossRef]
  41. Cirugeda-Roldán, E.M.; Molina-Picó, A.; Novák, D.; Cuesta-Frau, D.; Kremen, V. Sample Entropy Analysis of Noisy Atrial Electrograms during Atrial Fibrillation. Comp. Math. Methods Med. 2018, 2018, 1874651. [Google Scholar] [CrossRef] [PubMed]
  42. Cuesta-Frau, D.; Miró-Martínez, P.; Núñez, J.J.; Oltra-Crespo, S.; Picó, A.M. Noisy EEG signals classification based on entropy metrics. Performance assessment using first and second generation statistics. Comput. Biol. Med. 2017, 87, 141–151. [Google Scholar] [CrossRef] [PubMed]
  43. Molina-Picó, A.; Cuesta-Frau, D.; Aboy, M.; Crespo, C.; Miró-Martínez, P.; Oltra-Crespo, S. Comparative Study of Approximate Entropy and Sample Entropy Robustness to Spikes. Artif. Intell. Med. 2011, 53, 97–106. [Google Scholar] [CrossRef] [PubMed]
  44. Kaválková, P.; Mráz, M.; Trachta, P.; Kloučková, J.; Cinkajzlová, A.; Lacinová, Z.; Haluzíková, D.; Beneš, M.; Vlasáková, Z.; Burda, V.; et al. Endocrine effects of duodenal–jejunal exclusion in obese patients with type 2 diabetes mellitus. J. Endocrinol. 2016, 231, 11–22. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  45. Van Rijn, S.; Betzel, B.; de Jonge, C.; van Dijk, D.P.J.; Janssen, I.M.; Berends, F.J.; Bouvy, N.D.; Greve, J.W.M. The Effect of 6 and 12 months Duodenal-Jejunal Bypass Liner Treatment on Obesity and Type 2 Diabetes: A Crossover Cohort Study. Obes. Surg. 2018, 28, 1255–1262. [Google Scholar] [CrossRef] [PubMed]
  46. Fawcett, T. An introduction to ROC analysis. Pattern Recognit. Lett. 2006, 27, 861–874. [Google Scholar] [CrossRef]
  47. Hu, J. Comparison of different features and classifiers for driver fatigue detection based on a single EEG channel. Comput. Math. Methods Med. 2017, 2017, 5109530. [Google Scholar] [CrossRef] [PubMed]
  48. Orlhac, F.; Soussan, M.; Djelbani, S.; Tordjmann, J.; Buvat, I. Entropy characterizes intratumoral hypometabolism in FDG PET. J. Nuclear Med. 2015, 56, 1779. [Google Scholar]
  49. Norris, P.R.; Stein, P.K.; Morris, J.A. Reduced heart rate multiscale entropy predicts death in critical illness: A study of physiologic complexity in 285 trauma patients. J. Crit. Care 2008, 23, 399–405. [Google Scholar] [CrossRef] [PubMed]
  50. Fino, P.C.; Mojdehi, A.R.; Adjerid, K.; Habibi, M.; Lockhart, T.E.; Ross, S.D. Comparing Postural Stability Entropy Analyses to Differentiate Fallers and Non-fallers. Ann. Biomed. Eng. 2016, 44, 1636–1645. [Google Scholar] [CrossRef] [PubMed]
  51. Delic, J.; Alhilali, L.M.; Hughes, M.A.; Gumus, S.; Fakhran, S. White Matter Injuries in Mild Traumatic Brain Injury and Posttraumatic Migraines: Diffusion Entropy Analysis. Radiology 2016, 279, 859–866. [Google Scholar] [CrossRef] [PubMed]
  52. Sturmberg, J.P.; Bennett, J.M.; Picard, M.; Seely, A.J.E. The trajectory of life. Decreasing physiological network complexity through changing fractal patterns. Front. Physiol. 2015, 6, 169. [Google Scholar] [CrossRef] [PubMed]
  53. Obuchowski, N. Fundamentals of clinical research for radiologists—ROC analysis. Am. J. Roentgenol. 2005, 184, 364–372. [Google Scholar] [CrossRef] [PubMed]
  54. Goksuluk, D.; Korkmaz, S.; Zararsiz, G.; Karağaoğlu, A. easyROC: An Interactive Web-tool for ROC Curve Analysis Using R Language Environment. R J. 2016, 2, 213–230. [Google Scholar]
  55. DeLong, E.R.; DeLong, D.M.; Clarke-Pearson, D.L. Comparing the Areas under Two or More Correlated Receiver Operating Characteristic Curves: A Nonparametric Approach. Biometrics 1988, 44, 837–845. [Google Scholar] [CrossRef] [PubMed]
  56. Frandes, M.; Timar, B.; Timar, R.; Lungeanu, D. Chaotic time series prediction for glucose dynamics in type 1 diabetes mellitus using regime-switching models. Nat. Sci. Rep. 2017. [Google Scholar] [CrossRef] [PubMed]
  57. Driscoll, K.A.; Johnson, S.B.; Tang, Y.; Yang, F.; Deeb, L.C.; Silverstein, J.H. Does Blood Glucose Monitoring Increase Prior to Clinic Visits in Children With Type 1 Diabetes? Diabetes Care 2011, 34, 2170–2173. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  58. Pickering, T.G.; Gerin, W.; Schwartz, A.R. What is the white-coat effect and how should it be measured? Blood Pressure Monit. 2002, 7, 293–300. [Google Scholar] [CrossRef]
  59. Benmoussa, J.A.; Clarke, M.; Bloomfield, D. White Coat Hyperglycemia: The Forgotten Syndrome. J. Clin. Med. Res. 2016, 8, 567–568. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  60. Ferri, C.; Hernández-Orallo, J.; Modroiu, R. An experimental comparison of performance measures for classification. Pattern Recognit. Lett. 2009, 30, 27–38. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Block diagram. The Duodenal-Jejunal Bypass Liner (DJBL) was implanted into a number of obese patients with type 2 diabetes mellitus. Glucose time series for each one were recorded one month and 10 months after implantation. This study analyses the possible differences in the glucose control at those stages and the influence that artifacts found in these records may exert on non-linear metrics performance, specifically SampEn and FuzzyEn. The outcome of the process is the estimated classes A 1 and B 1 .
Figure 1. Block diagram. The Duodenal-Jejunal Bypass Liner (DJBL) was implanted into a number of obese patients with type 2 diabetes mellitus. Glucose time series for each one were recorded one month and 10 months after implantation. This study analyses the possible differences in the glucose control at those stages and the influence that artifacts found in these records may exert on non-linear metrics performance, specifically SampEn and FuzzyEn. The outcome of the process is the estimated classes A 1 and B 1 .
Entropy 20 00871 g001
Figure 2. Example of two signals of the experimental database. Classes A1 and B1 correspond to records obtained after one month and 10 months of duodenal-jejunal bypass liner implantation, respectively. The sampling period was 5 min.
Figure 2. Example of two signals of the experimental database. Classes A1 and B1 correspond to records obtained after one month and 10 months of duodenal-jejunal bypass liner implantation, respectively. The sampling period was 5 min.
Entropy 20 00871 g002
Figure 3. Optimization of the FuzzyEn n parameter for the experimental database. The plot starts at n = 0.25 . The highest AUC (0.82) was obtained for n = 0.625 . At n = 2 , the dissimilarity function becomes Gaussian.
Figure 3. Optimization of the FuzzyEn n parameter for the experimental database. The plot starts at n = 0.25 . The highest AUC (0.82) was obtained for n = 0.625 . At n = 2 , the dissimilarity function becomes Gaussian.
Entropy 20 00871 g003
Figure 4. ROC analysis of the results in Table 2.
Figure 4. ROC analysis of the results in Table 2.
Entropy 20 00871 g004
Figure 5. Influence of record length. As the duration of the time series increases, the classification performance in terms of AUC also increases significantly, mainly from Day 4. The results for FuzzyEn are lower than those of SampEn. This analysis was performed using the parameter values m = 1 and r = 0.17 , optimal for the six day-long series, but suboptimal for shorter lengths (Table 1). This may explain the significant performance increase at five and six days, along with the availability of a number of samples beyond 1000. In a real situation, it is more usual to find out the best parameter configuration for the most important case and to use it for all the cases. For a length performance comparison using locally-optimized parameters, see Table 1.
Figure 5. Influence of record length. As the duration of the time series increases, the classification performance in terms of AUC also increases significantly, mainly from Day 4. The results for FuzzyEn are lower than those of SampEn. This analysis was performed using the parameter values m = 1 and r = 0.17 , optimal for the six day-long series, but suboptimal for shorter lengths (Table 1). This may explain the significant performance increase at five and six days, along with the availability of a number of samples beyond 1000. In a real situation, it is more usual to find out the best parameter configuration for the most important case and to use it for all the cases. For a length performance comparison using locally-optimized parameters, see Table 1.
Entropy 20 00871 g005
Figure 6. Records of class A1 of length at least six days used in the experiments.
Figure 6. Records of class A1 of length at least six days used in the experiments.
Entropy 20 00871 g006
Figure 7. Records of class B1 of length at least six days used in the experiments.
Figure 7. Records of class B1 of length at least six days used in the experiments.
Entropy 20 00871 g007
Figure 8. Sensitivity of SampEn and FuzzyEn to record length. For records shorter than 1000 samples (3.5 days; see the scale at the top axis), SampEn is quite unstable. FuzzyEn is less sensitive to record length, although it becomes really stable at 1100 samples. Values shown correspond to the averages of all the records six days long.
Figure 8. Sensitivity of SampEn and FuzzyEn to record length. For records shorter than 1000 samples (3.5 days; see the scale at the top axis), SampEn is quite unstable. FuzzyEn is less sensitive to record length, although it becomes really stable at 1100 samples. Values shown correspond to the averages of all the records six days long.
Entropy 20 00871 g008
Figure 9. Real record with missing samples. The values not found are considered as zero for representation. This record exhibits a missing sample rate slightly higher than 10%.
Figure 9. Real record with missing samples. The values not found are considered as zero for representation. This record exhibits a missing sample rate slightly higher than 10%.
Entropy 20 00871 g009
Figure 10. Influence of sensor saturation. Records remain flat for some samples at one or both ends of the device measurement scale. (a) Example of saturation at low values. Data at Locations 100 and 225 include some continuous readings at 2.2 mmol/L, mainly at the record end. (b) Example of saturation at high values. Data at Locations 300 and 1000 include some continuous readings at 22.2 mmol/L.
Figure 10. Influence of sensor saturation. Records remain flat for some samples at one or both ends of the device measurement scale. (a) Example of saturation at low values. Data at Locations 100 and 225 include some continuous readings at 2.2 mmol/L, mainly at the record end. (b) Example of saturation at high values. Data at Locations 300 and 1000 include some continuous readings at 22.2 mmol/L.
Entropy 20 00871 g010
Table 1. Results of the parameter optimization process, using SampEn and FuzzyEn. Cases shown correspond to the best cases among all the cases tested, ranked by AUC result. Significance is confirmed by sensitivity, specificity and the p-value of the Mann—Whitney test.
Table 1. Results of the parameter optimization process, using SampEn and FuzzyEn. Cases shown correspond to the best cases among all the cases tested, ranked by AUC result. Significance is confirmed by sensitivity, specificity and the p-value of the Mann—Whitney test.
MetricmrnNRecordsAUCSensitivitySpecificityp
SampEn10.17NA1728230.9010.860.0015
SampEn20.17NA1728230.8810.780.0022
SampEn30.17NA1728230.870.890.780.0034
SampEn10.20NA1440300.840.920.650.0033
SampEn10.20NA1152360.780.870.650.0053
SampEn10.20NA864440.730.850.560.0096
SampEn10.17NAAny470.700.650.710.0213
SampEn30.17NAAny470.700.700.670.0206
SampEn30.15NAAny470.690.730.660.0254
FuzzyEn30.240.6251728230.820.880.710.0151
FuzzyEn30.151.01728230.810.770.780.0183
FuzzyEn30.270.6251440300.780.760.700.0178
FuzzyEn30.110.6251152360.730.690.700.0226
FuzzyEn20.120.625864440.690.660.610.0385
FuzzyEn30.240.625Any470.610.610.670.1870
Table 2. Numerical SampEn results for the 6 day-long records of both classes.
Table 2. Numerical SampEn results for the 6 day-long records of both classes.
Class A1Class B1
10.30980.2577
20.26250.1529
30.22800.2367
40.36520.2597
50.27130.2174
60.30990.2222
70.29980.2278
80.47080.2072
90.26940.2585
100.5985
110.1798
120.2859
130.3738
140.3985
Global 0.3303 ± 0.1067 0.2267 ± 0.0337
Table 3. LOO results. One record of each class was randomly omitted from the dataset, and the AUC analysis was carried out on the remaining (training) data. A classification threshold was then computed and later applied to the omitted (validation) records.
Table 3. LOO results. One record of each class was randomly omitted from the dataset, and the AUC analysis was carried out on the remaining (training) data. A classification threshold was then computed and later applied to the omitted (validation) records.
Record A1Record B1AUCThresholdSampEn Record A1SampEn Record B1Accuracy
740.890.26110.29980.2597100%
490.900.26110.36520.2585100%
310.930.26110.22800.25770%
170.890.26110.30980.2278100%
460.890.26110.36520.2222100%
1140.970.26050.17980.25970%
1490.900.26110.39850.2585100%
1420.880.26110.39850.1529100%
1170.960.26110.17980.22780%
1460.890.26110.39850.2222100%
880.890.26110.47080.2072100%
1310.900.26110.37380.2577100%
870.890.26110.47080.2278100%
110.900.26110.30980.2577100%
690.900.26110.30990.2585100%
610.900.26110.30990.2577100%
260.890.26450.26250.22220%
170.890.26110.30980.2278100%
320.920.26110.22800.15290%
410.900.26110.36520.2577100%
650.890.26110.30990.2174100%
870.890.26110.47080.2278100%
720.880.26110.29980.1529100%
1420.880.26110.39850.1529100%
640.900.26050.30990.2597100%
0.90 ± 0.02 80%
Table 4. Influence of mean normalization on FuzzyEn. Parameters m and r were optimized again, achieving the best configuration for the same r values, but with m = 2 instead of m = 3 in this case.
Table 4. Influence of mean normalization on FuzzyEn. Parameters m and r were optimized again, achieving the best configuration for the same r values, but with m = 2 instead of m = 3 in this case.
MetricmrnNAUC
FuzzyEn*20.240.62517280.83
FuzzyEn*20.15117280.79
Table 5. AUC results obtained for the analysis of the influence of missing samples on the classification capability.
Table 5. AUC results obtained for the analysis of the influence of missing samples on the classification capability.
Metric0%2.5%5%7.5%10%
SampEn0.90 0.83 ± 0.01 0.77 ± 0.02 0.75 ± 0.01 0.73 ± 0.02
FuzzyEn0.82 0.80 ± 0.01 0.76 ± 0.01 0.75 ± 0.04 0.74 ± 0.02
Table 6. AUC results obtained for the analysis of the influence of reading saturation on the classification capability.
Table 6. AUC results obtained for the analysis of the influence of reading saturation on the classification capability.
Metric6121824303642485460
SampEn 0.82 ± 0.0025 0.80 ± 0.0050 0.79 ± 0.0076 0.78 ± 0.0031 0.80 ± 0.0031 0.75 ± 0.0152 0.73 ± 0.0107 0.71 ± 0.0165 0.72 ± 0.0120 0.72 ± 0.0355
FuzzyEn 0.77 ± 0.0038 0.75 ± 0.0025 0.76 ± 0.0171 0.72 ± 0.0076 0.73 ± 0.0247 0.73 ± 0.0311 0.70 ± 0.0088 0.70 ± 0.0184 0.69 ± 0.0114 0.69 ± 0209
Table 7. AUC performance of SampEn and FuzzyEn on a day-by-day basis. Analysis using 3-day time windows shifted 0 days up to 3 days to visualize the effect of the location of the data. Performance varies depending on the specific epoch being processed, with a clear trend towards better classification using the later epochs and a significant decay in performance at the beginning of the records.
Table 7. AUC performance of SampEn and FuzzyEn on a day-by-day basis. Analysis using 3-day time windows shifted 0 days up to 3 days to visualize the effect of the location of the data. Performance varies depending on the specific epoch being processed, with a clear trend towards better classification using the later epochs and a significant decay in performance at the beginning of the records.
ShiftAUC (SampEn)AUC (FuzzyEn)
00.79 ( p = 0.0697 )0.69 ( p = 0.0991 )
10.84 ( p = 0.0052 )0.83 ( p = 0.0087 )
20.85 ( p = 0.0066 )0.77 ( p = 0.0290 )
30.93 ( p = 0.0007 )0.81 ( p = 0.0109 )

Share and Cite

MDPI and ACS Style

Cuesta-Frau, D.; Novák, D.; Burda, V.; Molina-Picó, A.; Vargas, B.; Mraz, M.; Kavalkova, P.; Benes, M.; Haluzik, M. Characterization of Artifact Influence on the Classification of Glucose Time Series Using Sample Entropy Statistics. Entropy 2018, 20, 871. https://0-doi-org.brum.beds.ac.uk/10.3390/e20110871

AMA Style

Cuesta-Frau D, Novák D, Burda V, Molina-Picó A, Vargas B, Mraz M, Kavalkova P, Benes M, Haluzik M. Characterization of Artifact Influence on the Classification of Glucose Time Series Using Sample Entropy Statistics. Entropy. 2018; 20(11):871. https://0-doi-org.brum.beds.ac.uk/10.3390/e20110871

Chicago/Turabian Style

Cuesta-Frau, David, Daniel Novák, Vacláv Burda, Antonio Molina-Picó, Borja Vargas, Milos Mraz, Petra Kavalkova, Marek Benes, and Martin Haluzik. 2018. "Characterization of Artifact Influence on the Classification of Glucose Time Series Using Sample Entropy Statistics" Entropy 20, no. 11: 871. https://0-doi-org.brum.beds.ac.uk/10.3390/e20110871

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