Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 24 min ago
Peer-reviewedCC BYPLOS Digital Health

Logistic regression withstands comparison with machine learning for thyroid nodule malignancy risk stratification under strict temporal validation

4 affiliations
  1. 1Research Group EM18 "Development and Innovation in Maternal-Fetal Medicine and Gynaecological Oncology", Instituto de Investigación e Innovación Biomédica de Cádiz (INIBICA), Cádiz, Spain
  2. 2Department of Obstetrics and Gynaecology, Hospital Universitario de Puerto Real, Cádiz, Spain
  3. 3University of Cadiz, Cádiz, Spain
  4. 4Department of Endocrinology and Nutrition, Hospital Universitario de Puerto Real, Cádiz, Spain

Abstract

Ultrasound risk-stratification systems (ACR TI-RADS, EU-TIRADS, ATA 2015) guide fine-needle aspiration decisions for thyroid nodules but do not integrate clinical or biochemical information. Multivariable logistic regression (LR) models incorporating these variables provide individualised malignancy probability estimates, and machine learning (ML) algorithms have been proposed as potential improvements, but rigorous comparative evidence under temporal validation is scarce. We conducted a single-centre retrospective cohort study of 861 thyroidectomies (2010–2023), split chronologically (training: before 2019, n = 432, 94 malignant; test: 2019 onwards, n = 429, 92 malignant). An LR model using the specification of a previously published and externally validated model — with coefficients re-estimated in the training cohort — was compared head-to-head with Random Forest (RF), XGBoost (XGB), Bagged CART, and a multilayer perceptron (MLP) trained on the same predictors. Performance was assessed by discrimination (ROC-AUC and precision-recall AUC), calibration (Brier score, calibration slope and intercept), and clinical utility (decision curve analysis), with operating characteristics reported at the pre-specified 9.55% probability threshold. LR achieved an AUC of 0.838 (95% CI 0.789–0.884), closely matching the published external validation of the original model (0.84). RF (AUC 0.843, p = 0.76) and XGB (AUC 0.844, p = 0.69) were statistically indistinguishable from LR; Bagged CART (0.821, p = 0.40) was non-significantly inferior; the MLP (0.768, p < 0.001) performed significantly worse. LR showed the highest precision-recall AUC (0.672) and good calibration without post-hoc adjustment (slope 1.12, 95% CI 0.91–1.43). LR, RF, XGB and Bagged CART discriminated significantly better than the ATA 2015 classification (AUC 0.750; DeLong p ≤ 0.002), whereas the MLP did not differ significantly from it (p = 0.45). In exploratory subgroup analyses by Bethesda category, nodule size, and age, no evidence of a consistent ML advantage was observed, although several subgroups were underpowered. SHAP importance rankings from RF and XGB showed broadly similar global orderings to the LR coefficients (ρ = 0.71 and 0.77). In this single-centre surgical cohort with a moderate sample size and routinely collected structured predictors, none of the evaluated ML algorithms demonstrated improved performance over a well-specified LR model. Author summary: Thyroid nodules are extremely common, yet only a minority are cancerous. Distinguishing the few cancers from the many benign nodules without unnecessary biopsies or surgery is a daily clinical challenge. Current ultrasound-based scores help, but they ignore the patient's age, family history, and blood tests. Our group previously developed and externally validated a simple statistical formula — a logistic regression model — that combines these clinical details with ultrasound features. In this study we asked whether modern machine-learning algorithms could do better when given exactly the same information. We trained four such algorithms on patients operated before 2019 and tested them, together with the regression formula, on patients operated from 2019 onwards — mimicking how a model faces new patients in practice. None of the machine-learning algorithms outperformed the simple formula, and the formula was also better calibrated. Most models discriminated better than the ultrasound-only classification. Our results, obtained in a single-centre surgical cohort of moderate size, suggest that for routine structured clinical data a transparent and interpretable statistical model remains a very strong option — an important consideration under emerging regulations on medical artificial intelligence.

Related

  1. Genotype-Based Stratification of Skeletal Muscle and Fat-Free Mass in Elite Athletes: A Pilot Classification and Regression Tree Analysis
    GenesPeer-reviewedCC BYFull textGenetics & genomicsEurope PMC
  2. Comparison of data mining algorithms and regression method for prediction of live body weight using biometric traits of non-descript indigenous chickens.
    Joas Albino Tsenane, Thabang Sako, Madumetja Cyril Mathapo +2
    Tropical animal health and productionPeer-reviewedCC BYFull textZoology & animal behaviourEurope PMC
  3. Advancing grapevine phenology predictions: a comparison of regression-based statistical learning approach and conventional models in mediterranean environment.
    Ali Didevarasl, Pierfrancesco Deiana, Donatella Spano +4
    International journal of biometeorologyPeer-reviewedCC BY-NC-NDFull textPlant biologyEurope PMC
  4. A Classification Algorithm for Diabetes Subtypes in a Swedish Cohort: Comparison With National Diabetes Register Diagnoses and Genetic Validation
    Shobitha Vollmer, Alice Maguolo, Axel Lindström +6
    DiabetesPeer-reviewedPublisher termsFull textGenetics & genomicsPMC
  5. A Comparison and Validation of BIDS Apps for Preprocessing of UCB-J PET data
    G. Haver, G. J. Matheson, H. Yngwe +12
    bioRxivPreprintAll rights reservedFull textNeurosciencebioRxiv
BibTeX
@article{alba2026logistic,
  title = {{Logistic regression withstands comparison with machine learning for thyroid nodule malignancy risk stratification under strict temporal validation}},
  author = {Juan Jesús Fernández Alba and Florentino Carral San Laureano and Ana Isabel Jiménez Millán and Carmen González Macías},
  journal = {PLOS Digital Health},
  year = {2026},
  month = nov,
  doi = {10.1371/journal.pdig.0001828},
  url = {https://journals.plos.org/digitalhealth/article?id=10.1371/journal.pdig.0001828},
  note = {CC BY},
}
RIS
TY  - JOUR
TI  - Logistic regression withstands comparison with machine learning for thyroid nodule malignancy risk stratification under strict temporal validation
AU  - Juan Jesús Fernández Alba
AU  - Florentino Carral San Laureano
AU  - Ana Isabel Jiménez Millán
AU  - Carmen González Macías
PY  - 2026
DA  - 2026/11/01
JO  - PLOS Digital Health
DO  - 10.1371/journal.pdig.0001828
UR  - https://journals.plos.org/digitalhealth/article?id=10.1371/journal.pdig.0001828
AB  - Ultrasound risk-stratification systems (ACR TI-RADS, EU-TIRADS, ATA 2015) guide fine-needle aspiration decisions for thyroid nodules but do not integrate clinical or biochemical information. Multivariable logistic regression (LR) models incorporating these variables provide individualised malignancy probability estimates, and machine learning (ML) algorithms have been proposed as potential improvements, but rigorous comparative evidence under temporal validation is scarce. We conducted a single-centre retrospective cohort study of 861 thyroidectomies (2010–2023), split chronologically (training: before 2019, n = 432, 94 malignant; test: 2019 onwards, n = 429, 92 malignant). An LR model using the specification of a previously published and externally validated model — with coefficients re-estimated in the training cohort — was compared head-to-head with Random Forest (RF), XGBoost (XGB), Bagged CART, and a multilayer perceptron (MLP) trained on the same predictors. Performance was assessed by discrimination (ROC-AUC and precision-recall AUC), calibration (Brier score, calibration slope and intercept), and clinical utility (decision curve analysis), with operating characteristics reported at the pre-specified 9.55% probability threshold. LR achieved an AUC of 0.838 (95% CI 0.789–0.884), closely matching the published external validation of the original model (0.84). RF (AUC 0.843, p = 0.76) and XGB (AUC 0.844, p = 0.69) were statistically indistinguishable from LR; Bagged CART (0.821, p = 0.40) was non-significantly inferior; the MLP (0.768, p < 0.001) performed significantly worse. LR showed the highest precision-recall AUC (0.672) and good calibration without post-hoc adjustment (slope 1.12, 95% CI 0.91–1.43). LR, RF, XGB and Bagged CART discriminated significantly better than the ATA 2015 classification (AUC 0.750; DeLong p ≤ 0.002), whereas the MLP did not differ significantly from it (p = 0.45). In exploratory subgroup analyses by Bethesda category, nodule size, and age, no evidence of a consistent ML advantage was observed, although several subgroups were underpowered. SHAP importance rankings from RF and XGB showed broadly similar global orderings to the LR coefficients (ρ = 0.71 and 0.77). In this single-centre surgical cohort with a moderate sample size and routinely collected structured predictors, none of the evaluated ML algorithms demonstrated improved performance over a well-specified LR model. Author summary: Thyroid nodules are extremely common, yet only a minority are cancerous. Distinguishing the few cancers from the many benign nodules without unnecessary biopsies or surgery is a daily clinical challenge. Current ultrasound-based scores help, but they ignore the patient's age, family history, and blood tests. Our group previously developed and externally validated a simple statistical formula — a logistic regression model — that combines these clinical details with ultrasound features. In this study we asked whether modern machine-learning algorithms could do better when given exactly the same information. We trained four such algorithms on patients operated before 2019 and tested them, together with the regression formula, on patients operated from 2019 onwards — mimicking how a model faces new patients in practice. None of the machine-learning algorithms outperformed the simple formula, and the formula was also better calibrated. Most models discriminated better than the ultrasound-only classification. Our results, obtained in a single-centre surgical cohort of moderate size, suggest that for routine structured clinical data a transparent and interpretable statistical model remains a very strong option — an important consideration under emerging regulations on medical artificial intelligence.
SN  - 2767-3170
ER  -