Related Experiment Video
Updated: Feb 28, 2026

07:31
Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
8.2K
Predictive machine learning algorithms for depression and anxiety disorders in six cancer types: a comprehensive
Soon-Keu Ling1, Li-Mei Wang2, Kuo-Piao Chung3
1Department of Digestive Surgery, Yuan's General Hospital, Kaohsiung, 80249, Taiwan.
Journal of the Formosan Medical Association = Taiwan Yi Zhi
|February 26, 2026
Summary
Machine learning models can predict post-cancer depression and anxiety with high accuracy. Tumor size, age, and BMI are key risk factors, improving mental health care for cancer patients.
Area of Science:
- Oncology
- Psychiatry
- Data Science
Background:
- Machine learning (ML) applications in medical diagnosis are extensive, but predicting post-cancer mental health issues like depression and anxiety remains under-explored.
- Cancer patients face significant risks for developing depression and anxiety, impacting treatment adherence and overall quality of life.
Purpose of the Study:
- To develop and validate ML models for predicting depression and anxiety disorders in cancer patients within one year of diagnosis.
- To identify key demographic, clinical, and quality of care factors contributing to post-cancer depression and anxiety.
Main Methods:
- A longitudinal, cross-institutional study involving 24,580 cancer patients across three medical centers in Taiwan (2017-2022).
- Development and comparison of multiple ML algorithms including Logistic Regression, Random Forest, K-Nearest Neighbor, Adaptive Boosting, and Extreme Gradient Boosting (XGBoost).
- Model performance was assessed using accuracy, precision, recall, F1 score, and AUROC, with statistical analysis via SPSS and Python.
Main Results:
- The XGBoost model demonstrated superior performance, achieving 98.30% accuracy, 98.17% precision, 98.30% F1 score, and 99.72% AUROC.
- Feature importance analysis highlighted tumor size, patient age, and body mass index as the most significant predictors of depression and anxiety.
Conclusions:
- ML models effectively predict depression and anxiety in cancer patients using longitudinal data, offering valuable insights into risk factors.
- These predictive models can enhance mental health care, inform evidence-based guidelines, and improve patient outcomes throughout cancer treatment.
Related Concept Videos
Cancer Survival Analysis
805
Cancer survival analysis focuses on quantifying and interpreting the time from a key starting point, such as diagnosis or the initiation of treatment, to a specific endpoint, such as remission or death. This analysis provides critical insights into treatment effectiveness and factors that influence patient outcomes, helping to shape clinical decisions and guide prognostic evaluations. A cornerstone of oncology research, survival analysis tackles the challenges of skewed, non-normally...
805
Combination Therapies and Personalized Medicine
6.2K
Combining two or more treatment methods increases the life span of cancer patients while reducing damage to vital organs or tissue from the overuse of a single treatment. Combination therapy also targets different cancer-inducing pathways, thus reducing the chances of developing resistance to treatment.
The combination of the drug acetazolamide and sulforaphane is a good example of combination therapy to treat cancer. The cells in the interior of a large tumor often die due to the hypoxic and...
The combination of the drug acetazolamide and sulforaphane is a good example of combination therapy to treat cancer. The cells in the interior of a large tumor often die due to the hypoxic and...
6.2K
