# Machine Learning–Based Classification of Depression Using Inflammatory Biomarkers in Pancreatic Cancer Patients

**Authors:** Yang‐Chen Shen, Po I Wu, Cheng‐Feng Lin, Chia‐Jui Yen, Yan‐Shen Shan, Po See Chen

PMC · DOI: 10.1002/kjm2.70094 · The Kaohsiung Journal of Medical Sciences · 2025-08-24

## TL;DR

This study uses machine learning to predict depression in pancreatic cancer patients based on inflammatory biomarkers like CRP and NLR.

## Contribution

The novel use of machine learning to classify depression using inflammatory markers in pancreatic cancer patients.

## Key findings

- 35% of pancreatic cancer patients had clinically significant depression at baseline.
- CRP and NLR were identified as key inflammatory predictors of depression.
- Machine learning models showed moderate but consistent performance in predicting depression.

## Abstract

Inflammation is a common mediator of pancreatic cancer and depression. This study investigated the predictive value and clinical associations of inflammatory markers and depression in cancer patients using machine learning (ML) and statistical modeling. Pancreatic cancer patients (n = 328; mean age, 65 years; majority with stage IV disease) were assessed using the Patient Health Questionnaire‐9 (PHQ‐9; depression defined as PHQ‐9 ≥ 10). Clinically significant depression was present in 35% of subjects at baseline, and the rate declined at follow‐up. Four ML models (logistic regression, random forest, support vector machine, and extreme gradient boosting; XGBoost) were trained using routinely collected clinical data and showed comparable performances with moderate but consistent discriminative capacity (AUC: 0.70–0.72). Permutation importance analysis revealed C‐reactive protein (CRP), neutrophil‐to‐lymphocyte ratio (NLR), and albumin as key predictors of depression. Generalized estimating equations further confirmed that elevated CRP (OR = 1.32, p = 0.001) and NLR (OR = 1.55, p = 0.001) were independently associated with depression. These findings suggest that inflammatory markers can not only help to identify patients at risk for depression but also underscore the linkage between inflammation and depression. ML models incorporating these markers may therefore support early detection and intervention in pancreatic cancer care.

## Linked entities

- **Diseases:** pancreatic cancer (MONDO:0005192), depression (MONDO:0002050)

## Full-text entities

- **Genes:** ALB (albumin) [NCBI Gene 213] {aka FDAHT, HSA, PRO0883, PRO0903, PRO1341}, CRP (C-reactive protein) [NCBI Gene 1401] {aka PTX1}
- **Diseases:** stage IV disease (MESH:D007676), Inflammation (MESH:D007249), Depression (MESH:D003866), Pancreatic Cancer (MESH:D010190), cancer (MESH:D009369)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12782251/full.md

## References

39 references — full list in the complete paper: https://tomesphere.com/paper/PMC12782251/full.md

---
Source: https://tomesphere.com/paper/PMC12782251