Skip to main content

ORIGINAL RESEARCH article

Front. Endocrinol., 02 July 2024
Sec. Reproduction
This article is part of the Research Topic Advances in the Treatment of Sexual Precocity and Infertility View all 26 articles

Derivation and validation of the first web-based nomogram to predict the spontaneous pregnancy after reproductive surgery using machine learning models

Zhenteng Liu,&#x;Zhenteng Liu1,3†Meimei Wang&#x;Meimei Wang1†Shunzhi He&#x;Shunzhi He1†Xinrong Wang&#x;Xinrong Wang1†Xuemei LiuXuemei Liu1Xiaoshi Xie*Xiaoshi Xie2*Hongchu Bao,*Hongchu Bao1,3*
  • 1Department of Reproductive Medicine, Yantai Yuhuangding Hospital Affiliated to Qingdao University, Yantai, Shandong, China
  • 2Department of Reproductive Medicine, Linyi People’s Hospital, Linyi, Shandong, China
  • 3Shandong Provincial Key Medical and Health Laboratory of Reproductive Health and Genetics (Yantai Yuhuangding Hospital), Yantai, Shandong, China

Objective: Infertility remains a significant global burden over the years. Reproductive surgery is an effective strategy for infertile women. Early prediction of spontaneous pregnancy after reproductive surgery is of high interest for the patients seeking the infertility treatment. However, there are no high-quality models and clinical applicable tools to predict the probability of natural conception after reproductive surgery.

Methods: The eligible data involving 1013 patients who operated for infertility between June 2016 and June 2021 in Yantai Yuhuangding Hospital in China, were randomly divided into training and internal testing cohorts. 195 subjects from the Linyi People’s Hospital in China were considered for external validation. Both univariate combining with multivariate logistic regression and the least absolute shrinkage and selection operator (LASSO) algorithm were performed to identify independent predictors. Multiple common machine learning algorithms, namely logistic regression, decision tree, random forest, support vector machine, k-nearest neighbor, and extreme gradient boosting, were employed to construct the predictive models. The optimal model was verified by evaluating the model performance in both the internal and external validation datasets.

Results: Six clinical indicators, including female age, infertility type, duration of infertility, intraoperative diagnosis, ovulation monitoring, and anti-Müllerian hormone (AMH) level, were screened out. Based on the logistic regression model’s superior clinical predictive value, as indicated by the area under the receiver operating characteristic curve (AUC) in both the internal (0.870) and external (0.880) validation sets, we ultimately selected it as the optimal model. Consequently, we utilized it to generate a web-based nomogram for predicting the probability of spontaneous pregnancy after reproductive surgery. Furthermore, the calibration curve, Hosmer–Lemeshow (H-L) test, the decision curve analysis (DCA) and clinical impact curve analysis (CIC) demonstrated that the model has superior calibration degree, clinical net benefit and generalization ability, which were confirmed by both internal and external validations.

Conclusion: Overall, our developed first nomogram with online operation provides an early and accurate prediction for the probability of natural conception after reproductive surgery, which helps clinicians and infertile couples make sensible decision of choosing the mode of subsequent conception, natural or IVF, to further improve the clinical practices of infertility treatment.

Introduction

During the last decades, the number of infertile couples caused by different etiologies has gradually increased worldwide since 1990 (1), resulting in a substantial medical and social burden. Nowadays, reproductive surgery and in vitro fertilization and embryo transfer (IVF-ET) are two main treatment strategies for infertility (2). Reproductive surgery is a minimally invasive technology that aims to restore the functional anatomy and accomplish fertility preservation to enhance the chance of natural or assisted pregnancy. The definition of spontaneous pregnancy refers to the process of achieving pregnancy without the use of assisted reproductive technologies or additional interventions, which is important for both spouses, such as saving time and expense and reducing the risk of low birth weight and birth defects in newborns. Compared with IVF, a successful reproductive operation could offer patients the opportunity for natural conception monthly and avoid the complications of IVF, such as ovarian hyperstimulation syndrome and multiple pregnancies (3). Even without spontaneous pregnancy after a 1~2-year postoperative period, endoscopic surgical procedures could provide comprehensive evaluations including anatomy and function of the reproductive organs to improve pregnancy outcome in subsequent IVF (4).

In the era of precision medicine, early prediction of the reproductive surgery outcomes, such as spontaneous pregnancy, is of high interest for the women seeking the infertility treatment. However, there is still lacking of a high-quality model and clinical applicable tool to predict the probability of natural conception after reproductive surgery. On the one hand, due to the heterogeneity of operational quality control, the longer learning curve of surgical skill, and the absence of verification of conception rates following surgery, the majority of available literature regarding postoperative pregnancy outcomes consists of small single-institution retrospective cohort studies. On the other hand, the assessment of women’s potential for fertility after operation primarily relies on the clinical experience generated by physicians, hence it is really difficult to give an individualized opinion since every patient has a unique situation. Some patients blindly adhere to attempt natural pregnancy after surgery, missing the golden time of IVF therapy, especially when the recurrence of endometriosis or hydrosalpinx requiring a second operation comes. Therefore, in order to make informed decisions regarding natural fertilization or IVF as early as possible, it is critical to timely anticipate the likelihood of spontaneous pregnancy after surgical reconstruction of reproductive function.

Notably, the prediction model derived from machine learning (ML) algorithms is a reliable and widely used statistical tool (5) that can consider various factors simultaneously to provide a probability of a specific outcome, especially in medicine (6). Nevertheless, as far as we know, there has been no research that has developed a forecasting model for the probability of natural pregnancy after reproductive surgery, and the key predictors are also under discussion. Hence, the objective of this research was to derivate and validate an analytical model based on multiple typical ML algorithms to ascertain the crucial clinical factors and provide an early personalized evaluation of probability of postoperative spontaneous pregnancy.

Materials and methods

This prediction model study is reported in accordance with the Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis (TRIPOD) checklist (7). The study was approved by the Ethics Committees of Yantai Yuhuangding Hospital (YT2023–054) and Linyi People’s Hospital [LYRMYY (2023–04-036)]. Since this research was a retrospective cohort study, the data was made anonymous and there was no need for informed consent.

Study population

Between June 2016 and June 2021, a total of 2049 individuals underwent surgical procedures for infertility at the Department of Reproductive Medicine, Yantai Yuhuangding Hospital, China. Data on demographic, preoperative clinical assessment, surgical procedure details, operative diagnosis and blood biochemical parameters were retrospectively collected from an electronic medical record system (Jiahe Meikang Information Technology, Beijing, China), which were utilized for the derivation and internal validation of the prediction model. In the external validation cohort, 363 infertile couples were hospitalized at the Department of Reproductive Medicine, Linyi People’s Hospital, from January 2019 to June 2021. Data about pregnancy of follow-up evaluations was recorded by phone call or review of outpatient clinic revisit records. The follow-up period was 2 years. The data is reviewed, extracted, and cross-checked by the expert clinical team, with two separate clinicians who were unaware of the recorded results conducting the verification. Any disagreements were resolved by roundtable consensus.

Inclusion and exclusion criteria

The eligibility requirements were as follows: (1) age ≤38 years; (2) patients having an almost menstrual cycle (counting from the first day of one menstrual period to the first day of the next cycle) is 21 to 35 days and lasts from 3 to 7 days duration with volume of blood loss 50–80 ml; (3) spouse’s roughly normal semen quality; (4) couples’ normal sexual life; (5) patients obtaining at least one grossly functionally normal fallopian tube after surgery; (6) patients holding intentions to get a natural pregnancy after surgery during at least 2-year observation period. In contrast, the analysis did not include patients with a history of unsuccessful IVF and pathology requiring surgical treatment before the next IVF. Patients who converted to IVF treatment due to personal reasons within a 2-year follow-up period were excluded from this study. In addition, we excluded patients who needed for preimplantation genetic diagnosis and lacked primary measured data. All participants included in this research were of Han descent, and had no history of psychiatric or neurological illness, and no history of alcohol or drug abuse, and no recent history of smoke.

Dependent variable

As a primary outcome, clinical pregnancy was defined as observation of one or more intrauterine gestational sacs by a transvaginal ultrasound scan during follow-up period after reproductive surgery. The pregnancies from artificial insemination and IVF were not taken into account, meanwhile the ectopic pregnancy was regarded as a failure.

Independent variables selection and definition

Independent variables were selected based on the known clinically risk factors and availability in the electronic medical record system (Jiahe Meikang Information Technology, Beijing, China), which include: female age, body mass index (BMI, kg/m2, <20; 20–24.9; 25.0–29.9; ≥30.0), infertility type (primary or secondary), duration of infertility, history of previous pelvic surgery, and tubal patency test by hysterosalpingography (HSG, mild, moderate or severe altered tubal patency). Women voluntarily had a baseline serum AMH measurement by an ultrasensitive two-site ELISA (AnshLabs, Webster, TX, USA) (8) on the first day of hospitalization before surgery. In clinical terms, preoperative AMH was categorized into three grades based on the following criteria: low (≤1.2 ng/ml), normal (1.2–4.0 ng/ml), and high (≥4.0 ng/ml). The reference data for these grades are derived from previous literature sources in conjunction with our empirical generalizations (911). In addition, some patients experienced ovulation monitoring using transvaginal ultrasounds (≥2 times per menstrual cycle) to clearly define ovulation time after surgery in our or other clinics.

To assess the patient’s physical condition, common serum biochemical parameters were determined on the first day of hospitalization, as following: carbohydrate antigen 125 (CA125), total cholesterol (TC), triglyceride (TG), high-density lipoprotein (HDL), low-density lipoprotein (LDL), alanine aminotransferase (ALT), aspartate transaminase (AST), creatinine (Cr), fasting insulin (INS) and fasting glucose (Glu).

All included subjects had undergone diagnostic or operative laparoscopy combined with hysteroscopy routinely. According to intraoperative dominant manipulation, the main operative diagnoses were categorized into seven subgroups, as mentioned in the studies by Ban Frangez, H., et al. (3) and Premru-Srsen, T., et al. (12). These subcategories encompass diagnostic surgery, mild to moderate endometriosis, severe endometriosis, intramural fibroids, unilateral tubal factor, bilateral tubal factor and miscellaneous cases. See attached Additional File 1: Supplementary Table 1 for more details.

Screening independent risk factors

Firstly, covariates with a P value less than 0.2 from the univariate logistic analysis were chosen for the binary multivariate logistic regression analysis, which was used to determine which predictors independently associated with spontaneous pregnancy according to the backward stepwise selection with the Akaike information criterion (AIC). Odds ratios (OR) with 95% confidence interval (CI) were calculated.

To ensure accuracy of predictive factors selection, the least absolute shrinkage and selection operator (LASSO) analysis was also employed to identify the most significantly independent features from the training dataset (6), augmented with ten-fold cross-validation.

Model construction

Six common machine learning algorithms, namely logistic regression, decision tree, random forest, support vector machine (SVM), k-nearest neighbor (KNN), and extreme gradient boosting (XGBoost), were utilized to construct the predictive model in the training cohort. Additionally, we assessed the robustness and generalization ability of the above predictive models by comparing their performance parameters including the area under the curve (AUC) of the receiver operating curve (ROC), accuracy, precision, sensitivity, and specificity in the internal and external validation sets.

Evaluation and validation of the nomogram

We ultimately selected the logistic regression as the optimal model due to its superior clinical predictive value in both internal and external validation sets (refer to the Results section for more information). Subsequently, the nomogram was constructed using the findings from the analysis of multivariate logistic regression. In order to support their integration into the clinical setting, a Shinyapp.io application (https://www.shinyapps.io/) was utilized to create an interactive web-based dynamic nomogram.

To evaluate the nomogram’s prediction accuracy, the AUC of the ROC with the bootstrapping method was used to determine the discrimination of the proposed model (7). Further, the calibration curves were plotted to test the goodness-of-fit of the model concurrently accompanied with the Hosmer-Lemeshow test (13). The clinical usefulness of this nomogram was evaluated through decision curve analysis (DCA), which aimed to identify the prediction’s net benefit threshold. The nomogram’s clinical effective rate was evaluated using the clinical impact curve (CIC) (14). Last but not least, the sensitivity analyses were performed to assess how the prediction performance change with univariable models compared with that of our final nomogram from the perspective of AUC and DCA.

Statistical analysis

R software (version 4.2.3, available for download https://www.rproject.org/) was utilized to perform all statistical analysis. Various specific packages such as “pROC”, “rms”, “ggplot2”, “dca”, “DynNom”, “tidyverse” and “mlr3” were employed. Descriptive statistics were used to summarize baseline characteristics. Continuous variables were presented as mean (standard-deviation). A complete randomized analysis of variance was used to compare differences among groups (Gaussian distribution) or Kruskal-Wallis rank sum test (nonnormal distribution). Categorical variables were expressed as frequency (percentage values), and differences among cohorts were determined using the chi-square (χ2), Fisher’s exact test or Kruskal-Wallis rank sum test, as appropriate. A 2-tailed P value <0.05 was considered statistically significant.

Results

Out of 2049 operated women in Yantai Yuhuangding Hospital, 964 were immediately referred to IVF due to factors such as male infertility, damaging to bilateral fallopian tubes, or previous unsuccessful attempts at IVF. Among the remaining 1085 women, 13 ceased to plan pregnancy due to personal reasons, 29 women were lost from follow-up, and 30 subjects missed primary items, including HSG, AMH, CA125, TC, TG, INS and Glu. No significant differences were observed between the values before and after removing the missing data (Additional File 1: Supplementary Table 2). Figure 1 displays the flowchart illustrating the process of selecting patients and designing the study.

Figure 1
www.frontiersin.org

Figure 1 Flowchart of the study. IVF, in vitro fertilization; LASSO, least absolute shrinkage and selection operator; ROC, receiver operating curve; H-L test, Hosmer-Lemeshow test; DCA, decision curve analysis; CIC, clinical impact curve.

Using a rate of 50% for the occurrence of the event in the series (spontaneous pregnancy after reproductive surgery) and considering 6 variables selected through multivariable logistic analysis, we conducted a power analysis. This analysis utilized the formula developed by Riley et al. (15), with the aim of achieving a shrinkage of predictor effects of 0.288 (pmsampsize (type = “b”, r squared = 0.288, parameters = 6, prevalence = 0.50) (15, 16) and obtaining a required sample size of 385 patients and 32.08 events per variable. Finally, a total of 1013 individuals in Yantai Yuhuangding Hospital were enrolled in this study to develop the model, which satisfied the minimum sample size.

Among 1013 enrolled infertile women, the percentage of women who conceived spontaneously is 51.7% (n = 524/1013) in the postoperative 2-year period. The enrolled patients were randomly divided into a training set (70.3%, n = 713) which was used to construct a model, and an internal validation set (29.7%, n = 301). Meanwhile, an additional 195 patients from Linyi People’s Hospital were utilized for external validation. The process of patient selection can be seen in Figure 1. No significant difference is observed in the spontaneous pregnancy rate (51.4%, 52.5% and 50.3%, P<0.05), clinical baseline characteristics and laboratory data among the three datasets (training, internal and external validation sets), indicating good homogeneity between the three datasets, which was summarized in Table 1.

Table 1
www.frontiersin.org

Table 1 Baseline characteristics of all patients in the training cohort and validation cohort.

Independent risk factors

First, 19 variables were analyzed via univariate logistic analysis, and eight features with statistically significant differences (P<0.2) were picked out. Next, the aforementioned variables were incorporated into the original multivariate logistic regression model (AIC=614.62), as shown in Table 2. Finally, according to the principle of AIC minimization (AIC=610.43), six independent predictors were selected in the final logistic regression model by the backward stepwise selection. Table 2 displays the precise coefficients for each individual factor.

Table 2
www.frontiersin.org

Table 2 Univariate and multivariate logistic regression analysis to determine independent predictors associated with spontaneous pregnancy according to the backward stepwise selection with the Akaike information criterion (AIC).

Regarding LASSO regression, Supplementary Table 3 (Additional File 1) displays the coefficients, while Figure 2A illustrates a profile of the coefficients. Significantly, the optimal tuning parameter for LASSO regression, denoted as “Lambda (λ)”, was determined to be 0.036 at the point where the partial likelihood binomial deviance achieved its lowest value (refer to Figure 2A). As shown in Figure 2B, six predictors including dummy variables were independently associated with non-zero coefficients within one standard error of the log λ minimum in the LASSO analysis. These variables were selected for the most regularized and parsimonious model.

Figure 2
www.frontiersin.org

Figure 2 Characteristic variable screening based on the LASSO analysis with ten-fold cross-validation. (A) Plot of the LASSO coefficient profiles against the log (λ, lambda) sequence. (B) Tuning parameter (λ, lambda) selection of deviance in the LASSO regression based on the minimum criteria (left dotted line) and the 1-SE criteria (right dotted line). In the present study, predictor’s selection was according to the 1-SE criteria (right dotted line), where 9 nonzero coefficients were selected (6 predictors including dummy variables, more details are in Additional file 1: Supplementary Table 3). LASSO, least absolute shrinkage and selection operator; SE, standard error.

Encouragingly, both the number and name of the final independent factors (age, infertility type, duration of infertility, surgical procedures, ovulation monitoring and AMH) were good concordance between multivariate logistic analysis and LASSO algorithm, indicating that the above selected factors were appropriate.

Clinical predictive value of the machine learning models

Hyperparameters were further optimized for each model to ensure best performance. In the training set, bootstrapping method with 1000 resamples was used to assess the performance of the models. Initially, as shown in Table 3, random forest exhibited superior performance, with an AUR of 0.902 (95% CI 0.888–0.912), followed by logistic regression, with an AUR of 0.892 (95% CI: 0.870–0.915) in the training set. However, the logistic regression model performed the best among all models in terms of AUC across both internal and external validations. Therefore, from the perspective of the model interpretability and stability, the logistic regression model is chosen as our final model. Consequently, the individualized predictive nomogram (Figure 3A) and an interactive user-friendly online calculator (Figure 3B) were established (https://yyyzhentengliu.shinyapps.io/DynNomforSPRafterRS/). For example, when an infertile woman is aged 31 years old, and the duration of the secondary infertility is 3 years with a normal AMH level, suffering from mild to moderate endometriosis, without ovulation monitoring using transvaginal ultrasounds (≥2 times per menstrual cycle) after surgery, we could impute that her probability of receiving natural conception after surgery during 2-year period is 83.2% (Figures 3A, B).

Table 3
www.frontiersin.org

Table 3 Performance parameters of the 6 machine learning prediction models in the training, internal and external validation sets.

Figure 3
www.frontiersin.org

Figure 3 Nomogram prediction model for the spontaneous pregnancy after reproductive surgery. (A) Established nomogram in the training cohort by incorporating the following six parameters: age, infertility type, duration of infertility, main surgical procedures, ovulation monitoring and AMH. (B) Corresponding web-based dynamic nomogram accessible at https://yyyzhentengliu.shinyapps.io/DynNomforSPRafterRS/. AMH, anti-Müllerian hormone.

Model validation of discrimination and calibration

Figures 4A–C demonstrate that the final model had an AUC of 0.892 (95% CI 0.870–0.915) in the training group. In the internal and external validation groups, the AUC was 0.870 (95% CI 0.830–0.910) and 0.880 (95% CI 0.833–0.926) respectively, indicating good predictive ability in discrimination between pregnancy negative and positive cases.

Figure 4
www.frontiersin.org

Figure 4 Assessment of discrimination and calibration of the model. ROC and AUC using the bootstrap method (resampling = 1000) of the nomogram prediction model in the training cohort (A), internal test cohort (B), and external test cohort (C). The dotted vertical lines represent the 95% confidence interval. The calibration curves and Hosmer-Lemeshow test of the nomogram prediction model for the training cohort (D), internal test cohort (E), and external test cohort (F). ROC, receiver operating characteristic; AUC, area under the ROC curve.

The three calibration curves of this model were fairly similar to the ideal curve (Figures 4D–F), suggesting that the estimated outcomes aligned with the real observations. In addition, Hosmer–Lemeshow test indicated that all P-values of the model are greater than 0.05 in the three cohorts (Figures 4D–F), suggesting that there was no statistical fit-departure between the predicted and observed values.

Clinical utility of the predictive model

The DCA revealed that the clinical prediction guided by the nomogram leads to better net benefits and more extensive range of cutoff probabilities in detecting spontaneous pregnancy than either the treat-all scheme or the treat-none scheme in the three datasets (Figures 5A–C, Additional File 1: Supplementary Table 4 displays net benefits for various threshold probabilities).

Figure 5
www.frontiersin.org

Figure 5 Evaluation of the clinical utility of the nomogram. Decision curve analysis (DCA) of the training cohort (A), internal test cohort (B), and external test cohort (C). Clinical impact curve (CIC) of the training cohort (D), internal test cohort (E), and external test cohort (F).

Concurrently, the CIC demonstrated remarkable predictive accuracy of this nomogram in predicting spontaneous conception, exhibiting greater efficacy in differentiating patients within the high and low probability categories in the training set (Figure 5D) and validation groups (Figures 5E, F).

Sensitivity analyses

AUC values of single independent predictors (female age, infertility type, duration of infertility, surgical procedures, ovulation monitoring and AMH) were significantly lower than that of the predictive nomogram (Figures 6A–C). These trends were also observed in DCA, i.e., our developed nomogram had the highest net benefit within a range of threshold compared with any of the univariate models (Figures 6D–F).

Figure 6
www.frontiersin.org

Figure 6 Sensitivity analysis of the model. Area under the ROC curve (AUC) of the training cohort (A), internal test cohort (B), and external test cohort (C). Decision curve analysis (DCA) of the training cohort (D), internal test cohort (E), and external test cohort (F). AMH, anti-Müllerian hormone.

Discussion

Benefiting from the technological innovations of recent years and the popularization of standard reproductive surgical procedures, reproductive surgery is widely considered one of the major therapeutic schedules for infertility, even though its significance was once doubted a few years ago (17). Counseling inevitably arises in clinical practice regarding the chance of pregnancy once reproduction function is reconstructed. However, a reliable prediction model has not been reported so far. Our current study developed the first publicly free nomogram that integrates key clinical features (patient age, infertility type, duration of infertility, intraoperative diagnosis, ovulation using ultrasound monitoring and serum AMH level) to impute the likelihood of spontaneous pregnancy following reproductive surgery. Notably, the model demonstrated superior discriminative power, good calibration and clinical utility, which were confirmed by both internal and external validations.

It has been well established that woman’s age was strongly associated with conceiving success after reproductive surgery (18) and/or IVF (19). For every extra year of female age during their childbearing years, the pregnancy rate decreases by around 20% (OR = 0.80, P <0.001) according to our findings. In addition, women experiencing secondary infertility have a three-fold higher likelihood of achieving a spontaneous pregnancy (OR = 3.02, P <0.001) in comparison to those with primary infertility. The above findings were a bit higher than those reported by Ban Frangez, H., et al. (3). The effect of age on conception rate after surgery may be related to ovarian function, because age directly influences ovarian reserve, embryos quality and endometrial receptivity. In terms of infertility type, it is likely that the chance of pregnancy in this secondary cohort of women is higher as they have previously proven to be fertile. Additionally, in our study, duration of subfertility is an independent factor to predict natural conception after surgery, which is in accordance with a recent study (4). The possible explanation is that the longer the years of infertility, the longer the underlying pathologies (salpingitis, hydrosalpinx, pelvic adhesions, and endometriosis, etc.) could persist, causing a greater difficulty of the surgical operation, which limits the therapeutic effect. Another possible reason is that women with a longer infertility duration tend to be older.

AMH immunoassays are widely accepted for assessing ovarian reserve and guiding the personalized ovulation induction regimen in IVF (20, 21). Previous studies indicated that there was an independent correlation between AMH and live birth among women undergoing IVF (22). However, little attention has been paid to the significance of AMH level in predicting natural conception following infertility surgery. In our institution, patients are generally willing to accept the serum AMH detection to assess self-ovarian reserve before surgical treatment. In the present study, it was found that anti-Müllerian hormone (AMH) exhibited an independent predictive value for spontaneous conception following reproductive surgery, leading to its inclusion in the prognostic model. Hence, it is crucial to take into account not only the surgical interventions but also to devote adequate attention to the precise evaluation of ovarian function reserve when predicting the surgical outcomes. Nevertheless, antral follicle count (AFC) and follicle-stimulating hormone level were not tested in most of the patients in the present study, so we could not evaluate the relationship between the two and natural conception.

Another interesting finding in this study was that using transvaginal ultrasound scan to aid in detecting ovulation in our or other clinics significantly improves patients’ pregnancy outcomes (OR = 2.40, P = 0.001). Attempts to commence natural gestation as early as possible after surgery, how to accurately judge the day of ovulation is very important. The transvaginal sonogram is widely acknowledged as one of the most convenient and accurate techniques for identifying ovulation. In this study, the decision of detecting ovulation or not is mostly based on patient preference. Our data support that patients even with almost regular menstruation should be further assessed for the fertile window in the menstrual cycle after surgery to guide the opportunity of couple’s sex life.

Among the three currently most frequently used separate endometriosis classification/scoring systems (i.e. revised American Society for Reproductive Medicine (rASRM), Enzian and Endometriosis Fertility Index (EFI)), the EFI is the only widely recognized to have significant predictive value for natural or IVF conception after surgery for patients affected by endometriosis (23, 24). Nevertheless, several limitations should be noted. On the one hand, the EFI solely relies on the macroscopic assessment of the present condition of the fallopian tubes and ovaries, without considering the biomarker function of ovarian reserve like AMH or AFC. On the other hand, the EFI system does not provide any information to predict pregnancy achievement for non-endometriosis patients. Our model not only has some overlapped features with EFI, such as the fertility history (female age, type and years of infertility, rASRM score), but also combines the ovulation monitoring and ovarian reserve information, which would be a useful addition to the EFI to some extent. Moreover, this model basically covers most common etiologies of surgically amenable infertility.

Previous studies demonstrated that the existence of subserous or intraligamentary fibroids and nonmalignant ovarian cysts have no well-defined impact on fertility (3, 25). Due to the limited sample size observed in these diagnoses, we opted to merged the above subgroup with those patients without pronounced pathological changes at laparoscopy to the diagnostic laparoscopy group (Additional File 1: Supplementary Table 1). No significant association was detected between BMI and natural conception after surgical management, which is in line with the previous papers (3, 4). In addition, our multivariate logistic analysis indicates that HSG is not suitable as an independent predictive factor for pregnancy outcome. The reason may be related to the confounding (often low) image quality and the subjectivity of the observer. Therefore, clinical physicians inferring the patient’s prognosis should not be formulated based on HSG status alone but should synthetically consider other key factors. Another interesting negative finding was that the probability of natural pregnancy after surgery in women with intramural fibroids (P=0.158) or bilateral tubal lesions (P=0.836) was comparable to the diagnostic laparoscopy group. When normal anatomy was confirmed at laparoscopy, the patients are termed the unexplained infertility, which has been proven to be more difficult to deal with, even in IVF. Furthermore, for ones suffering from clear driving factors of infertility (mild/moderate endometriosis or unilateral tubal factor), laparoscopy can significantly improve fertility in these patients by correcting anatomical fallopian tubal abnormalities, and destroying concurrent endometriosis lesions, as shown by our results (Table 2). However, severe pathologies (stage III-IV endometriosis or miscellaneous) would inevitably lead to a lower prognosis, even though at least one roughly functionally normal fallopian tube was retained.

In our center, all surgery was carried out by the same professional reproductive surgery team which has been established for about 20 years, and an average of 400 laparoscopic procedures combined with hysteroscopy are performed annually. This can be attributed to the extensive training, meticulous procedures like fimbriae eversion with sutures, delicate tissue handling, preservation of ovarian tissue, minimal electrocoagulation to prevent tissue necrosis and promote optimal healing, precise restoration of normal anatomy, and prevention of adhesions. In this study, the overall rate of spontaneous pregnancy after reproductive surgery is relatively high, achieving 51.7% (524/1013) in our institution and 50.3% (98/195) in the external cohort, which are similar to the previous reports (3, 4, 26). Given that, more and more infertile patients younger than 38 years without absolute indication for IVF are willing to choose to diagnostic or operative laparoscopy combined with hysteroscopy in our hospital. Nonetheless, there is still significant variation regarding the pregnancy result for women desiring to get pregnant following reproductive surgery, which makes it especially challenging to evaluate the prognosis. Therefore, the individualized prediction of the postoperative pregnancy probability has become increasingly important in the era of precision medicine. The nomogram developed in this study represents a pioneering effort to visualize patients’ probability of achieving pregnancy in the postoperative 2-year period using machine learning algorithms, and serves as a reference for clinicians and infertile couples to help them with personalized decision-making about the mode of subsequent conception, natural or IVF.

The limitations of our study include its retrospective design, which may introduce some inevitable bias, and the fact that the training and validation cohorts were ethnically homogeneous and limited to East China. Therefore, it is important to validate our data longitudinally in a more ethnically diverse patient population. In addition, unlike IVF’s timely feedback outcome (2–3 weeks), pregnancy rates after surgery lack continuous tracing because of the longer expectation period for spontaneous conception. Therefore, the pregnancy outcomes after reproductive surgery were followed only after 2-year at our department, leading to hard to perform survival analysis. In future updates, we will attempt to perform larger, multicenter, prospective studies and analyze long-term follow-up survival data. Third, if women with infertility undergo laparoscopy, it is clinical routine to perform hysteroscopy concurrently to rule out any concurrent endometrial abnormality at our institution. Hence, we were unable to include hysteroscopy as a covariate in the multivariable model. Last, it is the wide heterogeneity of the principle and skill of reproductive surgery in different medical institutions that poses the greatest challenge to the extrapolation capacity of the model.

Conclusions

The first user-friendly web-based nomogram with good predictive ability was proposed in the current study to timely detect the possibility of natural conception after reproductive surgery. The model can be widely applied into the clinical practice and help guide clinicians and infertile couples make sensible decision of choosing the mode of subsequent conception, natural or IVF, to further improve the reproductive health in the population level. However, cross-institutional large-cohort prospective studies are needed to verify our model.

Data availability statement

The original contributions presented in the study are included in the article/Supplementary Material. Further inquiries can be directed to the corresponding authors.

Ethics statement

The studies involving humans were approved by the Ethics Committees of Yantai Yuhuangding Hospital (YT2023-054) and Linyi People’s Hospital [LYRMYY (2023-04-036)]. The studies were conducted in accordance with the local legislation and institutional requirements. The ethics committee/institutional review board waived the requirement of written informed consent for participation from the participants or the participants’ legal guardians/next of kin because this research was a retrospective cohort study, the data was made anonymous and there was no need for informed consent.

Author contributions

ZL: Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Software, Visualization, Writing – original draft, Writing – review & editing. MW: Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Visualization, Writing – original draft, Writing – review & editing. SH: Data curation, Formal analysis, Methodology, Project administration, Resources, Validation, Visualization, Writing – original draft, Writing – review & editing. XW: Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Software, Validation, Writing – original draft, Writing – review & editing. XL: Formal analysis, Validation, Visualization, Writing – original draft, Writing – review & editing. XX: Investigation, Methodology, Project administration, Supervision, Validation, Writing – original draft, Writing – review & editing. HB: Investigation, Methodology, Project administration, Supervision, Validation, Writing – original draft, Writing – review & editing.

Funding

The author(s) declare financial support was received for the research, authorship, and/or publication of this article. Publication costs were supported by the Yantai Science and Technology Planning Project (2023YD014, 2022YD031) and Clinical Scientific Research Program of Wu Jieping Medical Funding (320.6750.2022–06-40).

Acknowledgments

We are immensely grateful to our patients with reproductive surgery and their families for helping us in our efforts to improve care and outcomes for patients with infertility. We are also grateful to all clinical investigators and research staff of the Department of Reproductive Medicine for his help in pregnancy outcome follow-ups and providing valuable advices.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fendo.2024.1378157/full#supplementary-material

References

1. Qiao J, Wang Y, Li X, Jiang F, Zhang Y, Ma J, et al. A Lancet Commission on 70 years of women's reproductive, maternal, newborn, child, and adolescent health in China. Lancet. (2021) 397:2497–536. doi: 10.1016/S0140–6736(20)32708–2

PubMed Abstract | CrossRef Full Text | Google Scholar

2. Bortoletto P, Romanski PA, Petrozza JC, Pfeifer SM. Reproductive surgery: revisiting its origins and role in the modern management of fertility. Fertil Steril. (2023) 120:539–50. doi: 10.1016/j.fertnstert.2023.02.031

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Ban Frangez H, Korosec S, Pozlep B, Jancar N, Salamun V, Vogler A, et al. Spontaneous pregnancy rates after reproductive surgery. Reprod BioMed Online. (2017) 35:165–73. doi: 10.1016/j.rbmo.2017.05.007

PubMed Abstract | CrossRef Full Text | Google Scholar

4. Zheng X, Yu X, Cai H, Han H, Guan J, Watrelot A. Conception and pregnancy outcome after laparoscopic treatment of subtle distal fallopian tube abnormalities in infertile women: a prospective cohort study. Reprod BioMed Online. (2022) 45:1230–6. doi: 10.1016/j.rbmo.2022.07.017

PubMed Abstract | CrossRef Full Text | Google Scholar

5. Balachandran VP, Gonen M, Smith JJ, DeMatteo RP. Nomograms in oncology: more than meets the eye. Lancet Oncol. (2015) 16:e173–180. doi: 10.1016/S1470–2045(14)71116–7

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Sauerbrei W, Royston P, Binder H. Selection of important variables and determination of functional form for continuous predictors in multivariable model building. Stat Med. (2007) 26:5512–28. doi: 10.1002/sim.3148

PubMed Abstract | CrossRef Full Text | Google Scholar

7. Collins GS, Reitsma JB, Altman DG, Moons KG. Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMJ. (2015) 350:g7594. doi: 10.1136/bmj.g7594

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Xu H, Zeng L, Yang R, Feng Y, Li R, Qiao J. Retrospective cohort study: AMH is the best ovarian reserve markers in predicting ovarian response but has unfavorable value in predicting clinical pregnancy in GnRH antagonist protocol. Arch Gynecol Obstet. (2017) 295:763–70. doi: 10.1007/s00404–016-4274–8

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Nelson SM, Yates RW, Fleming R. Serum anti-Mullerian hormone and FSH: prediction of live birth and extremes of response in stimulated cycles–implications for individualization of therapy. Hum Reprod. (2007) 22:2414–21. doi: 10.1093/humrep/dem204

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Iliodromiti S, Anderson RA, Nelson SM. Technical and performance characteristics of anti-Mullerian hormone and antral follicle count as biomarkers of ovarian response. Hum Reprod Update. (2015) 21:698–710. doi: 10.1093/humupd/dmu062

PubMed Abstract | CrossRef Full Text | Google Scholar

11. Poseidon G, Alviggi C, Andersen CY, Buehler K, Conforti A, De Placido G, et al. A new more detailed stratification of low responders to ovarian stimulation: from a poor ovarian response to a low prognosis concept. Fertil Steril. (2016) 105:1452–3. doi: 10.1016/j.fertnstert.2016.02.005

PubMed Abstract | CrossRef Full Text | Google Scholar

12. Premru-Srsen T, Bokal Vrtacnik E, Bizjak T, Verdenik I, Korosec S, Ban Frangez H. Preterm delivery risk in infertile women who conceived after reproductive surgery: natural conception versus IVF/ICSI. Hum Reprod. (2021) 36:1630–9. doi: 10.1093/humrep/deaa380

PubMed Abstract | CrossRef Full Text | Google Scholar

13. Alba AC, Agoritsas T, Walsh M, Hanna S, Iorio A, Devereaux PJ, et al. Discrimination and calibration of clinical prediction models: users' Guides to the medical literature. JAMA. (2017) 318:1377–84. doi: 10.1001/jama.2017.12126

PubMed Abstract | CrossRef Full Text | Google Scholar

14. Van Calster B, Wynants L, Verbeek JFM, Verbakel JY, Christodoulou E, Vickers AJ, et al. Reporting and interpreting decision curve analysis: A guide for investigators. Eur Urol. (2018) 74:796–804. doi: 10.1016/j.eururo.2018.08.038

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Riley RD, Ensor J, Snell KIE, Harrell FE Jr., Martin GP, Reitsma JB, et al. Calculating the sample size required for developing a clinical prediction model. BMJ. (2020) 368:m441. doi: 10.1136/bmj.m441

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Agnes A, Biondi A, Persiani R, Laurino A, Reddavid R, De Giuli M, et al. Development of the PERI-Gastric (PEritoneal Recurrence Index) and PERI-Gram (Peritoneal Recurrence Index NomoGRAM) for predicting the risk of metachronous peritoneal carcinomatosis after gastrectomy with curative intent for gastric cancer. Gastric Cancer. (2022) 25:629–39. doi: 10.1007/s10120–021-01268–4

PubMed Abstract | CrossRef Full Text | Google Scholar

17. Donnez J, Dolmans MM. Could IVF replace reproductive surgery? No, reproductive surgery is still very much alive. Reprod BioMed Online. (2023) 46:779–82. doi: 10.1016/j.rbmo.2023.01.015

PubMed Abstract | CrossRef Full Text | Google Scholar

18. Practice Committee of the American Society for Reproductive Medicine, Electronic address, A.a.o. Role of tubal surgery in the era of assisted reproductive technology: a committee opinion. Fertil Steril. (2021) 115:1143–50. doi: 10.1016/j.fertnstert.2021.01.051

PubMed Abstract | CrossRef Full Text | Google Scholar

19. van Loendersloot LL, van Wely M, Limpens J, Bossuyt PM, Repping S, van der Veen F. Predictive factors in in vitro fertilization (IVF): a systematic review and meta-analysis. Hum Reprod Update. (2010) 16:577–89. doi: 10.1093/humupd/dmq015

PubMed Abstract | CrossRef Full Text | Google Scholar

20. Umarsingh S, Adam JK, Krishna SBN. The relationship between anti-Mullerian hormone (AMH) levels and pregnancy outcomes in patients undergoing assisted reproductive techniques (ART). PeerJ. (2020) 8:e10390. doi: 10.7717/peerj.10390

PubMed Abstract | CrossRef Full Text | Google Scholar

21. Xu H, Feng G, Han Y, La Marca A, Li R, Qiao J. POvaStim: An online tool for directing individualized FSH doses in ovarian stimulation. Innovation (Camb). (2023) 4:100401. doi: 10.1016/j.xinn.2023.100401

PubMed Abstract | CrossRef Full Text | Google Scholar

22. Li NJ, Yao QY, Yuan XQ, Huang Y, Li YF. Anti-mullerian hormone as a predictor for live birth among women undergoing IVF/ICSI in different age groups: an update of systematic review and meta-analysis. Arch Gynecol Obstet. (2023) 308:43–61. doi: 10.1007/s00404–022-06683–1

PubMed Abstract | CrossRef Full Text | Google Scholar

23. Vesali S, Razavi M, Rezaeinejad M, Maleki-Hajiagha A, Maroufizadeh S, Sepidarkish M. Endometriosis fertility index for predicting non-assisted reproductive technology pregnancy after endometriosis surgery: a systematic review and meta-analysis. BJOG. (2020) 127:800–9. doi: 10.1111/1471–0528.16107

PubMed Abstract | CrossRef Full Text | Google Scholar

24. Fruscalzo A, Dayer A, Londero AP, Guani B, Khomsi F, Ayoubi JM, et al. Endometriosis and infertility: prognostic value of #Enzian classification compared to rASRM and EFI score. J Pers Med. (2022) 12(10):1623. doi: 10.3390/jpm12101623

PubMed Abstract | CrossRef Full Text | Google Scholar

25. Badawy A, Khiary M, Ragab A, Hassan M, Sherif L. Laparoscopy–or not–for management of unexplained infertility. J Obstet Gynaecol. (2010) 30:712–5. doi: 10.3109/01443615.2010.508850

PubMed Abstract | CrossRef Full Text | Google Scholar

26. Saleh WA, Dlugi AM. Pregnancy outcome after laparoscopic fimbrioplasty in nonocclusive distal tubal disease. Fertil Steril. (1997) 67:474–80. doi: 10.1016/s0015–0282(97)80072–6

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: reproductive surgery, spontaneous pregnancy, predictive model, online nomogram, individualized medicine, machine learning

Citation: Liu Z, Wang M, He S, Wang X, Liu X, Xie X and Bao H (2024) Derivation and validation of the first web-based nomogram to predict the spontaneous pregnancy after reproductive surgery using machine learning models. Front. Endocrinol. 15:1378157. doi: 10.3389/fendo.2024.1378157

Received: 29 January 2024; Accepted: 11 June 2024;
Published: 02 July 2024.

Edited by:

Constantine A. Stratakis, Eunice Kennedy Shriver National Institute of Child Health and Human Development (NIH), United States

Reviewed by:

Yd Mao, Nanjing Medical University, China
Berlin Pandapotan Pardede, National Research and Innovation Agency (BRIN), Indonesia

Copyright © 2024 Liu, Wang, He, Wang, Liu, Xie and Bao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Hongchu Bao, hongchubao@outlook.com; Xiaoshi Xie, xxsyisheng@163.com

These authors have contributed equally to this work and share first authorship

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.