Unified Predictive Model for Endometriosis: Merging Clinical, Self-reporting and Genetic Information ==================================================================================================== * Ido Blass * Tali Sahar * Adi Shraibman * Dan Ofer * Nadav Rappoport * Michal Linial ## Abstract Endometriosis is a condition characterized by implants of endometrial tissues into extrauterine sites, mostly within the pelvic peritoneum. The prevalence of endometriosis is under-diagnosed, and estimated to account for 5–10% of all women of reproductive age. The goal of this study is to develop a model for endometriosis based on the UK-biobank (UKBB). We partitioned the data into those diagnosed with endometriosis (5,924; ICD-10: N80) and a control group (142,576). We included over 1000 variables from UKBB covering personal information about female health, lifestyle, self-reported data, genetic variants, and medical history prior to endometriosis diagnosis. We applied machine learning algorithms to train an endometriosis prediction model. The optimal prediction was achieved with the gradient boosting algorithms of CatBoost for the data-combined model, with an area under the ROC curve (roc-AUC) of 0.78. We discovered that, prior to being diagnosed with endometriosis, women had significantly more ICD-10 diagnoses than the average unaffected woman. Informative features, ranked by SHAP values included irritable bowel syndrome (IBS) and the length of the menstrual cycle. We conclude that the rich population-based retrospective data from the UKBB is valuable for developing predictive models despite the limitations of missing data and noisy medical input. The informative features of the model may improve clinical utility for endometriosis diagnosis. ## Introduction Endometriosis is an estrogen-dependent, chronic gynecological disorder, that is defined by the presence of endometrial-like tissue outside the uterus, primarily in the pelvic tissues and organs [1]. The endometrial-like implants elicit an inflammatory response [2] that involves angiogenesis, fibrosis, and sensory neuron innervation [3]. The main symptoms include severe pelvic pain, dysmenorrhea, dyspareunia, other chronic pain conditions, fatigue, and infertility [4,5]. Most cases occur in women from menarche to menopause. Endometriosis affects an estimated 5% to 10% of women of reproductive age, yet many women remain undiagnosed or misdiagnosed [6,7]. As a consequence of improved diagnostic tools and increased awareness, reports on endometriosis have increased [8,9], yet the variability in endometriosis prevalence estimates remains high [10]. The diagnosis process for women in the USA and UK reported about 25 years ago showed that on average it took more than 10 years between the onset of reported pain symptoms and surgical diagnosis [11,12]. Even now, dependent on medical and social awareness, it may take 4–11 years from the first symptom to a diagnosis [13,14]. The gold standard for diagnostics is laparoscopic surgery, where supplementary diagnostic methods such as ultrasonography and MRI remain challenging [15]. Surgical techniques for lesion removal may temporarily reduce some of the symptoms and are applied to increase the chances of a natural conception [16]. Nevertheless, the recurrence of lesions following surgery is common [17]. Endometriosis symptoms have a substantial impact on the physical, emotional, and well-being of young women [18]. Until being diagnosed, women spend time and money, consume unnecessary drugs, and often go through excess medical procedures. Along with the increase in awareness and emphasis on women’s health in the last few decades, medical health records and epidemiological data were used to find risk factors for endometriosis [17]. Studies identified several factors that were consistently associated with an increased risk for endometriosis. The most common risk factors in the literature are prolonged estrogen exposure from early menarche to late menopause and shorter menstrual cycle length. Furthermore, early adult BMI is inversely related to endometriosis (Shah, 2013 # 101). Other factors, such as increased height and low birth weight, were shown as risk factors in some but not all studies. Notably, smoking has been shown in some studies to increase and in others to decrease the risk of endometriosis. Inconsistency was often associated with lifestyle variables (e.g., alcohol use) [17,19]. The impact of dietary products on endometriosis risk may represent confounding factors that are prone to ongoing changes in lifestyle (Missmer, 2010 #89}. However, none of these factors have been found to be explicitly and conclusively used for the diagnosis of endometriosis. When the surgically diagnosed group was compared to a matched group examined by pelvic MRI, fertility history was found to be a major risk in both groups [20 ,41]. Recently, a scoring system was developed and validated based on a detailed endometriosis-related questionnaire. A clinical application of such a scoring method (refined to a small number of informative items) was proposed as a cost-effective approach to reduce diagnosis delays and improve quality of life [21 ,46]. Twin and family studies support a genetic component for endometriosis [22] and family association studies confirm it to be a complex inherited trait. Women with first-degree relatives with endometriosis were found to be at higher risk of the disease, compared to those with unaffected relatives [23]. Several genome-wide association studies (GWAS) identified some single-nucleotide polymorphisms (SNPs). However, the effect sizes of the associated SNPs were minimal [24,25]. Still, over a dozen genetic loci associated with hormonal regulation pathways [26] and an immune-inflammation signature [27] were proposed. GWAS identified loci seem to explain a small fraction of the variability and are mostly associated with the severe forms of the condition. Currently, the power of genetic-based diagnosis is too low to be useful. At present, no blood biomarker provides enough diagnostic accuracy, according to a Cochrane systematic review that covered 141 studies and 122 proposed blood biomarkers (a total of 15,141 participants) [28]. While advances in non-invasive tests, including imaging and miRNA profiles, carry promising diagnostic potential, the clinical recommendations still lag behind [16]. The goal of the current study is to assess the predictive power of an expanded list of variables related to endometriosis using the UK-Biobank cohort and machine learning-based models. The richness and coherence in data collection and data recruitment allowed us to minimize selection bias and test the relative contribution of a very large number of factors simultaneously, while overcoming the challenge of missing data. The UKBB also provides individual-level data with the associated genetics, therefore allowing us to include personalized genetics into a combined predictive model. In this study, we combined time-sensitive clinical data (e.g., ICD-10 medical diagnoses), information associated with nutrition and lifestyle (e.g., dairy preference), and genetic data (i.e., GWAS common variants) via a machine learning model. The performance of the predictive model in view of alternative machine learning methods, and the clinical utility of personalized medicine are discussed, as are the most impactful features. ## Methods ### UKBB data extraction and processing The UK Biobank (UKBB) is a population-based database with detailed medical, genotyping, and lifestyle information covering 500k people at ages 40-69 at time of recruitment [29]. UKBB recruited the participants from 2006-2010 from across the UK. All analyses were based on the 2019 UKBB release. We focused on Caucasian women by limiting the analysis to participants who self-reported themselves as British, Irish, or other “white” background [codes 1, 1001, 1002, 1003, respectively, in Ethnic background, UKB data field 21000]) and classified as Caucasians based on their genetic ancestry (Genetic ethnic group, data-field 22006). We further focused on participants evaluated at age 40-70 (dated in 2006) and removed genetic relatives, by keeping only one representative of each kinship group of related individuals. This resulted in a dataset that includes 145,671 participants. Disease classification is based on clinical information encoded by ICD-10 codes. We used the main or secondary diagnosis (UKBB data fields 41202 and 41204, respectively) with the age of the diagnosis. We addressed each data field according to the missing information included. The fraction of missing data is restricted to missing measurements of participants that did not know the answer (e.g., breastfed as a baby). Notably, for some cases, the information is only relevant for a subset of the studied population. In cases where multiple values were reported for a specific field (e.g., BMI from repeated visits), only the last value was considered. Data fields that were found related to endometriosis by the literature (and consulting with clinicians) were collected, along with all of the participants’ documented ICD-10 code diagnosis. A protocol for age-dependent matching of endo group and control group was by performing a stochastic matching process between the two groups. The objective of this protocol is to keep the majority of the samples while matching the year of birth distribution. In practice, we randomly choose 71,088 samples from the group of women without endometriosis diagnosis (control group) in an amount that imitates the year of birth distribution of women with endometriosis diagnosis (endo group). The rest of the analysis was performed on the yearly matched set. See Supplementary **Text S1** for the pseudocode used. ### Genetic Analysis The UKBB released genotyped data for all participants. The genotyping scheme is based on 805,426 preselected genetic variations. Based on the imputation protocol, the number of variants is expanded to about 9 M variants passed quality control [30]. We used the OpenTargets (OT) platform to select current knowledge on endometriosis genetics [31]. OT is a public database that unifies evidence for drugs, their targets, and their associations with human diseases. We used the genetic platform that compiled the top-scored variants from GWAS summary statistics as extracted from the GWAS catalog [32]. We used the OT genetic association scoring system to extract an informative list of variants associated with endometriosis. We gathered a list of 189 SNPs from all 221 genes from OT (based on OT quality criteria, some genes lack associated SNPs). We extracted the SNPs associated with endometriosis as reported by OT. A total of 65 unique genetic variants were used in our model. ### Machine learning methodology We tested several models including Random forest, Logistic regression, Linear discriminant analysis, and compared their performance. We also applied CatBoost that belong to a family of trees-based gradient boosting algorithms that perform well in big data with missing data [33,34]. In a nutshell, in each step of the algorithm, a decision tree base learner is created, using the previous iterations’ decision tree residuals as a gradient for minimizing the current tree’s loss-function. For each iteration, CatBoost uses a random permutation of the training set. The subset is used in order to build the decision tree and to build target statistics for the categorical features by mapping these features into a continuous space [35]. We trained three types of models according to the type of data used for training: (a) Attributes and measurements that were compiled from the reported risk factor for endometriosis in literature and other fields that were proposed by medical experts (Supplementary **Table S1**). (b) Medical diagnoses, as indexed by ICD-10 codes. (c) Genetic variants based on endometriosis GWAS from UKBB marker SNPs (Supplementary **Table S2**). We used SHAP (SHapley Additive exPlanations) to estimate the features’ importance [34]. SHAP values give a numerical estimate of the marginal impact of a feature, given all other features. ### Feature engineering In addition to the UKBB data fields, we engineered features which were not explicitly found in the UKBB. Estrogen exposure, for example, was calculated by reducing the age of menarche from the age of menopause. Many of the features from the ICD-10 diagnosis fields were extracted from the UKBB and converted prior to their use in the predictive model (Supplementary **Table S3**). We calculated from the reported dates of any diagnosis available in the UKBB the age when the participant was diagnosed for each of the ICD-10 available for that person. A feature of the amount of ICD-10 diagnoses was calculated by summing the diagnoses available in the medical record that were accumulated prior to endometriosis diagnosis age. In this case, for the control group, a matching protocol was performed in order to determine the age threshold for such counting. ### Statistical tests We applied post-hoc univariable analysis using Kruskal-Wallis for continuous variables and Pearson’s chi-squared test for binary variables. For each feature, we calculated the standardized mean difference (SMD) as its summary statistics. SMD expresses the size of the effect relative to the variability observed. Formally we measured the mean outcome between endometriosis patients and the control group relative to the standard deviation of the outcome among control participants. The univariable analysis was limited to Q1-Q3 to improve statistical robustness. ## Results ### Unification of data from UKBB: Case-control population-based groups The primary goal of this study was to review current risk factor knowledge and evaluate its contribution to endometriosis prediction. To this end, we systematically collected a set of phenotypes and measurements extracted from the UKBB database. As a population-based resource, the UKBB is based on standardized data collection protocols. The UKBB includes over 500,000 participants collected from 23 medical centers across the UK, who were recruited over the years 2006–2010 for participants aged 49–70. We have retrospectively analyzed personalized clinical information on diagnosis, medical procedures, lifestyle, personal genetics, self-reporting, and nurse interview reports. Following strict filtration steps (see Methods), we analyzed 148,571 women, among whom 5924 were diagnosed with endometriosis (ICD-10: N80, Data field). **Table 1** lists a selected sample for the different data types (e.g., physical measurement) that were used in this study. Note that the extracted UKBB fields cover information that is binary, contentious, or divided to discrete categories. The data extraction following the filtration scheme covered 970 diagnoses, 65 genetic variants, 46 life-style and physical measures. Supplementary **Table S1** lists all the life-style and physical measures UKBB data fields extracted and the degree covered by the 148.5k women included in this study. The extraction of data was motivated by endometriosis risk factors previously studied and expanded according to an input from medical experts. View this table: [Table 1.](http://medrxiv.org/content/early/2022/03/21/2022.03.20.22272657/T1) Table 1. Sample of extracted data fields from UKBB used in this study The data of the UKBB was obtained by the participants’ medical records or by questioners and exams at assessment centers. Despite the effort to standardize and fill all data fields, listed in Supplementary **Table S1**, some attributes and measurements suffer from a substantial fraction of missingness. For example, only 2.7% of cases lack menarche age, while the ages of the first and last age of depression episodes are missing for 78.5% of cases. **Figure 2** lists the variables (Supplemental **Table S1**) for covering missing data at a range of 2% to 80%. Note that the fraction of missing data is calculated from the number of participants that were diagnosed with the relevant diagnosis. For example, the ‘age of the first episode of depression’ is only valid to those who replied positively to ‘ever felt depression’. Among those subjects, 80% had not reported on the age at the first episode of depression. ![Figure 1.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2022/03/21/2022.03.20.22272657/F1.medium.gif) [Figure 1.](http://medrxiv.org/content/early/2022/03/21/2022.03.20.22272657/F1) Figure 1. Ranked list of variables with the percentage of the missing data. A full list of extracted attributes is available in Supplementary **Table S1**. ![Figure 2.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2022/03/21/2022.03.20.22272657/F2.medium.gif) [Figure 2.](http://medrxiv.org/content/early/2022/03/21/2022.03.20.22272657/F2) Figure 2. Univariate analysis for endometriosis. A ranked list of attributes (total 44) associated with endometriosis diagnosed and control groups by the standardized mean difference (SMD). SMD values <−0.2 and >0.2 are colored orange to indicate the attribute with a substantial effect size. The statistics were based on the median calculated for the Q1-Q3 values. The asterisk next to the description of the attribute is the case with p-value <0.05 for univariate tests of case and control (see Methods). For a univariate statistical test and results, see Supplementary **Table S1**. ### Univariate statistics of control and endometriosis patients from the UKBB A post hoc statistical test was performed to assess the contribution of each individual measurement. Numerous attributes have been previously reported as risk factors for endometriosis. **Figure 2** shows the differences between the endo group and the control group based on SMD (see Methods). Each attribute was independently analyzed by including the median values (Q1, Q3) and calculating the statistical significance of its effect size (Supplementary **Table S1**). Setting the SMD threshold at 0.2, only 6 (out of 44) attributes are strongly associated with risk for endometriosis. The number of live births and the age at cancer and diabetes diagnosis (UKBB fields of 2734 and 40008, respectively) suggest a lower risk for endometriosis. The most significant variable in accordance with an increased risk of endometriosis is the year of birth (SMD 0.44) followed by irritable bowel syndrome (IBS). The rest of the measurements had smaller effect sizes. For detailed information, see Supplemental **Table S1**. The calculated effect sizes associated with most of the attributes associated with endometriosis (e.g., menarche age, BMI, height, birth weight) were low. Other attributes failed to meet statistical significance (e.g., smoking, height, coffee consumed). The list shown in **Figure 2** did not overlap with known risk factors for endometriosis as reported in the literature. Endometriosis is a complex condition and assessing the risk according to the assessment of each attribute independently of the others cannot capture the interactions and the non-additive contributions of specific factors. A likely scenario is that different factors (each carrying a marginal effect) interact, and their combination provides valuable predicting power. Moreover, the extracted and engineered features belong to multiple types. Some attributes are continuous (e.g., BMI), others are binary (e.g., having a specific ICD-10) and many are assigned categories (e.g., smoking habits). Thus, we seek a method that considers any variable irrespectively of its type. For the goal of developing a predictive model for endometriosis, we applied a multivariate machine learning-based framework. A scheme of the analyses and processes for creating a predictive model for endometriosis using the UKBB data is shown (**Figure 3)**. In brief, following filtration (see Methods), a screening process was applied (see Methods), resulting with 148,571 participants, out of whom 5,924 were diagnosed with endometriosis. The data were split to disjoint 80% training and 20% test sets. We further analyze the data and its distribution to account for internal year-dependent biases (**Figure 3**, Data processing). Figure 4 shows the distribution of the participants in the study for women that were not diagnosed (control group) and those diagnosed with endometriosis (endo group). There was a significant difference in the year of birth distribution among women with and without endometriosis (U-test p-value 2.2e-239). Evidently, with very significant statistical differences, it is anticipated that a bias by the year of birth for the endo group is probably a reflection of establishing the diagnosis protocol and increasing awareness. To overcome this bias, we created a matched set for each year to cancel out the original year of birth differences. Repeating the U-test after applying the matching protocol resulted in insignificant difference between the control group and the endo group. The rest of the analysis was performed on the age-matched data. ![Figure 4.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2022/03/21/2022.03.20.22272657/F3.medium.gif) [Figure 4.](http://medrxiv.org/content/early/2022/03/21/2022.03.20.22272657/F3) Figure 4. The distribution of the control and endo-groups along the year of birth (Left). Following a protocol for yearly matching schemes, the bias was removed. And each year a matched proportion of control and endo-groups remains stable throughout (for detailed protocol, see Supplementary **Text S1**). ### Predictive risk model for endometriosis We used the receiver operating characteristic area under the curve (roc-AUC) as the evaluation metric. The CatBoost model trained for 1000 iterations using early stopping on a separate held out validation subset. After a screening process (**Figure 3**), the data was separated into three main categories according to the type of data used for training. These categories are the basis for three models labelled a, b and c according to the type of data used as input (see Methods): (a) Attributes and measurements form UKBB (**Figure 3**, Supplementary **Table S1**); (b) Medical diagnoses, as indexed by ICD-10 codes (Supplementary **Tables S3)**; and (c) Genetic variants based on endometriosis GWAS from UKBB marker SNPs (Supplementary **Tables S2)**. In preparation for model b, we first tested whether differences between the cases and controls could be derived from the associated vector of ICD-10 diagnoses (UKBB data fields 130000–132606). These UKBB data fields provide the dates of the participants’ initial appearance of any reported medical diagnosis. The dates were converted into the age of diagnosis for each woman. We asked whether the set of diagnoses is informative for endometriosis prediction. The rationale is to assess whether other diagnoses preceding the definitive endometriosis diagnosis, carry a predictive power towards endometriosis. For each participant in the control group, a threshold age for the diagnosis masking was randomly chosen from the endometriosis diagnosis age, such that the threshold distribution in the control group is equal to the distribution of endometriosis diagnosis age. The median number of diagnoses prior to that of endometriosis for the control and endo-group was 1 and 4, respectively **(Figure 5A)**. ![Figure 5.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2022/03/21/2022.03.20.22272657/F4.medium.gif) [Figure 5.](http://medrxiv.org/content/early/2022/03/21/2022.03.20.22272657/F4) Figure 5. ICD-10 in control and endo-groups. **(A)** The distribution of the amount of ICD-10 diagnoses in the control and endo-groups (orange and blue, respectively) was significant using Mann-Whitney U-test (p-value <0.001) and SMD = 0.471. The median value of the number of ICD-10 diagnoses per individual for the control and endo-groups is 1 and 4 respectively. **(B)** Partition of all 222 all statistically significant informative features from the ICD-10 based model (U-test, p value <0.05). Each feature was tested for the statistical difference of the control and the endo-group. The partition is according to the ICD-10 level1 first letter (A-Q). The level 1 letters with less than 10 features are unified (‘others’). **(C)** Ranked list of the top 40 ICD-10 that statistically differentiate ranked by the p-value <1e-11. These 40 ICD-10 are color coded as in B by level 1 ICD-10 index. The detailed information of the feature and its ICD-10 level 4 information is available in Supplementary **Table S3**. Supplementary **Table S3** shows the percentage of ICD-10 terms associated with women with and without endometriosis for 755 age associated diagnoses (see Methods). While only 7% of the control group have >10 ICD-10 diagnoses, there are 11% of the endo group with more than 30 ICD-10 diagnoses. Each age-converted ICD-10 was tested for the statistical difference of the control and the endo-group. For 222 items the “age of first reported diagnosis” resulted in p-value <0.05 by non-parametric statistical test (Supplementary **Table S3**). **Figure 5B** shows the partition of these 222 items according to ICD-10 indexing method (level-1; marked as A to Q; Supplementary **Table S4**). The abundant ICD-10 level 1 includes diseases of the genitourinary system (N) followed by diseases of the digestive system (K), diseases of the musculoskeletal system and connective tissue (M) and diseases of the respiratory system (J). The significant of diseases of the respiratory system (J) and viral and parasite infection (B) is less evident. **Figure 5C** shows a ranked list of the most significant ICD-10 items according to U-test statistical results with pelvic and genital organs that prevail. Specifically, the most significant ICD-10 items include N73 (pelvic inflammatory diseases), N81 (female genital prolapse), noninflammatory disorders of ovary, fallopian tube, and broad ligament (N83) and of uterus, except cervix (N85), polyp of female genital tract (N84) and excessive, frequent and irregular menstruation (N92). While the knowledge on endometriosis corroborate the relevance of diseases associated with N, K and M, and to a lesser level of significance also diseases of the respiratory system (J). In preparation for the machine learning predictive genetic model (model c), we collected variants from GWAS of endometriosis as an input for the predictive model. A list of 65 genetic variants associated with 35 different genes was compiled from11 major publications including large meta analyses [26] (Detailed in Supplementary **Table S2**). Figure 6 shows the results from the AUC and the ROC curve for 5 models that are based on the major data type categories (marked a, b, c; see Methods) and their combination. The predictive models for each of the data types (a-c) and their combinations are shown for the combination of recall and precision (**Figure 6A**) and the rec-AUC of all 5 models in **Figure 6B**. Developing a model based on the 65 variants from the GWAS catalog (model c) indicated that training the model on genotypic data resulted in roc-AUC of 0.52. A recent population-based polygenic risk score (PRS) analysis for endometriosis showed only 2-3% of the variance explained by the SNPs [36], consistent with the modest improvement in the performance of model c. We found that model c, in combination with model a (measurements and attributes from self-reporting and lifestyle data) and model b (age-converted ICD-10 for diagnoses prior to endometriosis) resulted in higher AUC (increased from 0.77 to 0.81; Supplementary **Table S5**). ![Figure 6.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2022/03/21/2022.03.20.22272657/F5.medium.gif) [Figure 6.](http://medrxiv.org/content/early/2022/03/21/2022.03.20.22272657/F5) Figure 6. Performances of the prediction models for endometriosis. **(A)** Precision-Recall curves for 5 CatBoost models. The models differ by training data with the UKBB attributes and measurements (model a), the collection of the ICD-10 prior to endometriosis diagnosis age (model b), and the GWAS of endometriosis genetic variants (model c). A combination of training data of a & b and a combined model that includes a, b & c. **(B)** ROC curves for the same set of 5 models as in A. The diagonal line marks a random no discrimination line (AUC = 0.5). **(C)** Comparison of the roc-AUC of 5 different algorithms for the combined set of features input a, b & c. XGBoost and CatBoost resulted in the highest roc-AUCs. We repeated training with input a, b and c to test the performance of additional machine learning models (**Figure 6C**). The results of the models performed by Random forest, Logistic regression, Linear discriminant analysis, XGBoost and CatBoost algorithms are shown. The CatBoost algorithm of the combined model outperformed other models, followed by XGBoost (Supplementary **Table S6**). A much smaller AUC was associated with algorithms including K-nearest neighbors (KNN), Naive Bayes (NB) and support vector machines (SVM). ### Informative features and interpretability of the combined model We further evaluated the contribution of each feature on the combined model that was trained on 3 groups of features using SHAP, an explainable AI tool. Figure 7 shows the top 20 features ranked by SHAP. About a third of these features are associated with features of the age-dependent ICD-10, level 1 (**Figure 5B**), with the rest derived from the features associated with measurements and UKBB attributes. The top features are the length of the menstrual cycle and the age of the first live birth. Note that none of the genetic variants was selected to be informative among the top 20 features. **Figure 7** also emphasizes the limited overlap between SHAP informative features and the attributes with significant as significant SMD from the univariate test (**Figure 2**). ![Figure 7.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2022/03/21/2022.03.20.22272657/F6.medium.gif) [Figure 7.](http://medrxiv.org/content/early/2022/03/21/2022.03.20.22272657/F6) Figure 7. Top 20 features from the combined model using SHAP (an explainable AI tool). Variables are ranked in descending order of their SHAP value. The values reported show the contribution of each of the features according to the impact of that feature on the model outcome (i.e., endometriosis). Each dot in the plot represents a subject patient’s feature value for that variable (vertical axis). Color reflects the scale of the feature’s value. Color shows whether that variable is high (red) or low (blue) for that observation, gray depicts no data or a categorical feature. The significant SHAP values supports the contribution of noninflammatory disorders of ovary, fallopian tube and broad ligament (SHAP value of 0.134), and excessive, frequent and irregular menstruation (N-92, SHAP value of 0.124). The informative features ranked by SHAP (e.g., estrogen exposure, reports of IBS) also displayed a strong deviation in occurrence in the endo group and control groups (Supplementary **Table S3**). However, statistically significant features from the ICD-10 diagnoses by age abundant in the endo group relative to control group not selected as informative features by SHAP. This list includes the age of the first occurrence in N39 (other disorders of urinary system), I10 (essential, primary, hypertension) and D50 (iron deficiency anemia) with p-values of 7e-55, 6e-42 and 2e-35, respectively. ### Model’s limitation Almost all analyzed data used for our models are based on measurements observed from women after their menopause age. Thus, the up-to-date diagnostic measurements are unavailable. The presented models (**Figure 6C**) are not designed as tools for diagnosis. However, we engineered features that include information collected prior to the date of diagnosis of endometriosis. As diagnosis is likely to be delayed, the partition before and after endometriosis diagnosis might be inaccurate. Another aspect that may limit the generality of our model concern an unavoidable enrichment in women with symptomatic, severe endometriosis. We anticipate that data analyzed from these women may not represent mild manifestations of endometriosis. In terms of UKBB data quality, data fields of UKBB diagnosis that lack a time stamp cannot be determined whether occurred before endometriosis diagnosis. ## Discussion The goal of this study is to explore endometriosis risk factors by developing a predictive model based on population-based data. With the increased availability of biobanks (e.g., UKBB) and rich individual medical and genetic data, the development of a reliable and robust model for endometriosis is of utmost importance. In practice, even following laparoscopic surgery, the information on the number, location, and size of the lesions does not correlate with the pain severity, fertility, or therapy success [37]. Predictive risk models can help researchers understand the etiology and underlying mechanisms of endometriosis [38,39]. The current shortage of effective diagnosis of endometriosis leads to delayed or missed diagnosis with an average latency of 7–11 years from the onset of symptoms to definitive diagnosis [7]. These years prior to diagnosis are associated with heavy financial costs to the patient and the healthcare system. In addition, experiencing recurrent pain often impacts one’s psychological and mental state, leading to a substantially compromised life quality [17]. Early diagnosis may impact future health, as in the case of the malignant transformation of ovarian endometriomas into ovarian cancer [40,41]. Despite extensive efforts to identify biomarkers (e.g., miRNA, peptides, metabolites), and to establish non-invasive indicators [42], diagnostic tests based on biomarkers from peripheral blood have not been validated [43]. In this view, screening for biochemical indicators can benefit from the growth in population-based body fluid biobanks (e.g., blood, urine) [43]. Our model emphasizes the utility of population-based data resources such as the UKBB for studying endometriosis. As recruitment of participants to the UKBB is agnostic to specific diseases, the studied groups are expected to be relatively resistant to selection bias. Nonetheless, the data in the UKBB is not ideal for studying endometriosis, mainly because almost all women are at their postmenopausal age (ages 49–70) [44]. We addressed these difficulties by carefully preprocessing and matching the data. The differences in diagnosis prevalence across years of birth (Figure 4) reflect the change in the diagnosis rate. This is probably due to an increase in awareness, and the introduction of medical procedures for definitive diagnosis [7]. We implemented an age-matching protocol to secure the age-balance of the studied groups. Another concern is the use of ICD-10 diagnosis. As a predictive risk model, we aligned each ICD-10 item with respect to endometriosis by converting the data of the first disease occurrence to the women’s age (**Figure 5**). We have not included in our model any molecular measurements (e.g., miRNAs from biopsies) [45]. Instead, we included data fields from electronic health records (EHR) for developing reliable predictive models. Menarche age, smoking, and BMI were not proposed as strong indicators of endometriosis in any of our endometriosis models (**Figure 6C**). We claim that it is fundamental to revisit potential risk factors and assess their relevance to clinical recommendation and disease diagnosis. From a clinical perspective, our study confirmed the associations with diseases of the genitourinary system (N), the digestive system (K), and diseases of the musculoskeletal system and connective tissue. Irritable bowel syndrome (IBS) was identified as an informative feature in many of the models. A recent meta-analysis provided epidemiological evidence for a link between IBS and endometriosis [46]. It shows that there is a higher risk (>2 fold) of IBS in women with endometriosis compared to women without the condition [47]. However, the enrichment in the occurrence of other diseases, such as migraine (G43) and dorsalgia (M54) in a substantial fraction of the women within the endo group (>5%) is less evident. A large genetic meta-analysis to identify the shared genetic basis of endometriosis and other diseases identified dorsalgia has having a significant positive genetic correlation with endometriosis [48]. It was further shown that a sensitivity to pain might be shared by other pain-associated diseases. The feature “stomach pain for 3 or more months” was ranked high in the final model (**Figure 7**). This information was collected only from participants who indicated that in the last month they experienced stomach or abdominal pain. The possibility that stomach pain in post-menopausal years echoes a prolonged pain experience during the fertility years should be tested in an independent cohort. The co-occurrence of endometriosis with other diseases such as asthma (J45) and iron-deficiency anemia (D50) may reflect missed or overdiagnosis prior to a definitive diagnosis of endometriosis. The effect associated with genetic variants in complex diseases and traits might be rather limited and strongly influenced by the proportion of variation due to genetic factors (i.e., heritability). Polygenic risk scores (PRS) for endometriosis rely on the summarizing effects of GWAS studies [49]. In this study, we included 65 variants that are associated with 35 genes from the harmonized collection of GWAS (Supplementary **Table S2**). Several of these variants were validated across populations (e.g., Japanese descent and European cohorts [50]). Endometriosis PRS revealed that the GWAS variants explained only 2-3% of the phenotypic variance [51,52], arguing for insufficient clinical utility. In our machine learning framework, the variants slightly contributed to the discriminatory value **(Figure 6B**). It emphasizes the benefit of including genetic variants with orthogonal medical and environmental data into a single model, as exemplified for Type 2 diabetes (T2D) [53]). Performance of machine learning models are usually evaluated by the accuracy, F1-score and roc-AUC. However, the models must show resistance to data leakage, a term that stands for the ability of the algorithm to learns a simple value for ‘trivial’ discrimination. During our study, we realized that our model showed great sensitivity towards such (explainable and hidden) leakages. Data leakage carries the risk of achieving almost perfect performance on a dataset, while lacking generalizability to the real world. For example, a feature that led to a leakage was “estrogen exposure”. Inspection revealed that the model learned to identify the exceptionally short “estrogen exposure” years. It is an outcome of hysterectomy which was associated with endometriosis treatment [54]. A similar leakage was attributed to the “age at last live birth”. A model using these “leaky” features would predict endometriosis with an outstanding AUC score of 0.94. We reduced the model leakages by adjusting the parameter distributions between the endo and control groups. In cases where such an adjustment was insufficient, we removed features (e.g., age of last birth). With the increasing use of medical imaging, videos, and pathological samples, machine learning and deep learning approaches are playing a growing role in diagnosis [55]. A machine learning model for endometriosis based on a screening questionnaire was shown to produce an AUC of 0.5–0.9 in the training and validation sets based on the combination of 16 common criteria such as age, pain, and family history [56]. We show prediction of endometriosis in the general population of UKBB can use attributes and measurements not traditionally associated with the disease, and which were not informative under standard univariate statistical tests. It is anticipated that the incorporation of explainable models into the clinics will have an impact on the personalized approach and will lead to a reduction in the latency in endometriosis diagnosis. ## Supporting information Text S1, Tables S4-S7 [[supplements/272657_file02.docx]](pending:yes) Table S2 [[supplements/272657_file03.xlsx]](pending:yes) Table S1 [[supplements/272657_file04.xlsx]](pending:yes) Table S3 [[supplements/272657_file05.xlsx]](pending:yes) ## Data Availability Model based on the UK-Biobank ## Supplementary materials **Text S1:** Pseudocode for age alignment for control and endo groups; **Table S1**: Measurements and attributes from UKBB and univariable statistics [Source for Figures 1–2]. **Table S2:** GWAS variants from GWAS of endometriosis, extracted from OT genetic platform. **Table S3:** Features extracted from ICD-10 and statistics of endo group vs control group [Source for Figure 5]. **Table S4:** Number of statistically significant associated features linked to the chapters of ICD-10, level 1 [Source for Figure 5]. **Table S5:** Performance of predictive models for endometriosis using CatBoost [Source for Figure 6]. **Table S6:** Comparing machine learning algorithms for combined models (10 iterations each) [Source for Figure 6C]. **Table S7:** Informative features from the combined model, ranked by SHAP. ## Ethics and Regulation The UK-Biobank application ID 26664 (Linial lab). Ethical committee approval, The Hebrew University #13082019. ## Funding This study was supported by the ISF grant number: 2753/20 (to M.L.). The Louise and Alan Edwards Foundation, Clinical Research Fellowship Grant 2021 (to T.S.) ## Acknowledgments We thank Amos Stern and Roei Zuker (the Hebrew University of Jerusalem) for their suggestions and support throughout the project. We thank Misgav Rottenstreich (Shaare Zedek Medical Center, Jerusalem) for his insightful medical input, and the Linial lab for fruitful discussions. We thank the CSE system team that supported UKBB data storage. ## Abbreviations (AI) : Artificial intelligence (AUC) : Area under the ROC Curve (DL) : Deep Learning (EHR) : Electronic Health Records (OT) : OpenTargets (ROC) : Receiver Operating Characteristic Curve (IBS) : Irritable bowel syndrome (UKBB) : UK-Biobank (PRS) : Polygenic risk score (T2D) : Type 2 diabetes (BMI) : Body mass index * Received March 20, 2022. * Revision received March 20, 2022. * Accepted March 21, 2022. * © 2022, Posted by Cold Spring Harbor Laboratory This pre-print is available under a Creative Commons License (Attribution-NonCommercial-NoDerivs 4.0 International), CC BY-NC-ND 4.0, as described at [http://creativecommons.org/licenses/by-nc-nd/4.0/](http://creativecommons.org/licenses/by-nc-nd/4.0/) ## References 1. 1.Giudice, L.C. Clinical practice. Endometriosis. N Engl J Med 2010, 362, 2389–2398, doi:10.1056/NEJMcp1000274. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1056/NEJMcp1000274&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=20573927&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000279043800008&link_type=ISI) 2. 2.Lebovic, D.I.; Mueller, M.D.; Taylor, R.N. Immunobiology of endometriosis. Fertil Steril 2001, 75, 1–10, doi:10.1016/s0015-0282(00)01630-7. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/S0015-0282(00)01630-7&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=11163805&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000166533700001&link_type=ISI) 3. 3.Morotti, M.; Vincent, K.; Brawn, J.; Zondervan, K.T.; Becker, C.M. Peripheral changes in endometriosis-associated pain. Human reproduction update 2014, 20, 717–736. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/humupd/dmu021&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=24859987&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 4. 4.Berkley, K.J.; Rapkin, A.J.; Papka, R.E. The pains of endometriosis. Science 2005, 308, 1587–1589, doi:10.1126/science.1111445. [Abstract/FREE Full Text](http://medrxiv.org/lookup/ijlink/YTozOntzOjQ6InBhdGgiO3M6MTQ6Ii9sb29rdXAvaWpsaW5rIjtzOjU6InF1ZXJ5IjthOjQ6e3M6ODoibGlua1R5cGUiO3M6NDoiQUJTVCI7czoxMToiam91cm5hbENvZGUiO3M6Mzoic2NpIjtzOjU6InJlc2lkIjtzOjEzOiIzMDgvNTcyOC8xNTg3IjtzOjQ6ImF0b20iO3M6NTA6Ii9tZWRyeGl2L2Vhcmx5LzIwMjIvMDMvMjEvMjAyMi4wMy4yMC4yMjI3MjY1Ny5hdG9tIjt9czo4OiJmcmFnbWVudCI7czowOiIiO30=) 5. 5.Meuleman, C.; Vandenabeele, B.; Fieuws, S.; Spiessens, C.; Timmerman, D.; D’Hooghe, T. High prevalence of endometriosis in infertile women with normal ovulation and normospermic partners. Fertility and sterility 2009, 92, 68–74. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.fertnstert.2008.04.056&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=18684448&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000268061100009&link_type=ISI) 6. 6.Soliman, A.M.; Fuldeore, M.; Snabes, M.C. Factors associated with time to endometriosis diagnosis in the United States. Journal of women’s health 2017, 26, 788–797. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 7. 7.Agarwal, S.K.; Chapron, C.; Giudice, L.C.; Laufer, M.R.; Leyland, N.; Missmer, S.A.; Singh, S.S.; Taylor, H.S. Clinical diagnosis of endometriosis: a call to action. American journal of obstetrics and gynecology 2019, 220, 354.e351–354.e312. 8. 8.Denny, E.; H Mann, M.C. A clinical overview of endometriosis: a misunderstood disease. British journal of nursing 2007, 16, 1112–1116. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.12968/bjon.2007.16.18.27503&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=18073680&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 9. 9.Brosens, I.; Benagiano, G. Endometriosis, a modern syndrome. Indian J Med Res 2011, 133, 581–593. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=21727656&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 10. 10.Ghiasi, M.; Kulkarni, M.T.; Missmer, S.A. Is Endometriosis More Common and More Severe Than It Was 30 Years Ago? J Minim Invasive Gynecol 2020, 27, 452–461, doi:10.1016/j.jmig.2019.11.018. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jmig.2019.11.018&link_type=DOI) 11. 11.Hadfield, R.; Mardon, H.; Barlow, D.; Kennedy, S. Delay in the diagnosis of endometriosis: a survey of women from the USA and the UK. Human Reproduction 1996, 11, 878–880. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/humrep/&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=8671344&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1996UK10400048&link_type=ISI) 12. 12.Husby, G.K.; Haugen, R.S.; Moen, M.H. Diagnostic delay in women with pain and endometriosis. Acta obstetricia et gynecologica Scandinavica 2003, 82, 649–653. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1034/j.1600-0412.2003.00168.x&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=12790847&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000183374400010&link_type=ISI) 13. 13.Ballard, K.; Lowton, K.; Wright, J. What’s the delay? A qualitative study of women’s experiences of reaching a diagnosis of endometriosis. Fertility and sterility 2006, 86, 1296–1301. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.fertnstert.2006.04.054&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=17070183&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000241804100003&link_type=ISI) 14. 14.Nnoaham, K.E.; Hummelshoj, L.; Webster, P.; d’Hooghe, T.; de Cicco Nardone, F.; de Cicco Nardone, C.; Jenkinson, C.; Kennedy, S.H.; Zondervan, K.T.; World Endometriosis Research Foundation Global Study of Women’s Health, c. Impact of endometriosis on quality of life and work productivity: a multicenter study across ten countries. Fertil Steril 2011, 96, 366–373 e368, doi:10.1016/j.fertnstert.2011.05.090. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.fertnstert.2011.05.090&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=21718982&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 15. 15.Scioscia, M.; Virgilio, B.A.; Laganà, A.S.; Bernardini, T.; Fattizzi, N.; Neri, M.; Guerriero, S. Differential diagnosis of endometriosis by ultrasound: a rising challenge. Diagnostics 2020, 10, 848. 16. 16.Kiesel, L.; Sourouni, M. Diagnosis of endometriosis in the 21st century. Climacteric 2019, 22, 296–302, doi:10.1080/13697137.2019.1578743. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1080/13697137.2019.1578743&link_type=DOI) 17. 17.Parasar, P.; Ozcan, P.; Terry, K.L. Endometriosis: epidemiology, diagnosis and clinical management. Current obstetrics and gynecology reports 2017, 6, 34–41. 18. 18.Marinho, M.C.; Magalhaes, T.F.; Fernandes, L.F.C.; Augusto, K.L.; Brilhante, A.V.; Bezerra, L.R. Quality of life in women with endometriosis: an integrative review. Journal of Women’s Health 2018, 27, 399–408. 19. 19.Cramer, D.W.; Missmer, S.A. The epidemiology of endometriosis. Annals of the new york Academy of Sciences 2002, 955, 11–22. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/j.1749-6632.2002.tb02761.x&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=11949940&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000175883100002&link_type=ISI) 20. 20.Peterson, C.M.; Johnstone, E.B.; Hammoud, A.O.; Stanford, J.B.; Varner, M.W.; Kennedy, A.; Chen, Z.; Sun, L.; Fujimoto, V.Y.; Hediger, M.L.; et al. Risk factors associated with endometriosis: importance of study population for characterizing disease in the ENDO Study. Am J Obstet Gynecol 2013, 208, 451 e451–411, doi:10.1016/j.ajog.2013.02.040. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.ajog.2013.02.040&link_type=DOI) 21. 21.Chapron, C.; Lafay-Pillet, M.C.; Santulli, P.; Bourdon, M.; Maignien, C.; Gaudet-Chardonnet, A.; Maitrot-Mantelet, L.; Borghese, B.; Marcellin, L. A new validated screening method for endometriosis diagnosis based on patient questionnaires. EClinicalMedicine 2022, 44, 101263, doi:10.1016/j.eclinm.2021.101263. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.eclinm.2021.101263&link_type=DOI) 22. 22.Borghese, B.; Zondervan, K.T.; Abrao, M.S.; Chapron, C.; Vaiman, D. Recent insights on the genetics and epigenetics of endometriosis. Clin Genet 2017, 91, 254–264, doi:10.1111/cge.12897. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/cge.12897&link_type=DOI) 23. 23.Augoulea, A.; Alexandrou, A.; Creatsa, M.; Vrachnis, N.; Lambrinoudaki, I. Pathogenesis of endometriosis: the role of genetics, inflammation and oxidative stress. Archives of gynecology and obstetrics 2012, 286, 99–103. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s00404-012-2357-8&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=22546953&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 24. 24.Fung, J.N.; Rogers, P.A.; Montgomery, G.W. Identifying the biological basis of GWAS hits for endometriosis. Biology of Reproduction 2015, 92, 87, 81-12. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1095/biolreprod.114.126458&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=25695719&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 25. 25.Albertsen, H.M.; Ward, K. Genes linked to endometriosis by GWAS are integral to cytoskeleton regulation and suggests that mesothelial barrier homeostasis is a factor in the pathogenesis of endometriosis. Reproductive Sciences 2017, 24, 803–811. 26. 26.Sapkota, Y.; Steinthorsdottir, V.; Morris, A.P.; Fassbender, A.; Rahmioglu, N.; De Vivo, I.; Buring, J.E.; Zhang, F.; Edwards, T.L.; Jones, S.; et al. Meta-analysis identifies five novel loci associated with endometriosis highlighting key genes involved in hormone metabolism. Nat Commun 2017, 8, 15539, doi:10.1038/ncomms15539. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/ncomms15539&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=28537267&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 27. 27.Ahn, S.H.; Khalaj, K.; Young, S.L.; Lessey, B.A.; Koti, M.; Tayade, C. Immune-inflammation gene signatures in endometriosis patients. Fertility and sterility 2016, 106, 1420–1431. e1427. 28. 28.Saunders, P.T.K.; Horne, A.W. Endometriosis: Etiology, pathobiology, and therapeutic prospects. Cell 2021, 184, 2807–2824, doi:10.1016/j.cell.2021.04.041. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.cell.2021.04.041&link_type=DOI) 29. 29.Bycroft, C.; Freeman, C.; Petkova, D.; Band, G.; Elliott, L.T.; Sharp, K.; Motyer, A.; Vukcevic, D.; Delaneau, O.; O’Connell, J. The UK Biobank resource with deep phenotyping and genomic data. Nature 2018, 562, 203–209. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41586-018-0579-z&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=30305743&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 30. 30.Canela-Xandri, O.; Rawlik, K.; Tenesa, A. An atlas of genetic associations in UK Biobank. Nat Genet 2018, 50, 1593–1599, doi:10.1038/s41588-018-0248-z. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41588-018-0248-z&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=30349118&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 31. 31.Carvalho-Silva, D.; Pierleoni, A.; Pignatelli, M.; Ong, C.; Fumis, L.; Karamanis, N.; Carmona, M.; Faulconbridge, A.; Hercules, A.; McAuley, E. Open Targets Platform: new developments and updates two years on. Nucleic acids research 2019, 47, D1056–D1065. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/nar/gky1133&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 32. 32.Buniello, A.; MacArthur, J.A.L.; Cerezo, M.; Harris, L.W.; Hayhurst, J.; Malangone, C.; McMahon, A.; Morales, J.; Mountjoy, E.; Sollis, E. The NHGRI-EBI GWAS Catalog of published genome-wide association studies, targeted arrays and summary statistics 2019. Nucleic acids research 2019, 47, D1005–D1012. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/nar/gky1120&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=30445434&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 33. 33.Dorogush, A.V.; Ershov, V.; Gulin, A. CatBoost: gradient boosting with categorical features support. arXiv preprint arxiv:1810.11363 2018. 34. 34.Hancock, J.T.; Khoshgoftaar, T.M. CatBoost for big data: an interdisciplinary review. Journal of big data 2020, 7, 1–45. 35. 35.Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A.V.; Gulin, A. CatBoost: unbiased boosting with categorical features. Advances in neural information processing systems 2018, 31. 36. 36.Prive, F.; Aschard, H.; Carmi, S.; Folkersen, L.; Hoggart, C.; O’Reilly, P.F.; Vilhjalmsson, B.J. Portability of 245 polygenic scores when derived from the UK Biobank and applied to 9 ancestry groups from the same cohort. Am J Hum Genet 2022, 109, 12–23, doi:10.1016/j.ajhg.2021.11.008. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.ajhg.2021.11.008&link_type=DOI) 37. 37.Vercellini, P.; Fedele, L.; Aimi, G.; Pietropaolo, G.; Consonni, D.; Crosignani, P. Association between endometriosis stage, lesion type, patient characteristics and severity of pelvic pain symptoms: a multivariate analysis of over 1000 patients. Human reproduction 2007, 22, 266–271. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/humrep/del339&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=16936305&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000243065300036&link_type=ISI) 38. 38.Saunders, P.T.; Horne, A.W. Endometriosis: Etiology, pathobiology, and therapeutic prospects. Cell 2021, 184, 2807–2824. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.cell.2021.04.041&link_type=DOI) 39. 39.Tanbo, T.; Fedorcsak, P. Endometriosis-associated infertility: aspects of pathophysiological mechanisms and treatment options. Acta obstetricia et gynecologica Scandinavica 2017, 96, 659–667. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/aogs.13082&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=27998009&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 40. 40.Králíčková, M.; Laganà, A.S.; Ghezzi, F.; Vetvicka, V. Endometriosis and risk of ovarian cancer: what do we know? Archives of gynecology and obstetrics 2020, 301, 1–10. 41. 41.Heidemann, L.N.; Hartwell, D.; Heidemann, C.H.; Jochumsen, K.M. The relation between endometriosis and ovarian cancer - a review. Acta Obstet Gynecol Scand 2014, 93, 20–31, doi:10.1111/aogs.12255. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/aogs.12255&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=24011403&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 42. 42.Anastasiu, C.V.; Moga, M.A.; Elena Neculau, A.; Bălan, A.; Scârneciu, I.; Dragomir, R.M.; Dull, A.-M.; Chicea, L.-M. Biomarkers for the noninvasive diagnosis of endometriosis: state of the art and future perspectives. International Journal of Molecular Sciences 2020, 21, 1750. 43. 43.Fassbender, A.; Burney, R.O.; O, D.F.; D’Hooghe, T.; Giudice, L. Update on Biomarkers for the Detection of Endometriosis. Biomed Res Int 2015, 2015, 130854, doi:10.1155/2015/130854. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1155/2015/130854&link_type=DOI) 44. 44.Streuli, I.; Gaitzsch, H.; Wenger, J.M.; Petignat, P. Endometriosis after menopause: physiopathology and management of an uncommon condition. Climacteric 2017, 20, 138–143, doi:10.1080/13697137.2017.1284781. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1080/13697137.2017.1284781&link_type=DOI) 45. 45.Akter, S.; Xu, D.; Nagel, S.C.; Bromfield, J.J.; Pelch, K.E.; Wilshire, G.B.; Joshi, T. GenomeForest: An Ensemble Machine Learning Classifier for Endometriosis. AMIA Jt Summits Transl Sci Proc 2020, 2020, 33–42. 46. 46.Viganò, D.; Zara, F.; Usai, P. Irritable bowel syndrome and endometriosis: New insights for old diseases. Digestive and Liver Disease 2018, 50, 213–219. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.dld.2017.12.017&link_type=DOI) 47. 47.Chiaffarino, F.; Cipriani, S.; Ricci, E.; Mauri, P.A.; Esposito, G.; Barretta, M.; Vercellini, P.; Parazzini, F. Endometriosis and irritable bowel syndrome: a systematic review and meta-analysis. Arch Gynecol Obstet 2021, 303, 17–25, doi:10.1007/s00404-020-05797-8. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s00404-020-05797-8&link_type=DOI) 48. 48.Nilufer, R.; Karina, B.; Paraskevi, C.; Rebecca, D.; Genevieve, G.; Ayush, G.; Stuart, M.; Sally, M.; Yadav, S.; Andrew, S.J. Large-scale genome-wide association meta-analysis of endometriosis reveals 13 novel loci and genetically-associated comorbidity with other pain conditions. BioRxiv 2018, 406967. 49. 49.Bischoff, F.; Simpson, J.L. Genetics of endometriosis: heritability and candidate genes. Best practice & research Clinical obstetrics & gynaecology 2004, 18, 219–232. 50. 50.Nyholt, D.R.; Low, S.K.; Anderson, C.A.; Painter, J.N.; Uno, S.; Morris, A.P.; MacGregor, S.; Gordon, S.D.; Henders, A.K.; Martin, N.G.; et al. Genome-wide association meta-analysis identifies new endometriosis risk loci. Nat Genet 2012, 44, 1355–1359, doi:10.1038/ng.2445. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/ng.2445&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=23104006&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 51. 51.Lee, S.H.; Sapkota, Y.; Fung, J.; Montgomery, G.W. Genetic biomarkers for endometriosis. In Biomarkers for Endometriosis; Springer: 2017; pp. 83–93. 52. 52.Kloeve-Mogensen, K.; Rohde, P.D.; Twisttmann, S.; Nygaard, M.; Koldby, K.M.; Steffensen, R.; Dahl, C.M.; Rytter, D.; Overgaard, M.T.; Forman, A. Polygenic Risk Score Prediction for Endometriosis. Frontiers in Reproductive Health 2021, 3, 793226. 53. 53.Moldovan, A.; Waldman, Y.Y.; Brandes, N.; Linial, M. Body Mass Index and Birth Weight Improve Polygenic Risk Score for Type 2 Diabetes. J Pers Med 2021, 11, doi:10.3390/jpm11060582. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.3390/jpm11060582&link_type=DOI) 54. 54.Mowers, E.L.; Lim, C.S.; Skinner, B.; Mahnert, N.; Kamdar, N.; Morgan, D.M.; As-Sanie, S. Prevalence of endometriosis during abdominal or laparoscopic hysterectomy for chronic pelvic pain. Obstetrics & Gynecology 2016, 127, 1045–1053. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1097/AOG.0000000000001422&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=27159755&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2022%2F03%2F21%2F2022.03.20.22272657.atom) 55. 55.Visalaxi, S.; Punnoose, D.; Muthu, T.S. An analogy of endometriosis recognition using machine learning techniques. In Proceedings of the 2021 Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV), 2021; pp. 739–746. 56. 56.Bendifallah, S.; Puchar, A.; Suisse, S.; Delbos, L.; Poilblanc, M.; Descamps, P.; Golfier, F.; Touboul, C.; Dabi, Y.; Daraï, E. Machine learning algorithms as new screening approach for patients with endometriosis. Scientific Reports 2022, 12, 1–12.s