Machine learning-based algorithms to predict severe psychological distress among cancer patients with spinal metastatic disease

Spine J. 2023 Sep;23(9):1255-1269. doi: 10.1016/j.spinee.2023.05.009. Epub 2023 May 12.

Abstract

Background context: Metastatic spinal disease is an advanced stage of cancer patients and often suffer from terrible psychological health status; however, the ability to estimate the risk probability of this adverse outcome using current available data is very limited.

Purpose: The goal of this study was to propose a precise model based on machine learning techniques to predict psychological status among cancer patients with spinal metastatic disease.

Study design/setting: A prospective cohort study.

Patient sample: A total of 1043 cancer patients with spinal metastatic disease were included.

Outcome measures: The main outcome was severe psychological distress.

Methods: The total of patients was randomly divided into a training dataset and a testing dataset on a ratio of 9:1. Patients' demographics, lifestyle choices, cancer-related features, clinical manifestations, and treatments were collected as potential model predictors in the study. Five machine learning algorithms, including XGBoosting machine, random forest, gradient boosting machine, support vector machine, and ensemble prediction model, as well as a logistic regression model were employed to train and optimize models in the training set, and their predictive performance was assessed in the testing set.

Results: Up to 21.48% of all patients who were recruited had severe psychological distress. Elderly patients (p<0.001), female (p =0.045), current smoking (p=0.002) or drinking (p=0.003), a lower level of education (p<0.001), a stronger spiritual desire (p<0.001), visceral metastasis (p=0.005), and a higher Eastern Cooperative Oncology Group (ECOG) score (p<0.001) were significantly associated with worse psychological health. With an area under the curve (AUC) of 0.865 (95% CI: 0.788-0.941) and an accuracy of up to 0.843, the gradient boosting machine algorithm performed best in the prediction of the outcome, followed by the XGBooting machine algorithm (AUC: 0.851, 95% CI: 0.768-0.934; Accuracy: 0.826) and ensemble prediction (AUC: 0.851, 95% CI: 0.770-0.932; Accuracy: 0.809) in the testing set. In contrast, the AUC of the logistic regression model was only 0.836 (95% CI: 0.756-0.916; Accuracy: 0.783).

Conclusions: Machine learning models have greater predictive power and can offer useful tools to identify individuals with spinal metastatic disease who are experiencing severe psychological distress.

Keywords: Machine learning; Mental health; Model explainability; Prediction model; Psychological distress; Spinal metastatic disease.

MeSH terms

  • Aged
  • Algorithms
  • Female
  • Humans
  • Logistic Models
  • Machine Learning
  • Male
  • Neoplasms*
  • Prospective Studies