Skip to main content
Frontiers in Oncology logoLink to Frontiers in Oncology
. 2026 Mar 23;16:1703668. doi: 10.3389/fonc.2026.1703668

Integrating reproductive and metabolic factors for uterine fibroid risk assessment: a two-center machine learning study with SHAP interpretability

Yunxia Ji 1,, Yun Shen 2,, Yahui Wu 1, Ke Lei 2, Min Kang 2, Jinsheng Wang 1,3,*
PMCID: PMC13050826  PMID: 41948489

Abstract

Background

Uterine fibroids are common benign gynecological tumors that adversely affect reproductive health. This study aimed to develop a machine learning–based model to predict individualized fibroid risk in women of reproductive age.

Methods

Six clinical predictors encompassing reproductive and metabolic factors were analyzed. Feature selection was performed using LASSO regression, and multiple machine learning algorithms with cross-validation were compared. The optimal model was assessed for discrimination, calibration, and clinical benefit, with SHapley Additive exPlanations (SHAP) analysis employed to enhance interpretability.

Results

A total of 1,274 women were included, of whom 762 (59.8%) had uterine fibroids. Six predictors were retained, and among the classifiers tested, the Random Forest achieved the best validation performance (AUC = 0.734) with balanced accuracy and F1 score. SHAP interpretation further identified age, BMI, menarche age, parity, triglycerides, and fasting glucose as the most influential risk factors.

Conclusion

An interpretable Random Forest model was established to predict uterine fibroid risk, enabling individualized risk stratification and supporting timely preventive interventions in clinical practice.

Keywords: machine learning, random forest, risk prediction, SHAP interpretability, uterine fibroids

Introduction

Uterine fibroids, also known as leiomyomas, are the most common benign tumors of the female reproductive tract, primarily affecting women of reproductive age. Epidemiological studies demonstrate that their prevalence increases with advancing age until menopause, with lifetime incidence estimates exceeding 70% in some populations, particularly among women of African descent (1, 2). Fibroids are associated with a wide range of morbidities, including heavy menstrual bleeding, pelvic pain or pressure, infertility, and adverse pregnancy outcomes, thereby constituting a major public health burden worldwide (2, 3).

The etiology of uterine fibroids is multifactorial, involving both non-modifiable and modifiable determinants. Among the non-modifiable factors, age, race, and genetic predisposition consistently emerge as strong predictors. Women of African ancestry have a higher incidence, earlier onset, and greater symptom severity compared with other ethnic groups (4). Reproductive history also influences risk: early menarche and nulliparity are associated with increased risk, likely due to prolonged lifetime estrogen exposure and increased ovulatory cycles (5, 6). Conversely, higher parity and later age at first birth appear protective, possibly through postpartum uterine remodeling and hormonal changes. In addition, metabolic and cardiovascular factors such as elevated body mass index (BMI) and hypertension have been implicated in fibroid pathogenesis, potentially via chronic inflammation, altered hemodynamics, and endocrine dysregulation (7, 8). Lifestyle and environmental exposures, including diet, alcohol intake, and physical activity, have also been investigated, although results remain heterogeneous across studies (9). Recent studies further highlight potential role of reproductive and metabolic factors, such as BMI, age at menarche, as well as parity in predicting the risk of uterine fibroids (5, 6).

Despite growing evidence on epidemiological and clinical risk factors, robust predictive models integrating multidimensional indicators are scarce. Existing approaches often focus on limited clinical variables or lack rigorous validation (10). To date, no widely accepted model has been established to predict the first onset of uterine fibroids in women of reproductive age by combining demographic, reproductive, and metabolic parameters.

Several previous studies have attempted to develop predictive models for uterine fibroids or related clinical outcomes. For example, Song et al. developed and validated a nomogram-based model to predict recurrence risk after myomectomy, demonstrating the feasibility of individualized risk assessment in uterine leiomyoma (10). However, existing models have mainly focused on postoperative recurrence rather than the primary onset of fibroids, relied largely on conventional statistical approaches, or incorporated a limited number of clinical variables (11, 12). Moreover, machine learning–based models that integrate multidimensional reproductive and metabolic factors for individualized primary risk prediction of uterine fibroids remain scarce. Therefore, there is still a substantial need for robust and interpretable predictive models to support early identification and targeted prevention strategies in women of reproductive age.

To address these limitations, we developed a comprehensive and interpretable machine learning–based prediction model for the initial occurrence of uterine fibroids in women of reproductive age by integrating clinical, metabolic, and reproductive factors. Least absolute shrinkage and selection operator (LASSO) regression was applied for feature selection, followed by the construction and comparison of multiple machine learning algorithms to generate individualized risk estimates. Furthermore, Shapley additive explanations (SHAP) were employed to enhance model transparency and clinical interpretability.

Materials and methods

Study design and population

This retrospective study included women histologically diagnosed with uterine fibroids at two tertiary medical centers in China. All diagnoses were confirmed histopathologically, which is the gold standard for fibroid identification (1, 2). Reproductive age was defined as 15 to 49 years, consistent with established guidelines for women of childbearing age. Participants were selected after excluding those with non-pathological findings, those outside the reproductive age range, and those with missing key clinical information required for defining the outcome or major predictors. A total of 1,274 eligible women were retained for analysis. Data were collected from Heping Hospital (Changzhi Medical College, Shanxi Province) and Tongling People’s Hospital (Anhui Province). The pooled cohort was randomly divided into training (70%) and internal validation (30%) sets (Figure 1). Missing data were addressed through multiple imputation, a method that preserves sample size and minimizes bias. Five imputations were performed using a fixed random seed to ensure reproducibility, thus no data were excluded during the analysis.

Figure 1.

Two flowcharts labeled A and B show participant selection for two hospitals from initial enrollment through exclusion criteria of non-uterine fibroids, non-childbearing age, and incomplete data, with final cohorts of 714 and 560 participants, respectively.

Flowchart of patient inclusion and exclusion. The diagram illustrates the selection process of study participants. From two tertiary medical centers, patients were screened according to predefined eligibility criteria. After excluding those with non-pathological diagnoses, outside reproductive age, or incomplete records, 1,274 women were retained.

Outcome and predictors

The outcome variable was the presence of uterine fibroids, classified as a binary variable (absence vs. presence). Based on prior literature and clinical guidelines (3, 5, 6, 10, 13), a broad spectrum of candidate predictors was included, encompassing demographic and metabolic characteristics (age, body mass index, marital status, educational level, lipid profile, and fasting glucose), reproductive factors (age at menarche, menstrual irregularities, miscarriage history, parity, and contraceptive use), inflammatory and hematological indicators (neutrophil-to-lymphocyte ratio, hemoglobin concentration, CA125, and CA199 levels), medical and family history (pelvic inflammatory disease, cervicitis, family history of uterine fibroids, diabetes, cardiovascular disease, and hypertension), as well as lifestyle factors (smoking, alcohol intake, and physical activity). These predictors were selected because they represent clinically relevant and biologically plausible determinants of uterine fibroid development and have been reported in previous epidemiological and mechanistic studies (8, 14).

Data preprocessing

To minimize bias from incomplete records, missing values were handled using multiple imputation, which preserves sample size and reduces distortion from case-wise deletion (15). Five imputations were performed with a fixed random seed to ensure reproducibility. Continuous variables were subsequently standardized by Z-score normalization to place predictors on a comparable scale, improve numerical stability, and reduce the risk of overfitting. Following preprocessing, the dataset was stratified and randomly divided into training (70%) and validation (30%) sets to maintain the outcome distribution and enhance model generalizability (16). The training set was used to construct and optimize the prediction models, while the validation set was reserved as an independent internal cohort to assess discrimination, calibration, and clinical utility, thereby minimizing overfitting and ensuring robust model evaluation. This approach ensured that model development accurately reflects the underlying cohort structure while reducing the likelihood of biased parameter estimation. As the outcome distribution was relatively balanced, no synthetic resampling methods such as SMOTE were necessary. Model training and internal validation were performed exclusively within the training set, while the internal validation set was reserved for unbiased evaluation of predictive performance and clinical applicability.

To construct the prediction model, we applied LASSO regression with binomial family and L1 regularization to identify the most informative predictors (17). Numeric variables were standardized using Z-score normalization, categorical variables were converted into factors, and a fixed random seed was applied to ensure reproducibility. The model was trained with 1000 candidate lambda values, and 10-fold cross-validation determined the optimal penalty. Using the one-standard-error criterion (λ1se), six predictors—age, BMI, menarche age, parity, triglycerides (TG), and fasting plasma glucose (FPG)—were retained. These features were then incorporated into seven machine learning algorithms: Logistic Regression (LR), Decision Tree (DT), Support Vector Machine (SVM), Artificial Neural Network (ANN), LightGBM, XGBoost, and Random Forest (RF) (Figures 2A, B). Model development was conducted on the training set using 5-fold cross-validation with resampling, with the internal validation set reserved for hyperparameter tuning. Model performance and clinical utility were rigorously evaluated through three complementary approaches: calibration curves for assessing concordance between predicted and observed outcomes, decision curve analysis (DCA) for quantifying clinical net benefit, and receiver operating characteristic (ROC) curves for characterizing the sensitivity–specificity trade-off. Furthermore, metrics including AUC, accuracy, precision, sensitivity, specificity, and F1 score were calculated to provide a comprehensive assessment of discrimination and robustness.

Figure 2.

Panel A shows a line chart with red data points and error bars plotting binomial deviance versus log lambda, with two vertical dashed lines indicating key lambda values. Panel B presents a coefficient path plot, with multiple colored lines showing coefficient values as a function of log lambda; vertical dashed lines mark two lambda thresholds.

LASSO feature selection. (A) Coefficient paths of candidate variables across log(λ). (B) 10-fold cross-validation curve with λmin and λ1se indicated. Six predictors—age, body mass index (BMI), menarche age, parity, triglycerides (TG), and fasting plasma glucose (FPG)—were retained at λ1se.

Machine learning algorithms

Seven algorithms were implemented: LR, DT, RF, SVM, ANN, XGBoost, and LightGBM. Hyperparameter optimization was conducted using grid search with 5-fold cross-validation. LR served as the baseline model (18). DT provides interpretable hierarchical splits (19), while RF reduces variance by aggregating multiple trees (20). XGBoost applies gradient boosting to sequentially refine weak learners (21), and LightGBM accelerates training with optimized tree growth (22). SVM constructs maximal-margin decision boundaries in high-dimensional spaces (23), whereas ANN captures complex nonlinear patterns (24). The optimal hyperparameters identified were: DT (ccp_alpha = 0.0, max_depth = 5, max_features = “sqrt”, min_samples_split = 20); RF (n_estimators = 250, max_features = 2); XGBoost (learning_rate = 0.01, max_depth = 3, n_estimators = 200, subsample = 0.6); LightGBM (colsample_bytree = 0.6, lambda_l2 = 0.1, learning_rate = 0.01, max_depth = 6, min_data_in_leaf = 30, n_estimators = 200, num_leaves = 31, subsample = 0.6); SVM (C = 0.1, degree = 2, gamma = “scale”, kernel = “linear”); ANN (activation = “logistic”, hidden_layer_sizes = (100)),. These configurations substantially improved predictive accuracy and robustness.

Model evaluation

Model performance and clinical utility were evaluated using calibration curves to assess the concordance between predicted and observed outcomes, DCA to quantify the clinical net benefit across various thresholds, and ROC curves to characterize sensitivity–specificity trade-offs. Furthermore, discriminative ability was comprehensively quantified using the AUC, accuracy, precision, sensitivity, specificity, and F1 score.

SHAP interpretability analysis

Model interpretability was evaluated using Shapley additive explanations (SHAP), a game theory–based method that attributes the marginal contribution of each predictor to the model output (25). Positive SHAP values indicated increased fibroid risk, whereas negative values suggested protective effects. Both global importance ranking and individual-level contributions were analyzed, enhancing transparency and clinical interpretability.

Statistical analysis

All analyses were conducted using R version 4.4.3 (R Foundation for Statistical Computing) for data preprocessing and Python version 3.10.4 (Python Software Foundation) for model training and interpretation. Continuous variables were summarized as mean ± standard deviation or median (interquartile range), depending on distribution, and compared using Student’s t-test or the Wilcoxon rank-sum test. Categorical variables were reported as counts and percentages, with group differences evaluated using chi-square or Fisher’s exact test as appropriate. A two-tailed P < 0.05 was considered statistically significant.

Result

Patient characteristics

Table 1 presents the baseline characteristics of the study cohort (n = 1,274). Significant differences (p < 0.05) were observed between women with and without uterine fibroids. The age distribution revealed a higher proportion of women aged 34–49 years in the uterine fibroid group (71.26%) compared to the non-uterine fibroid group (55.47%, p < 0.001). We observed a much higher proportion of overweight/obese individuals in the uterine fibroid group (56.43%) compared to the healthy control group (31.64%). Patients with uterine fibroids had a lower age at menarche, with 69.14% of healthy women having menarche at age ≥13 years, compared to 52.23% in the uterine fibroid group (p < 0.001). This finding aligns with previous studies that identify earlier menarche as a risk factor for fibroid development. In addition, patients with uterine fibroids demonstrated a lower proportion of multiparity when compared with healthy controls (p < 0.001). Elevated triglyceride levels (133.15 mg/dl vs. 125.80 mg/dl, p < 0.001) and fasting plasma glucose (5.20 mmol/L vs. 5.00 mmol/L, p < 0.001) were higher in the uterine fibroid group. Notably, alcohol consumption was lower in the uterine fibroid group (6.56% vs. 10.55%, p = 0.015). These findings highlight the significant roles of metabolic, reproductive, and lifestyle factors in the development of uterine fibroids.

Table 1.

Baseline data of all included patients.

Variables Overall (N = 1,274) Non- uterine fibroid (N = 512) Uterine fibroids (N = 762) p
Age, [n (%)] <0.001
15-33 447 (35.09) 228 (44.53) 219 (28.74)
34-49 827 (64.91) 284 (55.47) 543 (71.26)
BMI, [n (%)] <0.001
Normal weight 682 (53.53) 350 (68.36) 332 (43.57)
Overweight 395 (31.00) 127 (24.80) 268 (35.17)
Obese 197 (15.46) 35 (6.84) 162 (21.26)
Marital status, [n (%)] 0.441
Married/ Living with Partner 906 (71.11) 354 (69.14) 552 (72.44)
Never married 248 (19.47) 107 (20.90) 141 (18.50)
Widowed/ Divorced/ Separated 120 (9.42) 51 (9.96) 69 (9.06)
Education level, [n (%)] 0.824
Less than high school 257 (20.17) 106 (20.70) 151 (19.82)
High school or above high school 960 (75.35) 385 (75.20) 575 (75.46)
Others 57 (4.47) 21 (4.10) 36 (4.72)
Menarche age, [n (%)] <0.001
<13 522 (40.97) 158 (30.86) 364 (47.77)
≥ 13 752 (59.03) 354 (69.14) 398 (52.23)
Menstrual disorder, [n (%)] 0.818
No 966 (75.82) 386 (75.39) 580 (76.12)
Yes 308 (24.18) 126 (24.61) 182 (23.88)
Abortion history, [n (%)] 0.921
No 773 (60.68) 312 (60.94) 461 (60.50)
Yes 501 (39.32) 200 (39.06) 301 (39.50)
Parity, [n (%)] <0.001
≤ 2 621 (48.74) 285 (55.66) 336 (44.09)
>2 653 (51.26) 227 (44.34) 426 (55.91)
Contraceptive use, [n (%)] 0.750
No 1014 (79.59) 408 (79.69) 606 (79.53)
Yes 260 (20.41) 104 (20.31) 156 (20.47)
Pelvic inflame, [n (%)]
No 1104 (86.66) 453 (88.48) 651 (85.43) 0.138
Yes 170 (13.34) 59 (11.52) 111 (14.57)
Cervicitis, [n (%)]
No 1013 (79.51) 411 (80.27) 602 (79.00) 0.631
Yes 261 (20.49) 101 (19.73) 160 (21.00)
Family history, [n (%)]
No 1066 (83.67) 427 (83.40) 639 (83.86) 0.888
Yes 208 (16.33) 85 (16.60) 123 (16.14)
Diabetes, [n (%)]
No 1140 (89.48) 456 (89.06) 684 (89.76) 0.759
Yes 134 (10.52) 56 (10.94) 78 (10.24)
CVD, [n (%)]
No 1121 (87.99) 455 (88.87) 666 (87.40) 0.483
Yes 153 (12.01) 57 (11.13) 96 (12.60)
Hypertension, [n (%)]
No 1087 (85.32) 434 (84.77) 653 (85.70) 0.705
Yes 187 (14.68) 78 (15.23) 109 (14.30)
Smoking, [n (%)]
No 1144 (89.80) 462 (90.23) 682 (89.50) 0.742
Yes 130 (10.20) 50 (9.77) 80 (10.50)
Alcohol taking, [n (%)] 0.015
No 1170 (91.84) 458 (89.45) 712 (93.44)
Yes 104 (8.16) 54 (10.55) 50 (6.56)
Exercise time, [n (%)] 0.173
<150 min 816 (64.05) 316 (61.72) 500 (65.62)
≥150 min 458 (35.95) 196 (38.28) 262 (34.38)
TG (mg/dl) 129.95 [115.90, 145.00] 125.80 [111.88, 138.02] 133.15 [119.50, 147.50] <0.001
TC (mg/dl) 189.40 [178.22, 201.55] 188.50 [176.88, 201.45] 189.80 [178.93, 201.55] 0.277
LDL_C (mg/dl) 120.05 [110.70, 129.40] 118.95 [110.68, 128.40] 121.10 [110.70, 129.80] 0.119
HDL_C (mg/dl) 54.85 [49.10, 60.10] 54.90 [49.27, 60.40] 54.80 [49.02, 59.90] 0.420
FPG (mmol/L) 5.10 [4.80, 5.40] 5.00 [4.80, 5.32] 5.20 [4.90, 5.40] <0.001
NLR 2.17 [1.87, 2.47] 2.16 [1.89, 2.47] 2.17 [1.86, 2.47] 0.893
Hb (g/L) 125.20 [119.70, 130.30] 125.05 [119.60, 130.33] 125.20 [119.82, 130.30] 0.919
CA125 (U/mL) 20.10 [17.70, 22.40] 20.20 [17.80, 22.40] 20.00 [17.60, 22.40] 0.510
CA199 (U/mL) 15.00 [13.00, 16.80] 15.10 [13.20, 17.10] 14.90 [12.90, 16.80] 0.155

Bold values represent the variables with a statistically significant effect (p < 0.05).

Multimodel integrated analysis for classification

Based on the performance results from both the training and internal validation sets, as well as evaluation using various performance metrics, RF emerged as the most optimal model for predicting uterine fibroid risk. In the training set, RF achieved the highest AUC of 0.839 (95% CI: 0.815–0.864), an accuracy of 75.14%, and a sensitivity of 85.96%, demonstrating strong performance in detecting true positives. Although the RF model showed good performance in the internal validation set (AUC: 0.733, accuracy: 66.67%), its specificity slightly dropped to 47%, but it still performed satisfactorily in detecting uterine fibroids. Known for its robustness against overfitting, the RF model effectively handles both linear and non-linear relationships, contributing to its stability across different datasets (Tables 2, 3).

Table 2.

Performance metrics of machine learning models on the training set.

Model AUC Accuracy Precision Sensitivity Specificity F1 score
Logistic 0.76 0.71 0.73 0.81 0.55 0.77
Decision Tree 0.77 0.72 0.74 0.82 0.58 0.78
Random Forest 0.84 0.75 0.76 0.86 0.59 0.81
XGBoost 0.80 0.71 0.72 0.86 0.50 0.78
LightGBM 0.84 0.76 0.76 0.88 0.58 0.81
SVM 0.76 0.70 0.72 0.81 0.54 0.76
ANN 0.76 0.70 0.71 0.82 0.51 0.76

Table 3.

Performance metrics of machine learning models on the internal validation set.

Model AUC Accuracy Precision Sensitivity Specificity F1 score
Logistic 0.76 0.68 0.71 0.77 0.54 0.74
Decision Tree 0.71 0.68 0.72 0.76 0.56 0.74
Random Forest 0.73 0.67 0.69 0.81 0.47 0.74
XGBoost 0.74 0.66 0.68 0.80 0.45 0.74
LightGBM 0.73 0.65 0.68 0.80 0.44 0.73
SVM 0.76 0.67 0.70 0.76 0.52 0.73
ANN 0.76 0.68 0.71 0.80 0.51 0.75

In addition, when incorporating calibration curves, decision curve analysis (DCA), and ROC curves, RF demonstrated the best balance between sensitivity and specificity, further reinforcing its generalizability and predictive power. DCA indicated that the RF model provides net clinical benefit across various threshold probabilities. This suggests that integrating the model into clinical decision-making could improve patient management by prioritizing high-risk individuals for early intervention. While other models, such as XGBoost and LightGBM, also performed well, particularly with high AUC values in both the training and internal validation sets, RF consistently provided the most stable results across different evaluation metrics. Therefore, based on its overall performance, consistency, and robustness, RF was selected as the most optimal model for predicting uterine fibroid risk (Figure 3).

Figure 3.

Panel A shows calibration curves for multiple models on the test set, displaying true probability versus predicted probability and Brier scores in the legend. Panel B presents decision curve analysis for the test set, showing net benefit across threshold probabilities for each model. Panel C features ROC curves for the test set, comparing model sensitivity versus one minus specificity and including AUC values in the legend. Panel D repeats calibration curves for the validation set, with Brier scores and predicted versus true probability. Panel E provides validation set decision curve analysis comparing net benefit across thresholds. Panel F displays ROC curves for the validation set, comparing sensitivity and one minus specificity with corresponding AUCs.

Performance comparison of machine learning models. (A) Calibration Curve for the training Set. (B) Decision Curve Analysis for the training Set. (C) ROC Curves for the training Set. (D) Calibration Curve for the internal validation set. (E) Decision Curve Analysis for the internal validation set. (F) ROC Curves for the internal validation set.

Interpretability and application of the model

Figure 4 presents the SHAP-based interpretation of the RF model, offering both global and individual perspectives on predictors of uterine fibroid risk. In the swarm plot (Figure 4A), age and BMI showed the widest spread of SHAP values, suggesting they exert the strongest influence on model predictions. In addition, older age and higher BMI were associated with an increased risk of fibroids. The importance ranking plot (Figure 4B) confirmed these findings, with age, BMI, menarche age, parity, triglycerides (TG), and fasting plasma glucose (FPG) identified as the six most relevant contributors. The waterfall plot (Figure 4C) illustrates how these variables act synergistically for an individual case: for instance, older age and higher BMI shift the predicted risk upward, whereas later menarche and higher parity mitigate this risk. The force plot (Figure 4D) provides a more intuitive visualization at the individual level, highlighting the balance between risk-increasing (e.g., metabolic factors such as TG and FPG) and protective factors. Collectively, these results not only validate the predictive robustness of the model but also underscore clinically recognized risk pathways of uterine fibroids, integrating reproductive history with metabolic health.

Figure 4.

Panel A shows a SHAP summary dot plot visualizing the impact of seven features (BMI, TG, FPG, Age, Menarche age, Parity, Alcohol) on a machine learning model’s output, with feature values colored from low (blue) to high (pink). Panel B presents a horizontal bar graph ranking the mean SHAP values for the same features, with BMI having the highest influence and Alcohol the lowest. Panel C includes two SHAP waterfall plots for Class 0 and Class 1, respectively, depicting the individual contributions of each feature to the respective class prediction. Panel D displays a SHAP force plot highlighting how features with higher and lower values affect the prediction outcome by shifting the model’s base value to the final prediction.

SHAP of the model. (A) SHAP summary showing feature contributions, with red and blue dots representing higher and lower values, respectively. (B) Logistic regression feature importance ranking. (C) Waterfall plot illustrating the combined effect of variables for a single case. (D) Force plot depicting individual-level risk, highlighting the balance between risk-enhancing (e.g., TG, FPG) and protective factors.

Discussion

In this study, we constructed multiple machine learning models to predict the risk of uterine fibroids using demographic, reproductive, and metabolic features. Through rigorous feature selection and internal validation, the RF model was identified as the most effective classifier, achieving superior discrimination, calibration, and clinical utility compared with other algorithms. SHAP-based interpretation further confirmed that age, BMI, age at menarche, parity, triglycerides, and fasting plasma glucose were the most influential predictors, consistent with established biological and epidemiological evidence (2630).

The epidemiology and pathophysiology of uterine fibroids have been extensively studied, providing a solid scientific foundation for this work. Fibroid growth was known to be hormone-dependent, with estrogen and progesterone playing key roles in tumor proliferation and extracellular matrix accumulation (13, 31). Genetic studies have identified recurrent MED12 mutations and HMGA2 rearrangements as significant factors in fibroid development (32, 33). Epidemiological evidence suggests that increasing age until menopause, early menarche, and nulliparity significantly increase the risk of fibroids (3436), while higher parity is protective, likely due to postpartum uterine remodeling (37). Additionally, metabolic and cardiovascular factors such as elevated BMI and hypertension have been linked to the presence of fibroid risk (3840). A large cohort study further demonstrated that elevated triglycerides and impaired glucose metabolism independently raise fibroid risk. These findings supported the integration of both reproductive and metabolic factors in predictive models; this was consistent with our RF model, which successfully captured the nonlinear interactions among these risk factors to improve prediction accuracy (4042).

The performance of the models was compared using point estimates of AUC and 95% confidence intervals. Statistical significance was evaluated using paired t-tests, revealing that RF outperformed other models in AUC (0.734) and balanced accuracy. However, while the RF model showed moderate sensitivity, its specificity was lower in the internal validation set, leading to a higher number of false positives.

Although parity was traditionally considered a protective factor against uterine fibroid development, our study observed a higher proportion of multiparity among women with fibroids. This apparent discrepancy may be attributed to detection bias and residual confounding. Multiparous women tended to undergo more frequent gynecological examinations and imaging surveillance, which may have increased the likelihood of incidental fibroid detection. Moreover, parity is closely correlated with cumulative hormonal exposure and age, both of which are established contributors to fibroid development, potentially resulting in residual confounding. Prior longitudinal evidence suggested that pregnancy-related uterine remodeling might lead to fibroid regression, supporting the protective role of parity (43). In addition, comprehensive epidemiological reviews have highlighted the complex and sometimes conflicting associations between reproductive history and fibroid risk (2). Therefore, our findings should be interpreted with caution, and prospective cohort studies are required to further clarify the causal relationship between parity and fibroid onset.

Our study has several strengths, including its methodological rigor and interpretability. The use of LASSO regression ensured that only the most informative predictors were retained, minimizing overfitting while maintaining generalizability. Furthermore, RF, an ensemble learning algorithm, demonstrated superior ability to handle complex nonlinear relationships and variable interactions compared to linear models. SHAP analysis provided transparent explanations of the model’s predictions, enhancing clinical interpretability and reinforcing the biological plausibility of the identified risk factors. By combining traditional risk factors with advanced machine learning, our model bridges the gap between epidemiological knowledge and clinical practice.

Despite its strengths, this study has several limitations. The model was developed and internally validated using a random split of the same dataset, and further external validation in independent, multi-center cohorts is required to confirm its generalizability. Additionally, some potential predictors, such as hormonal assays, imaging data, and genetic information, were not available for this study, though their inclusion may enhance the model’s predictive power. The retrospective nature of the study also limits our ability to assess dynamic changes in risk over time. Although internal validation supports the model’s reliability, external validation across independent cohorts is essential. Future research should focus on testing the model in different clinical settings to further evaluate its performance. Recent advancements in machine learning optimization and explainable AI have introduced new techniques that could further improve the clinical applicability and accuracy of predictive models. Integrating these approaches may enhance the precision and interpretability of our fibroid prediction model (4446).

Conclusion

In conclusion, this study demonstrates that a RF–based machine learning model incorporating reproductive and metabolic variables can accurately predict uterine fibroid risk. The integration of SHAP analysis enhances clinical transparency and individualized risk stratification, providing a promising tool for early identification and targeted preventive strategies in gynecological practice.

Funding Statement

The author(s) declared that financial support was received for this work and/or its publication. This work was supported by Technology Commission Foundation of Shanxi Province (Grant No. 202303021221181), Changzhi esophageal cancer research and transformation technology Innovation center 2022cx003 and 2024 Anhui University Research Program (2024AH051953).

Footnotes

Edited by: Jin-Ghoo Choi, Yeungnam University, Republic of Korea

Reviewed by: Lei Wang, Guangxi Academy of Sciences, China

Raheleh Moradi, Shahid Beheshti University of Medical Sciences, Iran

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

The study was approved by the Heping Hospital of Changzhi Medical College (RT2025079) and Ethics Committee of Tongling People’s Hospital (2025LW013). All subjects provided written, informed consent. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study. Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.

Author contributions

YJ: Conceptualization, Methodology, Writing – original draft, Writing – review & editing. YS: Visualization, Writing – original draft, Writing – review & editing. YW: Formal analysis, Methodology, Supervision, Writing – original draft. KL: Formal analysis, Project administration, Validation, Writing – original draft. MK: Formal analysis, Methodology, Validation, Writing – original draft. JW: Funding acquisition, Resources, Visualization, Writing – original draft, Writing – review & editing.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

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.

References

  • 1. Stewart EA, Cookson CL, Gandolfo RA, Schulze-Rath R. Epidemiology of uterine fibroids: a systematic review. Bjog. (2017) 124:1501–12. doi:  10.1111/1471-0528.14640, PMID: [DOI] [PubMed] [Google Scholar]
  • 2. Pavone D, Clemenza S, Sorbi F, Fambrini M, Petraglia F. Epidemiology and risk factors of uterine fibroids. Best Pract Res Clin Obstet Gynaecol. (2018) 46:3–11. doi:  10.1016/j.bpobgyn.2017.09.004, PMID: [DOI] [PubMed] [Google Scholar]
  • 3. Harris HR, Petrick JL, Rosenberg L. The epidemiology of uterine fibroids: Where do we go from here? Fertil Steril. (2022) 117:841–2. doi:  10.1016/j.fertnstert.2022.01.037, PMID: [DOI] [PubMed] [Google Scholar]
  • 4. Tinelli A, Vinciguerra M, Malvasi A, Andjić M, Babović I, Sparić R. Uterine fibroids and diet. Int J Environ Res Public Health. (2021) 18. doi:  10.3390/ijerph18031066, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Song S, Park S, Song BM, Lee JE, Cha C, Park HY. Risk of uterine leiomyomata with menstrual and reproductive factors in premenopausal women: Korea nurses’ health study. BMC Womens Health. (2023) 23:305. doi:  10.1186/s12905-023-02447-4, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Adebamowo CA, Adebamowo SN. Population-based study of the reproductive risk factors for transvaginal ultrasound diagnosed uterine fibroids in Nigerian women. Sci Rep. (2023) 13:18926. doi:  10.1038/s41598-023-44703-5, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Boynton-Jarrett R, Rich-Edwards J, Malspeis S, Missmer SA, Wright R. A prospective study of hypertension and risk of uterine leiomyomata. Am J Epidemiol. (2005) 161:628–38. doi:  10.1093/aje/kwi072, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Yu O, Scholes D, Schulze-Rath R, Grafton J, Hansen K, Reed SD. A US population-based study of uterine fibroid diagnosis incidence, trends, and prevalence: 2005 through 2014. Am J Obstet Gynecol. (2018) 219:591.e1–.e8. doi:  10.1016/j.ajog.2018.09.039, PMID: [DOI] [PubMed] [Google Scholar]
  • 9. Li B, Wang F, Chen L, Tong H. Global epidemiological characteristics of uterine fibroids. Arch Med Sci. (2023) 19:1802–10. doi:  10.5114/aoms/171786, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Song C, Li Z, Wu Y, Zou J, Lin X, Zou B, et al. Development and validation of a nomogram-based predictive model for recurrence risk of uterine leiomyoma after myomectomy. Sci Rep. (2025) 15:30499. doi:  10.1038/s41598-025-14390-5, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Liu X, Jiang QH, Tan JT, Liu LK. A prognostic nomogram for assessing the risk of recurrence after laparoscopic myomectomy. J Assist Reprod Genet. (2025) 42:4003–12. doi:  10.1007/s10815-025-03648-6, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Hao Y, Jiang Y, Wu J, Duan H, Liu J, Xu C, et al. Construction and validation of a Cox regression-based nomogram model for predicting recurrence risk in early endometrial cancer. Am J Cancer Res. (2025) 15:4533–52. doi:  10.62347/PLBG8788, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Bulun SE. Uterine fibroids. N Engl J Med. (2013) 369:1344–55. doi:  10.1056/NEJMra1209993, PMID: [DOI] [PubMed] [Google Scholar]
  • 14. Harrell FE, Jr., Lee KL, Mark DB. Multivariable prognostic models: issues in developing models, evaluating assumptions and adequacy, and measuring and reducing errors. Stat Med. (1996) 15:361–87. doi:  10.1002/(SICI)1097-0258(19960229)15:4<361::AID-SIM168>3.0.CO;2-4 [DOI] [PubMed] [Google Scholar]
  • 15. Enders CK. Missing data: An update on the state of the art. Psychol Methods. (2025) 30:322–39. doi:  10.1037/met0000563, PMID: [DOI] [PubMed] [Google Scholar]
  • 16. Xu Y, Goodacre R. On splitting training and validation set: A comparative study of cross-validation, bootstrap and systematic sampling for estimating the generalization performance of supervised learning. J Anal Test. (2018) 2:249–62. doi:  10.1007/s41664-018-0068-2, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Tibshirani R. The lasso method for variable selection in the Cox model. Stat Med. (1997) 16:385–95. doi:  10.1002/(SICI)1097-0258(19970228)16:4<385::AID-SIM380>3.0.CO;2-3 [DOI] [PubMed] [Google Scholar]
  • 18. Ye S, Sun X, Kang B, Wu F, Zheng Z, Xiang L, et al. The kinetic profile and clinical implication of SCC-Ag in squamous cervical cancer patients undergoing radical hysterectomy using the Simoa assay: a prospective observational study. BMC Cancer. (2020) 20:138. doi:  10.1186/s12885-020-6630-0, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Luts J, Ojeda F, Van de Plas R, De Moor B, Van Huffel S, Suykens JA. A tutorial on support vector machine-based methods for classification problems in chemometrics. Anal Chim Acta. (2010) 665:129–45. doi:  10.1016/j.aca.2010.03.030, PMID: [DOI] [PubMed] [Google Scholar]
  • 20. Hauschild AC, Lemanczyk M, Matschinske J, Frisch T, Zolotareva O, Holzinger A, et al. Federated Random Forests can improve local performance of predictive models for various healthcare applications. Bioinformatics. (2022) 38:2278–86. doi:  10.1093/bioinformatics/btac065, PMID: [DOI] [PubMed] [Google Scholar]
  • 21. Liang D, Wang L, Zhong P, Lin J, Chen L, Chen Q, et al. Perspective: global burden of iodine deficiency: insights and projections to 2050 using XGBoost and SHAP. Adv Nutr. (2025) 16:100384. doi:  10.1016/j.advnut.2025.100384, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Zhang J, Mucs D, Norinder U, Svensson F. LightGBM: an effective and scalable algorithm for prediction of chemical toxicity-application to the tox21 and mutagenicity data sets. J Chem Inf Model. (2019) 59:4150–8. doi:  10.1021/acs.jcim.9b00633, PMID: [DOI] [PubMed] [Google Scholar]
  • 23. Nedaie A, Najafi AA. Support vector machine with Dirichlet feature mapping. Neural Netw. (2018) 98:87–101. doi:  10.1016/j.neunet.2017.11.006, PMID: [DOI] [PubMed] [Google Scholar]
  • 24. Agatonovic-Kustrin S, Beresford R. Basic concepts of artificial neural network (ANN) modeling and its application in pharmaceutical research. J Pharm BioMed Anal. (2000) 22:717–27. doi:  10.1016/S0731-7085(99)00272-1, PMID: [DOI] [PubMed] [Google Scholar]
  • 25. Lundberg SM, Erion G, Chen H, DeGrave A, Prutkin JM, Nair B, et al. From local explanations to global understanding with explainable AI for trees. Nat Mach Intell. (2020) 2:56–67. doi:  10.1038/s42256-019-0138-9, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Wang H, Li C, Chen L, Zhang M, Ren T, Zhang S. Causal relationship between female reproductive factors, sex hormones and uterine leiomyoma: a Mendelian randomization study. Reprod BioMed Online. (2024) 48:103584. doi:  10.1016/j.rbmo.2023.103584, PMID: [DOI] [PubMed] [Google Scholar]
  • 27. Venkatesh SS, Ferreira T, Benonisdottir S, Rahmioglu N, Becker CM, Granne I, et al. Obesity and risk of female reproductive conditions: A Mendelian randomisation study. PloS Med. (2022) 19:e1003679. doi:  10.1371/journal.pmed.1003679, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Takeda T, Sakata M, Isobe A, Miyake A, Nishimoto F, Ota Y, et al. Relationship between metabolic syndrome and uterine leiomyomas: a case-control study. Gynecol Obstet Invest. (2008) 66:14–7. doi:  10.1159/000114250, PMID: [DOI] [PubMed] [Google Scholar]
  • 29. Terry KL, De Vivo I, Hankinson SE, Missmer SA. Reproductive characteristics and risk of uterine leiomyomata. Fertil Steril. (2010) 94:2703–7. doi:  10.1016/j.fertnstert.2010.04.065, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. DiTosto JD, Lewey J, Zee J, Dokras A, Busse KR, Alur-Gupta S, et al. Association between uterine fibroids and risk of atherosclerotic cardiovascular disease. J Am Heart Assoc. (2026) 15:e044014. doi:  10.1161/JAHA.125.044014, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Stewart EA, Laughlin-Tommaso SK, Catherino WH, Lalitkumar S, Gupta D, Vollenhoven B. Uterine fibroids. Nat Rev Dis Primers. (2016) 2:16043. doi:  10.1038/nrdp.2016.43, PMID: [DOI] [PubMed] [Google Scholar]
  • 32. Kang EM, Ryu IH, Lee G, Kim JK, Lee IS, Jeon GH, et al. Development of a web-based ensemble machine learning application to select the optimal size of posterior chamber phakic intraocular lens. Transl Vis Sci Technol. (2021) 10:5. doi:  10.1167/tvst.10.6.5, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Rawlins MD. NICE: moving onward. N Engl J Med. (2013) 369:3–5. doi:  10.1056/NEJMp1303907, PMID: [DOI] [PubMed] [Google Scholar]
  • 34. Chapman EJ, Prokhnevsky AI, Gopinath K, Dolja VV, Carrington JC. Viral RNA silencing suppressors inhibit the microRNA pathway at an intermediate step. Genes Dev. (2004) 18:1179–86. doi:  10.1101/gad.1201204, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Baschetti R. Sucrose in weight-loss regimens. Am J Clin Nutr. (1998) 67:150–1. doi:  10.1093/ajcn/67.1.150, PMID: [DOI] [PubMed] [Google Scholar]
  • 36. Lean IJ, de Ondarza MB, Sniffen CJ, Santos JEP, Griswold KE. Meta-analysis to predict the effects of metabolizable amino acids on dairy cattle performance. J Dairy Sci. (2018) 101:340–64. doi:  10.3168/jds.2016-12493, PMID: [DOI] [PubMed] [Google Scholar]
  • 37. Kernodle DS. Expectations regarding vaccines and immune therapies directed against Staphylococcus aureus alpha-hemolysin. J Infect Dis. (2011) 203:1692–3; author reply 3-4. doi:  10.1093/infdis/jir141, PMID: [DOI] [PubMed] [Google Scholar]
  • 38. Mitro SD, Waetjen LE, Lee C, Wise LA, Zaritsky E, Harlow SD, et al. Diabetes and uterine fibroid diagnosis in midlife: study of women’s health across the nation (SWAN). J Clin Endocrinol Metab. (2025) 110:e1934–e42. doi:  10.1210/clinem/dgae625, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. AlAshqar A, Patzkowsky K, Afrin S, Wild R, Taylor HS, Borahay MA. Cardiometabolic risk factors and benign gynecologic disorders. Obstet Gynecol Surv. (2019) 74:661–73. doi:  10.1097/OGX.0000000000000718, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40. Uimari O, Auvinen J, Jokelainen J, Puukka K, Ruokonen A, Järvelin MR, et al. Uterine fibroids and cardiovascular risk. Hum Reprod. (2016) 31:2689–703. doi:  10.1093/humrep/dew249, PMID: [DOI] [PubMed] [Google Scholar]
  • 41. Strohsnitter WC, Noller KL, Titus-Ernstoff L, Troisi R, Hatch EE, Poole C, et al. Breast cancer incidence in women prenatally exposed to maternal cigarette smoke. Epidemiology. (2005) 16:342–5. doi:  10.1097/01.ede.0000158741.07645.9b, PMID: [DOI] [PubMed] [Google Scholar]
  • 42. Qin H, Lin Z, Vásquez E, Luan X, Guo F, Xu L. Association between obesity and the risk of uterine fibroids: a systematic review and meta-analysis. J Epidemiol Community Health. (2021) 75:197–204. doi:  10.1136/jech-2019-213364, PMID: [DOI] [PubMed] [Google Scholar]
  • 43. Laughlin SK, Herring AH, Savitz DA, Olshan AF, Fielding JR, Hartmann KE, et al. Pregnancy-related fibroid reduction. Fertil Steril. (2010) 94:2421–3. doi:  10.1016/j.fertnstert.2010.03.035, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Wei MM, Wang L, Zhao BW, Su XR, You ZH, Huang DS. Integrating transformer and graph attention network for circRNA-miRNA interaction prediction. IEEE J BioMed Health Inform. (2025) 29:6105–13. doi:  10.1109/JBHI.2025.3561197, PMID: [DOI] [PubMed] [Google Scholar]
  • 45. Huang YA, Li YC, You ZH, Hu L, Hu PW, Wang L, et al. Consensus representation of multiple cell-cell graphs from gene signaling pathways for cell type annotation. BMC Biol. (2025) 23:23. doi:  10.1186/s12915-025-02128-8, PMID: [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46. Wei M, Wang L, Su X, Zhao B, You Z. Multi-hop graph structural modeling for cancer-related circRNA-miRNA interaction prediction. Pattern Recognition. (2026) 170. doi:  10.1016/j.patcog.2025.112078, PMID: 41850414 [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.


Articles from Frontiers in Oncology are provided here courtesy of Frontiers Media SA

RESOURCES