Literature DB >> 34191801

Prediction of preterm birth in nulliparous women using logistic regression and machine learning.

Reza Arabi Belaghi1,2, Joseph Beyene3,4, Sarah D McDonald1,3,5,6.   

Abstract

OBJECTIVE: To predict preterm birth in nulliparous women using logistic regression and machine learning.
DESIGN: Population-based retrospective cohort. PARTICIPANTS: Nulliparous women (N = 112,963) with a singleton gestation who gave birth between 20-42 weeks gestation in Ontario hospitals from April 1, 2012 to March 31, 2014.
METHODS: We used data during the first and second trimesters to build logistic regression and machine learning models in a "training" sample to predict overall and spontaneous preterm birth. We assessed model performance using various measures of accuracy including sensitivity, specificity, positive predictive value, negative predictive value, and area under the receiver operating characteristic curve (AUC) in an independent "validation" sample.
RESULTS: During the first trimester, logistic regression identified 13 variables associated with preterm birth, of which the strongest predictors were diabetes (Type I: adjusted odds ratio (AOR): 4.21; 95% confidence interval (CI): 3.23-5.42; Type II: AOR: 2.68; 95% CI: 2.05-3.46) and abnormal pregnancy-associated plasma protein A concentration (AOR: 2.04; 95% CI: 1.80-2.30). During the first trimester, the maximum AUC was 60% (95% CI: 58-62%) with artificial neural networks in the validation sample. During the second trimester, 17 variables were significantly associated with preterm birth, among which complications during pregnancy had the highest AOR (13.03; 95% CI: 12.21-13.90). During the second trimester, the AUC increased to 65% (95% CI: 63-66%) with artificial neural networks in the validation sample. Including complications during the pregnancy yielded an AUC of 80% (95% CI: 79-81%) with artificial neural networks. All models yielded 94-97% negative predictive values for spontaneous PTB during the first and second trimesters.
CONCLUSION: Although artificial neural networks provided slightly higher AUC than logistic regression, prediction of preterm birth in the first trimester remained elusive. However, including data from the second trimester improved prediction to a moderate level by both logistic regression and machine learning approaches.

Entities:  

Year:  2021        PMID: 34191801      PMCID: PMC8244906          DOI: 10.1371/journal.pone.0252025

Source DB:  PubMed          Journal:  PLoS One        ISSN: 1932-6203            Impact factor:   3.240


Introduction

Preterm birth (PTB), birth before 37 weeks, is the leading cause of neonatal death and disability [1]. Approximately, 50% of all perinatal deaths are caused by PTB [2]. In the U.S., almost 10% of babies are born preterm [3], costing the healthcare system at least $26 billion yearly [4]. In Canada, PTB comprises 8% of all births and results in direct costs of $580 million annually [5]. Risk factors for PTB are heterogeneous and include previous PTB, race, age, nulliparity, urinary tract infection, smoking, and bleeding during early pregnancy [6-8]. Prediction of PTB would facilitate the use of therapeutic interventions to reduce infant morbidity and mortality, thereby benefitting families, society, and the healthcare system. Previous studies have found the prediction of PTB to be challenging, whether by logistic regression or machine learning. The area under the receiver operating characteristic curve (AUC) for prediction of PTB in previous studies ranged from 62% to 72% depending on the number of predictors and study design [9-15]. The predictive power of the machine learning model developed by Fergus et al. [16] was promising (AUC, 95%), but measuring uterine electrical signals (electrohysterography) is not practical on a large scale. Another drawback was the synthetic oversampling of the whole dataset, rather than just the training dataset, thereby calling into question the 95% AUC of that work. Machine learning is a computer programming approach whereby computers learn from “big data” to make better predictions [17]. In 2019, machine learning was identified as one of the most advanced tools for prenatal diagnosis [18]. Morover, machine learning has been broadly applied in medicine, from cancer detection [19, 20] to prediction of cardiovascular diseases [21], among others. In this study, we considered some of state-of-the-art machine learning methods, including decision trees, random forests, and artificial neural networks, that are frequently used in medicine to develop prediction models [21-28]. We also considered logistic regression as a traditional statistical approach to develop prediction models [29]. Unlike logistic regression, machine learning approaches are free of statistical assumptions (such as linearity and uncorrelated predictors) and can handle complex interactions between predictive factors without these interactions being explicitly specified [27, 30]. We aimed to overcome the challenges of predicting PTB, especially for nulliparous women, by evaluating logistic regression and multiple machine learning algorithms. To this end, we considered variables available in clinical care, including some not previously assessed in other studies. Our study aimed to: 1) identify important predictors associated with PTB during the first and second trimester in nulliparous women from a large population cohort; and 2) construct models to predict PTB based on logistic regression and robust machine learning algorithms.

Methods and materials

Data and population

Ontario comprises 40% of the Canadian population and has approximately 140,000 births each year [31]. We performed a population-based retrospective cohort study using Ontario’s Better Outcomes Registry and Network (BORN) database, which includes a wide range of maternal, antenatal, and birth data [32]. We included all nulliparous women with singleton births who gave birth between 20 and 42 weeks gestation in an Ontario hospital between April 1, 2012 and March 31, 2014.

Outcome

PTB was the primary outcome variable in this study, defined as gestational age at birth (from ultrasound estimation or calculation from the first day of the last menstrual period) <37 weeks. We also considered spontaneous PTB as a secondary outcome. Spontaneous PTB was identified using the definition of Maghsouldu et al. [33], i.e.: not “induced”, not “caesarean section” and not “augmented labor”.

Predictors

We considered predictors based on our literature review of PTB risk factors during the first and second trimesters [7, 34]. We considered socio-demographic variables including maternal age, height, pre-pregnancy body mass index (BMI), gestational weight gain during the first trimester, income, education, race, and immigration status. Further, we included the number of previous abortions (which includes miscarriages), conception type, smoking status, alcohol consumption, folic acid use, pre-existing medical health conditions, diabetes, pre-existing mental health conditions (such as anxiety, depression, and addiction) and antenatal health care provider type. Pregnancy-associated plasma protein A and free beta-subunit of human chorionic gonadotropin were measured during the first trimester as part of the screen for Down syndrome [30], but we considered them as potential markers of placental and preeclamptic diseases [35]. We also included ultrasound measurement of nuchal translucency as another predictor [36]. For the second-trimester models, we included all of the predictors from the first trimester plus information that became available during the second trimester including dimeric inhibin A, unconjugated estriol, human chorionic gonadotropin, alpha-fetoprotein concentration, hypertensive disorders of pregnancy, gestational diabetes, infections, medication exposure, sex of the fetus, and complications during pregnancy [37]. We grouped maternal height into four categories, including <150 cm, 150 cm—169 cm, 160 cm—169 cm, and ≥170 cm. We classified pre-pregnancy BMI as underweight (<18.5 kg/m2), normal weight (18.5–24.9 kg/m2), overweight (25–29.9 kg/m2), and obese (≥30 kg/m2), according to World Health Organization criteria [38, 39]. We used the Institute of Medicine guidelines [40] to categorize gestational weight gain into three groups, including recommended weight gain, less than recommended weight gain, and more than recommended weight gain. For income, education, race, and immigration status, we used neighbourhood income quartiles, neighbourhood education quartiles, neighbourhood immigrant concentration, and neighbourhood minority quartiles, respectively (see S1 Table for the definition of these variables). We categorized the number of previous abortions (including spontaneous and therapeutic abortions) into four groups based on Oliver et al. [41], including 0, 1, 2, and 3+. We grouped the pre-existing health conditions variable in the BORN database into “Yes” or “No” since that variable had more than 1000 possible entries (S2 Table). We treated pre-existing mental health conditions (S3 Table) as a binary categorical variable. We classified the conception type into: spontaneous, in vitro fertilization (IVF, or a combination of IVF and other methods), and other methods (such as Surrogate, Intrauterine insemination alone, or unknown) [42]. We classified protein concentrations (pregnancy-associated plasma protein A, free beta-subunit of human chorionic gonadotropin, dimeric inhibin A, unconjugated estriol, human chorionic gonadotropin, and alpha-fetoprotein) and nuchal translucency as normal, abnormal, and missing (cut-off values shown in S4 Table). The variable “complications during pregnancy” had more than 600 categories, and we therefore categorized data for this variable into three groups based on maternal-fetal expertise (SDM) as follows: no complications, mild-moderate complications, and severe complications [37].

Statistical analysis

We used the Chi-square test and univariate logistic regression to measure associations between predictors and PTB. We assessed statistical significance using 2-sided p-values, with a p-value <0.05 considered statistically significant. We then proceed with variable selection using stepwise multivariable logistic regression based on the Akaike Information Criterion (AIC). We also utilized the Boruta algorithm to select important variables for the machine learning models [43]. In short, Boruta is based on the random forest machine learning method, which selects relevant variables that significantly impact the prediction power of the model [43]. We followed the guidelines for the Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis [44] for establishing prediction models. Based on these guidelines, we selected 2/3 of the data as the training set and the remaining 1/3 of the data as the test (validation) set. We balanced the training samples using a random over-sampling technique [45]. We then used ten-fold cross-validation to establish machine learning models. Finally, we used the test data to evaluate the performance of the proposed prediction models by comparing the sensitivity, specificity, positive predictive values, negative predictive values, and AUC. We performed all machine learning computations in R software using the caret package [46]. We applied multiple imputation with 10 imputations [47-49] to replace missing observations on the predictors. However, for plasma proteins and nuchal translucency, missing data were treated as a new category since a large proportion of women chose not to enroll in screening for Down syndrome. We also treated gestational weight gain during the first trimester in a similar manner, since the lack of recording of weight gain may reflect less than optimal care. The Hamilton Integrated Research Ethics Board approved the study before study commencement (approval #: 14-714-C).

Results

Study participants and univariate analysis

Of 112,963 nulliparous women with singleton pregnancies, PTB occurred in 6,955 (6.2%, Table 1). Out of all PTBs, there were 3,695 (53%) spontaneous PTBs. Approximately 5% of patients were younger than 20 years of age, while 13% were over age 35 years. Approximately 2% of patients had three or more previous abortions including miscarriages. More than 50% of patients had a non-ideal pre-pregnancy BMI, of which 17.34% and 12.58% were overweight and obese, respectively. Approximately 17% of the cohort had at least one pre-existing medical condition. Only 78.67% of the patients had a documented first-trimester appointment.
Table 1

Distribution of maternal baseline characteristics, demographics, and clinical variables in nulliparous women.

VariablesLevelsN%
Age (years)<2057825.12
20–241797915.92
25–293630932.14
30–343479830.80
35+1481713.12
Missing32782.90
Height<150 cm26632.36
150 cm-159 cm2171419.22
160 cm-169 cm5109045.23
≥170 cm2266220.06
Missing1483413.13
Mean = 163.7, SD = 7.34
Pre-pregnancy body mass index (kg/m2)Normal5122545.35
Overweight1958417.34
Obese1421212.58
Underweight59295.25
Missing2201319.49
Mean = 24.9, SD = 6.29
Neighbourhood income quartileFirst quartile (lowest)2989126.46
Second quartile2511722.23
Third quartile2612223.12
Fourth quartile (highest)2746624.31
Missing43673.87
Neighbourhood education quartileFirst quartile (lowest)2784924.65
Second quartile2855225.28
Third quartile2808924.87
Fourth quartile (highest)2498022.11
Missing34933.09
Neighbourhood minority quartileFirst quartile (lowest)2376221.04
Second quartile1871816.57
Third quartile2370520.98
Fourth quartile (highest)4328538.32
Missing34933.09
Neighbourhood immigration quartileFirst quartile (lowest)2412921.36
Second quartile2027417.95
Third quartile2478521.94
Fourth quartile (highest)3993735.35
Missing38383.40
Smoking statusNon-smoker9726586.10
Smoker109869.73
Missing47124.17
Ex-smokerNo7146663.26
Yes1615314.30
Missing2534422.44
Alcohol consumptionNo10190290.21
Yes21851.93
Missing88767.86
Drug (substance) useNo10268890.90
Yes25552.26
Missing77206.83
First-trimester visitYes8886678.67
No109839.72
Unknown1311411.61
Antenatal health care providerObstetrician9847187.17
Midwife1356112.00
Missing9310.82
Folic acid useYes7861769.60
No2119918.77
Missing1314711.64
Intention to breastfeedYes10105789.46
No49334.37
Missing69736.17
Pre-existing health conditionsNo8839078.25
Yes1960817.36
Missing49654.40
Pre-existing mental health conditionsNo9166681.15
Yes1493213.22
Missing77206.83
Number of previous abortions (including miscarriages)08061571.36
11918916.99
253344.72
3+22992.04
Missing55264.89
Conception typeSpontaneous10506193.00
IVF and combination21761.93
Other26622.36
Missing30642.71
GravidityMean = 1.38, SD = 0.84
DiabetesNo diabetes10230890.57
Type I3560.32
Type II4540.40
Missing98458.72
Gestational weight gain during the first trimesterRecommended100348.88
<Recommended2047718.13
>Recommended1884216.68
Missing6361056.31
Pregnancy-associated plasma protein ANormal6012153.22
Abnormal31262.77
Missing4971644.01
Free beta-subunit of human chorionic gonadotropinNormal10592893.77
Abnormal63505.62
Missing6850.61
Nuchal translucencyNormal5055044.75
Abnormal470.04
Missing6236655.21
Dimeric inhibin ANormal77466.86
Abnormal5640.50
Missing10465392.64
Unconjugated estriolNormal6144554.39
Abnormal2900.26
Missing5122845.35
Human chorionic gonadotropinNormal6073353.76
Abnormal8990.80
Missing5133145.44
Alpha-fetoproteinNormal6061053.65
Abnormal16161.44
Missing5073744.9
Diabetes during the second trimesterNo diabetes9704885.91
Gestational diabetes52284.63
Type I3560.32
Type II4540.40
Type unknown320.03
Missing98458.72
Hypertensive disorderNone9961988.19
Eclampsia630.06
Gestational hypertension52674.66
HELLP1790.16
Preeclampsia9140.81
Unknown69216.13
Infection(s)No8015670.96
Yes2469721.86
Missing81107.18
Medication exposureNo2074318.36
Vitamin and herbals5041044.63
Other medication3038426.90
Missing1142610.11
Sex of fetusFemale5461248.35
Male5806551.40
Missing2860.25
Complications during pregnancyNo complications9030279.94
Mild-moderate complications46764.14
Severe complications1425512.62
Missing37303.30

Preterm birth: n = 6,955 (6.16%); Spontaneous PTB: n = 3695 (5.62%); Term birth: n = 106,008 (93.84%); SD: Standard deviation; IVF: In vitro fertilization; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table.

Preterm birth: n = 6,955 (6.16%); Spontaneous PTB: n = 3695 (5.62%); Term birth: n = 106,008 (93.84%); SD: Standard deviation; IVF: In vitro fertilization; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table. During the first trimester, we examined 23 predictors (Table 2). Women who were under 25 years of age, shorter in stature (<160 cm), had pre-pregnancy obesity, conceived with IVF, had prior medical conditions including diabetes, and those with low pregnancy-associated plasma protein A concentrations were more likely than women without these conditions to experience PTB. During the second trimester, we examined 35 predictors of PTB. Women who were over 29 years of age, had abnormal concentrations of the assessed proteins, diabetes, hypertensive disorders of pregnancy, women carrying male fetuses, and those with pregnancy complications were more likely than women without these conditions to experience PTB (Table 3).
Table 2

Univariate analyses of associations between each predictor and preterm birth during the first trimester in nulliparous women.

Term birthPreterm birthChi-square test
85457 (93.8%)5645 (6.2%)
VariablesLevelsN%N%P-ValueCrude OR95% CI
Age (years)<2041494.862233.95<0.0011.20(1.05–1.39)
20–241387416.2479114.011.24(1.04–1.24)
25–292936134.36190833.80Reference
30–342731031.96189733.600.93(0.87–0.99)
35+1076312.5982614.630.84(0.77–0.92)
Height<150 cm19632.301723.05<0.0011.33(1.13–1.55)
150 cm-159 cm1758820.58139524.711.20(1.12–1.29)
160 cm-169 cm4676354.72308554.65Reference
≥170 cm1914322.4099317.590.79(0.73–0.84)
Pre-pregnancy body mass index (kg/m2)Normal5210760.97324557.48<0.001Reference
Overweight1643419.23110319.541.07(1.00–1.15)
Obese1231514.4198317.411.28(1.18–1.38)
Underweight46015.383145.561.09(0.97–1.23)
Neighbourhood income quartileFirst quartile (lowest)2236326.17148126.240.870.98(0.91–1.06)
Second quartile1993023.32134123.76Reference
Third quartile2143125.08140124.820.97(0.90–1.05)
Fourth quartile (highest)2173325.43142225.190.97(0.90–1.04)
Neighbourhood education quartileFirst quartile (lowest)2073424.26130223.060.0290.98(0.90–1.05)
Second quartile2315227.09149026.40Reference
Third quartile2214925.92149326.451.04(0.97–1.12)
Fourth quartile (highest)1942222.73136024.091.08(1.01–1.17)
Neighbourhood minority quartileFirst quartile (lowest)2050523.99141525.070.0481.01(0.93–1.09)
Second quartile1569418.36107118.97Reference
Third quartile1791620.96118621.010.97(0.89–1.05)
Fourth quartile (highest)3134236.68197334.950.92(0.85–0.99)
Neighbourhood immigration quartileFirst quartile (lowest)2112424.72151826.890.0011.11(1.02–1.20)
Second quartile1697819.87109819.45Reference
Third quartile1874221.93125322.201.03(0.95–1.12)
Fourth quartile (highest)2861333.48177631.460.95(0.88–1.03)
Ex-smokerNo7098183.06463282.050.054Reference
Yes1447616.94101317.951.07(0.99–1.14)
Smoking statusNon-smoker7689289.98501788.880.008Reference
Smoker856510.0262811.121.12(1.03–1.22)
Folic acid useYes6848680.14461081.670.006Reference
No1697119.86103518.330.90(0.84–0.97)
Conception typeSpontaneous8171395.62527693.46<0.001Reference
In vitro fertilization and combination15361.802043.612.07(1.76–2.38)
Other22082.581652.921.15(0.98–1.35)
Number of previous abortions06413375.05411372.86<0.001Reference
11525417.85104818.571.07(0.99–1.14)
242684.993135.541.14(1.01–1.28)
3+18022.111713.031.48(1.25–1.73)
GravidityMean = 1.39, SD = 0.83Mean = 1.45, SD = 0.93<0.0011.07(1.05–1.11)
Gestational weight gain during the first trimesterRecommended79349.285339.440.053Reference
>Recommended1453517.01103618.351.07(0.95–1.18)
<Recommended1610718.85105918.760.98(0.87–1.09)
Missing4688154.86301753.450.96(0.87–1.05)
Antenatal health care providerObstetrician7369486.24510490.42<0.001Reference
Midwife1176313.765419.580.66(0.60–0.72)
Alcohol consumptionNo8388198.16553998.120.896Reference
Yes15761.841061.881.02(0.83–1.25)
Drug (substance) useNo8366097.90547096.90<0.001Reference
Yes17972.101753.101.48(1.26–1.74)
Pre-existing health conditionsNone7054182.55425975.45<0.001Reference
Yes1491617.45138624.551.53(1.44–1.63)
Pre-existing mental health conditionsNo7362686.16472083.61<0.001Reference
Yes1183113.8492516.391.21(1.13–1.31)
Diabetes during the first trimesterNo diabetes8493899.39548097.08<0.001Reference
Type I2260.26861.525.90(4.27–7.53)
Type II2930.34791.404.17(3.23–5.33)
Pregnancy-associated plasma protein ANormal4616154.02304954.01<0.001Reference
Abnormal22152.593245.742.21(1.96–2.50)
Missing3708143.39227240.250.93(0.87–0.98)
Nuchal translucencyNormal4749655.58332358.87<0.001Reference
Abnormal1240.1580.140.92(0.41–1.76)
Missing3783744.28231440.990.87(0.92–0.92)
Free beta-subunit of human chorionic gonadotropinNormal36654.292544.500.249Reference
Abnormal3960.46340.601.23(0.83–1.77)
Missing8139695.25535794.900.94(0.85–1.08)

SD: Standard deviation; IVF: In vitro fertilization; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table.

Table 3

Univariate analyses of associations between each predictor and preterm birth during the second trimester in nulliparous women.

Term birthPreterm birthChi-square test
108905 (93.4%)7754 (6.6%)
VariablesLevelsN%N%P-valuesOR95% CI
Age (years)<2056965.233224.15<0.0010.81(0.72–0.91)
20–241768116.24111514.380.90(0.84–0.97)
25–293604833.10250532.31Reference
30–343481331.97259833.511.07(1.01–1.13)
35+1466713.47121415.661.19(1.10–1.28)
Height<150 cm25572.352322.99<0.0011.28(1.10–1.46)
150 cm—159 cm2259020.74190724.591.18(1.12–1.26)
160 cm—169 cm6010755.19427055.07Reference
≥170 cm2365121.72134517.350.78(0.73–0.84)
Pre- pregnancy BMI (kg/m2)Normal6819862.62464659.92<0.001Reference
Overweight2022618.57147519.021.07(1.00–1.14)
Obese1464813.45121815.711.22(1.14–1.30)
Underweight58335.364155.351.04(0.94–1.15)
Neighbourhood income quartileFirst quartile (lowest)3004727.59218228.140.3501.01(0.92–1.06)
Second quartile2506823.02180623.29Reference
Third quartile2614224.00186624.060.99(0.90–1.05)
Fourth quartile (highest)2764825.39190024.500.95(0.89–1.01)
Neighbourhood education quartileFirst quartile (lowest)2794825.66187824.220.0200.94(0.88–1.01)
Second quartile2863026.29202726.14Reference
Third quartile2768425.42201225.951.02(0.96–1.12)
Fourth quartile (highest)2464322.63183723.691.05(0.98–1.12)
Neighbourhood minority quartileFirst quartile (lowest)2334821.44170922.040.5001.01(0.94–1.09)
Second quartile1828316.79131716.98Reference
Third quartile2310521.22160820.740.96(0.91–1.04)
Fourth quartile (highest)4416940.56312040.240.98(0.91–1.04)
Neighbourhood immigration quartileFirst quartile (lowest)2409922.13182223.500.0401.09(1.01–1.17)
Second quartile1978018.16136617.62Reference
Third quartile2421922.24168321.701.01(0.93–1.09)
Fourth quartile (highest)4080737.47288337.181.02(0.95–1.02)
Smoking statusNon-smoker9846190.41690689.06<0.001Reference
Smoker104449.5984810.941.15(1.07–1.24)
Ex-smokerNo9189084.38647983.560.060Reference
Yes1701515.62127516.441.06(0.99–1.13)
Alcohol consumptionNo10683098.09759097.880.210Reference
Yes20751.911642.121.02(0.93–1.30)
Drug (substance) useNo10651897.81749096.60<0.001Reference
Yes23872.192643.401.48(1.37–1.78)
Number of previous abortions08206475.35560172.23<0.001Reference
11874817.22140918.171.10(1.03–1.16)
255735.124555.871.19(1.08–1.31)
3+25202.312893.731.68(1.48–1.90)
GravidityMean = 1.42,Mean = 1.52,<0.0001.11(1.0591.14)
SD = 0.84SD = 0.96
Gestational weight gain during the first trimesterRecommended96048.826868.850.070Reference
>Recommended1794216.47134417.331.05(0.95–1.15)
<Recommended1955617.96131716.980.94(0.85–1.04)
Missing6180356.75440756.840.99(0.91–1.08)
Antenatal health care providerObstetrician9547087.66712291.85<0.001
Midwife1343512.346328.150.63(0.58–0.68)
DiabetesNo diabetes10826099.41752397.02<0.001Reference
Type I2690.251231.596.58(5.29–8.13)
Type II3760.351081.394.13(3.31–5.10)
Pre-existing health conditionsNo9411686.42647383.48<0.001Reference
Yes1478913.58128116.521.26(1.18–1.34)
Pre-existing mental health conditionsNone9039583.00587975.82<0.001Reference
Yes1851017.00187524.181.56(1.47–1.64)
Folic acid useYes8555378.56611878.900.490Reference
No2335221.44163621.100.98(0.92–1.03)
Conception typeSpontaneous10436295.83729394.05<0.001Reference
IVF or combination20081.842643.401.88(1.64–2.13)
Other25352.331972.541.11(0.95–1.28)
Pregnancy-associated plasma protein-ANormal5807653.33412253.16<0.001Reference
Abnormal27922.564726.092.38(2.14–2.63)
Missing4803744.11316040.750.92(0.88–0.97)
Nuchal translucencyNormal5998055.08453958.54<0.001Reference
Abnormal1580.15180.231.50(0.89–2.38)
Missing4876744.78319741.230.86(0.82–0.90)
Free beta-subunit of human chorionic gonadotropinNormal61955.694686.040.300Reference
Abnormal6700.62540.701.07(0.78–1.41)
Missing10204093.70723293.270.93(0.88–1.03)
First trimester visitYes8545778.47564572.80<0.001Reference
No104339.587429.571.07(0.99–1.16)
Unknown1301511.95136717.631.59(1.50–1.69)
Intention to breastfeedYes45144.145497.08<0.001
No10439195.86720592.921.76(1.60–1.92)
Dimeric inhibin ANormal74156.815356.90<0.001Reference
Abnormal5160.47630.811.69(1.27–2.21)
Missing10097492.72715692.290.98(0.89–1.07)
Unconjugated estriolNormal5902454.20444057.26<0.001Reference
Abnormal2560.24400.522.07(1.46–2.86)
Missing4962545.57327442.220.87(0.83–0.91)
Human chorionic gonadotropinNormal5838453.61432855.82<0.001Reference
Abnormal8200.751221.572.01(1.64–2.42)
Missing4970145.64330442.610.89(0.85–0.93)
Alpha-fetoproteinNormal5840653.63419054.04<0.001Reference
Abnormal13651.253184.103.42(2.85–3.67)
Missing4913445.12324641.860.92(0.87–0.96)
Diabetes during the second trimesterNo diabetes10330394.86699290.17<0.001Reference
Gestational diabetes49324.535246.761.57(1.42–1.72)
Type I2690.251231.596.75(5.43–8.35)
Type II3760.351081.394.24(3.40–5.24)
Type Unknown250.0270.094.13(1.65–9.13)
Hypertensive disorderNone9541187.61608078.41<0.001Reference
Gestational hypertension48124.425627.251.83(1.67–2.01)
Eclampsia420.04240.318.96(5.35–14.68)
HELLP810.071121.4421.69(16.31–28.99)
Preeclampsia6540.602883.716.91(5.99–7.94)
Unknown79057.266888.871.39(1.25–1.48)
Infection(s)No7902772.57605578.09<0.001Reference
Yes2987827.43169921.911.34(1.27–1.42)
Medication exposureNo2081419.11144418.62<0.001Reference
Vitamins and herbals5639951.79331142.700.84(0.79–0.90)
Other medication3169229.10299938.681.36(1.27–1.45)
Sex of babyFemale5314148.80336543.40<0.001Reference
Male5576451.20438956.601.24(1.18–1.30)
Complications during pregnancyNo complications9377786.11297438.35<0.001Reference
Mild-moderate complications45384.172833.651.96(1.73–2.22)
Severe complications105909.72449758.0013.39(12.73–17.08)

IVF: In vitro fertilization; SD: standard deviation; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table.

SD: Standard deviation; IVF: In vitro fertilization; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table. IVF: In vitro fertilization; SD: standard deviation; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table.

Multivariable analysis

Stepwise logistic regression identified 13 significant predictors during the first trimester (Fig 1). Diabetes (Type I: adjusted odds ratio (AOR): 4.21; 95% confidence interval (CI): 3.23–5.42; Type II: AOR: 2.68; 95% CI: 2.05–3.46) and abnormal pregnancy-associated plasma protein A concentrations (AOR: 2.04; 95% CI: 1.80–2.30) were the most significant predictors of PTB. The following factors were also associated with an increased risk of PTB: pregnancies conceived through IVF, being obese or underweight, maternal drug (substance) use, lower neighbourhood education level, lower neighbourhood immigration level, low maternal height, diabetes, and other pre-existing medical or mental health conditions.
Fig 1

Selected variables and adjusted odds ratios during the first trimester for prediction of preterm birth in nulliparous women.

BMI: Body mass index; IVF: In vitro fertilization; Ref: Reference group; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table. Number of previous abortions: includes the number of miscarriages.

Selected variables and adjusted odds ratios during the first trimester for prediction of preterm birth in nulliparous women.

BMI: Body mass index; IVF: In vitro fertilization; Ref: Reference group; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table. Number of previous abortions: includes the number of miscarriages. During the second trimester, we identified 17 significant predictors related to PTB (Fig 2) using stepwise logistic regression. Many of the selected variables were the same as those selected for the first-trimester model, with slight changes in the odds ratios. Furthermore, severe complications of pregnancy were strongly associated with PTB (AOR: 13.03; 95% CI: 12.21–13.90). Women with abnormal alpha-fetoprotein, those carrying a male fetus, and those who did not attend prenatal classes were at increased odds of PTB. Exposure to medication during pregnancy, including vitamins and herbal supplements, was associated with a decreased risk of PTB.
Fig 2

Selected variables and odds ratios during the second trimester for prediction of preterm birth in nulliparous women.

BMI: Body mass index; IVF: In vitro fertilization; Ref: Reference group; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table. Number of previous abortions: includes the number of miscarriages.

Selected variables and odds ratios during the second trimester for prediction of preterm birth in nulliparous women.

BMI: Body mass index; IVF: In vitro fertilization; Ref: Reference group; Pre-existing maternal health conditions shown in S2 Table. Pre-existing mental health conditions shown in S3 Table. Number of previous abortions: includes the number of miscarriages. Machine learning (Boruta) identified 17 and 27 important predictors of PTB during the first and second trimesters, respectively (S5 and S6 Tables). Unlike with logistic regression, machine learning models selected previous abortions (including miscarriages) as the most important predictor of PTB during the first trimester (importance: 28.23 for previous abortions (including miscarriages) vs. 7.79 for diabetes). During the second trimester, complications during pregnancy and hypertensive disorders were the most important predictors of PTB.

Prediction models and performance measures in the training and validation samples

In the training sample, we found that random forests had a higher AUC than other models (99%), including logistic regression, which had the third highest AUC (S7 Table). We evaluated the proposed prediction models in the testing sample and found that during the first trimester the AUCs ranged from 53% (random forests) to 60% (artificial neural networks, Fig 3 and Table 4). However, all models had very high negative predictive values of ~95%. During the second trimester, artificial neural networks had the highest sensitivity of 63% (95% CI: 61–65%, Fig 3 and Table 4), but slightly lower specificity and positive predictive value than logistic regression. Random forests exhibited the lowest sensitivity among the models; however, the positive predictive value of the random forests model was the highest, but still relatively low at 36%.
Fig 3

Comparison of prediction models during the first and second trimester for preterm birth in nulliparous women.

Table 4

Predictive power of preterm birth models during the first and second trimesters in nulliparous women.

First trimesterSecond trimester
MetricLogistic regressionRandom forestsArtificial neural networksDecision treesLogistic regressionRandom forestsArtificial neural networksDecision trees
Sensitivity50.2 (47.8–52.4)29.4 (26.1–31.6)36.0 (34.5–42.3)29.2 (27.1–30.8)62.2 (60.0–63.4)45.2 (44.5–48.5)62.7 (61.2–65.4)58.1 (55.6–60.2)
Specificity64.5 (63.1–65.4)84.5 (83.0–86.4)71.2 (68.2–73.1)80.2 (79.5–81.4)87.0 (85.5–88.4)94.1 (93.8–95.2)84.6 (83.1–86.5)90.1 (89.2–91.4)
Positive predictive value8.5 (8.1–9.3)11.4 (9.1–12.2)11.3 (8.3–13.4)9.2 (8.5–10.4)25.2 (24.5–26.3)36.0 (35.3–38.4)23.2 (21.3–23).329.1 (27.1–29.2)
Negative predictive value95.5 (94.4–95.3)95.2 (94.9–96.1)95.0 (94.1–95.3)94.2 (93.9–95.2)97.3 (96.3–98.3)96.2 (95.6–97.2)97.0 (96.5–98.2)97.2 (96.1–98.4)

All values of percentages; 95% confidence intervals are given in parentheses.

All values of percentages; 95% confidence intervals are given in parentheses. Overall, there was an increase in the AUC from the first trimester to the second trimester in logistic regression and artificial neural networks (60% vs. 80%). The notable improvement of the AUC to 80% with artificial neural networks and logistic regression was due to the addition of complications during pregnancy (S1 and S3 Figs). All models provided negative predictive value of ~97% during the second trimester. In a sensitivity analysis, we compared the predictive power of all models without complications during pregnancy, and found that the AUC ranged from 58% (decision trees) to 65% (artificial neural networks, S1 Fig).

Prediction of spontaneous PTB

For models predicting spontaneous PTB, during the first trimester the AUC ranged from 55% (random forests) to 59% (logistic regression, S2 Fig). During the second trimester, AUC ranged from 58% (decision trees) to 64% (logistic regression, S3 Fig). Both machine learning and logistic regression generated negative predictive values of approximately 94% for spontaneous PTB during the first and second trimesters (S8 Table). We emphasize that pregnancy complications, hypertensive disorder, and other medically induced PTB were not included in these analyses.

Discussion

We used population-based data to predict PTB in nulliparous women using logistic regression and machine learning approaches during the first and second trimesters. We found that diabetes mellitus, a history of spontaneous or therapeutic abortions, and abnormal pregnancy-associated plasma protein A concentrations were the strongest predictors for PTB during the first trimester. Thirteen selected predictors yielded a maximum AUC of 60% with artificial neural networks, thus providing poor prediction of PTB during the first trimester, even using machine learning approaches. During the second trimester, 17 variables were significantly associated with PTB, among which complications during pregnancy had the highest AOR (13.03; 95% CI: 12.21–13.9). During the second trimester, the AUC increased from 65% (95% CI: 63–66%) to 80% (95% CI: 79–81%) with the inclusion of complications during pregnancy, which is a moderate predictor [50] of PTB. Machine learning identified more variables associated with PTB than logistic regression in our data set. During the first trimester, machine learning identified previous abortions (which includes miscarriages) as the strongest predictor of PTB, while logistic regression identified diabetes as the strongest predictor. A history of prior abortions (including miscarriages) may be a more important predictor of PTB because the incidence of prior abortions was substantially higher than that of diabetes. We found that conventional logistic regression and machine learning had comparable performance for prediction of PTB. Other studies comparing machine learning methods to conventional logistic regression for the prediction of a variety of clinical conditions showed that in general, no single method consistently provided the best prediction [51-58]. Although logistic regression is a frequently used method, it requires linearity and independence between the predictors. Conversely, machine learning is a non-parametric approach that can handle complex and non-linear models. There was a significant decrease in the AUC between the training and the testing data, possibly due to the overfitting problem of machine learning methods [54]. Specifically, random forests are “greedy”, and thus, try to minimize the error in the training sample, which may cause overfitting (high performance in training but lower performance in the validation sample, as we observed in our models) [30]. Accurate prediction of PTB in nulliparous women has been lacking. Woolery and Grzymala [55] found machine learning had 53–88% accuracy in predicting PTB. Using data mining methods, Goodwin et al. found that seven demographic variables produced an AUC of 72% [10]. In contrast, Grobman et al. [12] found that logistic regression provided poor performance (AUC, 63%) for prediction of PTB in nulliparous women with a short cervix. Catley et al. [15] explored artificial neural networks for the prediction of PTB in high-risk pregnant women and found model sensitivity of 20% before 22 weeks of gestation. Weber et al. [13] recently applied machine learning to predict early (<32 weeks) spontaneous PTB among nulliparous women and found an AUC of only 63–65%, similar to Courtney et al. [56] (AUC, 60%) using logistic regression and a support vector machine approach.

Strengths of the study

Our study had several strengths. Firstly, our models generated high negative predictive values, higher than fetal fibronectin for spontaneous PTB [57], and thus may lead to reduction in unnecessary resource use [58]. Secondly, we considered a wide range of variables available in standard clinical care databases (e.g., proteins for screening for Down syndrome or placental diseases, gestational weight gain) that were not considered in previous studies. Another strength of the current work is the consideration of different time points (first and second trimesters) for the prediction of PTB. In addition, we evaluated a relatively large cohort, particularly compared to many of the previous studies [8-14]. We considered multiple methods for variable selection and prediction to maximize accuracy. We addressed several limitations of previous studies in this area: Courtney et al. [56] found that logistic regression and machine learning models based on demographic data were not able to predict PTB adequately (AUC, 60%). Those authors suggested that prenatal demographic factors such as maternal health behaviors and medical history could be used to construct accurate models, and thus, we included such factors in our study. By performing a large cohort study, we also addressed the “lack of data” problem identified in the work of Lee et al. [11]. We applied multiple imputation (repeated ten times), which is a robust technique for handling missing data [48]. Unlike Fergue et al. [16], we used random oversampling in the training set only, thus the AUC from our models was generated from clinical data and not artificial samples.

Limitations

Our study also has several limitations, including the low predictive power of the proposed models, particularly during the first trimester. The predictive ability of all models strongly depends on the predictor variables [30]. Although we had a large number of variables and a relatively large number of subjects, one of the limitations of our prediction models was the lack of information on the interventions used for pregnancies at high risk of PTB. However, data suggest relatively low rates of use of such preventive measures in our study population [59]. We categorized PTB as <37 or ≥37 weeks of gestation, which may lead to loss of statistical power [60]. Further, binary categorization collapses all types of PTB in one group despite different rates of neonatal mortality and morbidity for each category of PTB [61] and despite potentially different predictors of extremely PTB compared to PTB overall. Although low pregnancy-associated plasma protein A concentraion is associated with trisomies which themselves are associated with preterm birth, the majority of such cases are in euploid pregnancies [62-66]. Finally, we were unable to examine ultrasonographic measurement of the uterine cervix, which is a strong predictor of PTB [67] as it is not available in the BORN database.

Conclusion

Including data from the second trimester improved prediction power to a moderate level of 80% AUC by both logistic regression and machine learning. However, developing an accurate prediction model during the first trimester will require further investigation. Inclusion of data from additional biomarkers may increase prediction accuracy.

Receiver operating characteristic curves for second-trimester prediction models without the “complications during pregnancy” variable in the validation sample.

(DOCX) Click here for additional data file.

Receiver operating characteristic curves for first-trimester prediction models for spontaneous preterm birth in the validation sample.

(DOCX) Click here for additional data file.

Receiver operating characteristic curves for second-trimester prediction models for spontaneous preterm birth in the validation sample.

(DOCX) Click here for additional data file.

Definitions of neighbourhood income, immigration, education, and minority quartiles.

(DOCX) Click here for additional data file.

Pre-existing maternal health conditions.

(DOCX) Click here for additional data file.

Pre-existing mental health conditions.

(DOCX) Click here for additional data file.

Cut-off points for nuchal translucency and protein concentrations.

(DOCX) Click here for additional data file.

Variables selected by the machine learning algorithm for prediction of preterm birth during the first trimester in nulliparous women.

(DOCX) Click here for additional data file.

Variables selected by the machine learning algorithm for prediction of preterm birth during the second trimester in nulliparous women.

(DOCX) Click here for additional data file.

Optimal hyperparameters, sensitivity, specificity, and area under the receiver operating characteristic curve in training samples.

(DOCX) Click here for additional data file.

Predictive power of spontaneous preterm birth models during the first and second trimesters in the testing data.

(DOCX) Click here for additional data file. 18 Jan 2021 PONE-D-20-30837 Prediction of Preterm Birth in Nulliparous Women Using Logistic Regression and Machine Learning PLOS ONE Dear Dr. McDonald, Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process. In addition to the issues raised by the reviewers, please provide the code for AI if possible. It is an interesting approach and might be further improved with new data. Please submit your revised manuscript by Feb 13 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file. Please include the following items when submitting your revised manuscript: A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'. A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'. An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'. If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter. If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols We look forward to receiving your revised manuscript. Kind regards, Pal Bela Szecsi, M.D. D.M.Sci. Academic Editor PLOS ONE Journal Requirements: When submitting your revision, we need you to address these additional requirements. 1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf 2. We note that you have indicated that data from this study are available upon request. PLOS only allows data to be available upon request if there are legal or ethical restrictions on sharing data publicly. For information on unacceptable data access restrictions, please see http://journals.plos.org/plosone/s/data-availability#loc-unacceptable-data-access-restrictions. In your revised cover letter, please address the following prompts: a) If there are ethical or legal restrictions on sharing a de-identified data set, please explain them in detail (e.g., data contain potentially identifying or sensitive patient information) and who has imposed them (e.g., an ethics committee). Please also provide contact information for a data access committee, ethics committee, or other institutional body to which data requests may be sent. b) If there are no restrictions, please upload the minimal anonymized data set necessary to replicate your study findings as either Supporting Information files or to a stable, public repository and provide us with the relevant URLs, DOIs, or accession numbers. Please see http://www.bmj.com/content/340/bmj.c181.long for guidelines on how to de-identify and prepare clinical data for publication. For a list of acceptable repositories, please see http://journals.plos.org/plosone/s/data-availability#loc-recommended-repositories. We will update your Data Availability statement on your behalf to reflect the information you provide. 3. Please ensure that you refer to Figure 3 in your text as, if accepted, production will need this reference to link the reader to the figure. 4. Please include captions for your Supporting Information files at the end of your manuscript, and update any in-text citations to match accordingly. Please see our Supporting Information guidelines for more information: http://journals.plos.org/plosone/s/supporting-information [Note: HTML markup is below. Please do not edit.] Reviewers' comments: Reviewer's Responses to Questions Comments to the Author 1. Is the manuscript technically sound, and do the data support the conclusions? The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. Reviewer #1: Yes Reviewer #2: Yes ********** 2. Has the statistical analysis been performed appropriately and rigorously? Reviewer #1: Yes Reviewer #2: Yes ********** 3. Have the authors made all data underlying the findings in their manuscript fully available? The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified. Reviewer #1: Yes Reviewer #2: Yes ********** 4. Is the manuscript presented in an intelligible fashion and written in standard English? PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here. Reviewer #1: No Reviewer #2: Yes ********** 5. Review Comments to the Author Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters) Reviewer #1: In this study Authors constructed by using logistic regression analysis and machine learning technique an algorithm to predict preterm labor defined as < 37 weeks. The argument is of interest, the number of women considered relevant and an elegant statistical approach was used. So I would like to congratulate with Authors for their effort My comments are as follows 1) did Authors differentiate spontaneous from iatrogenic preterm delivery? This is of crucial since women with pregestational diseases (diabetes) or developing medical complications are frequently induced preterm and this may flaw the algorithm 2)although stated as a limitation I suggest Authors to perform their analysis also at earlier gestational age (e.g. < 34 and or 32 weeks) that are more clinical significant 3)it should be acknowledged that data on ultrasonographic measurement of the uterine cervix are missing since at present it is considered the powerful predictive variables. Reviewer #2: In this manuscript, Belaghi et al use a database of nulliparous women who delivered in Ontario, Canada to predict PTB using both logistic regression and machine learning techniques. They found that using data available from the second trimester improved their prediction models using both approaches. The paper is well-written and easy to understand. However, several important questions arise from this study in its current form: 1. Spontaneous PTB: How was this defined? This is not clear from the manuscript. This should be clarified. Further, as the authors allude but do not directly discuss, PTB can be broadly classified into provider-initiated PTB and spontaneous PTB. The pathophysiology of spontaneous PTB is very different than that of provider-initiated PTB. Although this study is by no means the first study to group PTB broadly into one category, it should directly address the reality that PTB has many phenotypes and that a prediction algorithm that is trying to predict all PTB inherently has many limitations. An algorithm that predicts spontaneous PTB may be of greater utility and greater accuracy than an algorithm that tries to predict both spontaneous PTB and HELLP syndrome necessitating provider-initiated delivery. Further, in the abstract, the authors compare their model to the negative predictive value of a fetal fibronectin test. A fetal fibronectin test is ONLY used to predict spontaneous PTB, not all PTB. Consequently, this comparison is of little utility. Further, what percentage of PTB included in this study was spontaneous? This is not clear from the manuscript. If possible, the authors should provider information on the various phenotypes of PTB and how they were ascertained. This information is of significant clinical utility. 2. PAPP-A: In the abstract, the authors mention "abnormal pregnancy-associated plasma protein-A contractions" as being strongly associated with PTB. However, how a PAPP-A contraction was defined is unclear, as this contraction is never mentioned again. Is this meant to read concentration, not contraction? 3. Complications during pregnancy: No definition of moderate complications is provided in the manuscript. Additionally, what percentage of women had each of the severe complications listed on page 6 is not clear. The only clarity regarding this variable is provided on page 6: "The variable, complications during pregnancy, had more than 600 categories and we classified those data into three groups based on the expert opinion of our in-home maternal-fetal specialist, including no complications, moderate complications, and severe complications (including hypertensive disorder, placental abnormalities, and maternal complications during this pregnancy, such as antepartum bleeding)." As severe complications of pregnancy were highly associated with PTB, it would be helpful to better understand this variable. Further, if possible, these complications should be separated and included in the model, as one would expect preeclampsia and HELLP are more likely to lead to provider-initiated PTB and antepartum bleeding to be associated with abruption and preterm labor, which would likely lead to spontaneous PTB. 4. Aneuploidy: This study does not directly address aneuploidy or trisomy pregnancies. However, the most significant predictors of PTB in this study were diabetes and PAPP-A. Diabetes and low PAPP-A are both associated with trisomy pregnancies, and trisomy pregnancies have increased risks of PTB. Consequently, this should be addressed/clarified in this manuscript. 5. Grammar: Please carefully review the manuscript at length for typos. Below are several that were identified on my review: - A parenthesis is missing after "(Supplemental Table 2" on page 6. - In the last paragraph on page 9, the first sentence should include an "s" after "other model." - An extra parenthesis should be removed after "(logistic regression, Supplementary Figure 2))" and "(logistic regression, Supplementary Figure 3))" on page 10. - "Table S8" should be renamed "Supplemental Table 8" to be consistent with the rest of the manuscript. ********** 6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files. If you choose “no”, your identity will remain anonymous but your review may still be made public. Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy. Reviewer #1: Yes: Giuseppe Rizzo Reviewer #2: Yes: Katelyn J Rittenhouse, MD [NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.] While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step. 8 Mar 2021 Dear Editor and Reviewers, We greatly appreciate your careful reading of our manuscript and the helpful feedback you have provided. We have revised the manuscript based on your comments, as detailed below. We thank you again for your valuable time and we hope that you find our revised manuscript acceptable for publication. Our responses to your comments are given in Blue font. We also added the requested revisions in the text in the Blue font. We also reformatted the paper according to the journal guidelines. Reviewer #1: In this study Authors constructed by using logistic regression analysis and machine learning technique an algorithm to predict preterm labor defined as < 37 weeks. The argument is of interest, the number of women considered relevant and an elegant statistical approach was used. So I would like to congratulate with Authors for their effort My comments are as follows 1) did Authors differentiate spontaneous from iatrogenic preterm delivery? This is of crucial since women with pregestational diseases (diabetes) or developing medical complications are frequently induced preterm and this may flaw the algorithm We thank the reviewer for this important comment. We did examine spontaneous PTB as a secondary outcome, excluding medically induced PTB and women with PPROM. Results from this analysis are presented in the last paragraph of the Results section and are included below for your convenience. Prediction of spontaneous PTB For models predicting spontaneous PTB, during the first trimester the AUC ranged from 55% (random forests) to 59% (logistic regression, Supplementary Figure 2). During the second trimester, AUC ranged from 58% (decision trees) to 64% (logistic regression, Supplementary Figure 3). Both machine learning and logistic regression generated negative predictive values of approximately 94% for spontaneous PTB during the first and second trimesters (Supplementary Table 8). We emphasize that pregnancy complications, hypertensive disorder, and other medically induced PTB were not included in these analyses. 2) Although stated as a limitation I suggest Authors to perform their analysis also at earlier gestational age (e.g. < 34 and or 32 weeks) that are more clinical significant We previously developed separate prediction models for preterm birth <32 weeks and <28 weeks. Because of the differing prevalence, and risk factors, between these outcomes and PTB <37 weeks and because the analyses for the present manuscript are focused on nulliparous women, we chose to publish the models for earlier PTB outcomes in a separate manuscript, which is currently in press elsewhere. 3) It should be acknowledged that data on ultrasonographic measurement of the uterine cervix are missing since at present it is considered the powerful predictive variables. We thank the reviewer for this suggestion. Although ultrasonographic measurement of the uterine cervix during the second trimester is indeed a strong predictor of preterm birth, the BORN database does not include data on such measurements. We now discuss this in the limitations section (last paragraph of the Discussion). Reviewer #2: In this manuscript, Belaghi et al use a database of nulliparous women who delivered in Ontario, Canada to predict PTB using both logistic regression and machine learning techniques. They found that using data available from the second trimester improved their prediction models using both approaches. The paper is well-written and easy to understand. However, several important questions arise from this study in its current form: 1. Spontaneous PTB: How was this defined? This is not clear from the manuscript. This should be clarified. We defined spontaneous PTB using the definition from Maghsouldu et al. (2019), as follows: not “induced”, not “caesarean section” and not “augmented labor We now clarify the definition of spontaneous PTB in the outcome subsection (second paragraph of the Methods). Maghsoudlou, S., Yu, Z. M., Beyene, J., & McDonald, S. D. (2019). Phenotypic classification of preterm birth among nulliparous women: a population-based cohort study. Journal of Obstetrics and Gynaecology Canada, 41(10), 1423-1432. Further, as the authors allude but do not directly discuss, PTB can be broadly classified into provider-initiated PTB and spontaneous PTB. The pathophysiology of spontaneous PTB is very different than that of provider-initiated PTB. Although this study is by no means the first study to group PTB broadly into one category, it should directly address the reality that PTB has many phenotypes and that a prediction algorithm that is trying to predict all PTB inherently has many limitations. An algorithm that predicts spontaneous PTB may be of greater utility and greater accuracy than an algorithm that tries to predict both spontaneous PTB and HELLP syndrome necessitating provider-initiated delivery. In addition to our principal analyses, we also developed prediction models for spontaneous PTB as a secondary outcome. The results from this analysis are reported in the last paragraph of the Results section. Further, in the abstract, the authors compare their model to the negative predictive value of a fetal fibronectin test. A fetal fibronectin test is ONLY used to predict spontaneous PTB, not all PTB. Consequently, this comparison is of little utility. In line with the reviewer’s suggestion, we have removed the comparison between our predictive model for overall PTB and FFN from the abstract, and we now refer to FFN only in connection with spontaneous PTB. Further, what percentage of PTB included in this study was spontaneous? This is not clear from the manuscript. If possible, the authors should provider information on the various phenotypes of PTB and how they were ascertained. This information is of significant clinical utility. There were a total of 3468 spontaneous preterm births in our analytic data set, accounting for 46.7% of all PTB (3468/7430) and yielding a spontaneous PTB rate of 6.9% (3468/(46213+3468)). We now clarify this in the footnote to Table 1. We ascertained spontaneous PTB using the definition from Maghsouldu et al., as discussed in our response to point 1 above and in the second paragraph of the Methods section. Maghsoudlou, S., Yu, Z. M., Beyene, J., & McDonald, S. D. (2019). Phenotypic classification of preterm birth among nulliparous women: a population-based cohort study. Journal of Obstetrics and Gynaecology Canada, 41(10), 1423-1432. 2. PAPP-A: In the abstract, the authors mention "abnormal pregnancy-associated plasma protein-A contractions" as being strongly associated with PTB. However, how a PAPP-A contraction was defined is unclear, as this contraction is never mentioned again. Is this meant to read concentration, not contraction? We thank the reviewer for drawing our attention to this error. This word was indeed intended to be “concentration” and we have changed it accordingly. 3. Complications during pregnancy: No definition of moderate complications is provided in the manuscript. Additionally, what percentage of women had each of the severe complications listed on page 6 is not clear. The only clarity regarding this variable is provided on page 6: "The variable, complications during pregnancy, had more than 600 categories and we classified those data into three groups based on the expert opinion of our in-home maternal-fetal specialist, including no complications, moderate complications, and severe complications (including hypertensive disorder, placental abnormalities, and maternal complications during this pregnancy, such as antepartum bleeding)." As severe complications of pregnancy were highly associated with PTB, it would be helpful to better understand this variable. Further, if possible, these complications should be separated and included in the model, as one would expect preeclampsia and HELLP are more likely to lead to provider-initiated PTB and antepartum bleeding to be associated with abruption and preterm labor, which would likely lead to spontaneous PTB. We thank the reviewer for bringing this point to our attention. Categorization of complications as mild-moderate complications versus severe was based on expert maternal-fetal input (Dr. Sarah McDonald). We now clarify this in the last paragraph of the Predictors subsection, just above Statistical Analysis. The distribution of complications during pregnancy, which we have added to the end of Table 1, is as follows: Complications during pregnancy N Percent No complications 90302 79.94 Mild-Moderate complications 14255 12.62 Severe complications 4676 4.14 Missing 3730 3.30 This variable was not included in the first-trimester prediction models for overall or spontaneous PTB, whereas it was included in the second-trimester prediction model for overall PTB but not for the spontaneous PTB. We report on the significant predictor variables included in the different models beginning in paragraph 4 of the Results. We examined the predictive power of all models without complications during pregnancy as a sensitivity analysis, reported in the second to last paragraph of the Results. The AUC in models without complications during pregnancy ranged from 58% (decision trees) to 65% (artificial neural networks, Supplementary Figure 1). 4. Aneuploidy: This study does not directly address aneuploidy or trisomy pregnancies. However, the most significant predictors of PTB in this study were diabetes and PAPP-A. Diabetes and low PAPP-A are both associated with trisomy pregnancies, and trisomy pregnancies have increased risks of PTB. Consequently, this should be addressed/clarified in this manuscript. We have added this to the limitations section of the discussion section in line with the reviewer’s suggestion. 5. Grammar: Please carefully review the manuscript at length for typos. Below are several that were identified on my review: - A parenthesis is missing after "(Supplemental Table 2" on page 6. - In the last paragraph on page 9, the first sentence should include an "s" after "other model." - An extra parenthesis should be removed after "(logistic regression, Supplementary Figure 2))" and "(logistic regression, Supplementary Figure 3))" on page 10. - "Table S8" should be renamed "Supplemental Table 8" to be consistent with the rest of the manuscript. We thank the reviewer for drawing our attention to these errors. Our manuscript has now undergone additional editorial review, through which we have addressed these and other points. ________________________________________ Submitted filename: Response to the Reviwers comments_R1 GS.docx Click here for additional data file. 10 May 2021 Prediction of Preterm Birth in Nulliparous Women Using Logistic Regression and Machine Learning PONE-D-20-30837R1 Dear Dr. McDonald, We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements. Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication. An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org. If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org. Kind regards, Pal Bela Szecsi, M.D. D.M.Sci. Academic Editor PLOS ONE Additional Editor Comments (optional): Please in the poof correct some misspellings (ie. diabetes i fig 1) Comments to the Author 1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation. Reviewer #1: All comments have been addressed ********** 2. Is the manuscript technically sound, and do the data support the conclusions? The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. Reviewer #1: Yes ********** 3. Has the statistical analysis been performed appropriately and rigorously? Reviewer #1: Yes ********** 4. Have the authors made all data underlying the findings in their manuscript fully available? The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified. Reviewer #1: Yes ********** 5. Is the manuscript presented in an intelligible fashion and written in standard English? PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here. Reviewer #1: Yes ********** 6. Review Comments to the Author Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters) Reviewer #1: (No Response) ********** 7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files. If you choose “no”, your identity will remain anonymous but your review may still be made public. Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy. Reviewer #1: Yes: Giuseppe Rizzo 18 Jun 2021 PONE-D-20-30837R1 Prediction of Preterm Birth in Nulliparous Women Using Logistic Regression and Machine Learning Dear Dr. McDonald: I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department. If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org. If we can help with anything else, please email us at plosone@plos.org. Thank you for submitting your work to PLOS ONE and supporting open access. Kind regards, PLOS ONE Editorial Office Staff on behalf of Dr. Pal Bela Szecsi Academic Editor PLOS ONE
  51 in total

1.  Predicting high-risk preterm birth using artificial neural networks.

Authors:  Christina Catley; Monique Frize; C Robin Walker; Dorina C Petriu
Journal:  IEEE Trans Inf Technol Biomed       Date:  2006-07

2.  Making Machine Learning Models Clinically Useful.

Authors:  Nigam H Shah; Arnold Milstein; Steven C Bagley PhD
Journal:  JAMA       Date:  2019-10-08       Impact factor: 56.272

3.  A model for prediction of spontaneous preterm birth in asymptomatic women.

Authors:  Kyung A Lee; Moon Hee Chang; Mi-Hye Park; Hyesook Park; Eun Hee Ha; Eun Ae Park; Young Ju Kim
Journal:  J Womens Health (Larchmt)       Date:  2011-10-24       Impact factor: 2.681

4.  Association of maternal serum PAPP-A levels, nuchal translucency and crown-rump length in first trimester with adverse pregnancy outcomes: retrospective cohort study.

Authors:  Ashwini Bilagi; Danielle L Burke; Richard D Riley; Ian Mills; Mark D Kilby; R Katie Morris
Journal:  Prenat Diagn       Date:  2017-06-16       Impact factor: 3.050

Review 5.  Risk of spontaneous preterm birth in singleton pregnancies conceived after IVF/ICSI treatment: meta-analysis of cohort studies.

Authors:  P Cavoretto; M Candiani; V Giorgione; A Inversetti; M M Abu-Saba; F Tiberio; C Sigismondi; A Farina
Journal:  Ultrasound Obstet Gynecol       Date:  2018-01       Impact factor: 7.299

6.  Machine learning for an expert system to predict preterm birth risk.

Authors:  L K Woolery; J Grzymala-Busse
Journal:  J Am Med Inform Assoc       Date:  1994 Nov-Dec       Impact factor: 4.497

Review 7.  Classification and heterogeneity of preterm birth.

Authors:  Jean-Marie Moutquin
Journal:  BJOG       Date:  2003-04       Impact factor: 6.531

Review 8.  The epidemiology, etiology, and costs of preterm birth.

Authors:  Heather A Frey; Mark A Klebanoff
Journal:  Semin Fetal Neonatal Med       Date:  2016-01-11       Impact factor: 3.926

9.  Guidelines for Developing and Reporting Machine Learning Predictive Models in Biomedical Research: A Multidisciplinary View.

Authors:  Wei Luo; Dinh Phung; Truyen Tran; Sunil Gupta; Santu Rana; Chandan Karmakar; Alistair Shilton; John Yearwood; Nevenka Dimitrova; Tu Bao Ho; Svetha Venkatesh; Michael Berk
Journal:  J Med Internet Res       Date:  2016-12-16       Impact factor: 5.428

10.  International evaluation of an AI system for breast cancer screening.

Authors:  Scott Mayer McKinney; Marcin Sieniek; Varun Godbole; Jonathan Godwin; Natasha Antropova; Hutan Ashrafian; Trevor Back; Mary Chesus; Greg S Corrado; Ara Darzi; Mozziyar Etemadi; Florencia Garcia-Vicente; Fiona J Gilbert; Mark Halling-Brown; Demis Hassabis; Sunny Jansen; Alan Karthikesalingam; Christopher J Kelly; Dominic King; Joseph R Ledsam; David Melnick; Hormuz Mostofi; Lily Peng; Joshua Jay Reicher; Bernardino Romera-Paredes; Richard Sidebottom; Mustafa Suleyman; Daniel Tse; Kenneth C Young; Jeffrey De Fauw; Shravya Shetty
Journal:  Nature       Date:  2020-01-01       Impact factor: 49.962

View more
  5 in total

Review 1.  Prediction and prevention of preterm birth in pregnant women living with HIV on antiretroviral therapy.

Authors:  Amanda J Jones; Uzoamaka A Eke; Ahizechukwu C Eke
Journal:  Expert Rev Anti Infect Ther       Date:  2022-03-01       Impact factor: 5.854

2.  Risk factors for spontaneous preterm birth among healthy nulliparous pregnant women in the Netherlands, a prospective cohort study.

Authors:  Heleen J Schuster; Myrthe J C S Peelen; Petra J Hajenius; Monique D M van Beukering; Rik van Eekelen; Marit Schonewille; Henna Playfair; Joris A M van der Post; Marjolein Kok; Rebecca C Painter
Journal:  Health Sci Rep       Date:  2022-05-24

3.  Prediction of low Apgar score at five minutes following labor induction intervention in vaginal deliveries: machine learning approach for imbalanced data at a tertiary hospital in North Tanzania.

Authors:  Clifford Silver Tarimo; Soumitra S Bhuyan; Yizhen Zhao; Weicun Ren; Akram Mohammed; Quanman Li; Marilyn Gardner; Michael Johnson Mahande; Yuhui Wang; Jian Wu
Journal:  BMC Pregnancy Childbirth       Date:  2022-04-01       Impact factor: 3.007

4.  Development and Validation of a Novel Pre-Pregnancy Score Predictive of Preterm Birth in Nulliparous Women Using Data from Italian Healthcare Utilization Databases.

Authors:  Ivan Merlo; Anna Cantarutti; Alessandra Allotta; Elisa Eleonora Tavormina; Marica Iommi; Marco Pompili; Federico Rea; Antonella Agodi; Anna Locatelli; Rinaldo Zanini; Flavia Carle; Sebastiano Pollina Addario; Salvatore Scondotto; Giovanni Corrao
Journal:  Healthcare (Basel)       Date:  2022-08-01

5.  Maternal preterm birth prediction in the United States: a case-control database study.

Authors:  Yan Li; Xiaoyu Fu; Xinmeng Guo; Huili Liang; Dongru Cao; Junmei Shi
Journal:  BMC Pediatr       Date:  2022-09-14       Impact factor: 2.567

  5 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.