Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Modeling the relationship between maternal health and infant behavioral characteristics based on machine learning

Abstract

This study investigates the impact of maternal health on infant development by developing a mathematical model that delineates the relationship between maternal health indicators and infant behavioral characteristics and sleep quality. The main contributions of this study are as follows: (1) The use of Spearman’s correlation coefficient to conduct correlation analysis and explore the main factors that influence infant behavioral characteristics based on maternal indicators. (2) The development of a combined model using machine learning techniques, including random forest (RF) and multilayer perceptron (MLP) to establish the relationship between maternal health (physical and psychological health) and infant behavioral characteristics. The model is trained and validated by the real data respectively. (3) The use of the Fuzzy C-means (FCM) dynamic clustering model to classify infant sleep quality. An RF regression model is constructed to predict infant sleep quality using maternal indicators. This study is significant in gaining a deeper understanding of the relationship between maternal health indicators and infant development, and provides a basis for future intervention measures.

Introduction

Infants are fragile and important individuals whose behavior is complex and influenced by many factors. The mother plays a vital role in the life of the baby, in addition to providing nutrition and physical protection [1], and it also gives the baby emotional support and security [2]. The mother’s participation in the child’s development is of great help [3]. These studies show that infant sleep and infant behavior have close relationship with maternal psychological characteristics.

Since infant sleep, infant behavior, maternal mental and physical characteristics are highly related and complex, there exist many works on exploring this relationship. The study of infant behavior can be analogous to the study of infant temperament. Infant temperament is influenced by many aspects, including maternal nursing behavior and early language, maternal and infant parenting pressure, and maternal and infant interaction [4]. In 2018, Prioreschi et al. reached a conclusion that the baby’s physical activity level was closely related to the mother’s activity level through studies [5]. The more closely the mother cares for the baby, the stronger the bond between the baby and the mother. In 2018, Klein et al. used cross-lag analysis to study the degree of bidirectional correlation between children’s temperament (fear, depression, positive influence, effort to control) and parenting behavior (warmth, negativity, limit setting, scaffolding, reactivity) [6]. Results showed that temperament and parenting have independent and additive effects on preschool-age child adjustment, with some support for a bidirectional relation. In 2021, Davies et al. examined the relationship between predictors (mother-infant relationship), outcomes (infant temperament), and mediators (maternal mental health, anxiety, and/or depression) through correlation analysis and concluded that mother-infant relationship had a significant indirect effect on infant temperament through anxiety [7].

Research on infant sleep is also important, and factors about early infant sleep are so complex, including child, parent and environmental factors. In 2016, Hairston’s study found that infant sleep patterns contribute to maternal mood, maternal sleep quality, perception of infant temperament, and maternal experience of intimacy [8]. In 2020, Geeraerts et al. examined associations between infant fussing and crying and self-regulation in early childhood and pre-school age, and concluded that the relationship between infant fussing and preschool self-regulation was inverted U-shaped, but only for children of highly sensitive mothers [9]. For babies whose mothers are less sensitive, fussing has nothing to do with later self-regulation. In 2021, Dias et al. found that maternal prenatal depression symptoms were associated with infant sleep problems, and infant sleep problems were associated with maternal postpartum depression symptoms [10].

At the same time, researchers had found that a mother’s favorable psychological and behavioral characteristics are also very beneficial to infant development, and parents and their parenting style play a key role in the development of self-regulation in young children, focusing on infancy, early childhood/preschool years, and early school years [11]. In 2012, Kim et al. found that infants were less self-regulated in non-reactive relationships (low parent-child interactivity orientation) but more self-regulated in reactive relationships (high parent-child interactivity orientation) [12]. In 2022, An et al. illustrated the multifinality of parent-infant processes and characterized their early relationship dynamics by examining observations and reports of parent-related (reactivity, resentment towards children, power claims, and invasiveness) and child-related (social-emotional competence, opposition, and anger) structures [13]. In 2023, Li et al. selected 108 Canadian postpartum women as samples and used multiple linear regression to examine the correlation between maternal and infant attachment and other variables, and found the importance of addressing maternal depression and maternal and infant attachment problems, which reduced the risk of childhood psychopathology [14].

While maternal influence on infant development is well-documented, the specific mechanisms remain unclear. This study aims to clarify the relationship by examining the interplay between maternal physical and mental health and infant behavioral patterns. EPDS(Edinburgh Postnatal Depression Scale) scores [15], HADS (Hospital Anxiety and Depression Scale) scores [16], CBTS (Childbirth Related Post-Traumatic Stress Disorder (CB-PTSD) Scale) [17]. This tool is widely utilized in clinical settings to assess the stress levels in women during the perinatal period. In 2012, Matthey et al. concluded using the EPDS and HADS score scales that about half of pregnant women had high EPDS and HADS scores on the first measurement [18], but that scores began to decrease after two weeks. In 2015, Thombs et al. used 10-item EBDS scores for perinatal depression screening, with the primary objective of determining the diagnostic accuracy of EPDS in detecting major depressive disorder in pregnant and postpartum women among all potentially relevant cut-off scores, and to consider patient factors that may affect accuracy [19].

Building on previous research that highlights the mother’s role in infant development, our study employs a novel approach to understand the nuanced relationship between maternal health and infant behavior. Random forest (RF) is a popular machine learning algorithm [20, 21]. It has many applications, can be used as prediction, classification and so on. RF can be combined or optimized for higher classification and prediction accuracy [22]. In 2023, Bicego et al. proposed a new RF clustering method, i.e., heterogeneous RF clustering, which is a novel unsupervised RF variant [23].

Multi-layer perceptron (MLP) is a popular machine learning algorithm [2426]. In 2022, Said used multi-layer sensing machine artificial neural networks (MLP-ANN) to map and predict the thermal properties of multi-walled carbon nanotube nanofluids on the tube side and water on the shell side [27]. At the same time, through the R2 value of shell side model and the Kling-Gupta efficiency of tube side and shell side, it is concluded that the MLP-ANN model is not only robust, but also an effective prognostic model.

Fuzzy C-means (FCM) is a well-known and widely used as fuzzy clustering technique [28]. In 2022, Hu et al. first proposed a new FCM clustering algorithm, while continuing to compare five well-known FCM algorithms, and found that adaptive weight hybrid AFCM can enhance the performance of FCM more effectively [29].

RF algorithm is not sensitive to real data, but its excellent performance in feature selection can make up for the shortcomings of MLP. In 2022, Zou et al. used the integrated model of RF-MLP to estimate the ecological security level of cultivated land in the study area from 2019 to 2028 [30]. The model combined with MLP and RF model has high accuracy and is expected to achieve higher generalization and robustness in the classification prediction of maternal physical and mental health and infant sleep quality.

While previous studies have only used techniques such as simple linear regression or cross analysis to study the effects of maternal physical and mental health and infant behavioral characteristics, in order to study the relationship more deeply, our study used a combination (RF and MLP) of machine learning methods to further investigate the effects of mothers on their babies.

The work is organized as follows. In the section “Materials and methods”, we processed the data and established a relationship model between mothers and infants, combining MLP and RF models. Additionally, our proposed model was compared with other models in terms of AUC. In the section “Results”, the Spearman correlation coefficient was calculated for indicators between mother and infant, and the magnitude of the feature importance between maternal psychosomatic indicators and infant behavioral characteristics and sleep quality was also calculated. Finally, in the “Discussion” section, our conclusions were discussed with the results of previous studies, and in the “Conclusion” section, we have presented the conclusions and suggest that the relationship between the physical and mental health of mothers and infant development is important and provides a solid basis for future interventions, while also mentioning the limitations of the study in the “Limitations” section.

Materials and methods

Research framework

The study employs a combined model of RF and MLP to establish the relationship between maternal health (physical and psychological health) and infant behavioral characteristics and infant characteristics, and performs feature selection after data processing to simplify the model variables. According to the simplified variables, the relationship model between the infant’s behavioral characteristics and the mother’s physical and psychological indicators and the relationship model between the infant’s sleep quality and the maternal physical and psychological indicators are established. The accuracy of the model was verified by the known data, and 20 groups of infant data were finally predicted. Fig 1 shows the framework of this study.

Data collection

The data derived from “Big Data and Mathematical Modeling Committee of the Chinese Society for Future Studies (CSFS)”(https://www.csfs.org.cn/) and “Tianjin Society for Future and Prediction Science”, a total of a number of data sets, including 410 3-to-12-months infant and its maternal health-related data. The data set collects a total of 410 groups of maternal physical and mental indicators and infant data, including maternal age, marital status, education level, gestation period, delivery mode, CBTS (the higher the score, the more obvious the symptoms. Symptoms of CB-PTSD including recurrent memories of the birth process, avoidance of birth-related stimuli, emotional numbness, irritability, insomnia, etc. can have a serious impact on a woman’s physical and mental health and social life), EPDS scores (short for the Edinburgh Postnatal Depression Scale, this scale is designed to help assess the severity of postpartum depression symptoms, including common symptoms such as low mood, insomnia, and changes in appetite, with higher scores indicating more severe symptoms), HADS scores (short for Hospital Anxiety and Depression Scale, this scale is used to assess whether a patient has symptoms of anxiety and depression while in the hospital, with higher scores indicating more severe symptoms) and the data of the infant’s behavioral characteristics, such as gender, age, sleep time throughout the night, wake times, and sleep mode. In the data, the infant behavior questionnaire, which is a scale used to evaluate the infant’s behavioral characteristics, emotions and reactions, is used to classify the infant’s behavioral characteristics into three types: quiet, moderate and contradictory. Among them, 1–390 groups of data contain all the indicators of mathor and infants, while 391–410 groups of data only give the physical and mental mathor’s indicators, and it is necessary to predict the behavioral characteristics and sleep quality of their infants according to the model. Table 1 shows the specific classification and numerical representation of each indicator in the data set.

Data processing

The given data set is preprocessed to remove the outliers. After removing abnormal data, 379 sets of valid data remained. Descriptive statistics and statistical images are performed on quantitative data such as maternal age, gestation period, and infants’ sleep time, as shown in Table 2 and Fig 2. Then, Spearman’s correlation coefficient method is used to explore the influence between mother’s indicators and infant’s indicators. The correlation coefficient rs between the two groups of indicators Xi and Yi is calculated in the formula shown in Eq (1), where di is the grade difference between Xi and Yi [31], (1)

thumbnail
Fig 2. Statistical graph of categorical variables in data analysis.

(a) represents the mother’s education level divided into five categories, as specified in Table 1. (b) is a distribution graph of the mother’s age. (c) shows the indicators of the infants, including the distribution of infant gender, behavioral characteristics, and age.

https://doi.org/10.1371/journal.pone.0307332.g002

Relationship model

Infant behavioral characteristics are mainly divided into three categories, namely quiet, moderate and quiet, moderate and contradictory. Therefore, the RF-MLP combined model is chosen to explore the relationship model between mother’s physical and mental indicators and infant’s behavioral characteristics, and predicts infant’s behaviors based on this model by using mother’s physical and mental indicators.

Multilayer Perceptron (MLP).

MLP model is a kind of feedforward neural network based on single layer perceptron extension, which has advantages in solving complex nonlinear problems. In the MLP model, each sample has d input features, that is, various physical and mental indicators of the mother. The matrix XPn*d represents n small-batch samples, that is, n sets of data. Take a hidden layer as an example, let the number of hidden units be h, HPn*h represents the output of the hidden layer, with hidden layer weight W(1)Pn*h and hidden layer bias b(1)P1*h. Meanwhile, if the sample has q output features, there are output layer weight W(2)Ph*q and output layer bias b(2)P1*q After the affine transformation of the hidden layer, the activation function is applied to each cell: (2)

After processing, the output OPn*q of the output layer can be obtained [22]: (3)

In establishing the MLP model, the physical and mental indicators of the mother are used as the input of the model, and the behavioral characteristics of the infant are used as the output. Mean Absolute Error(MAE) and Coefficient of Determination(R2) are used as statistical criteria to evaluate the performance of the model [32, 33]. The standard is defined as follows: (4) (5) where yi represents the true index value, represents the average value of the true index value, represents the predicted value.

Random Forest (RF).

The RF regression model can be summarized mathematically as follows: given a data sample X and a prediction set Y, on this basis, a forest dependent on random variable θ is planted to form a tree predictor h(x, θk). The output result of this predictor is the infant behavior characteristics. The RF predictor is obtained by taking the mean value of these trees about k. The mean square generalization error of any tree predictor h(X) is given by taking the independent sample set which follows the distribution of random variables X and Y as the training set [34]. (6)

The RF regression function is: (7)

When using the above formula, the approximate formula Y = avkh(X, θ) is usually used instead for sufficiently large k. Error analysis at this point is as follows (PE* represents the average generalization error of the RF): (8)

MLP can learn RF-optimized features to obtain more accurate prediction data on maternal psychosomatic indicators and infant behavioral characteristics and sleep quality. RF, as a statistical learning theory, models the decision tree of each sample by Bootstrap resampling, extracts multiple samples from the original sample, and then makes prediction by combining multiple decision trees. Finally, the final prediction is obtained by the following formula: (9) where MAE1 represents the average absolute error value of the multi-layer perceptron, and MAE2 represents the average error value of the RF. If Δ ≤ 0.05, then we use the following formula: (10) (11) (12) where Ypre represents the final forecast value, YpreMLP represents the prediction results of MLP, YpreRF represents the prediction results of RF.

If Δ ≥ 0.05, one model with a higher average absolute error is discarded and the results of the other model are used as the final result.

Model accuracy verification.

To validate the performance of the proposed RF-MLP model, psychosomatic indicators of the first 370 groups of mothers and data on infant behavioral characteristics and sleep quality are entered into the proposed model and other competing models. These competing models include MLP, RF-SVM (Support Vector Machine combined with RF), and SVM-MLP (Support Vector Machine combined with MLP), where SVM is a commonly used machine learning algorithm [3537]. Finally, the accuracy (AUC) performance of MLP, RF-MLP, RF-SVM, and SVM-MLP algorithms is shown in Fig 3 and Table 3.

thumbnail
Fig 3. Comparing the proposed RF-MLP model with other models in the relationship between maternal indicators and infant behavioral characteristics.

When comparing the performance of the models, the AUC (Area Under the Curve) is used as the evaluation metric [38]. To ensure a fair comparison, all models are trained, validated, and tested using the same proportions of datasets.

https://doi.org/10.1371/journal.pone.0307332.g003

thumbnail
Table 3. The accuracy of the training, validation, and test sets of different methods.

https://doi.org/10.1371/journal.pone.0307332.t003

Fig 3 and Table 3 show that the model combining the MLP method with RF or SVM is significantly better than MLP in terms of prediction, which is reflected in its higher AUC in the training, validation and test sets. Compared with the other two combined methods, RF-MLP has the highest prediction accuracy. The above results demonstrate the great effectiveness of RF in training, and also illustrate the progress and effectiveness of the RF-MLP model used in this paper in prediction.

Classification model of infant sleep quality based on FCM clustering model

FCM clustering model.

First of all, the data of the three indicators of sleep quality, that is, the whole night sleep time, the number of waking times and sleep mode, are normalized. In the Eq (13), Xij represents the j-th value of the i-th indicator, mi represents the minimum value of each indicator, Mi represents the maximum value of each indicator, and the normalized value Xg is obtained [29]: (13)

Then, the FCM clustering model is established to classify the infant sleep quality into 4 categories. The model is to find the membership matrix U and cluster center V when the objective function J reaches the minimum value. Here, the least square error and criterion are selected as the clustering criterion of this question, and the clustering objective function is obtained as follows: (14) where the value of J(U, V) reflects the compactness within a class under some definition of difference. The smaller J(U, V) is, the tighter the cluster is, that is, the better the effect of the clustered class is. uik represents the membership degree of the k-th sample belonging to i-th class; dik represents the similarity between the sample point and the cluster center. Take the partial derivative of uik, then get (15)

Using the same method, if J(U, V) is the minimum value, then the value of vi is (16)

Model of infant sleep quality based on maternal physical and mental

Based on the above classification of infant sleep quality, a RF regression model is established to predict infant sleep quality using maternal physical and mental indicators. RF, as a statistical learning theory, models the decision tree of each sample through Bootstrap resampling, extracts multiple samples from the original sample, and then makes predictions by combining multiple decision trees. The MAE and R2 used here are the same as in the previous section.

Results

Spearman correlation coefficient for correlation analysis

Eq (1) is used to calculate the Spearman correlation coefficient to analyze the correlation between maternal physical indicators (age, marital status, education level, gestation period, and mode of delivery) and psychological indicators (CBTS, EPDS, HADS), as well as infant behavioral characteristics and sleep quality indicators (total sleep time, number of awakenings, and sleep onset method). Fourteen indicators are analyzed and the results are visualized as a Spearman correlation coefficient heatmap, as shown in Fig 4. The darker the color and the larger the correlation coefficient value, the stronger the degree of correlation. After organizing the data, the correlation between Maternal Age, Marital Status, Educational Background, Gestation Period (weeks), Mode of Delivery, CBTS, EPDS, HADS, Infant Behavioral Characteristics, Infant Gender, Infant Age (months), and Sleep Time can be analyzed. This analysis allows us to identify several factors with significant correlation coefficients.

thumbnail
Fig 4. Spearman correlation coefficient heatmap.

The Spearman correlation coefficient ranges from -1 to 1 and measures the strength and direction of the non-linear relationship between two variables.

https://doi.org/10.1371/journal.pone.0307332.g004

The study primarily examines the relationship between maternal physical and psychological health and infant behavioral characteristics and sleep quality. Therefore, we will focus on the correlation between Maternal Age, Marital Status, Educational Background, Gestation Period (weeks), Mode of Delivery, CBTS, EPDS, HADS, Infant Behavioral Characteristics, Infant Gender, Infant Age (months), Sleep Time, Numbers of Awakenings, and Ways to Fall Asleep.

The analysis reveals that maternal age, gestation period, marital status, and mode of delivery have minimal influence on infant behavioral characteristics. However, maternal psychological indicators (CBTS, EPDS, HADS) significantly impact infant gender, behavioral characteristics, ways to fall asleep, and the number of awakenings. Moreover, as the values of these psychological indicators increase, indicating higher levels of maternal anxiety, infants tend to exhibit more contradictory behaviors and poorer sleep quality. Additionally, maternal educational background has a certain influence on infant behavioral characteristics, with higher levels of education associated with a higher prevalence of contradictory behaviors in infants.

In summary, based on the above analysis, we can conclude that certain maternal physical indicators (educational background and gestation period) have an impact on infant behavioral characteristics, with educational background having a stronger influence. Furthermore, specific maternal physical indicators (gestation period and mode of delivery) affect infant sleep quality, with the gestation period having a greater impact. Additionally, maternal psychological indicators (CBTS, EPDS, HADS) have an influence on both infant behavioral characteristics and sleep quality.

From Fig 4, it can be observed that several factors have relatively high Spearman correlation coefficients. These factors include: EPDS and Infant Behavioral Characteristics (0.1451), HADS and Infant Behavioral Characteristics (0.1288), CBTS and Infant Behavioral Characteristics (0.1256), EPDS and Numbers of Awakenings (0.1147), and so on.

Feature importance and model performance of RF-MLP

Using a tree model to determine feature importance, we obtain Fig 5, which shows that HADS, maternal age, and EPDS have a significant impact on the target variable [39, 40]. They have high feature values in the tree model, indicating strong predictive power for the target variable and suggesting that they may be important predictors. Increasing maternal age may have a considerable influence on the target variable, implying that older mothers may have a greater impact on infant behavioral characteristics. CBTS also has a significant impact on the target variable, but its feature value is negative, indicating a negative correlation between CBTS and the target variable. In this model, an increase in CBTS may lead to a decrease in the target variable. The influences of marital status, gestation period, and educational background are relatively small, as indicated by their low feature values in the tree model, suggesting weaker predictive power and a lesser impact on the target variable. Based on the conclusions derived from the combination of Spearman correlation coefficients and the tree model, we find that the accuracy does not differ significantly when selecting 3, 4, or 5 features. Therefore, we select the variables Maternal Age, Educational Background, EPDS, and HADS.

thumbnail
Fig 5. Feature importance.

The feature importance values obtained from the tree model are generally relative rather than absolute. They indicate the relative importance of features in the model for predicting infant behavioral characteristics. Positive feature importance values indicate that the feature has a positive impact on infant behavioral characteristics, while negative feature importance values indicate a negative impact. The x-axis variables represent Maternal Age, Marital Status, Educational Background, Gestation Period (weeks), Mode of Delivery, CBTS, EPDS, and HADS.

https://doi.org/10.1371/journal.pone.0307332.g005

To prevent overfitting, the model employed a random selection method, using 50 percent of the data as the training set, 20 percent as the validation set, and the remaining 30 percent as the test set. Based on the relationship model between infant behavioral characteristics and maternal physical and psychological indicators using the RF-MLP classification model, the training set’s fitting effect is shown in Fig 6. The RF-MLP model demonstrates high accuracy in predicting behavioral characteristics of infants based on maternal indicators. The confusion matrix of the trained model is shown in the figure, indicating that the prediction accuracy is above 94 percent, demonstrating excellent classification performance of the model.

thumbnail
Fig 6. Training set fitting effect.

Using Educational Background, CBTS, EPDS, HADS and Infant Behavioral Characteristics 370 groups of mothers and the known behavioral characteristics of infants, a RF-MLP classification model was established for prediction and a fitting plot was obtained. Among them, 1, 2, and 3 represent quiet, medium, and contradictory types, respectively.

https://doi.org/10.1371/journal.pone.0307332.g006

The confusion matrix is used to calculate performance metrics by normalizing the counts of true positive and true negative predictions based on the sample size of the model. It displays the correct and incorrect classifications, as shown in Fig 7.

Using the RF-MLP classification model, we perform classification fitting with 370 sets of data, with 20 known data points used as unknowns. The validation results are shown in in Table A2 (see S1 File). In the table, Behavioral Features 1, 2, and 3 represent Quiet, Moderate, and Contradictory types, respectively.

Analyzing the results of predicting known trees using the RF-MLP model, we found that the model performed well on the given dataset. The accuracy reached 85 percent, meaning that the predicted values of 17 samples matched the true values exactly, with only 3 samples having different predicted values. This indicates that the model can accurately predict the categories of most samples. However, due to the small number of samples for Contradictory type infants, the predictions for this category are less accurate.

This study discovers the relationship between three infant characteristics and maternal physical and psychological indicators. For Quiet type infants, mothers had an age distribution between 25 and 36 years, higher levels of education, and lower scores in psychological indicators such as CBTS, EPDS, and HADS. For Moderate type infants, mothers had an age distribution between 23 and 31 years, moderate levels of education, and intermediate scores in psychological indicators such as CBTS, EPDS, and HADS. For Contradictory type infants, mothers had higher scores in psychological indicators such as CBTS, EPDS, and HADS, and their physical indicators included a higher age range of childbirth around 25 to 30 years and lower levels of education.

The results of the classification scoring model

The FCM algorithm is used to cluster and classify the sleep quality of infants based on factors such as total sleep time, number of awakenings, and sleep onset method. The clustering analysis employs the silhouette coefficient as a commonly used evaluation metric to measure the compactness and separation of the clustering results. A higher silhouette coefficient indicates better clustering quality. In the analysis process, we first plot the silhouette coefficient curve to assess the classification performance for different numbers of clusters [41], as shown in Fig 8. By observing the curve, we found that when the data was divided into three categories, the silhouette coefficient reached 0.61, indicating a good classification scenario. Subsequently, we implemented the FCM clustering algorithm using Matlab and obtained the clustering results for three categories, as presented in Fig 9. Considering both the silhouette coefficient and the clustering results, we can conclude that using the FCM algorithm to classify the sleep quality of infants into three categories yields satisfactory classification performance.

thumbnail
Fig 9. Statistical chart of sleep quality classification quantity.

The numbers of good, moderate, and poor sleep quality were 105, 216, and 57, respectively, which were normally distributed.

https://doi.org/10.1371/journal.pone.0307332.g009

Feature selection and validation results of infant sleep quality indicators

An RF classification model is used to model the sleep quality indicators of infants. To validate the model with known data, a tree model is used to determine the feature importance for the infant’s total sleep time, number of awakenings, and sleep onset method. The results are shown in Fig 10.

thumbnail
Fig 10. Feature importance.

The x-axis variables represent Maternal Age, Marital Status, Educational Background, Gestation Period (weeks), Mode of Delivery, CBTS, EPDS, and HADS. Figs (a)–(c) represent the feature value distributions for the target variables of total sleep time, number of awakenings, and sleep onset method, respectively.

https://doi.org/10.1371/journal.pone.0307332.g010

The study finds that EPDS, HADS, and CBTS had a significant impact on the target variable of infant sleep duration. In contrast, factors such as educational background, gestation period, marital status, mode of delivery, and maternal age had a relatively small influence. The accuracy of the results does not significantly differ when selecting 3, 4, or 5 features. Therefore, the chosen variables for the study are Maternal Age, Educational Background, EPDS, and HADS.

EPDS and HADS have a significant positive impact on the number of awakenings in the target variable. This suggests that mothers with higher levels of postpartum depression and anxiety may cause increased awakenings in their infants. The quality and patterns of an infant’s sleep can be affected by the emotional state of the mother. Additionally, trauma and stress experienced during childbirth may increase the number of awakenings in infants.

The number of awakenings in infants may be influenced by the physical and psychological condition of the mother during childbirth. The mode of delivery can also have a positive impact on the number of awakenings, as it may be related to the mother’s physical condition and the infant’s physiological adaptability. Maternal educational background and infant age had a relatively small impact on the number of awakenings, suggesting no significant effect. For the target variable of number of awakenings, we select EPDS, HADS, mode of delivery, and infant age based on the Spearman correlation coefficient.

The study finds that maternal age and educational background had a significant positive impact on the sleep onset method for infants. This indicates that mothers with higher education and older age may use more effective methods to help their infants fall asleep more easily. Other factors such as CBTS, EPDS, HADS, infant age, mode of delivery, and marital status also had some influence on the sleep onset method of infants.

To validate the known data, we use a set of 20 data points. The comparison between the actual and predicted values after handling missing data is shown in Table A2 (see S1 File). The predicted values align well with the actual values for most of the known data. The sleep onset method was evaluated by comparing the real data and validate data. The predictions for samples with IDs 370, 371, 372, 373, 376, 377, 379, 381, 382, 383, 385, 386, 387, 388, and 389 were accurate, resulting in an accuracy rate of 66.7 percengt. Similarly, for the sleep time throughout the night, the predictions for samples with IDs 371, 373, 374, 375, 376, 377, 378, 379, 381, 382, 383, 384, 385, 386, 387, 388, 389, and 390 were accurate, resulting in an accuracy rate of 85.7 percent. The accuracy rate for the Number of awakenings was 61.9 percent. Samples with IDs 371, 374, 376, 378, 379, 381, 382, 383, 384, 386, 387, 389, and 390 had accurate predictions.

Discussion

The study has several implications for understanding the relationship between maternal physical and mental health and infant behavioral characteristics and sleep quality. We found that maternal psychological indicators and education level were associated with the increased incidence of contradictory babies, as well as the decrease in infant sleep quality. Our findings suggest that maternal psychological indicators and educational level are significantly associated with the incidence of contradictory infants and decreased infant sleep quality. This aligns with previous research by Denis et al. [42] and Dias et al. [10], which highlighted the link between maternal depression and infant sleep patterns. The use of the combined RF-MLP model has provided a convincing approach to modeling this complex relationship, with high accuracy on the training set, indicating a well-fitted model.

One of the main findings was the effect of certain physical indicators of the mother, such as gestation period and patterns, on the quality of the baby’s sleep. Specifically, we found that the gestation period has a significant influence, which corroborates Takegata’s findings [43]. This suggests that the gestation period may play a crucial role in shaping the sleep patterns of infants, a factor that could be further explored in future research.

However, our conclusion that maternal psychological indicators and education level are associated with an increase in contradictory infants and a decrease in infant sleep quality presents a contrasting view to Padilla’s research [44]. This discrepancy warrants further investigation and could be attributed to differences in study design, population, or cultural factors. It is essential for future studies to consider these variables and their potential interactions to gain a more nuanced understanding of the relationship between maternal health and infant development.

The significance of our study lies in its contribution to the body of knowledge regarding the intricate links between maternal physical and mental health and infant growth. By identifying specific factors that influence infant sleep quality and behavior, we provide a foundation for targeted interventions and support strategies that could enhance maternal and infant well-being.

Limitations

However, there are also limitations in this paper. First, infants’ behavioral characteristics and sleep quality may be affected by many other factors, including certain maternal cortisol, tobacco, alcohol or certain illicit drugs, income factors, and maternal temperament traits, which can be important indicators for future research [43]. Secondly, the prediction results of MLP-RF are mainly based on the model’s performance on the training set, and practical applications may face more challenges and uncertainties. Thirdly, there are few data sets of people with low education in the data set of this paper, which may lead to the conclusion that mother‘s education is related to infant temperament, and it is contrast to Padilla’s findings [44]. Last, future studies should further incorporate more relevant variables, try different model structures, and consider multiple factors to more fully reveal the relationship between mother and infant.

Conclusion

A new RF-MLP model was introduced to explore the intricate relationship between maternal physical and mental health and infant behavioral characteristics and sleep quality. Leveraging Spearman correlation coefficients, we analyzed the associations between a range of maternal indicators—spanning age, marital status, education level, gestation period, and delivery mode—and infant behavioral and sleep quality indicators. To classify infant behavior into quiet, medium, and contradictory types, we selected a support vector machine, which, given the dataset’s small size and high dimensionality, offered a balance between handling nonlinearity and avoiding overfitting.

Our model demonstrated high accuracy, with an AUC value calculated for the mother’s physical and mental health indicators and infant behavioral and sleep quality. The predictive model was tested on 20 groups of infants, revealing that most infants exhibited medium behavioral characteristics, with quiet types following and contradictory types being the least common. Sleep patterns were predominantly between 9 and 12 hours, with the majority of infants waking 0 to 2 times during the night.

The findings highlight the significant impact of maternal mental health and education on infant development, particularly the incidence of contradictory behaviors and sleep quality. These insights provide a solid foundation for designing future interventions and underscore the need for further research to encompass a broader range of variables and model structures. The study’s success in modeling and predicting infant outcomes based on maternal health metrics offers a promising avenue for advancing our understanding of early childhood development.

Supporting information

Acknowledgments

The authors thank the Big Data and Mathematical Modeling Committee of the Chinese Society for Future Studies and the Tianjin Society for Future and Prediction Science for providing data for our experiments.

References

  1. 1. Boquien CY. Human milk: an ideal food for nutrition of preterm newborn. Front Pediatr. 2018; 6: 295. pmid:30386758
  2. 2. Fancourt D, Perkins R. The effects of mother-infant singing on emotional closeness, affect, anxiety, and stress hormones. Music Sci. 2018; 1: 1–10.
  3. 3. Kotila LE, Schoppe-Sullivan SJ, Kamp Dush CM. Infant characteristics and parental engagement at the transition to parenthood. Infant Behav Dev. 2014; 37: 787–799. pmid:25459796
  4. 4. Larkin SJ, Otis M. The relationship of child temperament, maternal parenting stress, maternal child interaction and child health rating. Child Adolesc Soc Work J. 2018; 36: 631–640.
  5. 5. Prioreschi A, Brage S, Westgate K, Micklesfield LK. Describing the diurnal relationships between objectively measured mother and infant physical activity. Int J Behav Nutr Phys Act. 2018; 15: 13. pmid:29940957
  6. 6. Klein MR, Lengua LJ, Thompson SF, Moran L, Ruberry EJ, Kiff C. Bidirectional relations between temperament and parenting predicting preschool-age children’s adjustment. J Clin Child Adolesc Psychol. 2016; 47(Suppl 1): S113–S126. pmid:27399174
  7. 7. Davies SM, Silverio SA, Christiansen P, Fallon V. Maternal-infant bonding and perceptions of infant temperament: The mediating role of maternal mental health. J Affect Disord. 2021; 282: 1323–1329. pmid:33601711
  8. 8. Hairston IS, Solnik-Menilo T, Deviri D, Handelzalts JE. Maternal depressed mood moderates the impact of infant sleep on mother-infant bonding. Arch Womens Ment Health. 2016; 19(6): 1029–1039. pmid:27438464
  9. 9. Geeraerts SB, Backer PM, Stifter CA. It takes two: Infants’ moderate negative reactivity and maternal sensitivity predict self-regulation in the preschool years. Dev Psychol. 2020; 56(5): 869–879. pmid:32191053
  10. 10. Dias CC, Figueiredo B. Unidirectional and bidirectional links between maternal depression symptoms and infant sleep problems. J Sleep Res. 2021; 30(5): e13363. pmid:33900005
  11. 11. Morawska A, Dittman CK, Rusby JC. Promoting self-regulation in young children: the role of parenting interventions. Clin Child Fam Psychol Rev. 2019; 22(1): 43–51. pmid:30715651
  12. 12. Kim S, Kochanska G. Child temperament moderates effects of parent–child mutuality on self‐regulation: a relationship‐based path for emotionally negative infants. Child Dev. 2012; 83(5): 1275–1289. pmid:22670684
  13. 13. An D, Kochanska G. Sequelae of infants’ negative affectivity in the contexts of emerging distinct attachment organizations: multifinality in mother-child and father-child dyads across the first year. Dev Psychopathol. 2022; 35(5): 2011–2027. pmid:36128670
  14. 14. Li H. Maternal-infant attachment and its relationships with postpartum depression, anxiety, affective instability, stress, and social support in a canadian community sample. Psychiatr Q. 2022; 94(1): 9–22. pmid:36469258
  15. 15. Cox J. Use and misuse of the Edinburgh Postnatal Depression Scale (EPDS): a ten point ‘survival analysis’. ARCH WOMEN MENT HLTH, 2017; 20(6): 789–790.
  16. 16. Yang Y, Ding RJ, Hu DY, Zhang F, Sheng L. Reliability and validity of a Chinese version of the HADS for screening depression and anxiety in psycho-cardiological outpatients. Compr Psychiat, 2014; 55(1): 215–220. pmid:24199886
  17. 17. Horesh D, Garthus-Niegel S, Horsch A. Childbirth-related PTSD: is it a unique post-traumatic disorder? JRIP, 2021; 39(3): 221–224. pmid:34027767
  18. 18. Matthey S, Ross-Hamid C. Repeat testing on the Edinburgh Depression Scale and the HADS-A in pregnancy: Differentiating between transient and enduring distress. J Affect Disord., 2012; 141(2-3): 213–221. pmid:22695259
  19. 19. Thombs BD, Benedetti A, Kloda LA, Levis B, Azar M, Riehm KE, et al. Diagnostic accuracy of the Edinburgh Postnatal Depression Scale (EPDS) for detecting major depression in pregnant and postnatal women: protocol for a systematic review and individual patient data meta-analyses. BMJ Open 5, 2015, e009742. pmid:26486977
  20. 20. Speiser JL, Miller ME, Tooze J, Ip E. A comparison of random forest variable selection methods for classification prediction modeling. Expert Syst Appl. 2019; 134: 93–101. pmid:32968335
  21. 21. Mizera-Pietraszko J, Pichappan P, Mohamed L. Lecture Notes in Real-Time Intelligent Systems. Springer, 2018.
  22. 22. Quadrianto N, Ghahramani Z. A very simple safe-bayesian random forest. IEEE Trans Pattern Anal Mach Intell, 2015; 37(6): 1297–1303. pmid:26357350
  23. 23. Bicego M. DisRFC: a dissimilarity-based Random Forest Clustering approach. Pattern Recognit, 2023; 133: 109036.
  24. 24. Tang J, Deng C, Huang GB. Extreme learning machine for multilayer perceptron. IEEE Trans Neural Netw Learn Syst, 2016; 27(4): 809–821. pmid:25966483
  25. 25. Olmedo MTC, Paegelow M, Mas JF, Escobar F. Geomatic Approaches for Modeling Land Change Scenarios. Springer, 2018.
  26. 26. Kruse R, Mostaghim S, Borgelt C, Braune C, Steinbrecher M. Computational Intelligence: A Methodological Introduction. Springer, 2022.
  27. 27. Said Z, Rahman S, Sharma P, Hachicha AA, Issa S. Performance characterization of a solar-powered shell and tube heat exchanger utilizing MWCNTs/water-based nanofluids: An experimental, numerical, and artificial intelligence approach. Appl Therm Eng, 2022; 212: 118633.
  28. 28. Zhou KL, Yang SL. Exploring the uniform effect of FCM clustering: A data distribution perspective. Knowl-Based Syst, 2016; 96: 76–83.
  29. 29. Hu JL, Yin HL, Wei GL, Song Y. An improved FCM clustering algorithm with adaptive weights based on PSO-TVAC algorithm. Appl Intell, 2022; 52(12): 9521–9536.
  30. 30. Zou SJ, Zhang L, Huang X, Osei FB, O GL. Early ecological security warning of cultivated lands using RF-MLP integration model: A case study on China’s main grain-producing areas. Ecol Indic. 2022; 141: 109059.
  31. 31. Xu WC, Hou YH, Hung Y.S., Zou YX. A comparative analysis of Spearman’s rho and Kendall’s tau in normal and contaminated normal models. Signal Process. 2013; 93(2): 261–276.
  32. 32. Chai T, Draxler RR. Root mean square error (RMSE) or mean absolute error (MAE)? Geosci Model Dev. 2014; 7(3): 1525–1534.
  33. 33. Figueiredo D, Júnior S, Rocha E. What is R2 all about? Leviathan-Cad. Pesq Polít., 2011; 3(1): 60–68.
  34. 34. Breiman L. Random forests. Mach Learn. 2001; 45(1): 5–32.
  35. 35. Gardner MW, Dorling SR. Artificial neural networks (the multilayer perceptron)-a review of applications in the atmospheric sciences. Atmos Environ. 1998; 32(14): 2627–2636.
  36. 36. Rustam Z, Sudarsono E, Sarwinda D. Random-forest (RF) and support vector machine (SVM) implementation for analysis of gene expression data in chronic kidney disease (CKD). IOP Conf. Ser.: Mater Sci Eng. 2019; 546(5): 052066.
  37. 37. Zanaty EA. Support vector machines (SVMs) versus multilayer perception (MLP) in data classification. Egypt Inform J. 2012; 13(3): 177–183.
  38. 38. Sun DC, Guan XN, Moran AE, Wu LY, Qian DZ, Schedin P, et al. Identifying phenotype-associated subpopulations by integrating bulk and single-cell sequencing data. Nat Biotechnol. 2021; 40(5): 527–538. pmid:34764492
  39. 39. Krzywinski M, Altman N. Classification and regression trees. Nat Methods. 2017; 14(8): 757–758.
  40. 40. Karabadji NEI, Khelf I, Seridi H, Aridhi S, Remond D, Dhifli W. A data sampling and attribute selection strategy for improving decision tree construction. Expert Syst Appl. 2019; 129: 84–96.
  41. 41. Al-Zoubi MdB, Al-Rawi M. An efficient approach for computing silhouette coefficients. J. Comput Sci. 2018; 4(2): 252–255.
  42. 42. Denis A, Ponsin M, Cllahan S. The relationship between maternal self-esteem, maternal competence, infant temperament and post-partum blues. JRIP. 2012; 30(4): 388–397.
  43. 43. Takegata M, Mizuki A, Matsunaga A, Ohashi Y, Toizumi M, Yoshida LM. Prenatal and intrapartum factors associated with infant temperament: A systematic review. Front Psychiatry. 2021; 12: 609020. pmid:33897486
  44. 44. Padilla CM, Hines CT, Ryan RM. Infant temperament, parenting and behavior problems: Variation by parental education and income. JAPD. 2020; 70: 101179.