Dry Lab · Software

How close can a symptom questionnaire get to a diagnosis?

EndoLore began with diagnostic delay: endometriosis can go unrecognised for years, and a shorter path to appropriate care is why this project exists. In the Wet Lab we are working towards a saliva-based test built on an engineered biosensor circuit, still at proof-of-concept stage. In the Dry Lab we asked a parallel, more modest question: could a carefully designed questionnaire, interpreted with machine learning, identify symptom patterns that warrant further clinical assessment?

We designed the questionnaire on purpose, with patient associations, to describe the symptoms of people with and without a diagnosis. Applying machine learning to it was our own team's idea; the literature came afterwards, and we were glad to find studies of the same kind. This page follows the idea through six evolving questions, and offers the Python tools and analysis methods that other teams can adapt. Try the label-error simulator → The questionnaire and who answered →

Three lessons from our work
  1. Performance belongs to the data, not only to the model. The same symptom model can score very high on one dataset and much lower on another. A result describes a model and a dataset together.
  2. Who answered, and who the negative group is, matters. Earlier studies often concentrated on particular populations. A person labelled “no diagnosis” is not a confirmed negative, and who sits in that group changes what a score means.
  3. Machine learning is promising, as one part of a larger diagnostic effort. Symptoms carry real signal, in the published data and in ours. Our results and the published research support using them for triage alongside other evidence, not instead of it.
01The question

Could a questionnaire do more than record symptoms?

Endometriosis affects about one in ten women of reproductive age1, and it can go unrecognised for years: studies in several countries report average or median delays of roughly 7 to 10 years between first symptoms and diagnosis2,3,4,5, and a French multicentre study found a total delay of 12 years6. We wanted to understand whether something as accessible as patients' own accounts of their symptoms could help shorten that delay. The diagnostic challenge · Our Human Practices

The questionnaire was built with that purpose, and with patient associations. EndoEspoir Océan Indien, based on La Réunion, told us about its symptom-tracking booklet, developed with regional support to help patients record their symptoms and treatments7. ENDOMIND reviewed our questionnaire in detail, and its feedback showed how questions about periods, contraception or disease stage can miss important details of patients' lives. ENDOMIND, EndoAction and EndoEspoir Océan Indien then helped circulate it to their communities, which is why 647 people answered. We discuss these exchanges and the questionnaire revisions on our Human Practices page, and describe the questions themselves on the questionnaire page.

We first wanted to describe which symptoms people experience, including people without a diagnosis, and to consider how symptom information might complement a future molecular test. A symptom diary can help a patient talk to a clinician, but it does not establish whether that person has endometriosis. Clinical guidance sees a possible role for diaries and questionnaires while noting that there is currently no evidence that they shorten the time to diagnosis8.

Then we asked a further question: could machine learning find patterns in the answers and help identify people who should seek further clinical assessment? That idea was our own. Only afterwards did our literature search show that researchers had explored similar ideas, with encouraging results.

Literature digest and datasets

Published symptom-based models report AUCs between about 0.7 and 0.94. Much of the difference lies in the comparison group: women awaiting surgery, hospital patients, volunteers from the general population, or online respondents who report no diagnosis. These two blocks open to the studies we read, the datasets we tried to reach and the researchers we wrote to. The columns of the digest follow the patient-selection and reference-standard questions of QUADAS-2, the standard tool for judging diagnostic accuracy studies9.

Literature digest: symptom-based prediction studiesEight studies, with who the controls were and how each was validated
Table 1. Symptom or questionnaire based prediction studies we read. “Controls” means the comparison group the authors used. AUC is the area under the ROC curve; the C-index is its equivalent for the score used by Chapron et al.
StudyDesign and controlsReported performanceValidation
Nnoaham et al. 2012, WERF WHSS101,396 symptomatic women scheduled for a first laparoscopy, 19 hospitals, 13 countries, 25-item questionnaire. Controls: women without endometriosis at laparoscopy.AUC 0.68 for any stage; 0.85 for stage III/IVTwo phases: development, then validation
Fauconnier et al. 202111105 histology-confirmed cases and 197 controls from three groups (45 asymptomatic consultation attendees, 66 women with pain or infertility and no endometriosis, 86 population controls). 21 yes/no items.AUC 0.92 (95% CI 0.87–0.95)Internal only
Chapron et al. 2022122,527 patients at one Paris centre: 1,195 with histology-confirmed endometriosis, 1,332 with no lesions at surgery. Score from pre-operative questionnaires, including family history, infertility, BMI and pain scores.C-index 0.81 (internal), 0.73 (external, 308 patients)Internal and external
Goldstein and Cohen 202313886 respondents recruited through online groups: 474 reporting a diagnosis, 412 reporting none. Diagnoses are self-reported. The authors note that some respondents without a diagnosis may have undiagnosed endometriosis. 24-symptom AdaBoost model.AUC 0.94, sensitivity 0.93, specificity 0.9510-fold cross-validation only. A 2024 author correction exists14
Zieliński et al. 20231513,933 questionnaires, gradient-boosted trees (LightGBM) with feature selection, top 20 predictors.AUC 0.85 (training), 0.82 (test)Internal split only
Bendifallah et al. 20221616 clinical and patient-reported features. Training cohort: 1,126 participants with a diagnosis and 608 without; independent prospective validation cohort: 100 patients (87 diagnosed, 13 without). One predictor was history of surgery for endometriosis, which limits its use for people without a prior diagnosis.External validation AUC: 0.92 (random forest) and 0.93 (XGBoost); performance varied considerably by algorithm.Independent prospective cohort (n = 100), with a small comparison group (n = 13).
Verket et al. 201917157 respondents reporting surgically confirmed endometriosis, recruited via a patient association, and 156 Oslo residents without a known diagnosis, randomly invited from the population register. Simple adolescent-history questions.AUC 0.83 (two-factor logistic score) and 0.85 (four-factor LASSO score).Internal evaluation only; the authors explicitly call for independent external validation.
Mishra et al. 2026, SAFE score18Adolescent factors from an Australian longitudinal cohort. Training 4,005, internal test 1,335, external test 4,077 (an older birth cohort). Six risk factors.AUC 0.79, 0.79 and 0.71Internal and external

Three observations shaped our work. Published results depend on the comparison group and how a study is validated. An AUC obtained within one cohort cannot be assumed to hold in another, even when the algorithm is unchanged. Some screening studies use symptoms alone, while others include medical history, clinical findings or prior surgery. For these reasons, we documented recruitment, predictors and reference labels before choosing which model to reproduce.

Earlier iGEM teams

Other iGEM teams have explored both the molecular and computational sides of endometriosis. Rochester's 2020 UteRus project combined menstrual-effluent biomarker detection with a symptom-based machine-learning risk calculator24. GO Paris-Saclay's 2021 EndoSeek focused on blood miRNAs and CRISPR-based detection, alongside computational biomarker selection25. Earlier and later teams have also investigated genetic circuits, multiplexed RNA sensors and therapeutic approaches. We collected relevant projects from different years in a separate guide: Endometriosis at iGEM. Our own software concentrates on how questionnaire-based models behave when populations and diagnostic labels change.

Datasets and tools exploredPublished resources, routes to reuse and our research progress
Table 2. Datasets and tools relevant to a symptom-based model. Descriptions come from the publications and data pages we could read; access routes are those the authors state.
ResourceWhat it containsAccess route stated by the authorsStatus for EndoLore
EndoLore questionnaire647 self-reported questionnaires, including diagnosed respondents and people without a reported diagnosis.Collected by our team; only aggregated findings are shared publicly while the data-protection review continues.Analysed Explore the questionnaire
Goldstein and Cohen 202313,26886 responses, 58 yes/no symptom variables, self-reported diagnosisPublic repository; the paper says data are available on requestUsed We contacted the authors about our use
Reinhardt et al. 202527427 Australian respondents: 143 who answered yes to having been diagnosed and 284 “at-risk undiagnosed” defined by severe menstrual pelvic pain plus another symptomOpen Science Framework repository (view-only link in the paper)Analysed Independent secondary analyses of comparison-group definitions (Cycle 5).
WERF WHSS, Nnoaham et al.101,396 pre-menopausal women, laparoscopy-confirmed cases and laparoscopy-negative controls, 25-item questionnaireOxford-led research cohort; access to individual-level data requires institutional arrangements.In contact Research reuse discussed with the Oxford team. Integrated Human Practices.
Fauconnier et al. 202111105 cases, 197 controls in three subsets, 21-item questionnaireDEVA is an integrated clinical algorithm protected by a UVSQ patent. Its source records cannot be shared separately; algorithm use could be considered under an appropriate agreement.In contact Potential scientific collaboration and licensing discussed. Integrated Human Practices.
Chapron et al. 2022122,527 patients, histology-confirmed cases and surgically negative controlsOn reasonable request to the corresponding authorAuthor request Availability depends on the corresponding author.
Verket et al. 201917157 cases and 156 population controlsWithheld by the authors while analyses were ongoingNot yet released
Mishra et al. 2026 (GELLES)18Longitudinal cohort questionnaires and linked health dataContact the principal investigator; linked health data need ethics and custodian approvalOn request
Zieliński et al. 2023, code15Model code and notebooks. The questionnaire data are third-party and are not includedPublic code repository, BSD-3-Clause licenceCode only
Imaging, molecular and exposure datasetsPelvic MRI sets, endometrial gene-expression data, a cohort studying chemical exposuresPublic deposits or request-based repositoriesOut of scope They contain no questionnaire answers

What the researchers told us

We exchanged with researchers about the practical and scientific conditions for reusing their work. The Oxford researchers were welcoming and open to discussing data reuse. We reached out late in the iGEM season, however, and completing the necessary institutional data-sharing arrangements was not realistic within our timeline; no individual-level cohort data were transferred. Dr Fauconnier explained that the DEVA algorithm is covered by UVSQ intellectual-property rights, while opening the possibility of collaboration between a clinical score and a molecular biomarker. These discussions also informed how we think about external validation. Details of the exchanges are documented in Integrated Human Practices.

Could we make a symptom-based model work on our own questionnaire, and what would its results really mean?

02What we built

From our experiments to reusable tools

To answer our questions we built a modular Python workflow for preparing questionnaire data, comparing models and challenging their assumptions. Each investigation left behind scripts, documented decisions or evaluation methods that other teams can adapt. The table shows each component, where it appears on this page and where it stands.

Table 3. The software at a glance.
ComponentWhat it doesWhereStatus
Questionnaire processingA bilingual data dictionary and import scripts for seven questionnaire links, with recruitment-channel tracking, missing-value handling, 13 data checks (including a k-anonymity check) and resubmission detection.Data, QuestionnaireDone
Reproducible benchmarkReanalysis of the public Goldstein and Cohen data, with a nine-theme mapping to our questionnaire and a symptom-count baseline.Cycle 1Done
Label-error simulatorControlled changes to diagnostic labels (random, mild, atypical), separate tests of errors in training and in evaluation.Cycles 2 and 3Done
Interactive simulatorThe label-error experiment in your browser, on synthetic data: choose who is missed and where the wrong labels sit.Cycle 2Done
Ranking-stability auditRepeated resampling to test whether a list of top symptoms holds.Cycle 4Done
Cross-cohort evaluationApplies the fitted nine-theme model, without retraining, to 647 EndoLore responses, with comparisons across recruitment channels.Cycle 5Done
Alternative modelsAdaBoost, logistic regression, random forests and gradient boosting trained on our own answers.Cycle 6Done
Quick-start notebook and testsA notebook that runs the pipeline and a label-error experiment in about two minutes (Jupyter or Google Colab), and automated tests of the core functions.The codeDone

Directions for further work. Positive-unlabelled methods could help explore uncertain diagnostic status. Sharing individual-level questionnaire data would require additional data-protection checks; for now, the open materials include the code, variable definitions and synthetic examples.

Designing software that others can use

We wanted the analysis to be reproducible, adaptable and understandable beyond our own team. The table below brings together the choices that make this possible, from documented data formats to controlled experiments and a quick-start notebook.

Table 4. Practical design principles and where they are implemented in the pipeline.
AspectWhat our software doesWhere to check
Standards and data formatsThe data dictionary is a spreadsheet with controlled vocabularies, allowed values, three separate codes for missing answers and the role of each variable; the code reads it and hard-codes no variable name. Inputs and outputs are plain CSV, TSV and Excel. The variables cover the domains of the WERF EPHect standard questionnaires for endometriosis research (pain, menstrual and reproductive history, hormone use, medical history)28, so a mapping to EPHect is a natural next step. Code, dictionary and documentation are organised along FAIR lines29, and we report with the TRIPOD+AI30 and STARD31 items in mind.Data, The code
Validation by experimental workThree levels of validation. It reproduces a published result on the original data (AUC 0.977 with all questions; 0.94 published for 24). Its label-error experiments recover a truth known by construction, and we reran them for this page from the code, with the same result. And it was applied to a real questionnaire study of 647 people, designed and circulated with patient associations.Cycle 1, Cycle 2, Cycle 5
Useful to other projectsAny team that runs a questionnaire next to a diagnostic project can reuse the dictionary format, the data checks, the label-error simulator and the cross-cohort evaluation. Only the dictionary content is specific to endometriosis; the same questions arise for any condition with a long diagnostic delay or self-reported labels.Adapting it
Integration with external toolsBuilt on the scikit-learn estimator interface32: any scikit-learn classifier can be added to the model list and is then evaluated by the same cross-validation and label-error code. It reads Framaforms exports and Excel files, writes CSV tables that open in any spreadsheet or statistics package, and runs in Jupyter and Google Colab.The code
User-friendly, also for non-expertsThree entry points for three kinds of user: the interactive simulator on this page (nothing to install), a quick-start notebook (about two minutes), and the command line (one command, about a minute on synthetic data). Variables are defined in a spreadsheet, so a team can adapt the questionnaire without touching Python.Simulator, How to run it
Written and documented for future groupsA README with installation, running and a table that maps each wiki result to its script; an architecture diagram (Figure 1); a module map; docstrings that explain the reasoning behind each experiment; pinned dependencies and automated tests.The code
Aid to the wet-lab projectThe software defines what the saliva test must achieve to add value: separate endometriosis from other causes among people who already have symptoms, and be evaluated against symptomatic controls recruited through the same routes.What it means

The model in one paragraph

We used the same family of method as the published study: AdaBoost, which combines fifty very simple yes or no rules (for example, “does she report pelvic pain?”) into one score between 0 and 133. We also ran logistic regression as a check. We chose simple methods on purpose: we have hundreds of answers, not millions, and we need to see what each symptom contributes. The score is read as a level of concern and a yes or no above a chosen cut-off, for research only.

Human Practices · QuestionnaireExplore the questionnaireWho answered, what the responses revealed about daily life and symptoms, and how feedback from patient associations shaped our next questions.
The analysis pipelineQuestionnaire answers flow from seven links through ingestion, validation and encoding into the analyses; the public dataset feeds the analyses directly.Seven linksone per channel,French andEnglishIngestion7 form versions,anonymous IDs,no names ore-mail addressesValidation13 checks,duplicate filter,printed reportEncodingcut-points fixedbefore any resultwas seenAnalysesreplication,simulations,transport,retrained modelsPublic dataset (Goldstein & Cohen, 2023)886 respondents, 58 yes/no symptom itemsEvery step writes CSVtables and a log, so anynumber can be re-run.
Figure 1. How the answers travel. Each recruitment channel had its own questionnaire link. The answers are read, checked, and turned into the same nine symptom themes as the published data, with rules written down before we looked at any result. Every step saves its results, so any number on this page can be produced again.
03Data

Where the data comes from

Published data. The answers released with the study of Goldstein and Cohen: 886 people, 474 reporting a diagnosis and 412 reporting none, and 58 yes or no symptom variables in the public repository13,26. We used the repository the authors made public. The paper states that data are available on request, and we contacted the authors about our use. The diagnoses in this dataset are self-reported: no laparoscopy or imaging results are available for it, which is also true of our own questionnaire.

Our own data. 647 answers received between 3 July and 10 October 2026, after removing 6 test submissions and 8 duplicates: 242 people reporting a diagnosis and 405 reporting none. The questionnaire went out through seven separate links, so we know how each answer reached us: friends and family, an English-language link, student groups on social media, three patient associations, which helped circulate it, and the very first link, shared widely before each route had its own link. Who answered →

Ethics note: releasing the data

Why the individual responses are not in the repository yet

Our questionnaire contains sensitive health information. Removing names does not make a record anonymous when combinations of answers are rare: a person can be recognisable from a few of them34,35. We therefore treat release as a step that needs care, not as a formality.

  • A first exploratory privacy check showed that some questionnaire response combinations are uncommon. Combining categories and removing recruitment-channel detail may help, but de-identification requires further evaluation.
  • A data-protection review is in progress. No individual-level health responses are published or promised for public release.
  • We will keep the associations involved in dissemination informed about any future proposal to share a de-identified extract.

Researchers who want to discuss a de-identified extract can contact the team at univ.lorraine.igem@gmail.com (iGEM UL Team).

What each cohort taught us

We explored several established endometriosis cohorts and discussed data reuse with their researchers (see the literature and data-access digest). This highlighted different routes to collaboration: some datasets require institutional transfer agreements, some tools have intellectual-property restrictions, and other discussions are still open. Meanwhile, we moved the research forward using the available published questionnaire data and our independently recruited EndoLore cohort. We built a reusable workflow to harmonise symptom questions, examine how recruitment and diagnostic labels influence results, and make future cross-cohort comparisons easier when additional data become available.

Table 5. The data sources we worked with, and where each enters the design-build-test-learn cycles.
SourceWhat it gave usWhere it enters
Goldstein and Cohen data (public)A symptom-only dataset with a known diagnosis label, in which a model can be rebuilt and labels can be changed under control.Cycles 1, 2, 3, 4
EndoLore questionnaire, 647 answersA second population, reached through known channels, to test the model without retraining.Cycles 5 and 6
Researchers and associationsThe definition of controls, the sampling and the ethics conditions that a future cohort must meet.The negative label, Cycle 5

Making two questionnaires comparable

The published questionnaire and ours ask different questions, with different answer scales, so a model fitted on one cannot simply be applied to the other. We treated this as a measurement problem and went through it as a design-build-test-learn cycle of its own.

D

Find the symptoms that both instruments measure, and a rule for each that turns our graded answers into the published yes or no. All cut-points were fixed before any result was seen.

B

Nine shared symptom themes: period pain, pelvic pain, pain during sex, painful bowel movements, digestive or urinary symptoms that follow the cycle, heavy periods, long periods, irregular cycles and infertility. Our questionnaire grades pain as none, mild, moderate or severe, while the published one asks yes or no, so moderate or severe counts as yes. The 22 model inputs come from our 25 dictionary questions, minus the group label, the disease stage and the diagnostic delay, which would leak the answer.

T

We recomputed our main results under two other, equally reasonable sets of rules. They changed the AUC against everyone without a diagnosis only between 0.69 and 0.72 (see Limits).

L

The mapping is a source of uncertainty, but a small one next to the others. Using nine themes instead of all 58 questions costs the published model about 0.03 AUC (Table 7), which we judged an acceptable price for being able to compare at all.

The nine shared themes and their rulesWhich published variable group, which of our questions, and where “yes” starts
Table 6. The nine shared themes. The “yes” rule is applied to our graded or yes/no answer; the published data records yes or no.
ThemePublished itemOur question“Yes” when
Period painMenstrual pain (dysmenorrhea)DysmenorrhéeModerate or severe
Pelvic painPelvic painDouleur pelvienneModerate or severe
Pain during sexPainful or burning pain during sexDyspareunieYes
Painful bowel movementsPainful bowel movementsDyschésieYes
Digestive or urinaryDigestive or GI problemsSymptômes cycliquesYes
Heavy periodsHeavy or extreme menstrual bleedingAbondance des règlesHeavy
Long periodsLong menstruationDurée des règlesMore than 7 days
Irregular cyclesIrregular or missed periodsRégularité du cycleIrregular
InfertilityInfertilityInfertilitéYes

Our first benchmark

We first checked how much performance is lost when the published symptom set is reduced to the nine themes our questionnaire can measure. We then evaluated the transported model on our own respondents. The comparison below sets up the questions explored in the six cycles.

How to read our results: a short glossaryAUC, sensitivity and specificity, labels, cut-off, contamination, transport
AUC: how well does the model rank people?
An AUC of 0.70 means that, when we take one respondent labelled positive and one labelled negative at random, the model ranks the positive respondent higher about 70% of the time, counting ties as half36. AUC measures ranking, not the percentage of correct diagnoses. A random ranking has an expected AUC of 0.50. In the tables, “AUC” always refers to this quantity; the model's own output is called its score.
AUC=P(s(X+)>s(X−))+12P(s(X+)=s(X−))
Cut-off, sensitivity and specificity
The cut-off is the score above which the model says “yes”. Sensitivity is the proportion of labelled positives flagged by the model. Specificity is the proportion of labelled negatives not flagged. Both depend on the cut-off; AUC does not.
Sensitivity=TPTP+FNSpecificity=TNTN+FP
Positive and negative labels
In our questionnaire, positive means the respondent reported an endometriosis diagnosis; negative means they reported none. We call the second group “people without a diagnosis”, not “controls”, because nobody verified it. Neither label was clinically verified by our team, and no reported diagnosis is not proof that endometriosis is absent (next section).
Contamination
People who have the disease but sit in the negative group. In our experiments we create it on purpose by moving some positives into the negative group, so that we know the truth. It is a controlled simulation, not evidence about how many real respondents are affected.
Cross-validation versus transport
In cross-validation, each prediction is made for a held-out part of the same dataset, using a model trained on the rest. In transport, a model fitted on one dataset is applied without retraining to another. Neither is independent clinical validation37.
Harmonisation
Turning the answers of two different questionnaires into the same variables, with written rules, so that one model can be applied to both.
95% confidence interval
For selected comparisons we use resampling to estimate uncertainty. A 95% interval describes the procedure, not a 95% probability that this interval contains the true value, and it does not correct for recruitment bias or uncertain labels.
Table 7. The nine-theme model, from the published data to ours. The yes or no cut-off is the one set on the published data.
Data and comparisonAUCSensitivitySpecificity
Published data, all 58 questions0.9770.9240.910
Published data, the 9 shared themes0.9480.8830.860
Our 647 answers0.65–0.700.9550.180
Our data, both groups from the same channels0.700.7730.408

Our data: 242 people reporting a diagnosis and 405 reporting none; the last row compares 22 with 169. The range depends on how unanswered questions are counted.

Read the third row like this: the model flags almost every person with a reported diagnosis (sensitivity 0.955), but also 82% of the people without one (specificity 0.180). The drop from 0.948 to 0.65–0.70 is the real subject of this work. Where it comes from →

04The negative label

What does a “negative” label mean?

A model learns from labels, and a label is a claim about a person. In our data, “positive” means that a respondent reports a diagnosis. “Negative” can mean three different things, and they are easy to confuse:

  1. The disease was looked for and excluded. This needs a reference test applied to everyone, which is rarely possible in practice.
  2. The person has no diagnosis. This is a statement about a record, not about a body. It is what a questionnaire can actually collect.
  3. The person has no diagnosis yet. For endometriosis this is a real category: with delays of several years between first symptoms and diagnosis2,4, a respondent without a diagnosis today may be diagnosed tomorrow.

Even the first reading is less firm than it looks. Surgery is no longer the only route to a diagnosis: current guidance recommends imaging first, notes that a negative imaging result does not exclude endometriosis, and reserves laparoscopy for selected situations8. And women who undergo surgery are already a selected, symptomatic group, so studies that use laparoscopy-negative controls compare patients with a different and harder group than studies that use volunteers from the general population. This spectrum effect is one reason why accuracy depends on the design as well as on the test19,20,21,38.

The disease is also found where nobody looked for it. When women without symptoms have surgery for another reason, such as tubal sterilisation, endometriosis is found in a notable share of them: 11.8% of 465 women in one prospective series, and between 1.4% and 43.3% across earlier reports39. A group defined only by the absence of a diagnosis is therefore expected to contain some people with the disease. Diagnostic research has developed methods for exactly this situation, when the reference standard is imperfect or missing, such as composite reference standards or correction of accuracy estimates40.

In machine-learning terms, our situation is not the standard “positive versus negative” problem. When only the positives are reliably labelled and the rest is a mixture, the problem is called positive-unlabelled learning, and the negatives are better described as unlabelled41. Standard results for this setting assume that the labelled positives are a random sample of all positives42. That assumption is unlikely to hold for us: who gets a diagnosis depends on access to care, on symptom severity and on who knows whom, so the diagnosed are not a random draw from everyone with the disease. More generally, label errors that depend on the person, such as the missed diagnoses of people with milder or atypical symptoms, are harder to handle than errors made at random43.

Philosophically, then, a negative label is a fact about a diagnostic process, not a fact about the person. A model trained on it learns to predict who is diagnosed, and, in an online survey, who was reached, at least as much as who has the disease. We therefore do three things in this work. We say “people without a diagnosis” instead of “controls”. We create label errors on purpose, to measure what they do (Cycle 2). And we compare groups that came through the same channels (Cycle 5), instead of treating any negative group as interchangeable.

05Six cycles

Beyond the AUC: Six Steps Toward a Better Understanding

Our work developed across six investigations. We first rebuilt the published model, then deliberately changed recorded labels to observe the effect of known errors. We then examined the stability of symptom rankings, applied the model to our questionnaire cohort, and compared alternative approaches. The controlled experiments show what label errors can do; they cannot tell us which respondents in either real dataset have endometriosis.

The six analyses followed an iterative pattern: formulate a question, implement the experiment, examine the result and refine the next question. We use D, B, T and L in the margins to show this process, consistent with the Design–Build–Test–Learn structure of our Engineering work. The cycles document both the findings and the decisions they prompted.

The six cycles of the Dry LabSix design-build-test-learn cycles arranged in a ring around the starting question; the lesson of each cycle sets the question of the next, and the last one returns to the start.back to the questionWhat happens to arisk model when its“no” labelscannot be trusted?the starting questionCYCLE 1Can we rebuild it?→ It mostly counts symptomsCycle 1: Can we rebuild it?. What we learned: It mostly counts symptoms.CYCLE 2Do errors show?→ Realistic errors hideCycle 2: Do errors show?. What we learned: Realistic errors hide.CYCLE 3Training or scoring?→ The two effects offsetCycle 3: Training or scoring?. What we learned: The two effects offset.CYCLE 4Do top lists hold?→ Top-10 lists do not holdCycle 4: Do top lists hold?. What we learned: Top-10 lists do not hold.CYCLE 5Does it travel?→ The “no” group decidesCycle 5: Does it travel?. What we learned: The “no” group decides.CYCLE 6A different approach?→ The data is the hard partCycle 6: A different approach?. What we learned: The data is the hard part.
Figure 2. The six cycles. Each one starts from what the previous one taught us; the last one brings us back to the starting question, and to why EndoLore needs a test of a different kind.
06Cycle 1

Can we rebuild the published model?

In shortBefore questioning a model, we checked that we can rebuild it on its own data and get the same score.

D

Which published study should we start from? We chose Goldstein and Cohen13 because it is the closest match to our own setting: a symptom-only questionnaire, self-reported diagnoses, online recruitment, a simple model, and data that is public. The studies that use surgically confirmed controls are not openly available (see the digest). The first step was to run the model on the authors' own data, to be sure our implementation works before taking it anywhere else. Only then did we ask how much of the result survives when the model uses only the nine themes our own questionnaire also asks about.

B

The published method on all 58 questions, then on the nine shared themes, each time tested on people the model had not seen (cross-validation). As a yardstick, a score with no model at all: just count how many symptoms each person ticked.

T

Reducing the questionnaire did not remove all predictive signal in the source cohort. With all 58 published symptom variables, the reconstructed model reached AUC 0.977. Using only the nine symptom themes shared with our questionnaire, it reached 0.948. A much simpler baseline, the total number of symptoms reported, reached 0.905. In a check against 50 randomly chosen nine-question sets, our predefined themes outperformed 49. All these comparisons are on the original cohort: they indicate that nine themes capture much of its signal, not that they will perform equally well in another population.

L

The rebuild works, so the model we carry forward is a faithful copy. Reducing the questions to nine themes costs about 0.03 AUC, which does not spoil the performance. Most of what the model does is count symptoms. We also noted what the study cannot tell us: it says where its patients were found, but not who the people without a diagnosis are, and the authors themselves note that some may have undiagnosed endometriosis13. The diagnoses are self-reported, since no laparoscopy data are available.

Replication on the public datasetAUC of three scores on the public dataset: 0.977, 0.948 and 0.905.0.50.60.70.80.91.0Model using all 58 questionsAdaBoost, 58 items, 5-fold cross-validation: AUC 0.9770.977Model using the 9 themes we sharethe model we later reuseAdaBoost, 9 shared themes: AUC 0.9480.948No model: just count the symptoms tickedNumber of symptoms ticked, used directly as a score: AUC 0.9050.9050.94 reported in the original study (24 items)score out of 1 (AUC): 0.5 = coin toss, 1 = always right
Figure 3. AUC on the published data. Counting symptoms, with no model at all, already reaches 0.905. The dashed line is the 0.94 the original study reports for its own 24-question model.

One number from the published data will matter later: only 5% of the people without a diagnosis said they had period pain13.

07Cycle 2

Do hidden label errors show in the usual numbers?

In shortWe wrongly moved some patients into the “no diagnosis” group, the way a missed diagnosis would, and watched whether the usual AUC notices.

D

In the published data we know who reports a diagnosis. If we move some of them into the “no” group ourselves, we create the problem where we can measure it, because we know exactly which labels are wrong. We expected realistic errors to be harder to spot than random ones.

B

Three experiments. First, synthetic data in which the truth is known by construction (100 repeats per level). Second, the published data with cases chosen at random (100 draws per level). Third, the published data with three ways of choosing whom to move, from 0 to 40% of patients: anyone at random, the patients with the mildest symptoms, and atypical patients (symptoms in other organs but little period pain), 12 repeats each. Because we made the errors ourselves, we can compute two AUC values: the one a researcher would see, checked against the changed labels, and the real one, checked against the original labels.

T

With 40% of patients moved at random, the AUC a researcher sees drops by 0.160, while the real AUC drops by only 0.015. With the mildest patients moved, it is the opposite: the visible AUC moves by 0.012, while the real AUC drops by 0.046.

L

The number a researcher sees and the real damage can move in opposite directions. But we could not yet tell how much of the change came from the model itself and how much from the way it was being scored. That became Cycle 3.

Why we change labels on purpose

Whether some “no diagnosis” respondents really have endometriosis cannot be settled from questionnaire answers: that is the whole problem. A simulation cannot settle it either, and we make no claim that any real respondent is affected. What a simulation can do is show what each size and kind of label error would do to the numbers a study reports, so that a reader knows how much a stable or an unstable score can be trusted. It is a controlled experiment on the method, in the spirit of studies of label noise43, not a measurement of the patients.

Observed and true AUC, synthetic dataAUC against the changed labels and against the true labels as cases are moved into the control group.0.700.740.780.820.860.900%5%10%20%30%40%share of cases moved into the control groupobserved AUC at 0%: 0.85observed AUC at 5%: 0.84observed AUC at 10%: 0.82observed AUC at 20%: 0.80observed AUC at 30%: 0.78observed AUC at 40%: 0.76observed AUCtrue AUC at 0%: 0.85true AUC at 5%: 0.85true AUC at 10%: 0.85true AUC at 20%: 0.85true AUC at 30%: 0.84true AUC at 40%: 0.84true AUCSensitivity against the truth, synthetic dataSensitivity at a fixed 0.50 cut-off and at a recalibrated cut-off.0.500.560.620.680.740.800%5%10%20%30%40%share of cases moved into the control groupfixed 0.50 cut-off at 0%: 0.76fixed 0.50 cut-off at 5%: 0.75fixed 0.50 cut-off at 10%: 0.73fixed 0.50 cut-off at 20%: 0.70fixed 0.50 cut-off at 30%: 0.66fixed 0.50 cut-off at 40%: 0.60fixed 0.50 cut-offrecalibrated cut-off at 0%: 0.73recalibrated cut-off at 5%: 0.73recalibrated cut-off at 10%: 0.73recalibrated cut-off at 20%: 0.73recalibrated cut-off at 30%: 0.72recalibrated cut-off at 40%: 0.72recalibrated cut-off
Figure 4. Random label errors on synthetic data, where the truth is known by construction (10 datasets of 800 respondents × 10 draws = 100 repeats per level; the band is the 5th to 95th percentile). Left: the AUC a researcher would measure against the changed labels (amber) falls from 0.851 to 0.758, while the AUC against the true labels (violet) only falls to 0.836. Right: sensitivity at a fixed 0.50 cut-off falls from 0.76 to 0.60 and recovers when the cut-off is recalibrated (0.72). The ten most important variables keep 80% of their places. We reran this experiment from the code for this page and obtained the same values as the original run.
Three panels on the published data. Left: observed AUC falls from 0.977 to about 0.82 as up to 40 percent of cases are moved into the control group, while the AUC against the original labels stays above 0.96. Centre: at a 0.50 cut-off sensitivity falls from 0.91 to about 0.55 while specificity rises to about 0.99. Right: the share of the top ten symptoms retained falls to about half.
Figure 5. The same experiment on the published data (100 draws per level). Here the published diagnoses are used as the reference truth for the exercise, although they are self-reported: what matters is the comparison between the two curves, not their absolute values. The dotted line marks the 0.937 reported by the authors. At the fixed cut-off, sensitivity falls from 0.91 to about 0.55 while specificity rises to about 0.99. In the right panel, the retention of the top-10 symptoms is measured against the ranking obtained with unchanged labels.
Reported versus true AUC under three kinds of mislabellingThree panels. Random relabelling: reported AUC falls from 0.98 to 0.82 while the true AUC stays near 0.96. Mildest cases relabelled: reported AUC stays at 0.96 while the true AUC falls to 0.93. Atypical cases relabelled: reported AUC falls to 0.84, true AUC to 0.95.AUC a researcher would see (checked against the wrong labels)Real AUC (checked against the true labels)Random patients mislabelled0.800.850.900.951.000%10%20%30%40%Random patients mislabelled, 0% relabelled: reported AUC 0.977Random patients mislabelled, 5% relabelled: reported AUC 0.945Random patients mislabelled, 10% relabelled: reported AUC 0.921Random patients mislabelled, 20% relabelled: reported AUC 0.882Random patients mislabelled, 30% relabelled: reported AUC 0.849Random patients mislabelled, 40% relabelled: reported AUC 0.8170.82Random patients mislabelled, 0% relabelled: true AUC 0.977Random patients mislabelled, 5% relabelled: true AUC 0.971Random patients mislabelled, 10% relabelled: true AUC 0.969Random patients mislabelled, 20% relabelled: true AUC 0.967Random patients mislabelled, 30% relabelled: true AUC 0.965Random patients mislabelled, 40% relabelled: true AUC 0.9620.96Mildest patients mislabelled0%10%20%30%40%Mildest patients mislabelled, 0% relabelled: reported AUC 0.977Mildest patients mislabelled, 5% relabelled: reported AUC 0.970Mildest patients mislabelled, 10% relabelled: reported AUC 0.968Mildest patients mislabelled, 20% relabelled: reported AUC 0.967Mildest patients mislabelled, 30% relabelled: reported AUC 0.965Mildest patients mislabelled, 40% relabelled: reported AUC 0.9640.96Mildest patients mislabelled, 0% relabelled: true AUC 0.977Mildest patients mislabelled, 5% relabelled: true AUC 0.973Mildest patients mislabelled, 10% relabelled: true AUC 0.969Mildest patients mislabelled, 20% relabelled: true AUC 0.959Mildest patients mislabelled, 30% relabelled: true AUC 0.941Mildest patients mislabelled, 40% relabelled: true AUC 0.9300.93Atypical patients mislabelled0%10%20%30%40%Atypical patients mislabelled, 0% relabelled: reported AUC 0.977Atypical patients mislabelled, 5% relabelled: reported AUC 0.944Atypical patients mislabelled, 10% relabelled: reported AUC 0.924Atypical patients mislabelled, 20% relabelled: reported AUC 0.889Atypical patients mislabelled, 30% relabelled: reported AUC 0.860Atypical patients mislabelled, 40% relabelled: reported AUC 0.8400.84Atypical patients mislabelled, 0% relabelled: true AUC 0.977Atypical patients mislabelled, 5% relabelled: true AUC 0.969Atypical patients mislabelled, 10% relabelled: true AUC 0.967Atypical patients mislabelled, 20% relabelled: true AUC 0.963Atypical patients mislabelled, 30% relabelled: true AUC 0.959Atypical patients mislabelled, 40% relabelled: true AUC 0.9520.95share of patients wrongly labelled “no diagnosis”
Figure 6. Different kinds of label error in the published data (average of 12 repeats). Orange: the AUC a researcher would see. Violet: the real AUC. With random errors, the visible AUC looks much worse than reality. With the mildest patients moved, the visible AUC hardly moves while the real one falls. Hover over a point to see its value.

To decide who counts as “atypical”, we first grouped the 58 questions into themes such as pain, bleeding or digestion, before looking at any result. Letting the computer group the questions by itself does not work here: people who tick many boxes tick many boxes everywhere, so an automatic grouping mostly rediscovers who is diagnosed.

Try it yourself: the label-error simulator

Explore how recording a genuine case as “no diagnosis” changes the apparent performance of a model. Choose which types of cases are missed, whether the errors affect training or evaluation, and how many labels are changed. The chart is calculated live from synthetic data, while the tiles below let you inspect individual examples. The true status is visible only because the simulation creates it. In real questionnaire data, that information is generally unavailable.

Label-error simulator · synthetic data
Try a scenario
Who is missed
Where the wrong labels sit
Share of cases moved 30%
Reported AUC—
AUC using known synthetic truth—
Difference—
Watch individual labels changeClick a square to inspect an illustrative synthetic respondent. These 36 examples explain label changes; the curves come from separate 1,000-person simulations.
Reported caseCase recorded as no diagnosisNo disease

Select a tile to inspect the synthetic symptoms and labels.

The simulator illustrates the mechanism; its numbers are not those of the published data or of our cohort. Its code is in software-sim.js on this wiki, and the full experiments are in the repository.

Three patterns appear. When people are missed at random, the reported AUC falls although the model is barely affected: an alarm without damage. When the people with the fewest symptoms are missed, the reported AUC rises: the wrong labels flatter the model. When atypical people are missed, the model loses real accuracy while the reported AUC does not fall. In none of the three does the reported value tell you how clean the labels are.

08Cycle 3

Does the damage come from training or from scoring?

In shortWrong labels act twice: they teach the model wrongly, and they make the test wrong. We measured the two separately.

D

In Cycle 2 both effects happened at once. How much does the model really lose when it learns from wrong labels, and how much can wrong labels in the test hide?

B

We kept a group of people aside that the model never learned from, and compared four situations: wrong labels only while learning, only while scoring, in both, or in neither. Repeated on 25 random splits.

T

With the mildest patients moved at 40%: wrong labels in training alone lower the real AUC by 0.060, wrong labels in scoring alone change the measured AUC by 0.030, and when both happen at once, as in a real study, the visible loss is only 0.010. The two effects work against each other, so the reported number moves far less than the model's real loss.

L

A stable reported AUC is often read as a sign that the labels are clean. Our experiment shows it is not: when errors concentrate on mild or atypical patients, the reported AUC can stay almost unchanged while the model's real performance falls. The usual robustness check, changing labels at random, misses this because random errors are the easy kind to see.

A correction we made

While reviewing our own code we found that the cut-off above which the model says “yes” had been fixed using the share of patients before any label was changed. We corrected it and reran the analysis. One conclusion drawn from the earlier run turned into its opposite and was withdrawn. The corrected result is stronger: with realistic errors, the sensitivity a researcher sees shows only about a fifth of the real loss. All numbers on this page come from the corrected code.

Table 8. What changes when 40% of patients are moved into the “no” group, after the correction. Negative numbers are drops. “Seen” is what a researcher would measure; “real” is the truth.
Who is movedAUC, seenAUC, realSensitivity, seenSensitivity, real
Anyone at random−0.159−0.016−0.325−0.331
The mildest patients−0.009−0.053−0.068−0.327

A separate run (10 repeats of 5 test splits). The AUC changes agree with Figure 6 to within 0.01.

Label errors can affect predictions for people whose labels were never changed. After 20% of cases with few symptoms were moved into the comparison group, the model identified only 2% of the remaining mild cases, compared with 18% under an equally large random error. At 40% atypical-case relabelling, it identified 32% of the remaining atypical cases, versus 48% with random errors. The most striking result was that the reported AUC could improve while atypical-case detection worsened: in one comparison, AUC rose from 0.82 to 0.88 as the detected share of remaining atypical cases fell from 48% to 22%. These values come from controlled simulations using the published questionnaire, not from clinical follow-up.

09Cycle 4

Do published lists of “top symptoms” hold?

In shortStudies like this one publish a list of the most important symptoms. We checked whether such a list stays the same when the sample changes.

Why this matters. Papers in this field often report which symptoms the model relies on most, and clinicians or patients may read such a list as medical insight. But the list comes from importance values computed on one sample. If the ranking changes when the sample changes, it describes the sample as much as the disease. Instability of this kind is a known concern for feature selection44, and label errors can add to it43. We therefore asked whether the list in a published symptom study would survive a change of sample, and whether the errors of Cycles 2 and 3 would make it worse.

D

If realistic mistakes hide in the AUC, do they also hide in the published list of top symptoms?

B

We drew 30 different samples from the published data. Each time, we ranked the symptoms by importance and counted how many of the top 5, 10 and 20 kept their place in most samples, first with correct labels, then with errors. This is a simple retention count; a formal stability index could be added in a later version.

T

With correct labels, 5 symptoms of a top-10 list keep their place. With 40% of the mildest patients moved, only 1 does. And once you know how many symptoms a person ticks, knowing which ones adds little.

L

A list of top symptoms is fragile even when the labels are perfect, so it should be read as a description of one sample, not as a ranking of causes. With the simulations answering what they could, the next step was to stop simulating and test the model on our own data.

How many of a top-10 symptom list survive resamplingWith clean labels 5 of 10 symptoms keep their place; after 40% realistic relabelling, 1 of 10.Correct labelsCorrect labels: 5 of the top 10 symptoms keep their place across resamplings5 of 1040% of mildest patients mislabelled40% of mildest patients mislabelled: 1 of the top 10 symptoms keep their place across resamplings1 of 10
Figure 7. How many symptoms of a top-10 list keep their place across 30 different samples of the published data.
10Cycle 5

Does the model travel to our questionnaire?

In shortWe used the published model, unchanged, on the people who answered our questionnaire.

D

The question that matters for EndoLore: what happens when the model meets real people? We changed nothing in it, not even the cut-off, so the result says something about the model and not about our adjustments.

B

Seven questionnaire links, one per recruitment channel; answers turned into the nine themes with the rules written in advance; four ways of counting unanswered questions; three sets of rules for where “yes” starts.

T

Against everyone without a diagnosis: AUC 0.65–0.70. Against only those from our three non-patient-group channels: 0.85–0.91. But when both groups came through those same channels: about 0.7.

L

Who the “no” people are, and where they came from, decides the result more than the model does. Recruiting “no” examples outside patient communities fixes half of the problem. The other half: people with and without a diagnosis must reach the study through the same door.

First look

Compared against all 405 people without a diagnosis, the model reaches an AUC of 0.65–0.70, depending on how unanswered questions are counted. It flags 82% of them as at risk.

People without a diagnosis report many symptoms

In the published data, people without a diagnosis report on average 0.78 of the nine symptom themes. Ours report 4.06. Split by channel, those who came through friends and family, the English link and student groups report about 2. Those who came through patient associations and through the untracked first link report about 5.4: more than the diagnosed patients of the published data (4.92).

Symptom themes reported by people without a diagnosisMean number of the nine shared themes reported positive by people without a diagnosis, per link.0123456789Public datasetnot diagnosed, n = 412Public dataset, not diagnosed: 0.78 of 9 themes0.78Friends and family linkn = 77Friends and family link, no diagnosis: 1.861.86English-language linkn = 25English-language link, no diagnosis: 2.442.44Student social-media linkn = 67Student social-media link, no diagnosis: 2.432.43Patient-association linksn = 152Patient-association links, controls: 5.325.32Original link, sharing not trackedn = 84Original untracked link, no diagnosis: 5.585.58diagnosed, public data 4.92diagnosed, our data 5.67average number of the 9 symptom themes reported (0 to 9)
Figure 8. Average number of the nine symptom themes reported by people without a diagnosis, by channel. Gray: published data. Violet: our three channels that do not go through endometriosis patient groups. Orange: channels that do. The dashed lines show people with a diagnosis, for comparison.

Period pain shows it best. Period pain is common: studies report it in 16% to 91% of women of reproductive age45. The 5% in the published data is the unusual number. Among our respondents without a diagnosis, 66% of those from our three other channels report moderate or severe period pain, and 96% of those from patient groups, almost as many as the people reporting a diagnosis (93%).

Share reporting menstrual painPublic dataset 5% of undiagnosed and 76% of diagnosed; ours 66% of undiagnosed on non-community links, 96% on community links, 93% of diagnosed.0%25%50%75%100%Public datasetnot diagnosedPublic dataset, not diagnosed: 5% tick menstrual pain5%Public datasetdiagnosedPublic dataset, diagnosed: 76%76%Our three non-community linksnot diagnosed, n = 169Our three non-community links, not diagnosed: 111 of 16966%Our community linksnot diagnosed, n = 236Our community links, not diagnosed: 226 of 23696%All our linksdiagnosed, n = 242Our diagnosed respondents: 224 of 24293%share reporting menstrual pain (ours: moderate or severe)
Figure 9. Share of people who report period pain. The published questionnaire asks yes or no about the past month; ours asks how strong the pain is, and we count moderate or severe. The two are not measured in exactly the same way, but the gap is far too large to come from that alone.

The full distribution makes the overlap visible. People without a diagnosis who reached us through patient communities report almost exactly as many symptom themes as people with a diagnosis; those reached through other routes report far fewer.

How many symptom themes people reportDistribution of the number of the nine shared symptom themes reported, for people with a diagnosis and for people without one by recruitment route.0123456789number of the nine symptom themes reportedReport a diagnosisn = 242, mean 5.7Report a diagnosis: 0 themes, 0% (<5)Report a diagnosis: 1 themes, 3% (7)3%Report a diagnosis: 2 themes, 3% (7)3%Report a diagnosis: 3 themes, 6% (15)6%Report a diagnosis: 4 themes, 9% (21)9%Report a diagnosis: 5 themes, 21% (50)21%Report a diagnosis: 6 themes, 26% (64)26%Report a diagnosis: 7 themes, 17% (40)17%Report a diagnosis: 8 themes, 10% (25)10%Report a diagnosis: 9 themes, 5% (12)5%No diagnosis,reached via patient communitiesn = 236, mean 5.4No diagnosis, reached via patient communities: 0 themes, 0% (0)No diagnosis, reached via patient communities: 1 themes, 1% (<5)1%No diagnosis, reached via patient communities: 2 themes, 4% (10)4%No diagnosis, reached via patient communities: 3 themes, 8% (18)8%No diagnosis, reached via patient communities: 4 themes, 16% (37)16%No diagnosis, reached via patient communities: 5 themes, 21% (49)21%No diagnosis, reached via patient communities: 6 themes, 22% (53)22%No diagnosis, reached via patient communities: 7 themes, 18% (42)18%No diagnosis, reached via patient communities: 8 themes, 8% (20)8%No diagnosis, reached via patient communities: 9 themes, 2% (<5)2%No diagnosis,reached via other routesn = 169, mean 2.2No diagnosis, reached via other routes: 0 themes, 17% (29)17%No diagnosis, reached via other routes: 1 themes, 19% (32)19%No diagnosis, reached via other routes: 2 themes, 25% (43)25%No diagnosis, reached via other routes: 3 themes, 18% (30)18%No diagnosis, reached via other routes: 4 themes, 13% (22)13%No diagnosis, reached via other routes: 5 themes, 5% (8)5%No diagnosis, reached via other routes: 6 themes, 2% (<5)2%No diagnosis, reached via other routes: 7 themes, 1% (<5)No diagnosis, reached via other routes: 8 themes, 0% (0)No diagnosis, reached via other routes: 9 themes, 0% (0)
Figure 10. How many of the nine shared symptom themes each person reports in our questionnaire. Bars are shares of each group; the dashed line is the mean. More on the questionnaire page.

Two clues that have nothing to do with the model point at the same people. 78 people without a diagnosis report both severe period pain and severe pelvic pain, a check we had written in advance. 69 give a specific waiting time for a diagnosis (for example “more than 10 years”), even though they have none; the question was shown to everyone, so some may have read it as the time since their symptoms began. Only 22 people show both clues. Taken together, about 45% of the people without a diagnosis who reached us through patient groups, and about 12% of those from our other channels, look like patients on at least one of the two clues. A clue is not a diagnosis, and we do not claim that any of these respondents has endometriosis. But the clues show that the situation this project set out to study is present in our own data: people with symptoms, not diagnosed.

A comparison we had to redo

To see which channels gave usable “no” examples, we first compared, channel by channel, people with and without a diagnosis. The English link had only three patients at the time, so its comparison was meaningless, and we wrongly ranked it worst. Looking only at the people without a diagnosis showed it was in fact our second channel outside patient communities.

Recruitment channels, and a design bias

Using only the people without a diagnosis from our three other channels, the AUC rises to 0.85–0.91. People who answered after we chose those channels reach the same value (0.90), so the choice was not tailored to the data.

Why 0.91 was a warning

0.91 looked like success, and it is almost the published value. That should have been the warning. Most of our patients came through community links (220 of 242) and report 5.9 themes on average; the 22 patients from our other channels report 3.5. So the comparison partly measured which door people came through, not only whether they are ill. Studies that recruit patients and non-patients in different places are known to overestimate how well a test works19,20,21, and the published study has the same structure. Medical imaging offers a well-known parallel: a pneumonia model could identify which hospital system a radiograph came from almost perfectly, and its performance fell at an external site46.

The fair test compares people with and without a diagnosis who came through the same channels: 22 against 169. The AUC is about 0.7, with a 95% interval of 0.58–0.81. Few patients and a wide interval, small by the standards of sample-size guidance for prediction models47, but it lands where the first look did.

How well the carried-over model separates diagnosed from undiagnosedAUC with 95% intervals for five comparisons: everyone without a diagnosis, community links, the three other links, the same after the selection date, and the same-channel comparison.0.50.60.70.80.91.0public data 0.9480.5 = coin tossEveryone without a diagnosis242 with a diagnosis, 405 withoutEveryone without a diagnosis (242 with a diagnosis, 405 without): AUC 0.704, 95% interval 0.662–0.744; 0.653–0.704 across ways of handling missing answers0.65–0.70Only those from community links242 with, 236 withoutOnly those from community links (242 with, 236 without): AUC 0.558, 95% interval 0.506–0.6100.56Only those from our three other links242 with, 169 withoutOnly those from our three other links (242 with, 169 without): AUC 0.907, 95% interval 0.877–0.935; 0.847–0.907 across ways of handling missing answers0.85–0.91Same, only those who answered later242 with, 139 without, answered after we chose the linksSame, only those who answered later (242 with, 139 without, answered after we chose the links): AUC 0.904, 95% interval 0.871–0.9330.90Both groups from the same three links22 with, 169 withoutBoth groups from the same three links (22 with, 169 without): AUC 0.700, 95% interval 0.576–0.8140.70missing answers counted as “no”95% intervalrange over four ways of handling missing answers
Figure 11. The published model on our data, depending on which people without a diagnosis it is compared with. Dot: the main result. Thin line: 95% interval. Light bar: range over four ways of counting unanswered questions. Dashed line: the same model on its own data.
Table 9. The published model on our data, with its original cut-off.
Compared with people without a diagnosis…With / withoutAUC [95% interval]Specificity
All of them242 / 4050.65–0.70 (main 0.70 [0.66–0.74])0.18
From patient groups242 / 2360.56 [0.51–0.61]0.02
From our three other channels242 / 1690.85–0.91 (main 0.91 [0.88–0.93])0.41
Same, answered after the channels were chosen242 / 1390.90 [0.87–0.93]0.40
Both groups from the same channels22 / 1690.70 [0.58–0.81]0.41
For reference: the published data474 / 4120.9480.86

The cut-off did not travel well either, a form of dataset shift48: with the original cut-off, the model correctly leaves alone only 41% of the people without a diagnosis from our three other channels, against 86% on its own data. Most false alarms come from period pain: the model flags 81% of the people who report it, and 17% of those who do not. Using a model across populations calls for checking calibration, not only ranking49. Recalibrating a cut-off for a new population is a standard update, and it improves calibration but not the ranking itself50, which is what we see in the synthetic experiment of Figure 4. External validation often reveals weaker performance than expected: a widely implemented proprietary sepsis model reached an AUC of 0.63 in an independent cohort of 38,455 hospitalisations51.

Another cohort, another definition of “without a diagnosis”

We also explored the open Australian survey dataset published by Reinhardt et al. (2025). It includes six questions about pain and related symptoms, along with self-reported diagnostic status. The authors' original grouping contains 143 diagnosed respondents and 284 symptomatically at-risk respondents without a confirmed self-report of diagnosis; we reproduced their selection using the published R code.

Experiment 1: keep the score, change only the comparison group. We calculated the unweighted mean frequency of six symptoms. Among 471 respondents with a clear yes/no answer and complete symptom items, the score separated 143 reporting a diagnosis from 328 reporting none with AUC 0.809 (95% bootstrap CI 0.762–0.849). Restricting the comparison to 253 highly symptomatic respondents reduced it to AUC 0.761 (0.707–0.812). This change arose without fitting or changing a model.

Experiment 2: what happens to uncertain labels? Adding 31 symptomatically at-risk respondents who answered “I don't know” to the comparison group reduced AUC further, to 0.749 (0.696–0.796). As an additional sensitivity check, a simpler three-symptom score gave AUC 0.704 (0.646–0.760) in the clearly labelled at-risk comparison.

AUC and 95 percent bootstrap intervals: all undiagnosed 0.809, symptomatic undiagnosed 0.761, symptomatic including unsure 0.749, and a three-symptom score 0.704
New secondary analysis of the openly available Australian survey. The same six-item symptom score is compared across differently defined groups. Bars show stratified bootstrap 95% confidence intervals; values refer to reported diagnosis, not verified disease.

Interpretation. The published dataset was collected to study endometriosis knowledge, not to validate a screening test. Its at-risk subgroup is selected using the symptom questions themselves, making the AUC comparison partly conditional on how people were selected. The survey is a convenience sample with self-reported status. We therefore use these experiments only to illustrate how comparison-group definitions and uncertain labels affect a metric, not as external clinical validation of Goldstein or EndoLore. Original dataset and R code (OSF); see our reproduction and licensing notes, analysis script and aggregate results. Participant-level records are not redistributed because the OSF deposit declares no dataset licence.

11Cycle 6

Could a different approach do better?

In shortWe trained four kinds of models directly on our own answers, to see whether a different method does better, and looked at what a different way of treating the labels could add.

D

If the published model struggles on our data, would a model trained on our data do better, or is the difficulty elsewhere?

B

Four common methods, from a simple weighted score to large collections of decision trees, trained on our answers and tested on people they had not seen. Three sets of questions; two choices of “no” examples; the same comparisons as in Cycle 5; and a check of whether any difference is larger than chance.

T

With the same nine themes, no new model beats the published one. Using more questions helps a little, but not more than chance could explain. And the nine-theme versions of the new models, tested on the published data, reach AUCs of 0.86–0.94.

L

The hard part is the data, not the method. The published data is easy to separate, so every model looks good there. Our “no” group contains people who look like patients, so no model looks good here.

We first checked whether other published models could simply be reused. Those we looked at either need clinical or blood measurements that our questionnaire does not ask for, or do not share a usable model or dataset (see the digest). So “other models” here means models trained on our own answers.

With the same nine themes, the new models reach AUCs of 0.66–0.71 against 0.70 for the published one, and 0.63–0.67 against 0.70 in the fair, same-channel test. With more questions they reach 0.70–0.78 in that test, but the gain is within chance: for one of them, a 95% interval from −0.07 to +0.14 around a gain of 0.03. With all 22 questions, part of the small gain comes from age, because the student channel brought people who are almost all under 25. Against people from patient groups, no model goes above 0.61.

Models retrained on our own dataRange of AUC for eight retrained models per feature set, against the carried-over model and its interval.Against everyone without a diagnosisreused model 0.700.60.70.8Same 9 symptom themesSame 9 symptom themes, Against everyone without a diagnosis: 8 retrained models, AUC 0.664 to 0.7050.66–0.7120 questions (no age, no pill)20 questions (no age, no pill), Against everyone without a diagnosis: 8 retrained models, AUC 0.688 to 0.7230.69–0.72All 22 questionsAll 22 questions, Against everyone without a diagnosis: 8 retrained models, AUC 0.711 to 0.7430.71–0.74Both groups from the same linksreused model 0.700.60.70.8Same 9 symptom themes, Both groups from the same links: 8 retrained models, AUC 0.627 to 0.6680.63–0.6720 questions (no age, no pill), Both groups from the same links: 8 retrained models, AUC 0.704 to 0.7780.70–0.78All 22 questions, Both groups from the same links: 8 retrained models, AUC 0.731 to 0.7790.73–0.788 new models trained on our data, lowest to highest95% interval of the reused model
Figure 12. Eight new models trained on our data for each set of questions (four methods, two choices of “no” examples), compared with the published model reused unchanged (vertical line) and its 95% interval (gray band). Left: against everyone without a diagnosis. Right: both groups from the same channels.

A different way of treating the labels

Changing the algorithm does not change what the labels mean. A more fundamental alternative is to stop treating “no diagnosis” as “no disease” and to learn from the diagnosed respondents and an unlabelled remainder, as positive-unlabelled methods do41,42. We did not implement this in the present season: it is the approach our data most clearly point to, and it is described in our directions for further work. Because the simulator of Cycles 2 and 3 already provides a known-truth test bed, it can be used to check such a method before it is applied to real respondents.

Symptoms carry real signal.

Alone, they cannot confirm who has endometriosis.

That is where a different kind of evidence can help.

12What it means

Back to the question

We asked what happens to a model when its “no” examples cannot be fully trusted. The answer has three parts. The usual checks do not notice. The result depends more on who the people without a diagnosis are than on which model is used. And switching to another method does not fix it.

Our results also show that a questionnaire does carry real information: it separates people with a whole picture of symptoms from people without one (AUC 0.948 on the published data, and about 0.7 in our fair, same-channel comparison). Machine learning on symptoms is therefore promising, as one component of a larger diagnostic effort: a way to help decide who should be assessed further, alongside imaging and clinical judgement8. What it cannot do alone is tell, among people who all have symptoms, who has endometriosis and who does not.

Together, these findings help us define how to evaluate complementary molecular readouts alongside symptom histories, especially among people whose symptoms overlap with other conditions.

What the Dry Lab hands to the Wet Lab

Our analysis turns into three requirements for the evaluation of any biological test, including ours:

  1. Test it where symptoms do not help. The value of a biological marker is to separate endometriosis from other causes among people who already have symptoms. Its controls should therefore include symptomatic people, not only healthy volunteers.
  2. Recruit cases and controls through the same routes, and report the route of every sample, so that the result does not measure the door.
  3. Grade the reference standard. Record how each diagnosis was made (surgery, imaging, clinical), and treat “no diagnosis” as unlabelled rather than negative.

Five lessons for teams who run a questionnaire

  1. Give every recruitment channel its own link. Without it, most of what this page shows would have been invisible.
  2. Judge your “no” group by looking at that group alone, not with a measure that also depends on the patients.
  3. Recruit patients and non-patients through the same doors, or part of what you measure is the door.
  4. Write your rules down before you look at the results, then check that other reasonable rules give the same picture.
  5. Say where your “no” group came from. It matters more than anything else in this kind of study, and it is the detail studies most often leave out.
13Decisions and evidence

What we decided, and what supports each claim

Two tables for readers who want to check our reasoning: a log of the decisions that changed our work, and a map from each main claim to the evidence behind it.

How the investigation changed

Table 10. Decisions made as evidence accumulated.
What we observedHow we responded
Recruitment routes influence comparison groups.We used separate questionnaire links and repeated analyses within comparable channels.
Random and symptom-dependent label errors behave differently.Every simulation included a random-error reference, and we separated training errors from evaluation errors.
Evaluation choices affect conclusions.We audited threshold handling and recomputed results after correcting the procedure.
Strong performance on source data may not transfer.We harmonised symptom themes and evaluated a frozen model on the EndoLore responses.
Other teams need more than a numerical score.We prepared reusable code, variable definitions, worked examples and an interactive explanation.

Claim-to-evidence map

Table 11. The main claims of this page, their evidence and their limits.
ClaimEvidenceWhereLimit
We reproduced the published modelAUC 0.977 on all 58 questions and 0.948 on nine themes, against 0.94 reported for 24 questions.Figure 3, Table 7Same data; self-reported labels.
A stable AUC does not show that labels are cleanRandom errors lower the visible AUC by 0.160 and the real one by 0.015; errors on the mildest patients move the visible AUC by 0.012 and the real one by 0.046.Figures 4, 5, 6, Table 8Simulation. The pattern of realistic errors is our assumption.
Published lists of top symptoms are fragile5 of a top-10 list keep their place with correct labels, 1 with 40% of the mildest patients moved.Figure 7A retention count, not a formal stability index.
The model does not travel unchangedAUC 0.65–0.70 and specificity 0.18 on our 647 answers.Table 7, Table 9Two questionnaires with different scales; self-reported labels.
Who is in the negative group changes the resultAUC 0.56 against patient-group respondents, 0.91 against the three other channels, 0.70 in the same-channel test.Figure 11, Table 9Only 22 patients in the same-channel test; wide interval (0.58–0.81).
Another algorithm does not fix itNo new model beats the published one with the same themes; gains with more questions are within chance.Figure 12Trained on the same labels.
Symptoms carry signal but do not settle the diagnosisAUC 0.948 on the published data; about 0.7 in the fair comparison on ours.Table 7No clinical validation.
14Scope

Strengths, and the scope of our conclusions

Why the results can be trusted

  1. Rules before results. All the rules for turning answers into themes were written down before any result, and two other sets of rules give the same picture (AUC 0.69 to 0.72 against everyone without a diagnosis, 0.87 to 0.91 against the three other channels).
  2. A comparison for every simulation. Every experiment with errors made on purpose includes a random version, so the differences come from the kind of error, not from how many there are.
  3. Checked against later data. The list of channels outside patient communities was fixed on 28 September; people who answered later give the same result (0.90).
  4. Uncertainty shown. Every comparison comes with an interval, and every analysis choice we had to make (missing answers, cut-points) is shown as a range.
  5. Reproducible. Every experiment on the published and synthetic data can be rerun from the code; we reran the synthetic one for this page and obtained the same curves.

Within what scope

  1. A research tool. It evaluates models; it does not diagnose anyone. Endometriosis is diagnosed by imaging and, in selected cases, laparoscopy8.
  2. Self-reported labels. Diagnoses are self-reported in the published dataset and in ours; no surgical or imaging confirmation was available for either. Our simulations show what label errors would do; they do not measure how many respondents are undiagnosed, and the mild and atypical patterns are our own, explicit assumptions.
  3. One fair comparison, still small. The same-channel test rests on 22 patients (interval 0.58 to 0.81). A larger cohort recruited through shared routes is the most useful next step, and the code is ready to run on it.
  4. Two questionnaires, one mapping. The published questionnaire asks yes or no and ours grades pain; the mapping is documented and tested with three rule sets, and neither questionnaire distinguishes deep from superficial pain or bladder from bowel involvement.
  5. A self-selected cohort. Our respondents without a diagnosis are not a sample of the general population, and the student channel is young (64 of 67 under 25). This is why we compare like with like, and report the channel of every result.
  6. Ranking, not calibration. We assessed how well models rank people; the cut-off does not travel (specificity 0.41 here, 0.86 on the published data), and calibration on a new population remains to be assessed49.
15The code

Where the code lives, and how to use it

The pipeline is written in Python 3 and uses pandas, NumPy, scikit-learn and scipy for questionnaire harmonisation, model evaluation and simulation. The code is in our iGEM Software repository, with installation instructions, automated tests and a quick-start notebook.

Repository. gitlab.igem.org/2026/software/lorraine-university/endolore. Individual questionnaire responses are not part of the repository (see the ethics note).

What is in it

Table 12. The modules, grouped by role. Figure 1 shows how they connect.
RoleModulesUsed in
Reading and checking the dataconfig (reads the dictionary), ingest (seven exports, two languages), validate (controls C-01 to C-13, including k-anonymity), encode (three kinds of missing answer, leakage guard)Data
Models and evaluationmodel, eda, unsupervised, other_modelsCycles 1 and 6
Published data and the shared themesgoldstein, groups, themes_vs_count, reduction_costCycle 1
Label-error experimentssynth, contamination, contamination_controlled, contamination_split, threshold_auditCycles 2 and 3
StabilitystabilityCycle 4
Reuse on a new cohorttransportCycle 5
Entry pointsrun, notebooks/EndoLore_quickstart.ipynb, tests/All

How to run it

Three ways in, from no installation to the full pipeline.

  1. In this page. The label-error simulator runs in your browser.
  2. In a notebook. Open notebooks/EndoLore_quickstart.ipynb in Jupyter, or upload it to Google Colab: it fetches the code, generates synthetic data, runs the 13 controls, cross-validates three models and runs a small label-error experiment, in about two minutes.
  3. From the command line, as below. On synthetic data the pipeline takes about a minute; the tests take a few seconds.
git clone https://gitlab.igem.org/2026/software/lorraine-university/endolore.git
cd endolore
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt   # exact versions we tested
python demo.py                    # one-command demo on synthetic data, about a minute
pytest -q                         # automated checks
cd src
python run.py --fast              # pipeline on synthetic data
python contamination.py           # label-error experiment (synthetic)
python goldstein.py               # published-data analyses (needs the external data)

Each script prints a summary and saves its results as CSV files in out/. The data checks report what they accepted, corrected or rejected, and random seeds are fixed, so a rerun gives the same numbers. The README lists, for every result on this page, the script that produces it.

Adapting it to your own questionnaire

Describe your variables, their allowed values and their role (model input, label or excluded) in the dictionary workbook, which non-programmers can edit in a spreadsheet. Give each recruitment channel its own link and register it in the workbook. Then run python run.py --input your_export.csv: the checks, the encoder, the models and the label-error experiments run on your data. To try another algorithm, add any scikit-learn classifier to model.build_models().

16In brief

The page in six lines

  1. The question. Can a symptom questionnaire, read with machine learning, help identify who should be assessed for endometriosis?
  2. What we built. A documented, tested Python toolkit that checks questionnaire data, rebuilds a published model, tests it under controlled label errors and applies it to a new cohort, with a notebook and an in-browser simulator for non-programmers.
  3. What we found. A published AUC of 0.948 on nine shared themes becomes about 0.70 on our respondents in a like-for-like comparison, and the result depends on who the people without a diagnosis are.
  4. What it means. Symptoms carry real signal and suit triage as part of a larger diagnostic effort, but a stable AUC does not prove clean labels and symptoms alone do not settle the diagnosis.
  5. What comes next. A larger cohort recruited through shared routes and with graded diagnoses, the release of the anonymised data, and a positive-unlabelled model, for which the simulator already provides a test bed.
  6. What you can reuse. The data dictionary and checks, the label-error experiments, the stability audit and the cross-cohort evaluation, under the MIT licence, plus the questionnaire design lessons on the questionnaire page.
§Sources
  1. [1]World Health Organization. Endometriosis, fact sheet. 15 October 2025. who.int
  2. [2]Nnoaham KE, Hummelshoj L, Webster P, et al. Impact of endometriosis on quality of life and work productivity: a multicenter study across ten countries. Fertil Steril. 2011;96(2):366–373.e8. doi:10.1016/j.fertnstert.2011.05.090
  3. [3]Staal AHJ, van der Zanden M, Nap AW. Diagnostic delay of endometriosis in the Netherlands. Gynecol Obstet Invest. 2016;81(4):321–324. doi:10.1159/000441911
  4. [4]Hudelist G, Fritzer N, Thomas A, et al. Diagnostic delay for endometriosis in Austria and Germany: causes and possible consequences. Hum Reprod. 2012;27(12):3412–3416. doi:10.1093/humrep/des316
  5. [5]Ghai V, Jan H, Shakir F, Haines P, Kent A. Diagnostic delay for superficial and deep endometriosis in the United Kingdom. J Obstet Gynaecol. 2020;40(1):83–89. doi:10.1080/01443615.2019.1603217
  6. [6]Aubry G, Bencharif C, Vesale E, et al. Délais et parcours des patientes atteintes d'endométriose en France : une étude multicentrique [Delays and pathways for patients with endometriosis in France: a multicenter study]. Gynecol Obstet Fertil Senol. 2023;51(2):117–122. doi:10.1016/j.gofs.2022.11.006
  7. [7]EndoRéunion. Prise en charge de l'endométriose à La Réunion. Describes EndoEspoir Océan Indien's paper symptom-tracking booklet. endoreunion.re
  8. [8]Becker CM, Bokor A, Heikinheimo O, et al. ESHRE guideline: endometriosis. Hum Reprod Open. 2022;2022(2):hoac009. doi:10.1093/hropen/hoac009
  9. [9]Whiting PF, Rutjes AWS, Westwood ME, et al. QUADAS-2: a revised tool for the quality assessment of diagnostic accuracy studies. Ann Intern Med. 2011;155(8):529–536. doi:10.7326/0003-4819-155-8-201110180-00009
  10. [10]Nnoaham KE, Hummelshoj L, Kennedy SH, Jenkinson C, Zondervan KT; World Endometriosis Research Foundation Women's Health Symptom Survey Consortium. Developing symptom-based predictive models of endometriosis as a clinical screening tool: results from a multicenter study. Fertil Steril. 2012;98(3):692–701.e5. doi:10.1016/j.fertnstert.2012.04.022
  11. [11]Fauconnier A, Drioueche H, Huchon C, et al. Early identification of women with endometriosis by means of a simple patient-completed questionnaire screening tool: a diagnostic study. Fertil Steril. 2021;116(6):1580–1589. doi:10.1016/j.fertnstert.2021.07.1205
  12. [12]Chapron C, Lafay-Pillet MC, Santulli P, et al. A new validated screening method for endometriosis diagnosis based on patient questionnaires. EClinicalMedicine. 2022;44:101263. doi:10.1016/j.eclinm.2021.101263
  13. [13]Goldstein A, Cohen S. Self-report symptom-based endometriosis prediction using machine learning. Sci Rep. 2023;13:5499. doi:10.1038/s41598-023-32761-8
  14. [14]Author Correction: Self-report symptom-based endometriosis prediction using machine learning. Sci Rep. 2024;14:10443.
  15. [15]Zieliński K, Drabczyk D, Kunicki M, Drzyzga D, Kloska A, Rumiński J. Evaluating the risk of endometriosis based on patients' self-assessment questionnaires. Reprod Biol Endocrinol. 2023;21:102. doi:10.1186/s12958-023-01156-9
  16. [16]Bendifallah S, Puchar A, Suisse S, et al. Machine learning algorithms as new screening approach for patients with endometriosis. Sci Rep. 2022;12:639. doi:10.1038/s41598-021-04637-2
  17. [17]Verket NJ, et al. Development of a prediction model to aid primary care physicians in early identification of women at high risk of developing endometriosis: cross-sectional study. BMJ Open. 2019;9(12):e030346.
  18. [18]Mishra GD, Baneshi MR, Mortlock S, et al. Development of an early prediction model for endometriosis risk: the simplified adolescent factors for endometriosis (SAFE) score. EClinicalMedicine. 2026;93:103806. doi:10.1016/j.eclinm.2026.103806
  19. [19]Lijmer JG, Mol BW, Heisterkamp S, et al. Empirical evidence of design-related bias in studies of diagnostic tests. JAMA. 1999;282(11):1061–1066. doi:10.1001/jama.282.11.1061
  20. [20]Rutjes AWS, Reitsma JB, Vandenbroucke JP, Glas AS, Bossuyt PMM. Case-control and two-gate designs in diagnostic accuracy studies. Clin Chem. 2005;51(8):1335–1341. doi:10.1373/clinchem.2005.048595
  21. [21]Ransohoff DF, Feinstein AR. Problems of spectrum and bias in evaluating the efficacy of diagnostic tests. N Engl J Med. 1978;299(17):926–930. doi:10.1056/NEJM197810262991705
  22. [22]Urteaga I, McKillop M, Elhadad N. Learning endometriosis phenotypes from patient-generated data. NPJ Digit Med. 2020;3:88. doi:10.1038/s41746-020-0292-9
  23. [23]Rosenbloom BN, Di Renna T, Nella A, et al. Screening for endometriosis: a scoping review of screening measures that could support early diagnosis. BMC Womens Health. 2025;25:353. doi:10.1186/s12905-025-03866-1
  24. [24]iGEM Team Rochester. Endometriosis Risk Calculator, software page. iGEM 2020. 2020.igem.org/Team:Rochester/Software
  25. [25]iGEM Team GO Paris-Saclay (EndoSeek). Human Practices. iGEM 2021. 2021.igem.org/Team:GO_Paris-Saclay/Human_Practices
  26. [26]Cohen S. Public repository accompanying [13]: 886 respondents, 58 symptom variables. github.com/shani-co/-Deeplearning-Endo
  27. [27]Reinhardt A, et al. Understanding endometriosis knowledge among diagnosed and symptomatically at-risk individuals in Australia. npj Womens Health. 2025;3:46. doi:10.1038/s44294-025-00096-6
  28. [28]Vitonis AF, Vincent K, Rahmioglu N, et al. World Endometriosis Research Foundation Endometriosis Phenome and Biobanking Harmonization Project: II. Clinical and covariate phenotype data collection in endometriosis research. Fertil Steril. 2014;102(5):1223–1232. doi:10.1016/j.fertnstert.2014.07.1244
  29. [29]Wilkinson MD, Dumontier M, Aalbersberg IJ, et al. The FAIR Guiding Principles for scientific data management and stewardship. Sci Data. 2016;3:160018. doi:10.1038/sdata.2016.18
  30. [30]Collins GS, Moons KGM, Dhiman P, et al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378. doi:10.1136/bmj-2023-078378
  31. [31]Bossuyt PM, Reitsma JB, Bruns DE, et al. STARD 2015: an updated list of essential items for reporting diagnostic accuracy studies. BMJ. 2015;351:h5527. doi:10.1136/bmj.h5527
  32. [32]Pedregosa F, Varoquaux G, Gramfort A, et al. Scikit-learn: machine learning in Python. J Mach Learn Res. 2011;12:2825–2830.
  33. [33]Freund Y, Schapire RE. A decision-theoretic generalization of on-line learning and an application to boosting. J Comput Syst Sci. 1997;55(1):119–139.
  34. [34]Sweeney L. k-anonymity: a model for protecting privacy. Int J Uncertain Fuzziness Knowl Based Syst. 2002;10(5):557–570.
  35. [35]Rocher L, Hendrickx JM, de Montjoye YA. Estimating the success of re-identifications in incomplete datasets using generative models. Nat Commun. 2019;10:3069. doi:10.1038/s41467-019-10933-3
  36. [36]Hanley JA, McNeil BJ. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology. 1982;143(1):29–36. doi:10.1148/radiology.143.1.7063747
  37. [37]Steyerberg EW, Harrell FE. Prediction models need appropriate internal, internal-external, and external validation. J Clin Epidemiol. 2016;69:245–247. doi:10.1016/j.jclinepi.2015.04.005
  38. [38]Mulherin SA, Miller WC. Spectrum bias or spectrum effect? Subgroup variation in diagnostic test evaluation. Ann Intern Med. 2002;137(7):598–602. doi:10.7326/0003-4819-137-7-200210010-00011
  39. [39]Tissot M, Lecointre L, Faller E, et al. Clinical presentation of endometriosis identified at interval laparoscopic tubal sterilization: prospective series of 465 cases. J Gynecol Obstet Hum Reprod. 2017;46(8):647–650. doi:10.1016/j.jogoh.2017.05.003
  40. [40]Reitsma JB, Rutjes AWS, Khan KS, et al. A review of solutions for diagnostic accuracy studies with an imperfect or missing reference standard. J Clin Epidemiol. 2009;62(8):797–806. doi:10.1016/j.jclinepi.2009.02.005
  41. [41]Bekker J, Davis J. Learning from positive and unlabeled data: a survey. Mach Learn. 2020;109:719–760. doi:10.1007/s10994-020-05877-5
  42. [42]Elkan C, Noto K. Learning classifiers from only positive and unlabeled data. In: Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2008:213–220.
  43. [43]Frénay B, Verleysen M. Classification in the presence of label noise: a survey. IEEE Trans Neural Netw Learn Syst. 2014;25(5):845–869. doi:10.1109/TNNLS.2013.2292894
  44. [44]Nogueira S, Sechidis K, Brown G. On the stability of feature selection algorithms. J Mach Learn Res. 2018;18(174):1–54. jmlr.org/papers/v18/17-514.html
  45. [45]Ju H, Jones M, Mishra G. The prevalence and risk factors of dysmenorrhea. Epidemiol Rev. 2014;36:104–113.
  46. [46]Zech JR, Badgeley MA, Liu M, et al. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLoS Med. 2018;15(11):e1002683. doi:10.1371/journal.pmed.1002683
  47. [47]Riley RD, Ensor J, Snell KIE, et al. Calculating the sample size required for developing a clinical prediction model. BMJ. 2020;368:m441. doi:10.1136/bmj.m441
  48. [48]Moreno-Torres JG, Raeder T, Alaiz-Rodríguez R, Chawla NV, Herrera F. A unifying view on dataset shift in classification. Pattern Recognit. 2012;45(1):521–530. doi:10.1016/j.patcog.2011.06.019
  49. [49]Van Calster B, McLernon DJ, van Smeden M, Wynants L, Steyerberg EW. Calibration: the Achilles heel of predictive analytics. BMC Med. 2019;17:230. doi:10.1186/s12916-019-1466-7
  50. [50]Janssen KJM, Moons KGM, Kalkman CJ, et al. Updating methods improved the performance of a clinical prediction model in new patients. J Clin Epidemiol. 2008;61(1):76–86. doi:10.1016/j.jclinepi.2007.04.018
  51. [51]Wong A, Otles E, Donnelly JP, et al. External validation of a widely implemented proprietary sepsis prediction model in hospitalized patients. JAMA Intern Med. 2021;181(8):1065–1070. doi:10.1001/jamainternmed.2021.2626