Abstract
Introduction:
Despite vast research, premature birth's electrophysiological mechanisms are not fully understood. Prediction of preterm birth contributes to child survival by providing timely and skilled care to both mother and child. Electrohysterography is an affordable, noninvasive technique that has been highly sensitive in diagnosing preterm labor. This study aimed to choose the more appropriate combination of characteristics, such as electrode channel and bandwidth, as well as those linear, time-frequency, and nonlinear features of the electrohysterogram (EHG) for predicting preterm birth using classifiers.
Methods:
We analyzed two open-access datasets of 30 minutes of EHG obtained in regular checkups of women around 31 weeks of pregnancy who experienced premature labor (P) and term labor (T). The current approach filtered the raw EHGs in three relevant frequency subbands (0.3–1 Hz, 1–2 Hz, and 2–3Hz). The EHG time series were then segmented to create 120-second windows, from which individual characteristics were calculated. The linear, time-frequency, and nonlinear indices of EHG of each combination (channel-filter) were fed to different classifiers using feature selection techniques.
Results:
The best performance, i.e., 88.52% accuracy, 83.83% sensitivity, and 93.22% specificity, was obtained in the 2–3 Hz bands using Medium Frequency, Continuous Wavelet Transform (CWT), and entropy-based indices. Interestingly, CWT features were significantly different in all filter-channel combinations. The proposed study uses small samples of EHG signals to diagnose preterm birth accurately, showing their potential application in the clinical environment.
Discussion:
Our results suggest that CWT and novel entropy-based features of EHG could be suitable descriptors for analyzing and understanding the complex nature of preterm labor mechanisms.
1 Introduction
Preterm birth (PB), which affects 15 million newborns worldwide, is the leading cause of neonatal mortality and morbidity (). PB is considered a multifactorial syndrome associated with rupture of membranes, uterine abnormalities, infections, and multifetal pregnancy (). Prevention of PB includes a set of measures taken in early-stage patients to stop or delay its effects, which is why an early diagnosis is essential in developing a patient-oriented care strategy and reducing neonatal death. However, current diagnostic tools of PB are limited to algorithms for predicting risk based on the patient’s clinical history, signs, and symptoms instead of focusing on the syndrome’s underlying mechanisms.
The progress of labor can be monitored by a tocodynamometer, which lacks sensitivity to detect slight uterine activity, or by an intrauterine pressure catheter, an invasive technique for diagnosing PB (). Electrohysterography is a noninvasive technique that uses surface electrodes in the mother’s abdomen to obtain electrical information about the activity of myometrial cells by quantifying uterine action potentials (). This technique is sensitive to properly detect uterine electrical activity, which allows continuous monitoring the progress of labor and detection of dystocias. Notably, relevant evidence revealed that electrohysterography is more sensitive than external tocodynamometry in detecting uterine contractions during the early stage of labor (). Various features of the uterine electromyogram or electrohysterogram (EHG) have been continuously studied to differentiate between preterm and term birth (). Interestingly, the EHG is advised for further introduction and testing in clinical practice based on recent research that suggests that it has no adverse effects ().
Despite ongoing research on EHG, predicting premature birth from it remains a complicated problem. One of the main difficulties arises at the signal preprocessing stage, where there is still a recurrent debate about where the predominant spectral contents of the EHG are located (, ). In addition, the pool of attributes that describes more appropriately the electrophysiological phenomena of preterm birth and the classifier type is still an object of continuous study to develop an accurate prediction tool (–). Previous studies have explored different methods to automatically classify EHG signals and diagnose preterm birth (Table 1). According to these results, the combination of time-frequency analysis with nonlinear signal indices of EHG may enhance the classification of preterm-term births. Wavelets can capture subtle variations in transient signals using time-frequency analysis approaches and nonlinear signal processing techniques ().
Table 1
| Authors | Classifier type | Dataset | Length | Features | Accuracy | Sensitivity | Specificity | AUC |
|---|---|---|---|---|---|---|---|---|
| Acharya et al., (2017) () | Support vector machine (SVM) Radial Basis Function (RBF) | TPEHG DB (34 recordings of preterm and 262 of the term) | Complete recording | Empirical Mode Decomposition (EMD) Wavelet Packet Decomposition (WPD) Entropy-based methods | 96.25 | 95.08 | 97.33 | 0.96 |
| Jager et al., (2018) () | Quadratic Discriminant | TPEHG DB TPEHG DS | Complete recording | Sample Entropy Medium Frequency Maximum Frequency | 100.00 | 100.00 | 100.00 | 1.00 |
| Nieto del Amor et al., (2021) () | Linear Discriminant | TPEHG DB | 120-seconds window Complete recording | Dominant frequency Normalized Energy Power spectrum deciles (D3, D6, D8, D9) Entropy-based methods | 89.2% ± 2.4 | 98.4% ± 1.9 | 79.9% ± 4.9 | 0.93 |
| Hoseinzadeh & Amirani (2018) () | RBF SVM | TPEHG DB | N/A | EMD WPD Feature extraction by autoregressive models | 97.1 | 95 | 99 | N/A |
Summary of previous studies for the prediction of preterm birth by obtaining linear, time-frequency, and nonlinear EHG features.
N/A, Not available.
The present study aims to expand the setlist of time-frequency and nonlinear indices of EHG aiming to improve the predictive accuracy of current classifiers for predicting preterm birth. Thus, novel parameters such as Flux and the Energy derived from the Continuous Wavelet Transform (CWT) and multiple scales of Phase Entropy were analyzed. To our knowledge, these characteristics have not been tested for the differentiation between term and preterm labor; however, previous studies have shown their adequacy in the characterization of physiological signals in pregnant women (, ).
This study also attempted to select the best combination of electrode channel, bandwidth, pool of linear and nonlinear characteristics of the EHG, and type of classifier, to achieve a predictive accuracy higher than 85%. We consider that developing a robust model for preterm labor prediction would offer an advance in the diagnosis and timely treatment of the population at risk, thereby reducing neonatal mortality and contributing to the application of EHG in the clinical setting.
2 Materials and methods
The proposed methodology is presented in Figure 1. It was divided into seven procedures that are furtherly explained in this section.
Figure 1
2.1 Dataset description
The data analyzed in the present study to differentiate between Preterm (P) and Term (T) groups were obtained from the open-access databases Term-Preterm EHG DataSet with Tocogram (TPEHG DS) and the Term-Preterm EHG DataBase (TPEHG DB) available on the Physionet website (, , ). The TPEHG DS includes 26 EHG signals recorded at the University Medical Center Ljubljana, Department of Obstetrics and Gynecology. Twelve EHG recordings of the P group were collected from 8 healthy subjects whose pregnancy ended at 33.7 ± 1.97 weeks of gestation (WG). The T group comprises 13 EHG recordings of ten healthy participants whose labor onset triggered around 38.1 ± 1.04 WG. Thus, the data analyzed for both T and P conditions is formed by 30 minutes of raw EHG obtained in regular medical checkups around the 31st (30.2 ± 2.76) WG. Similarly, the TPEHG DB consists of 300 records, 262 T and 38 P, obtained from 1997 to 2005 at the University Medical Center Ljubljana. 17 records from each group (P and T) were selected to test the classification model to obtain a balanced dataset. Data were selected based on gestational age (between the 27th and 33rd WG) to maintain time compatibility with the TPEHG DS. The P group contains only 17 records that match our inclusion criteria. These were taken from healthy participants who delivered around 34.7 ± 2.02 WG. From the T group, 119 records were obtained during or after the 26th week of gestation. However, to maintain a balanced dataset, 17 were randomly selected. These records belong to 17 healthy patients whose labor triggered around 39.3 ± 1.36 WG.
The EHG signals from the TPEHG DS and TPEHG DB datasets were acquired using four AgCl2 electrodes positioned on the abdominal surface in a 2 x 2 matrix configuration, placed symmetrically above and under the navel with a space of 7 cm between each electrode, as shown in Figure 2. The reference electrode was placed in the mother’s thigh. Channels S1, S2, and S3 are bipolar signals resulting from the difference in potential of electrodes (E1, E2, E3, and E4), as stated in Figure 2. Each signal was digitalized at 20 samples per second with a 16-bit resolution.
Figure 2
In this study, the signal p001 corresponding to P was discarded by a visual examination, given that motion artifacts possibly corrupted the signal in E1 and did not correlate with the tocogram’s simultaneous acquisition.
2.2 Signal preprocessing
While there is no consensus on the frequency range of the EHG signal, several authors suggest that the main frequency content is in the frequency band of 0.1 – 4.0 Hz (
Several studies have obtained promising results in predicting preterm birth by isolating contractions or bursts from the EHG records (
Prior to window sampling, the EHG data was randomly and uniformly split into training (70%), validation (15%), and testing (15%). This procedure was done for the complete record to avoid model bias. Thus, the training, testing, and validating groups contain information from independent recordings.
Thirty-three features were calculated for each EHG window, including linear: Maximum and Medium Frequency, Root Mean Square (RMS), Amplitude, Zero Crossing Rate (ZCR), and nonlinear: Sample Entropy (SampEn), Fuzzy Entropy (FuzzEn), Permutation Entropy (PerEn), Bubble Entropy (bEn), and Phase Entropy (PhEn). Specifically, novel characteristics such as PhEn and Continuous Wavelet Transform (CWT) derived features (Energy and Flux on 0°, 45°, and 90° used to evaluate cardiotocography signals (
Table 2
| Linear | Nonlinear (Entropy-based) | Time-frequency (Wavelet) |
|---|---|---|
| Maximum Frequency ( | Phase Entropy (PhEn) ( | Flux 0° ( |
| Medium Frequency ( | Sample Entropy (SampEn) ( | Flux 45° ( |
| Root Mean Square (RMS) ( | Dispersion Entropy (DispEn) ( | Flux 90° ( |
| Zero-Crossing Rate (ZCR) ( | Permutation Entropy (PerEn) ( | Energy ( |
| Amplitude ( | Bubble Entropy (bEn) ( | DWT ( |
| Fuzzy Entropy (FuzEn) ( |
List of linear, nonlinear, and time-frequency features extracted from electrohysterographic signals.
The entropy-based features calculated in the present study possess internal input values that modify the discriminating power between the classes P and T. Past studies have focused on analyzing these values, finding the optimal combination of parameters to predict preterm birth (Table 3). In this work, we attempted to use those values to obtain an accurate predictive model and identify the most relevant characteristics to detect preterm birth using various entropy-based features.
Table 3
| Feature | Internal parameters |
|---|---|
| Sample Entropy | m=2, r=0.15 |
| Phase Entropy | k=2,4,6,8,10,12,14,16,18,20,22,24 |
| Permutation Entropy | d=2, π=3 |
| Dispersion Entropy | m=2, c=3, linear mapping |
| Fuzzy Entropy | m=2, r=0.0077, n=3 exponential function, local and global |
| Flux (Continuous Wavelet Transform features) (k1, k2) | 0°: (0,1); 45°: (1,1); 90°: (1,0) |
| Discrete Wavelet Transform analysis | 12-order ‘Daubechies’ wavelet |
Internal parameters employed in the calculation of entropy and wavelet-based features.
The entropy-based feature of Permutation Entropy (PerEn) had not been used before in studying EHG signals; that is why we selected the input parameters d and π for PerEn according to previous suggestions for electromyography analysis (
2.3 Feature selection and classifier design
We computed thirty-three features for each 120-second window of EHG in the subbands F1, F2, and F3 and for the three channels S1, S2, and S3. The classification models used in the current study are decision trees, support vector machine (SVM), and discriminant analysis.
Four feature selection algorithms (F-test, chi-test, linear regression, and sequential selection) were used to select the best features for each classification model, reducing the computational cost and increasing the classifier’s performance. Feature selection decreases the number of input variables by selecting characteristics that show a relevant relationship between the input and target variables (
Each predictive model was composed of a range from 7 to 13 characteristics, selected independently employing feature selection. Each dataset’s classifier type was trained through the Classification Learner Toolbox in Matlab v2020a (MathWorks, USA), using only the training set. The best classifier type was selected based on accuracy and AUC (Area Under the Curve) from the trained classifiers. This information was then used to perform K-fold cross-validation for each dataset.
2.4 K-fold cross-validation
K-fold cross-validation is a procedure used in machine learning for small datasets by dividing the data into three groups (training, validation, and test). It results in a less biased model since it ensures that every observation from the original dataset appears in the training and testing set (
In this type of cross-validation, the total samples of train and validation groups are randomly split into a k number of folds of equal sizes. Then a classifier model is generated k times, each taking a different fold as testing and the rest as training. In this study, a k with a value of 23 was employed, with each partition containing 49 samples, to include the whole dataset. The test group, which contains independent recordings not employed in the training or validation sets, is tested for each classification model created.
Parameters such as accuracy, sensitivity, specificity, Negative Predictive Value (NPV), Positive Predictive Value (PPV), Area Under the Curve ROC (AUC), recall, precision, and F-Score were calculated simultaneously during the cross-validation to evaluate the performance of each channel-filter configuration. All computations were performed in Matlab v2020a.
2.5 Statistical analysis
A statistical analysis of the selected features was performed to evaluate the changes in the mean values of linear, nonlinear, and time-frequency indices between the P and T conditions for all combinations of filter-channel. These comparisons were performed using a nonparametric Mann-Whitney test, considering p<0.05 as a significant difference. The statistical analysis was accomplished using GraphPad Prism version 8.0.2 for Windows (GraphPad Software, La Jolla, CA, USA).
3 Results
Considering the alternative hypothesis that the EHG signals manifest differences between the T and P conditions, we independently analyzed each feature used within the classifiers. Figure 3 shows the statistical analysis of all features employed in this study and indicates the features selected as optimal for classification and used to train the prediction models. The lowest p-values (p<0.0001) were found in the following features: linear (RMS), entropy-based indices (DispEn, SampEn, FuzzEn), and CWT-based features (Flux, Energy). It is also noticeable that the features of the PhEn were selected for all the models. Similarly, CWT features were employed in 4 out of 9 classifiers, including the best model (S3F3). Other entropy measures, such as DispEn, and SampEn, showed potential for classification. Linear Features of interest, RMS, and Medium Frequency, were also selected in various classifier models.
Figure 3

Selection of features for each classifier. S1, S2, and S3 represent the bipolar channels acquired from the public database, while F1, F2, and F3, represent the frequency sub-bands compared in this study. Colored frames (gray, yellow, and orange) indicate that the feature was selected as an optimal classification parameter and used to train the prediction model. The classifiers that achieved the highest classification accuracy (< 85%) in testing are presented in yellow and orange, indicating the type of classifier used. *,**,***,**** are used to describe significant differences between P and T groups in the Mann-Whitney test, with p-values lower than 0.05, 0.01, 0.001, and 0.0001, respectively.
Table 4 shows the higher classifier performances obtained from the k-fold cross-validation procedure from all classifier models. Notably, the classifier models of fine gaussian SVM in channel S2 within the 0.3 – 1 Hz subband (S2F1) and the quadratic SVM in channel 3 in the 2 – 3 Hz subband achieved an accuracy higher than 85%. The S3F3 model achieved an accuracy of 88.52±1.47%, a sensitivity of 83.83%±3.07%, a specificity of 93.22±1.31%, and subsequently, AUC=0.89±0.02 in the testing. Interestingly, using the SVM classifier model, other classifier models reached similar performances, such as S1F1 and S1F3.
Table 4
| Classification models | Accuracy (%) | Sensitivity (%) | Specificity (%) | PPV (%) | NPV (%) | AUC | F-Score | ||
|---|---|---|---|---|---|---|---|---|---|
| S1F1 | Quadratic Supportive Vector Machine (SVM) | Train | 95.56 ± 0.25 | 94.72 ± 0.36 | 96.36 ± 0.42 | 96.16 ± 0.42 | 95.01 ± 0.32 | 0.94 ± 0.03 | 0.93 ± 0.03 |
| Validation | 93.52 ± 3.24 | 92.97 ± 6.09 | 94.13 ± 5.64 | 93.99 ± 5.64 | 93.44 ± 5.37 | 0.94 ± 0.03 | 0.93 ± 0.03 | ||
| Test | 82.04 ± 1.11 | 64.09 ± 2.21 | 100.00 ± 0.00 | 100.00 ± 0.00 | 73.59 ± 1.19 | 0.82 ± 0.01 | 0.78 ± 0.02 | ||
| S1F2 | Cubic SVM | Train | 97.56 ± 0.29 | 97.21 ± 0.34 | 97.89 ± 0.35 | 97.79 ± 0.35 | 97.34 ± 0.32 | 0.93 ± 0.04 | 0.93 ± 0.05 |
| Validation | 93.17 ± 4.25 | 92.56 ± 5.99 | 93.76 ± 5.33 | 93.51 ± 5.72 | 93.08 ± 5.69 | 0.93 ± 0.04 | 0.93 ± 0.05 | ||
| Test | 55.04 ± 3.31 | 25.83 ± 3.76 | 84.26 ± 4.95 | 62.69 ± 9.33 | 53.17 ± 2.04 | 0.55 ± 0.03 | 0.36 ± 0.05 | ||
| S1F3 | Fine Gaussian SVM | Train | 94.90 ± 0.170 | 94.63 ± 0.26 | 95.16 ± 0.31 | 94.94 ± 0.3 | 94.86 ± 0.22 | 0.92 ± 0.03 | 0.91 ± 0.04 |
| Validation | 91.84 ± 2.75 | 91.22 ± 6.55 | 92.07 ± 4.70 | 91.90 ± 3.98 | 92.05 ± 4.55 | 0.92 ± 0.03 | 0.91 ± 0.04 | ||
| Test | 81.13 ± 1.39 | 94.52 ± 1.24 | 67.74 ± 2.03 | 74.57 ± 1.30 | 92.52 ± 1.69 | 0.81 ± 0.01 | 0.83 ± 0.01 | ||
| S2F1 | Fine Gaussian SVM | Train | 96.63 ± 0.20 | 97.76 ± 0.25 | 95.55 ± 0.30 | 95.47 ± 0.29 | 97.80 ± 0.23 | 0.88 ± 0.04 | 0.88 ± 0.04 |
| Validation | 88.20 ± 4.28 | 88.88 ± 5.85 | 88.04 ± 6.69 | 87.75 ± 6.95 | 88.99 ± 6.09 | 0.88 ± 0.04 | 0.88 ± 0.04 | ||
| Test | 87.52 ± 1.20 | 75.04 ± 2.40 | 100.00 ± 0.00 | 100.00 ± 0.00 | 80.06 ± 1.54 | 0.88 ± 0.01 | 0.86 ± 0.02 | ||
| S2F2 | Quadratic SVM | Train | 91.70 ± 0.21 | 92.59 ± 0.38 | 90.84 ± 0.84 | 90.66 ± 0.33 | 92.74 ± 0.34 | 0.9 ± 0.04 | 0.9 ± 0.04 |
| Validation | 90.33 ± 4.23 | 91.44 ± 5.84 | 89.41 ± 6.15 | 89.47 ± 5.40 | 91.07 ± 6.05 | 0.90 ± 0.04 | 0.90 ± 0.40 | ||
| Test | 66.83 ± 1.03 | 37.57 ± 1.47 | 96.09 ± 2.05 | 90.82 ± 4.41 | 60.61 ± 0.61 | 0.67 ± 0.01 | 0.53 ± 0.01 | ||
| S2F3 | Weighted Kernel Nearest Neighbors (KNN) | Train | 74.31 ± 0.44 | 70.34 ± 4.88 | 78.12 ± 4.62 | 75.82 ± 2.99 | 73.44 ± 1.97 | 0.68 ± 0.07 | 0.66 ± 0.08 |
| Validation | 68.32 ± 3.490 | 64.16 ± 10.13 | 72.80 ± 9.32 | 69.28 ± 9.52 | 68.00 ± 9.51 | 0.68 ± 0.07 | 0.66 ± 0.08 | ||
| Test | 51.04 ± 2.98 | 40.26 ± 5.16 | 61.83 ± 9.91 | 52.07 ± 4.65 | 50.65 ± 2.32 | 0.51 ± 0.01 | 0.45 ± 0.03 | ||
| S3F1 | Bagged Tree | Train | 99.89 ± 0.09 | 99.93 ± 0.12 | 99.85 ± 0.16 | 99.84 ± 0.17 | 99.93 ± 0.12 | 0.71 ± 0.06 | 0.7 ± 0.09 |
| Validation | 71.52 ± 6.2 | 68.9 ± 11.69 | 73.53 ± 9.78 | 71.35 ± 9.62 | 72.08 ± 5.98 | 0.71 ± 0.03 | 0.70 ± 0.09 | ||
| Test | 47.91 ± 3.360 | 32.70 ± 3.60 | 63.13 ± 50 | 47.1 ± 4.61 | 48.36 ± 2.65 | 0.48 ± 0.03 | 0.39 ± 0.04 | ||
| S3F2 | Cubic SVM | Train | 99.10 ± 0.22 | 99.3 ± 0.27 | 98.9 ± 0.29 | 98.86 ± 0.30 | 99.33 ± 0.12 | 0.93 ± 0.03 | 0.92 ± 0.04 |
| Validation | 92.64 ± 3.18 | 93.16 ± 5.26 | 92.26 ± 4.56 | 91.73 ± 5.92 | 93.28 ± 5.02 | 0.93 ± 0.03 | 0.92 ± 0.04 | ||
| Test | 72.17 ± 2.25 | 84.43 ± 1.59 | 59.91 ± 4.11 | 67.87 ± 2.30 | 79.35 ± 2.09 | 0.72 ± 0.02 | 0.75 ± 0.02 | ||
| S3F3 | Quadratic SVM | Train | 93.46 ± 0.31 | 93.57 ± 0.53 | 93.35 ± 0.44 | 93.11 ± 0.41 | 93.8 ± 0.48 | 0.91 ± 0.04 | 0.91 ± 0.04 |
| Validation | 91.30 ± 3.65 | 92.10 ± 5.86 | 90.33 ± 5.14 | 90.37 ± 4.55 | 92.52 ± 5.31 | 0.91 ± 0.04 | 0.91 ± 0.04 | ||
| Test | 88.52 ± 1.47 | 83.83 ± 3.07 | 93.22 ± 1.31 | 92.51 ± 1.46 | 85.27 ± 2.49 | 0.89 ± 0.02 | 0.88 ± 0.02 |
Summary of k-fold cross-validation for different classification models trained using the selected features of linear, nonlinear, and frequency indices of EHG.
The dataset employed for each classifier is denoted as S (1,2,3) for the signal channel and the frequency subband with F (1,2,3; 0.3 – 1 Hz, 1 – 2 Hz, 2 – 3 Hz, respectively). The highest classification accuracy is shown in bold.
The statistical analysis results are shown in Figure 3, with the predictors used for each classifier. This figure highlights the low p-values of some relevant features, i.e., CWT characteristics and entropy-based methods. Interestingly, several significant differences (p<0.0001) in the mean values of CWT features such as Energy (Figure 4) were found between the T and P groups in the S2 channel: Energy of S2F1 (2.8x1010 ± 7.1x109 amplitude in arbitrary units, A.U (Arbitrary Units) vs. 1.2x1010 ± 4.3x109 A.U., Figure 4A); S2F2 (9.7x109 ± 3.5x109 A.U vs. 3.5x109 ± 1.9x109 A.U., Figure 4B) and S2F3 (4.2x109 ± 1.6x109 A.U vs. 1.8x109 ± 7.6x108 A.U., Figure 4C) for the P and T groups, respectively. In addition, the mean values of Flux from the spectrogram (0°, 45°, and 90°) were significantly higher (p<0.0001) in T compared to P conditions for the three subbands F1, F2, and F3 (data not shown).
Figure 4

Energy values for the channel 2 in the three different subbands. The three panels can corroborate the difference between the P and T groups, where the T group presents higher values than P. (A) Values for the S2F1 combination. (B) Shows the values of Energy for S2F2 and (C) the Energy values for S2F3. **** represents p-value lower than 0.0001.
Figure 5 depicts representative preterm (Figure 5A) and term (Figure 5B) participants’ spectrograms and their corresponding EHG. Interestingly, in these representative examples, the Energy of the T spectrogram is distributed on a broader frequency range and manifests a higher magnitude than P.
Figure 5

Representative spectrograms of EHG signals for the term (T) and preterm (P) groups. (A) shows the spectrogram retrieved from the participant no. 10, from the preterm group (P, recorded at 30 weeks of gestation and triggered labor at 32 weeks of gestation), while (B) shows the spectrogram retrieved from participant no. 9, from the term group (T, recorded at 30 weeks of gestation and triggered labor on 39 weeks of gestation). Below each spectrogram, the EHG signal can be visualized. Both spectrograms are derived from the S2 signal.
4 Discussion
Addressing physiological phenomena from an engineering interpretation can be challenging due to the prevailing gap between medical sciences and mathematics. However, it allows broadening the perspective of what is known about a topic. This work aimed to improve the general understanding of the mechanisms of parturition and preterm birth by applying different classifier models trained with EHG features such as RMS, CWT, and entropy-based methods. Therefore, nine classification models were designed to predict preterm labor, two of which achieved an accuracy higher than 85% using a k-fold cross-validation procedure.
Remarkably, our results showed that CWT-derived features are relevant in the characterization of EHG and could be suitable for implementing an algorithm to predict preterm birth. These results support the notion that the combination of metrics, such as linear, nonlinear, and even time-frequency features, complement each other for the purpose of classification (
The uterus comprises billions of intricately interconnected cells whose activity and responses are considered as a nonlinear dynamic process (
The mechanisms involved in labor are still unknown for both term and preterm deliveries (
The parameters obtained by CWT analysis offer a new way to study EHG signals because they are based on the spectrogram that includes a three-variable visualization of the signal, incorporating time, frequency, and Energy. Jager et al. theorized that the shape of the uterus and cervix favors the influence of uterine muscle activity by propagating maternal heart rate electromechanically (
In preterm spectrograms, the EHG signal is visually contained within the F1 frequency band (0.2–1 Hz), which is frequently related to EHG (
The Flux derived from CWT analysis measures the rate of change of local power in the time-frequency sphere (
Additionally, given that the bandwidth of 1–2 Hz contains the principal interferences caused by the maternal heart rate (
The main aim of medical research should be at the end to bring discoveries to the clinical field. In this understanding, we homogenized the current methodology aiming to facilitate the eventual transition to clinical practice. For this reason, only records taken around a similar gestation age (e.g., the 31st week of gestation) were included. However, the criterion reduced the sample size, considering the number of available records in the online datasets. Thus, the size of the sample is one of the main limitations of the present study. Future investigations on the preterm labor field should be performed to generate new EHG datasets with more records taken in pregnant women with a similar gestational age.
5 Conclusion
The best performance, i.e., 88.52% accuracy, 83.83% sensitivity, and 93.22% specificity in the testing set, 91.30% accuracy in validation, and 93.46% in training was obtained in the 2–3 Hz bands using a Quadratic SVM classification model trained with the EHG features of Medium Frequency, and CWT-derived features such as Flux and Energy, and entropy-based indices. In line with these results, these features exhibited significant differences between term and preterm labor in the EHG signals. Interestingly, CWT features were significantly different in all filter-channel combinations. These differences in the CWT features could be associated with the frequency interference caused by the maternal heart and the placement of electrodes closer to the chest. The main achievement of this study is the determination of key features for preterm birth prediction based on the analysis of EHG. Thus, these results suggest that CWT and novel entropy-based features of EHG could be suitable descriptors for analyzing and understanding the complex nature of preterm labor mechanisms.
Statements
Data availability statement
Publicly available datasets were analyzed in this study. This data can be found here: https://physionet.org/content/tpehgt/1.0.0/ and https://physionet.org/content/tpehgdb/1.0.1/.
Ethics statement
Ethical review and approval was not required for the study on human participants in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required for this study in accordance with the national legislation and the institutional requirements.
Author contributions
Conceptualization, JR-L; methodology, HR-M and JM-MO; software, HR-M and JM-MO; validation, HR-M and JM-MO; formal analysis, HR-M and JM-MO; investigation; data curation, HR-M and JM-MO; writing—original draft preparation, YM-P, HR-M, JM-MO, RM-M, and JR-L; writing—review and editing, YM-P, HR-M, JM-MO, RM-M, and JR-L; supervision, JR-L and RM-M; project administration, JR-L; funding acquisition, YM-P. All authors have read and agreed to the published version of the manuscript.
Funding
This research has been funded by Dirección General de Investigaciones of Universidad Santiago de Cali under call No. 01-2022.
Acknowledgments
The authors would like to thank Dr. Jager, Dr. Libenšek, Dr. Geršak, Dr. Fele-Žorž, Dr. Kavšek, and Dr. Novak-Antolič for their efforts in data acquirement and its availability to promote further preterm birth research. HR-M and JM-M would like to highlight the contributions of authors RM-M, YM-P, and JJR-L, whose input, experience, and guidance helped to complete this work.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Footnotes
1.^These values represent the PhEn values obtained from S2F3, with a k=4. However, a similar tendency in the data was observed throughout other k values, and channel selections.
References
1
OMS. Born too soon: The global action report on preterm birth. Genove: World Health Organization (2012).
2
MoutiquinJM. Classification and heterogeneity of preterm birth. BJOG: Int J Obstetrics Gynaecology (2003) 110. doi: 10.1046/j.1471-0528.2003.00021.x
3
Escalante-GaytánJEsquivel-ArizmendiCLedesma-RamírezCPliego-CarrilloAGarcía-GonzálezMReyes-LagosJ. Utilidad de la electrohisterografía como técnica de monitorización uterina en el ámbito clínico: revisión bibliográfica. Ginecol Obstet Mex (2019) 87(1):46–59. doi: 10.24245/gom.v87i1.2565
4
VlemminxMThijssenKBajlekovGDielemanJDer JagtBOeiG. Electrohysterography for uterine monitoring during term labour compared to external tocodynamometry and intra-uterine pressure catheter. Eur J Obstetrics Gynecology Reprod Biol (2017) 215):197–205.
5
FrenkenMThijssenKVlemminxMVan den HeuvelEWesterhuisMOEIG. Clinical evaluation of electrohysterography as method of monitoring uterine contractions during labor: A propensity score matched study. Eur J Obstetrics Gynecology Reprod Biol (2021) 259:178–84.
6
AchayraRSudarshanVQingSTanZCho MinLKohJet al. Automated detection of premature delivery using empirical mode and wavelet packet decomposition techniques with uterine electromyogram signals. Uterine Electromyogram Signals (2017) 85:33–42.
7
JagerFLibenšekSGeršakK. Characterization and automatic classification of preterm and term uterine records. PloS One (2018) 13(8):e0202125.
8
JanjarasjittS. Evaluation of performance on preterm birth classification using single wavelet-based features of EHG signals. BMEiCON-2017 (2017), 1–4.
9
Nieto-del-AmorFBeskhaniRYe-LinYGarcia-CasadoJDiaz-MartinezAMonfort-OrtizRet al. Assesment of dispersion and bubble entropy measures for EnhancingPreterm birth prediction based on electrohisterographic signals. Sensors (2021) 21:6071.
10
HoseinzadehSAmiraniMC. (2018). Use of electro hysterogram (EHG) signal to diagnose preterm birth, in: 26th Iranian Conference on Electrical Engineering (ICEE2018), Urmia.
11
ChenLHaoYHuX. Detection of preterm birth in electrohysterogram signals based on wavelet transform and stacked sparse autoencoder. PloS One (2019) 14(4):e0214712.
12
ZengRLuYShunLWangCBaiJ. Cardiotocography signal abnormality classification using time-frequency features and esemble cost-sensitive SVM classifier. Comput Biol Med (2021) 134:104466. doi: 10.1016/j.compbiomed.2021.104218
13
Reyes-LagosJJPliego-CarrilloACLedesma-RamirezCIPeña-CastilloMÁGarcía-GonzálezMTPacheco-LópezGet al. Phase entropy analysis of electrohysterographic data at the third trimester of human pregnancy and active parturition. entropy (2020) 22:798. doi: 10.3390/e22080798
14
Fele-ŽoržGKavšekGNovak-AntoličŽJagerF. A comparison of various linear and non-linear signal processing techniques to separate uterine EMG records of term and pre-term delivery groups. Med Biol Eng Computing (2008) 46(9):911–22.
15
Goldberger A ALGLHJIPMRMJMGPCSH. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation101(23):e215–20.
16
SelvarajuVKarthickPASwaminathanR. Analysis of frequency bands of uterine electromyography signals for the detection of preterm birth. Stud Health Technol Inf (2021) 281:283–7. doi: 10.3233/SHTI210165
17
ChenLXuH. Deep neural network for semi-automatic classification of term and preterm uterine recordings. Artif Intell Med (2020) 105:101861. doi: 10.1016/j.artmed.2020.101861
18
TylczJBMuszynskiCDauchetJIstrateDMarqueC. An automatic method for the segmentation and classification of imminent labor contraction from electrohysterograms. IEEE Trans Biomed Engineering. (2019) 67(4):1133–41. doi: 10.1109/TBME.2019.2930618
19
HassanMTerrienJMarqueCKarlssonB. Comparison between approximate entropy, correntropy and time reversibility: Application to uterine electromyogram signals. Med Eng Phys (2011) 33(8). doi: 10.1016/j.medengphy.2011.03.010
20
MathWorks. CWT: Continuous 1-d wavelet transform (2022). Available at: https://www.mathworks.com/help/wavelet/ref/cwt.html.
21
LucovnikMManerWChamblissLBlumrickRBalducciJNovakZet al. Noninvasive uterine electromyography for prediction of preterm delivery. Am J Obstetrics Gynecology. (2011) 204(3):228. doi: 10.1016/j.ajog.2010.09.024
22
RohilaASharmaA. Phase entropy: A new complexity measure for heart rate varibaility. Physiol Measurement. (2019) 103205(40):105006. doi: 10.1088/1361-ab499e
23
LakeDERichmanJSGriffinMPMoormanJR. Sample entropy analysis of neonatal heart rate variability. Am J Physiol (2002) 283(3):R789–97. doi: 10.1152/ajpregu.00069.2002
24
HorobaKJezewskiJMatoniaAWrobelJCzabanskiRJezewskiM. Early predicting a risk of preterm labour by analysis of antepartum electrohysterograhic signals. Biocybernetics Biomed engineering. (2016) 36:574–83.
25
RostaghiMAzamiH. Dispersion entropy: A measure for time-series analysis. IEEE Signal Process Lett (2016) 23(5):610–4. doi: 10.1109/LSP.2016.2542881
26
AzamiHEscuderoJ. Amplitude- and fluctuation-based dispersion entropy. entropy (2018) 20(210):1–21. doi: 10.e20030210
27
SongXQiaoXHaoDYangLZhouXXuYet al. Automatic recognition of uterine contractions with electrohysterogram signals based on the zero-crossing rate. Sci Rep (2021) 11(1):1–10.
28
AzamiHEscuderoJ. Improved multiescale permutation entropy for biomedical signal analysis: Interpretation and application to electroencephalogram recordings. Biomed Signal Process Control (2016) 23:28–41.
29
BandtCPompeB. Permutation entropy — a natural complexity measure for time series. Phys Rev Lett (2002) 88(17):174102.
30
ManisGAktaruzzamanMSassiR. Bubble entropy: An entropy almost free of parameters. IEEE Trans Biomed Eng (2017) 64(11):2711–8. doi: 10.1109/TBME.2017.2664105
31
FloodMWGrimmB. EntropyHub: An open-source toolkit for entropic time series analysis (2021). Available at: www.EntropyHub.xyz.
32
ChenWWangZXieHYuW. Characterization of surface EMG signal based on fuzzy entropy. IEEE Trans Neural Syst Rehabil Eng (2007) 15(2):266–72.
33
DostálOVysataOPazderaLProcházkaAKopalJKuchyňkaJet al. Permutation entropy and signal energy increase the accuracy of neuropathic change detection in needle EMG. Comput Intell Neurosci (2018) 2018:5. doi: 10.1155/2018/5276161
34
Muñoz-Montes de OcaJNSánchez-ServínJCReyes-LagosJJGarcía-GonzálezMT. Análisis de la entropía de fase del electrohisterograma en pacientes de parto eutócico y cesárea. Memorias Del Congreso Nacional Ingeniería Biomédica (2020) 7(1):393–400. doi: 10.24254/CNIB.20.50
35
GuyonIGunnSBenADrorG. Design and analysis of the NIPS2003 challenge. In: GuyonIGunnSNikraveshMZadehLA, editors. Feature extraction. foundations and applications. Berlin: Springer (2006). p. 241.
36
OlsonDLDelenD. Advanced data mining techniques. Heidelberg: Springer Science & Business Media (2008).
37
Garcia-GonzalezMTCharleston-VillalobosSVargas-GarciaCGonzalez-CamarenaRAljama-CorralesT. (2013). Characterization of EHG contractions at term labor by nonlinear analysis, in: 35th Annual International Conference of the IEEE EMBS, Osaka.
38
VasakBGraatsmaEHekman-DrostEEijkemansMJSchagen van LeeuwenJHVisserGHet al. Uterine electromyography for identification of first-stage labor arrest in term nulliparous women with spontaneous onset labor. Am J Obstet Gynecol (2013) e1(8):209–32. doi: 10.1016/j.ajog.2013.05.056
39
Di RenzoGCTostoVGiardinaI. The biological basis and prevention of preterm birth. Best Pract Res Clin Obstetrics Gynaecology (2018) 52:13–22. doi: 10.1016/j.bpobgyn.2018.01.022
40
RangayyanRM. Biomedical signal analysis. 2nd ed. New Jersey: Wiley-IEEE Press (2015).
41
DiabAHassanMBoudaoudSMarqueCKarlssonB. (2013). Nonlinear estimation of coupling and directionality between signals: Application to uterine EMG propagation, in: 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), . pp. 4366–9. doi: 10.1109/EMBC.2013.6610513
Summary
Keywords
electrohysterography, entropy, time-frequency analysis, uterine electromyogram, preterm labor, machine learning
Citation
Romero-Morales H, Muñoz-Montes de Oca JN, Mora-Martínez R, Mina-Paz Y and Reyes-Lagos JJ (2023) Enhancing classification of preterm-term birth using continuous wavelet transform and entropy-based methods of electrohysterogram signals. Front. Endocrinol. 13:1035615. doi: 10.3389/fendo.2022.1035615
Received
03 September 2022
Accepted
28 November 2022
Published
10 January 2023
Volume
13 - 2022
Edited by
Robert Garfield, University of Arizona, United States
Reviewed by
Mohammod Abdul Motin, Rajshahi University of Engineering & Technology, Bangladesh; Lin Yang, Beijing University of Technology, China; Andreja Trojner Bregar, University Medical Centre Ljubljana, Slovenia; Mohamad Ali Khalil, Lebanese University, Lebanon
Updates

Check for updates
Copyright
© 2023 Romero-Morales, Muñoz-Montes de Oca, Mora-Martínez, Mina-Paz and Reyes-Lagos.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Yecid Mina-Paz, yecid.mina00@usc.edu.co; José Javier Reyes-Lagos, jjreyesl@uaemex.mx
†These authors have contributed equally to this work and share first authorship
This article was submitted to Developmental Endocrinology, a section of the journal Frontiers in Endocrinology
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.