Next Article in Journal
Analysis of the Surface Electric Field Distribution of a 10 kV Faulty Composite Insulator
Next Article in Special Issue
Anomaly-PTG: A Time Series Data-Anomaly-Detection Transformer Framework in Multiple Scenarios
Previous Article in Journal
Health Monitoring of Conveyor Belt Using UHF RFID and Multi-Class Neural Networks
Previous Article in Special Issue
Poisonous Plants Species Prediction Using a Convolutional Neural Network and Support Vector Machine Hybrid Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

N-Beats as an EHG Signal Forecasting Method for Labour Prediction in Full Term Pregnancy

by
Thierry Rock Jossou
1,2,
Zakaria Tahori
3,
Godwin Houdji
4,
Daton Medenou
2,
Abdelali Lasfar
1,
Fréjus Sanya
4,
Mêtowanou Héribert Ahouandjinou
2,
Silvio M. Pagliara
5,*,
Muhammad Salman Haleem
5,* and
Aziz Et-Tahir
1
1
Materials, Energy, Acoustics Team, Ecole Supérieure de Technologie de Salé, University Mohammed V in Rabat, Rabat 6203, Morocco
2
Department of Biomedical Engineering, Ecole Polytechnique d’Abomey-Calavi, University of Abomey-Calavi, Cotonou BP 2009, Benin
3
ENSAK, Universite Ibn Tofail Kenitra, Kenitra 14000, Morocco
4
Department of Computer Science and Telecommunication Engineering, Ecole Polytechnique d’Abomey-Calavi, University of Abomey-Calavi, Cotonou BP 2009, Benin
5
School of Engineering, University of Warwick, Coventry CV4 7AL, UK
*
Authors to whom correspondence should be addressed.
Electronics 2022, 11(22), 3739; https://doi.org/10.3390/electronics11223739
Submission received: 20 September 2022 / Revised: 6 November 2022 / Accepted: 9 November 2022 / Published: 15 November 2022

Abstract

:
The early prediction of onset labour is critical for avoiding the risk of death due to pregnancy delay. Low-income countries often struggle to deliver timely service to pregnant women due to a lack of infrastructure and healthcare facilities, resulting in pregnancy complications and, eventually, death. In this regard, several artificial-intelligence-based methods have been proposed based on the detection of contractions using electrohysterogram (EHG) signals. However, the forecasting of pregnancy contractions based on real-time EHG signals is a challenging task. This study proposes a novel model based on neural basis expansion analysis for interpretable time series (N-BEATS) which predicts labour based on EHG forecasting and contraction classification over a given time horizon. The publicly available TPEHG database of Physiobank was exploited in order to train and test the model, where signals from full-term pregnant women and signals recorded after 26 weeks of gestation were collected. For these signals, the 30 most commonly used classification parameters in the literature were calculated, and principal component analysis (PCA) was utilized to select the 15 most representative parameters (all the domains combined). The results show that neural basis expansion analysis for interpretable time series (N-BEATS) forecasting can forecast EHG signals through training after few iterations. Similarly, the forecasting signal’s duration is determined by the length of the recordings. We then deployed XG-Boost, which achieved the classification accuracy of 99 percent, outperforming the state-of-the-art approaches using a number of classification features greater than or equal to 15.

1. Introduction

This paper is a preliminary work investigating labour prediction in full-term pregnancy using a deep learning method to forecast EHG signals before the classification step, since most of the literature approaches are based on the EHG signals’ classification through machine and deep learning methods alone. Although these methods provide good results, they are not yet suitable for real-time prediction and clinical applications. We therefore believe that the introduction of this signal forecasting step can take us one step closer to real-time birth prediction and clinical applications, since, in low-income countries, access to healthcare continues to be a luxury [1]. The situation is more complicated in rural and peri-urban areas, where the first and second delays of the three-delay model of emergency care are extended, and the risk of death is increased [2]. All this is due to the insufficient number of healthcare centres in these areas and the lack of inadequate infrastructure allowing for the quick and efficient transfer of the expectant mothers. The early prediction of labour onset to ensure delivery in a health facility could provide an efficient way to reduce these delays. For this purpose, conventional clinical methods were less predictive in regard to pregnancy [3]. As an alternative, the electrohysterogram (EHG) [4], which represents the electrical signature of uterine muscle contractions, was found to be a good prospect for achieving this goal [5,6,7,8]. In this context, several studies, such as [9,10,11], have been carried out based on the external acquisition of EHGs from the pregnant woman’s abdomen. The electrodes used and the different configurations proposed by most of these works were summarised in [12]. This enabled the extraction of several parameters characterising this technique, which can then be used to distinguish between contractions and non-contractions and to identify those that will lead to labour [13]. This equipment has been also used to characterize and classify preterm and term EHG signals [14].
Several classification methods have been developed and applied in order to distinguish between contractions and non-contractions based on EHG signals. The very first of these were statistical methods, which had limitations in terms of their ability to acquire a full-feature set representing contractions. Machine learning techniques were then used [15,16], which offered convincing results. However, traditional machine learning is usually computationally inefficient when applied to real-time signals and requires feature selection methods as a prior step to identify the useful features for classification, resulting in the loss of information. In recent years, the application of deep learning methods [16,17] to EHG signals has confirmed the importance of artificial intelligence in predicting labour. However, to the best of our knowledge, no research has been implemented in the clinical setup. Recent work has demonstrated the multifractality of EHG signals and that this characteristic can be exploited to monitor the progress of a preterm or full-term pregnancy [18,19].
The clinical applicability of the research work requires the involvement of real-time signals in the delivery prediction procedure. This includes the forecasting of time-series-based EHG signals before the classification techniques’ application. Several statistical procedures have been deployed in order to forecast time series signals; however, they were unable to capture the non-linearity, randomness, and unpredictable tendency of these signals due to a lack of temporal context information [20,21,22]. In this regard, deep learning methods have been developed due to their ability to capture real-time features based on the temporal context [23]. According to the literature, although the EHG signal is a time series, no study has addressed its forecasting to date. This seems to be an important step in labour onset predictions in real time. Thus, labour prediction has remained at the stage of uterine contraction classification. In the literature, a number of studies used 15 parameters [24] and more [25] for the purpose of labour prediction, and these are often chosen without clearly established criteria. Meanwhile, as demonstrated in [26], an EHG signal’s characteristics depend on anthropometrics and pregnancy variables. For all these reasons, our model automatically selects the 15 best features from the 30 that are most frequently used in the literature using principal component analysis (PCA). This technique was applied to the forecasted signal obtained using the neural basis expansion analysis for interpretable time series (N-BEATS) method [27]. Finally, XG-Boost was chosen as the classification algorithm according to its performance compared to Support Vector Machine (SVM) and other classification algorithms.
The structure of the paper is organised as follows: Section 2 presents previous works that have applied machine and deep learning methods to EHG signals. This is followed by Section 3, which details the data and methods used in the present work. Section 4 presents the results that are discussed in Section 5 and Section 6, which concludes this paper.

2. Previous Work Using Machine and Deep Learning

It was found in the literature that several studies have applied machine and deep learning methods to EHG signals to make predictions through classification. We noted that there were more applications of machine learning methods than deep learning in these studies [15,16]. Most of these studies use public databases of physiological signals, especially the Physiobank TPEHG [15,25,28,29,30,31,32,33,34,35,36]. Three recording channels (channel1 (E2-E1), channel2 (E2-E3), and channel3 (E4-E3)) based on four physiological electrodes were used to create this database. It is the only public database with a minimum number of electrodes (four electrodes) for the bipolar recording of EHG signals with satisfactory results. It fills the critical gap in the field data, especially in the context of low-income countries. Considering the continuous nature of the signals, one of the most common methods used to extract relevant information is empirical mode decomposition (EMD) [15,35], which decomposes the signal into different components to extract the features of the signals (frequency spectrum, cycle, etc.). Additionally, some of the studies used wavelet decomposition to analyse the transient behaviour of the signals [37]. One study used five public databases consisting of recordings of EHG signals that were combined or not combined with other physiological signals (foetal heart rate, cardiotocography, foetal ECG) [16]. Very few studies obtained results using their own experimental data [38,39,40,41,42].
Among the machine learning techniques for predicting labour, the Support Vector Machine seems to be the most frequently used and best performing machine learning method due to its ability to classify discrete features based on hyperplanes [15,28,31,33,36,38,41]. There have been few attempts to deploy artificial neural network (ANN) methods [16,33,34,42], and with the advancements in advanced artificial-intelligence-based methods, deep learning methods have also been deployed. Among the deep-learning-based methods, convolutional neural networks (CNN) [16,17] have been deployed to extract static features. However, considering the discrete nature of the training datasets, the strength of the deep learning methods has not been fully explored, resulting in an underperformance compared to that of traditional machine learning methods [16].
According to the literature, no study has investigated the prediction of labour based on EHG signal forecasting. However, we believed that it would be useful to introduce EHG signal forecasting over a given time horizon into the prediction model. This should be undertaken as a crucial step before the application of classification methods. It would render the prediction of labour onset in real time possible. Since the EHG is a time series, time series forecasting methods could be applied to it. As statistical methods have failed because they cannot capture the non-linear trend of these signals, deep learning methods are increasingly used today. These forecasting techniques have been used for several signals in different areas, with interesting results. For example, recently, these methods have been used for crude oil time series forecasting and COVID-19 disease recognition [21,23].
Most of the existing methods make predictions (especially those of preterm births) by classifying them on the basis of EHG signals and other physiological signals of the pregnancy or foetus. In contrast to the existing methods, our aim was to predict labour on the basis of the detection of continuous contraction signals. From this perspective, we propose the idea of a real-time pregnancy monitoring system which can predict labour based on real-time contractions. The real-time contractions can be detected via EHG signal forecasting. Therefore, we applied continuous EHG signals from the available public datasets in order to achieve our goal.

3. Used Dataset

The EHG signals used in this work were obtained from the publicly available Term-Preterm EHG Database on Physiobank [43]. Three recording channels (channel1 (E2-E1), channel2 (E2-E3), and channel3 (E4-E3)) based on four physiological electrodes were used to create this database. In order to remain consistent with the literature regarding the electrode positions providing the most usable EHG signals [12], we opted for signals from channel3. As we were interested in full-term pregnancies, we selected EHG signals recorded after 26 weeks of gestation for pregnancies that ended in full-term delivery. Among these signals, those that were filtered with a bandwidth of 0.3 to 3 Hz were considered to take into account the elimination of cardiac and respiratory rhythms [29]. Each signal obtained comprised 36,000 values recorded over 30 min.

4. Materials and Methods

The block diagram (Figure 1) below shows the different steps of the methodology that we followed in this study. It consists of the blocks of pre-processing, signal forecasting on a given horizon, the extraction and selection of parameters, classification, and decision. Each of these blocks will be described in the following subsections.

4.1. Dataset Pre-Processing

The empirical mode decomposition (EMD) method was applied to eliminate unnecessary variations in the signals and obtain the intrinsic mode functions (IMF) [44] more representative of contractions and non-contractions. The second IMF was considered in our case, as it is more representative, as confirmed in [36].

4.2. Feature Extraction and Selection

In our study, we considered the thirty most commonly used parameters (see list in Appendix A) in the literature to characterize uterine contractions. The fifteen best parameters for uterine contraction characterization were extracted from these using the principal component analysis method. The selected parameters were among those most used in the literature for EHG signal processing. The principal component analysis (PCA) method, which is a widely used dimension reduction technique [45] that does not result in the loss of essential information [33], was applied to the 30 parameters calculated previously. This provided us with the principal components, from which the most representative of the important characteristics of the signal were retained. After the analysis, the first 15 principal components were found to have the greatest variance and, therefore, to best represent the EHG signals under investigation. Here, the usefulness of the PCA lies in the fact that the representative features of the principal components depend on the anthropometric variables and the pregnancy and, therefore, are not the same from one pregnant woman to another. It is therefore a necessary step that must be undertaken before classification, since we can be sure that the results it provides will be the best in each case in terms of the representativeness of the signal information. These 15 principal components were therefore used as the input parameters for the classification model.

4.3. The Deep Learning Method for EHG Signal Forecasting

The stationarity of the data series to be sent to the forecasting algorithm must be ensured. For this purpose, the method of the visual observation of the signal, its mean, and its standard deviation, which are all represented on the same graph, is used. A statistical method is combined with this method for increasingly complex data series. In our case, the augmented Dickey–Fuller test [46] was used, as it is the most widely used statistical method of stationarity analysis in the literature. It is a mathematical method based on a null hypothesis and an alternative one. The non-stationarity of the data is often considered as a null hypothesis. The objective is to eliminate it by obtaining a p-value lower than 0.05.
The forecasting model that we used in the present work is a model that was recently developed and dedicated to time series forecasting [27]. It is an architecture that is built on the advantages of the long short-term memory (LSTM) architecture. As the literature shows, LSTM neural networks were developed mainly to address the vanishing gradient problem [20,22], which other recurrent neural network (RNN) models were unable to solve. The neural basis expansion analysis for interpretable time series (N-BEATS) is an existing method that was proposed by [27] and a model which reinforces this property of LSTM networks and allows for the better capture of time series’ non-linearity through its very deep architecture.
This architecture is a set of successive stacks of blocks, and each block is a fully connected multilayer network. When considering any block, it receives an input and provides two outputs: one corresponding to the best estimate of the input, and the other corresponding to the forecast of the block over a given horizon. Except for the first block, which has a global input, the other blocks receive the previous block’ input estimation error as an input. The process continues in this way with regard to the inputs and outputs at the level of the stacks. N-BEATS is a pure, interpretable deep neural network whose architecture is based on backward and forward residual links (see Figure 2). This model has been shown to outperform the hybrid model that won the M4 forecasting competition by 3% [27]. For its implementation, PyTorch Forecasting was used, itself being a Pytorch-based package based on an open-source machine learning framework.

4.4. Classification Method

The labelling of the dataset is the initial stage in the creation of the classification model. Labelling helps us to understand the organisation and structure of the data. A contraction is represented by the Boolean value of 1, whereas a non-contraction is represented by the Boolean value of 0. As one of the methods that is most frequently used in the literature, the K-means approach was selected as the labelling method. Due to this labelling, the construction of the classification model is simpler. In order to make an appropriate choice of classification technique, the K-fold approach was used for the comparison between three commonly used methods in the literature: XG-Boost (XGB), K-Nearest Neighbour (KNN), and Support Vector Machine (SVM).

5. Results

5.1. Labelling and Classification Method Choice Results

By applying the K-means method to our dataset, we were able to obtain Figure 3 below. The reader should recall that the data were normalised using the X_norm formula before K-means was applied.
Table 1 shows the scores of the different algorithms following their application to our dataset.
As shown in Table 1, XGB performed better than KNN and SVM. The XGB was therefore the classification algorithm of choice in this study. The confusion matrix for a given signal using XGB performed well, as it led to an RMSE = 0.00, precision = 1.00, and recall = 1.00.

5.2. Forecasting Results

In this sub-section, the results of the application of the proposed N-BEATS model to our dataset are presented. To train the model, we defined an input that corresponded to twice the forecast window.
The metric used was the symmetric mean absolute percentage error (SMAPE) [27], which rescales the error by the mean between the forecast and the exact values:
S M A P E = 200 H i = 1 H | y T + i y ^ T + i | | y T + i | + | y ^ T + i |
with H as the forecasting horizon;
  • y T + i : the exact or current value;
  • y ^ T + i : the forecast value.
We started with the prediction horizon of at least 75 s. Table 2, below, shows the SMAPE values for horizons greater than or equal to 75 s.
As we can see, the best signal forecasting result was obtained for the horizon equal to 90 s. We can observe that we achieved the optimal performance within 3 epochs. Figure 4, below, shows the best forecasting result after applying the N-BEATS method.

5.3. Classification Results

The EHG signal is obtained after the forecast is sent to the classification model. As its output, we obtain the number of contractions and non-contractions. Let c be the number of contractions and c ^ be the number of non-contractions. We calculate the probability of contractions as:
p = c c + c ^
Depending on the value of p, decisions are made:
  • If p < 0.5 , then c < c ^ , which means that we obtain a small number of contractions during this period;
  • If p 0.5 , then c c ^ , which means that we have a large number of contractions during this period.
In the first case, the woman is less likely to go into labour, whereas in the second case, the probability is high, because the more contractions the woman has, the closer she is to labour.
According to our results, we were able to detect the different types of contractions of pregnant women. Moreover, we were able to predict the activity of the contractions in order to determine the period of labour of the respective woman. Our results, when compared to the other classification methods in the literature using features in two or more domains, gave the following Table 3.
From Table A1, we can notice that Random Forest, SVM, and ANN are the best performing EHG signal classification methods in the literature. However, in the class of methods using features in two or more domains, our method remains the best performing, with an accuracy of 99%. It is clear that the use of a large number of parameters from different domains improves the performance of classification algorithms. Even though frequency and non-linear parameters can detect and predict preterm births, in the context of a full-term pregnancy, parameters from other domains should be combined with them, especially because it has been shown that the characteristics of EHG signals depend on anthropometric and pregnancy variables. Those that correspond to the signals of one pregnant woman do not always correspond to those of another. This justifies the importance of the step of the automatic selection of classification parameters in each case, which we proposed here.
It is also the only method that provides the classification of uterine contractions after the forecasting of EHG signal over a given horizon. This work provides a reference for the field of uterine labour contraction prediction techniques. Even if it does not allow for the forecasting of the EHG signal over a large horizon (in terms of hours), the objective of this work was to show that this is possible, as in the case of other time series. Future work will develop better forecasting models to enable the real-time prediction of labour in near-term pregnant women.

6. Discussion

There are very few examples in the literature of deep learning methods’ application to EHG signals for labour prediction [16,17,34,42], with the vast majority of the work being based on machine learning. To the best of our knowledge, no study has examined EHG signal forecasting. The study that made a comparison between deep learning and machine learning methods showed that the Random Forest (machine learning method) gave better results than the ANN [16] in discrete classification. This work also demonstrates that the limitations of previous work can be found in the use of a single database, limitations that the authors attempted to overcome by using five databases.
In contrast to previous works, our work proposed a novel technique for predicting labour through EHG signal forecasting. The forecasting of physiological signals and, in particular, EHG signals is still at the immature stage, and few studies have addressed it. According to the literature, very few deep learning methods have been developed in this context and adapted to the healthcare sector. Moreover, of the most widely used methods in the healthcare sector, none has been used in the field of maternal and child health or for EHG signal forecasting. They are far more frequently used for disease prediction, in general, and cardiovascular disease in particular [20]. Therefore, our work suggested the N-BEATS as the LSTM architecture technique for forecasting EHG signals. However, the prediction time is constrained by the EHG signal’s time interval and sampling frequency. An increase in the recording time of EHG signals can rectify this situation and extend the forecast to a much earlier prediction horizon.
Another concept that emerges from this work is the use of the dimensionality reduction method through principal component analysis. Beyond this first role, for which this technique is most frequently used throughout the literature [29,34], we noticed that it can be used as a technique for objective feature selection (among the 30 most frequently used features) so as to be exploited for each patient’s EHG signal characterization. The authors often define a fixed number of parameters to be subjected to PCA [29] or seek to reduce the whole dataset after applying a method to it [34]. In contrast to existing works, we calculated the 30 most frequently used features (all domains) from the literature, which we subjected to PCA to extract the 15 representative principal components (all domains) of the signal being considered. Indeed, when applying the method to other examples, the parameters do not appear in the same order from one woman to another and from one week of gestation to another. This corroborates the results found in [26], with the conclusion that the characterisation features of an EHG signal depend on anthropometric and pregnancy variables. We therefore recommend that principal component analysis be applied to all the domains’ features prior to any characterisation of the EHG signal and, thus, of uterine contractions. Thus, the parameters that do not truly represent a good proportion of the signal information can be discarded, unless one aims to specifically study the signal with respect to these parameters. It should also be remembered that these results will vary according to the number of parameters that are submitted, our work being one of the few to use so many parameters at once.
This result, although providing a good starting point for EHG signal forecasting, is not yet optimal for the achievement of our objectives. The prediction horizon should be evaluated in terms of hours, which would be an interesting investigation. This would give the pregnant woman time to prepare for the hospital. This is not the case with the results of the current forecasting model. This may be due to the multifractal nature of the EHG signal and the non-linearity of the EHG signal, as in the case of crude oil price time series [21,22], which make it difficult to forecast. The subject has not been meaningfully addressed in the literature, although it could provide a realistic alternative for healthcare systems in low-income countries. Meanwhile, research has been initiated in this direction in several other areas, such as electricity load [47,48], traffic [49] and COVID-19 mortality [50] forecasting. Additionally, the results prove that the LSTM [49] and hybrid models [47,48,50] perform better, especially in multivariate forecasting cases.
Accurate and long-term forecasting could enable the early prediction of labour in pregnant women in these countries. Achieving such a goal can help to overcome the lack of an adequate healthcare system [1] and thus reduce the infant and maternal mortality rates. This is why this study, as the first in a series of others yet to come, examined this subject. The results of this first work, which focused on the most efficient method of the RNN architecture for this signal, are encouraging.
As one can see, this is a preliminary work that may be affected by problems due to possible data overfitting. To avoid these drawbacks and obtain a better forecasting horizon (e.g., 1 h), our future work will focus on different aspects. Other versions of this method, as well as other architectures [20], will be applied to the EHG signal. This will help us to determine whether there an improvement in the forecasting performance can be obtained using the same data size. Another approach will be the integration of the trend and multifractality parameters of the EHG signal in forecasting, as proposed in [21,22], with the best results in the literature currently based on crude oil price forecasting. The implementation of our own EHG signal acquisition system, with the possibility of larger data sizes, is also a solution approach whose feasibility should be investigated.

7. Conclusions

In this study, we prototyped the forecasting of EHG signals for the purpose of labour prediction, as previously performed from the perspective of categorization. The N-BEATS model, which is based on a long short-term memory architecture, was recommended as one of the best models currently available in the other domains. The findings indicated that EHG signal recordings longer than 30 min, with the appropriate sample rate, are required for improved forecasting, which can result in a considerably earlier prediction of the labour contractions of the pregnant woman. Uterine contraction classification, following EHG signal forecasting, has been performed with an accuracy of 99%. This is one of the best classification performance accuracies based on the use of a good number of features. We believe that this hybrid model can enable the clinical application of labour prediction techniques. Future research will determine the appropriate recording time and sampling frequency required to achieve a given prediction goal. The other challenge is to study the applicability of other models used in the health domain to EHG signals and their comparison to N-BEATS signals. Our work indicates the importance of building larger datasets with longer recording times for hourly predictions and forecasting in future work. Additionally, it also suggests the importance of ensuring an increase in the forecasting horizon for timely labour predictions, resulting in efficient labour management.

Author Contributions

Conceptualization, methodology, writing—original draft, writing—review and editing, T.R.J. and Z.T.; methodology, software, visualization, formal analysis, writing—original draft, G.H. and M.H.A.; supervision, project administration, funding acquisition, A.E.-T.; supervision, project administration, D.M.; supervision, validation, project administration, A.L.; supervision, validation, F.S.; paper and English language review, publication funding acquisition, S.M.P.; paper review and editing, M.S.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Al-Khawarizmi Program to Support Research in Artificial Intelligence and its Applications: funded by the Ministry of National Education, Professional Training, Higher Education and Scientific Research (MENFPESRS-Morocco); the National Centre for Scientific and Technical Research (CNRST-Morocco) and the Digital Development Agency (ADD-Morocco), grant number APIAA-2019-ETTAHIR-AZIZ-EST-RABAT-UM5R. The APC was funded by the University of Warwick.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this research were taken from the Term-Preterm EHG (TPEHG) database, which is publicly accessible through the following link: https://archive.physionet.org/cgi-bin/ATM, accessed on 15 July 2020.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Summary of the 30 most frequently used parameters in the literature [51,52,53,54,55,56].
Table A1. Summary of the 30 most frequently used parameters in the literature [51,52,53,54,55,56].
AcronymNameFormula
Linear features
Time domain
1IEMGIntegrated EHG i = 1 N | X i |
2LOGLog detector e 1 N i = 1 N log ( | X i | )
3MAVMean absolute value 1 N i = 1 N | X i |
4WLWavelength i = 1 N 1 | X i + 1 X i |
5MAV1First modified mean absolute value 1 N i = 1 N W i | X i |
W i = {       1 ,     0.25 N i 0.75 N 0.5 ,     e l s e
6MAV2Second modified mean absolute value 1 N i = 1 N W i | X i |
W i = {                   1 ,     0.25 N i 0.75 N             4 i N   ,   i < 0.25 N 4 ( i N ) N ,     e l s e
7AACAverage amplitude change 1 N i = 1 N 1 | X i + 1 X i |
8DASDVDifference absolute standard deviation value 1 N 1 i = 1 N 1 ( X i + 1 X i ) 2
9SSISimple square integral i = 1 N X i 2
10MYOPMyopulse percentage 1 N i = 1 N f ( X i )
f ( x ) = { 1 ,     x s 0 ,     e l s e
11RMSRoot mean square 1 N i = 1 N X i 2
12ZCZero crossing i = 1 N 1 s g n ( X i X i + 1 ) | X i X i + 1 |
s g n ( x ) = { 1 ,       x s 0 ,     e l s e
13VAREHG variance 1 N 1 i = 1 N X i 2
14WAMPWilson amplitude i = 1 N 1 f ( | X i X i + 1 | )
f ( x ) = { 1 ,     x s 0 ,     e l s e
15TM3, TM4, TM53rd, 4th, 5th time moment absolute value | 1 N   i = 1 N X i p |
p = 3 ,   4 ,   5
18SSCSlope scale change i = 2 N 1 f [ ( X i X i 1 ) * ( X i X i + 1 ) ]
f ( x ) = { 1 ,     x s 0 ,     e l s e
Frequency domain
19MNFMean frequency j = 1 M f j P j j = 1 M P j
20MFMedian frequency j = 1 M F P j = j = M F M P j = 1 2 j = 1 M P j
21MNPMean power j = 1 M P j M
22PKFPeak frequency F ( max ( P j ) )
23TTPTotal power j = 1 M P j = S M 0
24SM1, SM2, SM31st, 2nd, 3rd spectral moment j = 1 M P j f j p
p = 1 ,   2 ,   3
27VCFVariance of centre frequency S M 2 S M 0 ( S M 1 S M 0 ) 2
Nonlinear features (time domain)
28ApEnApproximate entropy A p   E n ( m ,   r , τ , N ) = Φ m ( r ) Φ m + 1 ( r )
Φ m ( r ) = 1 N ( m 1 ) τ i = 1 N ( m 1 ) τ l o g C i m ( r )
29SampEn (SE)Sample entropy S E ( m , r ) ( r ) = { log ( C m C m 1 ) : C m   0 C m 1 0 log ( N m N m 1 ) :       C m = 0 C m 1 = 0
30TrTime reversibility T R ( τ ) = 1 N τ n = τ + 1 N ( X n X n τ ) 2

References

  1. Di Pietro, L.; Piaggio, D.; Oronti, I.; Maccaro, A.; Houessouvo, R.C.; Medenou, D.; De Maria, C.; Pecchia, L.; Ahluwalia, A. A Framework for Assessing Healthcare Facilities in Low-Resource Settings: Field Studies in Benin and Uganda. J. Med. Biol. Eng. 2020, 40, 526–534. [Google Scholar] [CrossRef]
  2. Calvello, E.J.; Skog, A.P.; Tenner, A.G.; Wallis, L.A. Applying the lessons of maternal mortality reduction to global emergency health. Bull. World Health Organ. 2015, 93, 417–423. [Google Scholar] [CrossRef] [PubMed]
  3. Jezewski, J.; Horoba, K.; Matonia, A.; Wrobel, J. Quantitative analysis of contraction patterns in electrical activity signal of pregnant uterus as an alternative to mechanical approach. Physiol. Meas. 2005, 26, 753–767. [Google Scholar] [CrossRef] [PubMed]
  4. Leman, H.; Marque, C.; Gondry, J. Use of electrohysterogram signal for characterization of contractions during pregnancy. IEEE Trans. Biomed. Eng. 1999, 46, 1222–1229. [Google Scholar] [CrossRef]
  5. Maul, H.; Maner, W.; Olson, G.; Saade, G.; Garfield, R. Non-invasive transabdominal uterine electromyography correlates with the strength of intrauterine pressure and is predictive of labor and delivery. J. Matern. Fetal Neonatal Med. 2004, 15, 297–301. [Google Scholar] [CrossRef]
  6. Lucovnik, M.; Maner, W.L.; Chambliss, L.R.; Blumrick, R.; Balducci, J.; Novak-Antolic, Z.; Garfield, R.E. Noninvasive uterine electromyography for prediction of preterm delivery. Am. J. Obstet. Gynecol. 2011, 204, 228.e1–228.e10. [Google Scholar] [CrossRef] [Green Version]
  7. Euliano, T.Y.; Nguyen, M.T.; Darmanjian, S.; McGorray, S.P.; Euliano, N.; Onkala, A.; Gregg, A.R. Monitoring uterine activity during labor: A comparison of 3 methods. Am. J. Obstet. Gynecol. 2013, 208, 66.e1–66.e6. [Google Scholar] [CrossRef] [Green Version]
  8. Kandil, M.; Emarh, M.; Ellakwa, H. Abdominal electromyography in laboring and non-laboring pregnant women at term and its clinical implications. Arch. Gynecol. Obstet. 2013, 288, 293–297. [Google Scholar] [CrossRef]
  9. Buhimschi, C.; Boyle, M.B.; Garfield, R.E. Electrical activity of human uterus during pregnancy as recorded from the abdominal surface. Obstet. Gynecol. 1997, 90, 102–111. [Google Scholar] [CrossRef]
  10. Alberola-Rubio, J.; Prats-Boluda, G.; Ye-Lin, Y.; Valero, J.; Perales, A.; Garcia-Casaso, J. Comparison of non-invasive electrohysterographic recording techniques for monitoring uterine dynamics. Med. Eng. Phys. 2013, 35, 1736–1743. [Google Scholar] [CrossRef]
  11. Alexandersson, A.; Steimgrimsdottir, T.; Terrien, J.; Marque, C.; Karlsson, B. The icelandic 16-electrode electrohysterogram database. Sci. Data 2015, 2, 150017. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Jossou, T.R.; Et-tahir, A.; Tahori, Z.; El Ouadi, A.; Medenou, D.; Bybi, A.; Fagbemi, L.; Sbihi, M.; Piaggio, D. Electrodes in external electrohysterography: A systematic literature review. Biophys. Rev. 2021, 13, 405–415. [Google Scholar] [CrossRef] [PubMed]
  13. Jossou, T.R.; ET-Tahir, A.; Medenou, D.; Bybi, A.; Fagbemi, L.; Sbihi, M.; Piaggio, D. Methods to distinguish labour and pregnancy contractions: A systematic literature review. Health Technol. 2021, 11, 745–757. [Google Scholar] [CrossRef]
  14. Jager, F.; Libenšek, S.; Geršak, K. Characterization and automatic classification of preterm and term uterine records. PLoS ONE 2018, 13, e0202125. [Google Scholar] [CrossRef] [Green Version]
  15. Acharya, U.R.; Sudarshan, V.K.; Rong, S.Q.; Tan, Z.; Lim, C.M.; Koh, J.E.; Nayak, S.; Bhandary, S.V. Automated detection of premature delivery using empirical mode and wavelet packet decomposition techniques with uterine electromyogram signals. Comput. Biol. Med. 2017, 85, 33–42. [Google Scholar] [CrossRef]
  16. Allahem, H.; Sampalli, S. Automated labour detection framework to monitor pregnant women with a high risk of premature labour using machine learning and deep learning. Inform. Med. Unlocked 2022, 28, 100771. [Google Scholar] [CrossRef]
  17. Hao, D.; Peng, J.; Wang, Y.; Liu, J.; Zhou, X.; Zheng, D. Evaluation of convolutional neural network for recognizing uterine contractions with electrohysterogram. Comput. Biol. Med. 2019, 113, 103394. [Google Scholar] [CrossRef]
  18. Namadurai, P.; Padmanabhan, V.; Swaminathan, R. Multifractal Analysis of Uterine Electromyography Signals for the Assessment of Progression of Pregnancy in Term Conditions. IEEE J. Biomed. Health Inform. 2019, 23, 1972–1979. [Google Scholar] [CrossRef]
  19. Punitha, N.; Ramakrishnan, S. Multifractal analysis of uterine electromyography signals to differentiate term and preterm conditions. Proc. Inst. Mech. Eng. 2019, 233, 362–371. [Google Scholar] [CrossRef]
  20. Torres, J.F.; Hadjout, D.; Sebaa, A.; Martínez-Álvarez, F.; Troncoso, A. Deep Learning for Time Series Forecasting: A Survey. Big Data 2021, 9, 3–21. [Google Scholar] [CrossRef]
  21. Karasu, S.; Altan, A.; Bekiros, S.; Ahmad, W. A new forecasting model with wrapper-based feature selection approach using multi-objective optimization technique for chaotic crude oil time series. Energy 2020, 212, 118750. [Google Scholar] [CrossRef]
  22. Karasu, S.; Altan, A. Crude oil time series prediction model based on LSTM network with chaotic Henry gas solubility optimization. Energy 2022, 242, 122964. [Google Scholar] [CrossRef]
  23. Altan, A.; Karasu, S. Recognition of COVID-19 disease from X-ray images by hybrid model consisting of 2D curvelet transform, chaotic salp swarm algorithm and deep learning technique. Chaos Solitons Fractals 2020, 140, 110071. [Google Scholar] [CrossRef] [PubMed]
  24. Toledo-Pérez, D.C.; Rodríguez-Reséndiz, J.; Gómez-Loenzo, R.A.; Jauregui-Correa, J.C. Support Vector Machine-Based EMG Signal Classification Techniques: A Review. Appl. Sci. 2019, 9, 4402. [Google Scholar] [CrossRef] [Green Version]
  25. Peng, J.; Hao, D.; Yang, L.; Du, M.; Song, X.; Jiang, H.; Zhang, Y.; Zheng, D. Evaluation of electrohysterogram measured from different gestational weeks for recognizing preterm delivery: A preliminary study using random Forest. Biocybern. Biomed. Eng. 2020, 40, 352–362. [Google Scholar] [CrossRef]
  26. Almeida, M.; Mourino, H.; Batista, A.G.; Russo, S.; Esgalhado, F.; Palma dos Reis, C.R.; Serrano, F.; Ortigueira, M. Electrohysterography extracted features dependency on anthropometric and pregnancy factors. Biomed. Signal Process. Control 2022, 75, 103556. [Google Scholar] [CrossRef]
  27. Oreshkin, B.N.; Carpov, D.; Chapados, N.; Bengio, Y. N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. arXiv 2020, arXiv:1905.10437. Available online: http://arxiv.org/abs/1905.10437 (accessed on 3 November 2021).
  28. Degbedzui, D.K.; Yüksel, M.E. Accurate diagnosis of term–preterm births by spectral analysis of electrohysterography signals. Comput. Biol. Med. 2020, 119, 103677. [Google Scholar] [CrossRef]
  29. Fergus, P.; Cheung, P.; Hussain, A.; Al-Jumeily, D.; Dobbins, C.; Iram, S. Prediction of Preterm Deliveries from EHG Signals Using Machine Learning. PLoS ONE 2013, 8, e77154. [Google Scholar] [CrossRef]
  30. Fergus, P.; Idowu, I.; Hussain, A.; Dobbins, C. Advanced artificial neural network classification for detecting preterm births using EHG records. Neurocomputing 2016, 188, 42–49. [Google Scholar] [CrossRef] [Green Version]
  31. Hoseinzadeh, S.; Amirani, M.C. Use of Electro Hysterogram (EHG) Signal to Diagnose Preterm Birth. In Proceedings of the Electrical Engineering (ICEE), Iranian Conference, Mashhad, Iran, 8–10 May 2018; pp. 1477–1481. [Google Scholar]
  32. Idowu, I.O.; Fergus, P.; Hussain, A.; Dobbins, C.; Khalaf, M.; Casana Eslava, R.V.; Keight, R. Artificial Intelligence for Detecting Preterm Uterine Activity in Gynecology and Obstetric Care. In Proceedings of the 2015 IEEE International Conference on Computer and Information Technology; Ubiquitous Computing and Communications; Dependable, Autonomic and Secure Computing, Pervasive Intelligence and Computing. Liverpool, UK, 26–28 October 2015; pp. 215–220. [Google Scholar]
  33. Sheryl, O.A.; Ashwantika, U.; Aswitha, R. Labor Prediction in pregnant woman based on ElectroMyoGram and Electro-HysteroGram using Machine Learning Techniques. In Proceedings of the 4th International Conference on Inventive Systems and Control (ICISC 2020), Coimbatore, India, 8–10 January 2020; Available online: https://ieeexplore.ieee.org/servlet/opac?punumber=9165557 (accessed on 6 January 2022).
  34. Naeem, S.M.; Seddik, A.F.; Eldosoky, M.A. New technique based on uterine electromyography nonlinearity for preterm delivery detection. J. Eng. Technol. Res. 2014, 6, 107–114. [Google Scholar] [CrossRef]
  35. Ren, P.; Yao, S.; Li, J.; Valdes-Sosa, P.A.; Kendrick, K.M. Improved Prediction of Preterm Delivery Using Empirical Mode Decomposition Analysis of Uterine Electromyography Signals. PLoS ONE 2015, 10, e0132116. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Shahbakhti, M.; Beiramvand, M.; Bavi, M.R.; Mohammadi Far, S. A New Efficient Algorithm for Prediction of Preterm Labor. In Proceedings of the 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany, 23–27 July 2019; pp. 4669–4672. [Google Scholar]
  37. Chen, L.; Hao, Y.; Hu, X. Detection of preterm birth in electrohysterogram signals based on wavelet transform and stacked sparse autoencoder. PLoS ONE 2019, 4, e0214712. [Google Scholar] [CrossRef] [PubMed]
  38. Alberola-Rubio, J.; Garcia-Casado, J.; Prats-Boluda, G.; Ye-Lin, Y.; Desantes, D.; Valero, J.; Perales, A. Prediction of labor onset type: Spontaneous vs induced; role of electrohysterography? Comput. Methods Programs Biomed. 2017, 144, 127–133. [Google Scholar] [CrossRef]
  39. Altini, M.; Rossetti, E.; Rooijakkers, M.; Penders, J.; Lanssens, D.; Grieten, L.; Gyselaers, W. Combining electrohysterography and heart rate data to detect labour. In Proceedings of the 2017 IEEE EMBS International Conference on Biomedical & Health Informatics (BHI), Orland, FL, USA, 16–19 February 2017; pp. 149–152. [Google Scholar]
  40. Altini, M.; Rossetti, E.; Rooijakkers, M.J.; Penders, J. Towards Non-invasive Labour Detection: A Free-Living Evaluation. In Proceedings of the 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Honolulu, HI, USA, 18–21 July 2018; pp. 2841–2844. [Google Scholar]
  41. Borowska, M.; Brzozowska, E.; Kuć, P.; Oczeretko, E.; Mosdorf, R.; Laudański, P. Identification of preterm birth based on RQA analysis of electrohysterograms. Comput. Methods Programs Biomed. 2018, 153, 227–236. [Google Scholar] [CrossRef]
  42. Maner, W.L.; Garfield, R.E. Identification of Human Term and Preterm Labor using Artificial Neural Networks on Uterine Electromyography Data. Ann. Biomed. Eng. 2007, 35, 465–473. [Google Scholar] [CrossRef]
  43. Goldberger, A.L.; Amaral, L.A.N.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Mietus, J.E.; Moody, G.B.; Peng, C.-K.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 2000, 101, e215–e220. [Google Scholar] [CrossRef] [Green Version]
  44. Ahmadi, H.; Ekhlasi, A. Types of EMD Algorithms. In Proceedings of the 2019 5th Iranian Conference on Signal Processing and Intelligent Systems (ICSPIS), Shahrood, Iran, 18–19 December 2019; pp. 1–5. [Google Scholar]
  45. Wold, S.; Esbensen, K.; Geladi, P. Principal Component Analysis. Chemom. Intell. Lab. Syst. 1987, 2, 37–52. [Google Scholar] [CrossRef]
  46. Mushtaq, R. Testing Time Series Data for Stationarity. Available online: http://ssrn.com/abstract=1911068 (accessed on 2 February 2021).
  47. Ayub, N.; Irfan, M.; Awais, M.; Ali, U.; Ali, T.; Hamdi, M.; Alghamdi, A.; Muhammad, F. Big dada analytics for short and medium-term electricity load forecasting using AI technique ensembler. Energies 2020, 13, 5193. [Google Scholar] [CrossRef]
  48. Shen, Y.; Ma, Y.; Deng, S.; Huang, C.-J.; Kuo, P.-H. An ensemble model based on deep learning and data preprocessing for short-term electrical load forecasting. Sustainability 2021, 13, 1694. [Google Scholar] [CrossRef]
  49. Abduljabbar, R.L.; Dia, H.; Tsai, P.-W.; Liyanage, S. Short-term traffic forecasting: An LSTM network for spatial-temporal speed prediction. Future Transp. 2021, 1, 21–37. [Google Scholar] [CrossRef]
  50. Mathonsi, T.; van Zyl, T.L. A statistics and deep learning hybrid method for multivariate time series forecasting and mortality modeling. Forecasting 2021, 4, 1–25. [Google Scholar] [CrossRef]
  51. Alamedine, D.; Khalil, M.; Marque, C. Comparison of Different EHG Feature Selection Methods for the Detection of Preterm Labor. Comput. Math. Methods Med. 2013, 2013, 485684. [Google Scholar] [CrossRef] [PubMed]
  52. Alamedine, D.; Khalil, M.; Marque, C. Parameters extraction and monitoring in uterine EMG signals. Detection of preterm deliveries. IRBM 2013, 34, 322–325. [Google Scholar] [CrossRef]
  53. Garcia-Gonzalez, M.T.; Charleston-Villalobos, S.; Vargas-Garcia, C.; Gonzalez-Camarena, R.; Aljama-Corrales, T. Characterization of EHG contractions at term labor by nonlinear analysis. In Proceedings of the 2013 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan, 3–7 July 2013; pp. 7432–7435. [Google Scholar]
  54. Shulgin, V.; Shepel, O. Electrohysterographic signals processing for uterine activity detection and characterization. In Proceedings of the 2014 IEEE 34th International Scientific Conference on Electronics and Nanotechnology (ELNANO), Kyiv, Ukraine, 15–18 April 2014; pp. 269–272. [Google Scholar]
  55. Liu, Z.; Hao, D.; Zhang, L.; Liu, J.; Zhou, X.; Yang, L.; Yang, Y.; Li, X.; Zhang, S.; Zheng, D. Comparison of electrohysterogram characteristics during uterine contraction and non-contraction during labor. In Proceedings of the 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Seogwipo, Korea, 11–15 July 2017; pp. 2924–2927. [Google Scholar]
  56. Hao, D.; An, Y.; Qiao, X.; Qiu, Q.; Zhou, X.; Peng, J. Development of Electrohysterogram Recording System for Monitoring Uterine Contraction. J. Healthc. Eng. 2019, 2019, 4230157. [Google Scholar] [CrossRef]
Figure 1. Methodology block diagram.
Figure 1. Methodology block diagram.
Electronics 11 03739 g001
Figure 2. N-BEATS architecture (Reprinted from ref. [27]).
Figure 2. N-BEATS architecture (Reprinted from ref. [27]).
Electronics 11 03739 g002
Figure 3. Application of K-means to the dataset.
Figure 3. Application of K-means to the dataset.
Electronics 11 03739 g003
Figure 4. Application of the N-BEATS forecasting method.
Figure 4. Application of the N-BEATS forecasting method.
Electronics 11 03739 g004
Table 1. Scores of the classification algorithms for different signals.
Table 1. Scores of the classification algorithms for different signals.
Patient IDGestational WeekAccuracyRecallF1-Score
XGBKNNSVMXGBKNNSVMXGBKNNSVM
1463331.001.001.001.001.001.001.001.001.00
615330.970.970.940.970.970.940.970.970.94
1745331.001.000.971.001.000.961.001.000.97
1737351.000.941.001.000.931.001.000.931.00
Average0.990.980.980.990.980.980.990.980.98
Table 2. Dataset forecasting SMAPE and loss values for different horizons.
Table 2. Dataset forecasting SMAPE and loss values for different horizons.
MethodEpochHorizonSMAPE
N-BEATS021500 (75 s)146.8
021800 (90 s)146.4
022400 (120 s)149.8
023000 (150 s)147.5
031500 (75 s)147.1
031800 (90 s)147.6
032400 (120 s)147.3
033000 (150 s)146.7
051500 (75 s)154.9
051800 (90 s)156.2
052400 (120 s)147.5
053000 (150 s)144.3
Table 3. EHG signal classification methods with features in two or more domains.
Table 3. EHG signal classification methods with features in two or more domains.
Authors FeaturesMethod/Accuracy (%)
[10]Fractal Dimension ( F D x ), Fuzzy Entropy ( E F x ), Interquartile Range ( I Q R x ), Mean Absolute, Deviation ( A D M x ), Mean Energy ( M x ), Mean Teager–Kaiser Energy ( M T K x ), Sample Entropy ( E S x ), Standard Deviation ( D S x )Support Vector Machine using Radial Basis Function/96.25
[32]Wavelet Transform, Sample EntropyStacked Spark Autoencoder/90.00
[20]31 features from the Time Domain, Frequency Domain, Time–Frequency Domain, and Non-Linear AnalysisRandom Forest/93.00
[11]PKF, MNF, MF, Pregnancy Gestational Age, Pregnant Woman’s Age, ParityANN/98.00
Our studyRMS, MF, TM5, SM3, MYOP, ApEn, Tr, MAV2, TM3, SE, VCF, MNF, LOG, ZC, MAV1XG-Boost/99.00
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jossou, T.R.; Tahori, Z.; Houdji, G.; Medenou, D.; Lasfar, A.; Sanya, F.; Ahouandjinou, M.H.; Pagliara, S.M.; Haleem, M.S.; Et-Tahir, A. N-Beats as an EHG Signal Forecasting Method for Labour Prediction in Full Term Pregnancy. Electronics 2022, 11, 3739. https://doi.org/10.3390/electronics11223739

AMA Style

Jossou TR, Tahori Z, Houdji G, Medenou D, Lasfar A, Sanya F, Ahouandjinou MH, Pagliara SM, Haleem MS, Et-Tahir A. N-Beats as an EHG Signal Forecasting Method for Labour Prediction in Full Term Pregnancy. Electronics. 2022; 11(22):3739. https://doi.org/10.3390/electronics11223739

Chicago/Turabian Style

Jossou, Thierry Rock, Zakaria Tahori, Godwin Houdji, Daton Medenou, Abdelali Lasfar, Fréjus Sanya, Mêtowanou Héribert Ahouandjinou, Silvio M. Pagliara, Muhammad Salman Haleem, and Aziz Et-Tahir. 2022. "N-Beats as an EHG Signal Forecasting Method for Labour Prediction in Full Term Pregnancy" Electronics 11, no. 22: 3739. https://doi.org/10.3390/electronics11223739

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