Skip to main content

ORIGINAL RESEARCH article

Front. Public Health, 06 October 2022
Sec. Digital Public Health

Machine learning approaches for prediction of early death among lung cancer patients with bone metastases using routine clinical characteristics: An analysis of 19,887 patients

\nYunpeng Cui&#x;Yunpeng Cui1Xuedong Shi*&#x;Xuedong Shi1*Shengjie Wang&#x;Shengjie Wang2Yong Qin
Yong Qin3*Bailin WangBailin Wang4Xiaotong CheXiaotong Che5Mingxing Lei,,
Mingxing Lei6,7,8*
  • 1Department of Orthopedic Surgery, Peking University First Hospital, Beijing, China
  • 2Department of Orthopaedic Surgery, Shanghai Sixth People's Hospital Affiliated to Shanghai Jiao Tong University, Shanghai, China
  • 3Department of Joint and Sports Medicine Surgery, The Second Affiliated Hospital of Harbin Medical University, Harbin, China
  • 4Department of Thoracic Surgery, Hainan Hospital of Chinese PLA General Hospital, Sanya, China
  • 5Department of Evaluation Office, Hainan Cancer Hospital, Haikou, China
  • 6Department of Orthopedic Surgery, Hainan Hospital of PLA General Hospital, Sanya, China
  • 7Chinese PLA Medical School, Beijing, China
  • 8National Clinical Research Center for Orthopedics, Sports Medicine and Rehabilitation, Chinese PLA General Hospital, Beijing, China

Purpose: Bone is one of the most common sites for the spread of malignant tumors. Patients with bone metastases whose prognosis was shorter than 3 months (early death) were considered as surgical contraindications. However, the information currently available in the literature limits our capacity to assess the risk likelihood of 3 month mortality. As a result, the study's objective is to create an accurate prediction model utilizing machine-learning techniques to predict 3 month mortality specifically among lung cancer patients with bone metastases according to easily available clinical data.

Methods: This study enrolled 19,887 lung cancer patients with bone metastases between 2010 and 2018 from a large oncologic database in the United States. According to a ratio of 8:2, the entire patient cohort was randomly assigned to a training (n = 15881, 80%) and validation (n = 4,006, 20%) group. In the training group, prediction models were trained and optimized using six approaches, including logistic regression, XGBoosting machine, random forest, neural network, gradient boosting machine, and decision tree. There were 13 metrics, including the Brier score, calibration slope, intercept-in-large, area under the curve (AUC), and sensitivity, used to assess the model's prediction performance in the validation group. In each metric, the best prediction effectiveness was assigned six points, while the worst was given one point. The model with the highest sum score of the 13 measures was optimal. The model's explainability was performed using the local interpretable model-agnostic explanation (LIME) according to the optimal model. Predictor importance was assessed using H2O automatic machine learning. Risk stratification was also evaluated based on the optimal threshold.

Results: Among all recruited patients, the 3 month mortality was 48.5%. Twelve variables, including age, primary site, histology, race, sex, tumor (T) stage, node (N) stage, brain metastasis, liver metastasis, cancer-directed surgery, radiation, and chemotherapy, were significantly associated with 3 month mortality based on multivariate analysis, and these variables were included for developing prediction models. With the highest sum score of all the measurements, the gradient boosting machine approach outperformed all the other models (62 points), followed by the XGBooting machine approach (59 points) and logistic regression (53). The area under the curve (AUC) was 0.820 (95% confident interval [CI]: 0.807–0.833), 0.820 (95% CI: 0.807–0.833), and 0.815 (95% CI: 0.801–0.828), respectively, calibration slope was 0.97, 0.95, and 0.96, respectively, and accuracy was all 0.772. Explainability of models was conducted to rank the predictors and visualize their contributions to an individual's mortality outcome. The top four important predictors in the population according to H2O automatic machine learning were chemotherapy, followed by liver metastasis, radiation, and brain metastasis. Compared to patients in the low-risk group, patients in the high-risk group were more than three times the odds of dying within 3 months (P < 0.001).

Conclusions: Using machine learning techniques, this study offers a number of models, and the optimal model is found after thoroughly assessing and contrasting the prediction performance of each model. The optimal model can be a pragmatic risk prediction tool and is capable of identifying lung cancer patients with bone metastases who are at high risk for 3 month mortality, informing risk counseling, and aiding clinical treatment decision-making. It is better advised for patients in the high-risk group to have radiotherapy alone, the best supportive care, or minimally invasive procedures like cementoplasty.

Introduction

Lung cancer is a major public health concern worldwide. Its mortality came in first and its incidence came in second among all cancer survivors. In 2020, 2.2 million new lung cancer cases were diagnosed, making for 11.4% of all new cases, and in the same year ~1.8 million deaths were reported based on the Global Cancer Statistics (1). Additionally, the number of lung cancer patients was continuing to increase and was estimated to be doubled in 2040 (1).

Metastasis in lung cancer is a multiple process involving several isolated and overlapping steps such as angiogenesis, hypoxia, circulation, and establishment of a metastatic cancer focus (2, 3). Bone is one of the most typical places for lung cancer patients to develop metastases (4). Lung cancer cells and bone-forming cells interact in two directions, which gives malignant cancers a selection advantage and allows them to both destroy bone and produce new bone (4). It was estimated that bone metastases, primarily in the form of osteolytic disease, occurred in 13.2% (5) to 53% (6) of lung cancer patients. Bone metastases could lead to skeletal-related events, which remarkably affected the quality of life and shortened the survival time of lung cancer patients by half (7, 8).

Lung cancer patients who had bone metastases had a somewhat poor prognosis for survival, with a median survival period of roughly 4.0 to 5.0 months (9, 10). The goal of treatment for this disease was to preserve or enhance the patient's quality of remaining life. As new treatment modalities such as targeted therapy, new agents, and immunotherapy improved (11, 12), surgical treatments to assist reduce skeletal-related problems also increased (13). To explain, secure long-bone fixation and decompressive spine surgery were able to maintain or enhance ambulatory function and overall performance status, but surgery was also a two-edged weapon since improper surgical interventions might accelerate patients' death.

In such a situation, determining the best therapeutic strategy became a major concern, requiring doctors to strike a balance between the risk associated with cancer therapies and quality of life for the remaining life period among those patients. Survival estimation seemed to be a critical step and was able to guide the management of bone metastases. Broadly speaking, it was no longer advised to perform surgery on patients with a life expectancy of <3 months (1416). Consequently, accurate survival prediction is crucial since over- or underestimating the likelihood of survival might give rise to ineffective treatment, such as either overly aggressive or insufficient therapies.

Machine learning is a collection of approaches that involve exploring non-linear associations between inputs and outputs, and further assessing the probability of the outcome in another dataset using developed algorithms (17, 18). Machine learning was widely and increasingly used in early cancer detection, treatments, and the molecular processes that underlie cancer (17, 19, 20). Notably, machine learning outperformed conventional eligibility criteria (20) and other non-machine learning methods (21).

The study's objective is to develop a reliable prediction model for predicting 3 month mortality specifically among lung cancer patients with bone metastases. Six approaches including logistic regression, XGBoosting machine, random forest, neural network, gradient boosting machine, and decision tree were introduced. There were 13 metrics used to assess and compare the performance of models' predictions. To accurately predict survival prognosis among those patients, this study hypothesized that machine learning approaches were able to develop a series of models and the optimal model could be found via comparisons.

Methods

Patients and study design

The study analyzed 61,036 patients with bone metastases between 2010 and 2018 from a large oncologic database in the United States (https://seer.cancer.gov/). This database, which receives funding from the Surveillance Research Program at the National Cancer Institute, serves as an authoritative source of information on the country's 28.0% cancer prevalence rate. The database can be accessed publicly and provide patient data without specific identification, so ethics approval and informed consent were not required. We obtained approval to access the database of the National Cancer Institute in the United States using the reference number (23489-Nov2020). The human data was in accordance with the Helsinki Declaration.

Patients with lung cancer and bone metastases were included for analysis. The following were the exclusive criteria: (1) Patients had to be 18 years of age or older; (2) Patients died due to missing or undetermined reasons; (3) Missing data; (4) Patients had cancer other than lung cancer; (5) Patient were alive with a follow-up of <3 months. Patients with bone metastases who met the inclusive and exclusive criteria were enrolled (n = 19,887). A diagram of patients is shown in Figure 1. All patients were randomly split 8:2 into a training group (n = 15,881, 80%) and a validation group (n = 4,006, 20%). Patients in the training group were used to train and optimize models, and patients in the validation group were used to validate models.

FIGURE 1
www.frontiersin.org

Figure 1. Patient's flowchart and study design.

Potential predictors

There were 13 variables from the database included for analysis, including age, primary site [main bronchus vs. upper lobe vs. middle lobe vs. lower lobe vs. overlapping lesion vs. lung, not otherwise specified (NOS)], histology (unspecified neoplasms vs. epithelial neoplasms (NOS) vs. squamous cell neoplasms vs. adenomas and adenocarcinomas vs. others), race (black vs. others vs. unknown vs. white), sex (female vs. male), Tumor (T) stage (T0 vs. T1 vs. T2 vs. T3 vs. T4 vs. TX), Node (N) stage (N0 vs. N1 vs. N2 vs. N3 vs. NX), brain metastasis (no vs. unknown vs. yes), liver metastasis (no vs. unknown vs. yes), lung metastasis (no vs. unknown vs. yes), cancer-directed surgery (no vs. unknown vs. yes), radiation (none/unknown vs. yes), and chemotherapy (none/unknown vs. yes). The above variables were common clinical data that were easily available. Based on the American Joint Committee on Cancer (AJCC) and Extent of Disease (EOD) classification, the tumor stage and node stage were recorded. Patients who underwent surgery for any cancer site, including metastasis resulting from primary cancer, were considered to have cancer-directed surgery. We summarized a table outlining information on cancer-directed surgery (Supplementary Table 1). The term “Radiation” refers to the type of radiation therapy used as part of the initial course of treatment. It is a recode of North American Association of Central Cancer Registries (NAACCR) Item (Supplementary Table 2). Chemotherapy records whether chemotherapy was given (Supplementary Table 3). Early death was defined as patients who died within 3 months. Patients having a follow-up of <3 months who were still alive were excluded from the analysis. The health screening characteristics, such as body mass index, radiographic information, and comorbidities were not available in the database.

Model development

Significant variables were incorporated into the model predictors after multivariate analysis. In the training group, prediction models were trained and optimized using six approaches, including logistic regression, XGBoosting machine, random forest, neural network, gradient boosting machine, and decision tree. The optimal model parameters were found using grid-search and random hyper-parameter search. The models were trained to employ 5-fold cross-validation and 100 iterations of bootstrapping procedures.

Model selection

The models' prediction performance was evaluated in the validation group using 13 measures, including mean predicted probability of 3 month mortality, the Brier score, intercept-in-large, calibration slope, area under curve (AUC), discrimination slope, specificity, sensitivity, negative predictive value (NPV), PPV/precision, recall, Youden, and accuracy. In all approaches, a threshold was also calculated. The best prediction effectiveness was assigned six points and the worst prediction effectiveness was assigned 1 point in each metric in order to comprehensively compare the prediction performance of the six approaches and determine the optimal one. The optimal model was the approach with the highest sum score of the 13 measures. The heatmap was used to visualize the data using the R “pheatmap” package. Decision curve analysis was employed to calculate the net benefits in a range of threshold probabilities in order to determine the therapeutic applicability of models.

Model explainability

The local interpretable model-agnostic explanation (LIME) in the optimal model was used to assess the model's explainability. LIME can explain individual prediction of classifier and is able to interpret the output to comprehend how predictions vary with changing observations after adding weights to input (22). As a result, not only can outcome prediction boost user trust in the prediction model, but also plausible justifications and high transparency.

Importance of model predictors

In the training and validation groups, the importance of predictors was assessed using H2O automatic machine learning (Shapley Additive exPlanations, SHAP). H2O is an open-source, in-memory, distributed, fast, and scalable machine learning and predictive analytics platform that allows users to build machine learning models on big data and provides easy productionalization of those models (https://docs.h2o.ai/h2o/latest-stable/h2o-docs/index.html).

Risk stratification

To individually perform therapeutic interventions, risk stratification was achieved based on the optimal cut-off value (the average threshold of the six algorithms). Patients with risk probabilities of below the optimal cut-off value were categorized into the low-risk category, while patients with risk probabilities above the value were categorized into the high-risk category. The study also calculated the matching actual and anticipated probabilities.

Statistical analysis

Category variables were shown as proportions, while continuous variables were shown as mean and standard deviation (SD). The distribution of categorical variables was compared using Chi-square test and adjusted continuity Chi-square test, while the distribution of continuous variables was compared using t-test. Subgroup analysis was employed to analyze patients with and without cancer-directed surgery. Significant variables linked to 3 month mortality were identified using multivariate analysis. The survival curves for the 11 significant categorical variables were plotted by the R “survival” and “survminer” packages, and the log-rank test was used to compare difference in each variable. The relationship between age and the outcome was also investigated using H2O automatic machine learning. R programming language version 4.1.2 (https://www.r-project.org/) was used for data visualizations and statistical analysis, while Python version 3.9.7 was used for machine learning processes and model explainability. All codes were available at https://github.com/Starxueshu/Code-and-Model. A P-value of < 0.05 was considered statistically significant, and all P-values were two-tailed.

Results

Patient's characteristics

A total of 19,887 patients with a mean age of 68.46 (SD: 11.05) years were included in the analysis (Table 1). Among all enrolled patients, the majority of primary sites was the upper lobe (48.0%), followed by the lower lobe (24.6%), and the most common histology was adenomas and adenocarcinomas (51.1%), and epithelia neoplasm (NOS) ranked the second (30.1%). Those patients seemed in an advanced stage because more than half of patients had T3 or T4 stage and above 65.0% of patients had N2 or N3 stage. in addition to bone metastases, the percentages of brain, liver, and lung metastases were 23.4, 30.5, and 25.7%, respectively. In terms of cancer therapy, the vast majority of patients (98.8%) did not receive cancer-directed surgery, and more than half received radiation or chemotherapy. The median time to death was 4.00 (95% CI: 3.88–4.12) months. The 3 month mortality was up to 48.5%, indicating near half the patients were dead within 3 months.

TABLE 1
www.frontiersin.org

Table 1. Patient's demographics, clinical characteristics, and therapeutic strategies.

Subgroup analysis was employed to analyze patients with and without cancer-directed surgery, and it demonstrated that patients with cancer-directed surgery tended to be younger (64.05 vs. 68.51 years, P < 0.001), and have more adenomas and adenocarcinoma histology (61.7% vs. 50.9%, P < 0.001), earlier T (P < 0.001) and N (P < 0.001) stages, fewer metastases (P < 0.001), and more chemotherapy (60.4% vs. 54.5%, P = 0.001). Therefore, the early mortality of patients who underwent cancer-directed surgery was significantly lower than that of patients without cancer-directed surgery (24.8% vs. 48.8%, P < 0.001). More information is shown in Supplementary Table 4.

Model development

Patients were separated into two groups at random, and a comparison between the two groups was done (Table 1). In the training group, these variables were all similarly distributed, as shown by the P-values that were all more than 0.05. The 13 variables were all significantly different between patients with and without 3 month mortality (Table 2). Furthermore, 12 variables, including age, primary site, histology, race, sex, T and N stage, brain metastasis, liver metastasis, cancer-directed surgery, radiation, and chemotherapy, were also found to be significantly associated with the 3 month mortality (Table 2) and were included for development of prediction models. Six approaches, including logistic regression, XGBoosting machine, random forest, neural network, gradient boosting machine, and decision tree, were conducted to train and optimize prediction models. Supplementary Table 5 provides an overview of the full parameter weights of all techniques.

TABLE 2
www.frontiersin.org

Table 2. Univariate and multivariate analysis of risk factors for 3 month mortality among bone metastasis patients with lung cancer in the training group.

Model selection

The validation group used 13 measures to assess models' prediction performance. The AUC for the gradient boosting machine and XGBoosting machine was both 0.820 (95% confident interval [CI]: 0.807–0.833), for the neural network approach it was 0.818 (95% CI: 0.805–0.832), for the logistic regression model it was 0.815 (95% CI: 0.801–0.828), for the random forest approach it was 0.811 (95% CI: 0.798–0.824), and for the decision tree approach it was 0.806 (0.792–0.820) (Supplementary Figure 1). The corresponding calibration slopes were 0.97, 0.95, 0.88, 0.96, 1.49, and 0.88, respectively (Figure 2), and the discrimination slopes were 0.334, 0.338, 0.349, 0.327, 0.228, and 0.349, respectively (Supplementary Figure 2). More information about the prediction measures is summarized in Table 3. Probability curves were plotted for each approach (Figure 3). With the least overlap in probability curves and the greatest separation of the two groups, these models—in particular the gradient boosting machine, XGBoosting machine, and logistic regression—demonstrated significant separation of the curves. To comprehensively evaluate the predictive performance and finally find out the optimal one, the optimal prediction effectiveness was assigned six points and the worst prediction effectiveness was assigned one point in each measure. The heatmap for prediction effectiveness among the six approaches is displayed in Figure 4. The gradient boosting machine approach performed best with the highest sum score of all the measures (62 points), followed by the XGBooting machine approach (59 points) and logistic regression (53 points). Additionally, decision curve analysis revealed that all approaches, especially the gradient boosting machine, had favorable clinical usefulness (Supplementary Figure 3). As a result, the model developed by the gradient boosting machine approach was used to present model explainability.

FIGURE 2
www.frontiersin.org

Figure 2. The calibration curves. (A) Logistic Regression; (B) XGBooting Machine; (C) Random Forest; (D) Gradient Boosting Machine; (E) Neural Network; (F) Decision Tree.

TABLE 3
www.frontiersin.org

Table 3. Prediction performance of machine learning algorithms for the estimation of 3 month mortality among bone metastasis patients with lung cancer.

FIGURE 3
www.frontiersin.org

Figure 3. The probability curves. (A) Logistic Regression; (B) XGBooting Machine; (C) Random Forest; (D) Gradient Boosting Machine; (E) Neural Network; (F) Decision Tree. The green group indicates patients were alive for above 3 months and the red group indicates patients were died at or within 3 months.

FIGURE 4
www.frontiersin.org

Figure 4. The heatmap of prediction metrics for the six techniques. AUC, area under curve; NPV, negative predictive value.

Model's explainability

Explainability of models was conducted to rank the predictors and visualize their contributions to an individual's mortality outcome. The three individuals in Figures 5A–C that died within 3 months had a high anticipated 3 month mortality (True positive). The three cases in Figures 5D–F that were alive longer than 3 months had a low anticipated probability of 3 month mortality (True negative). The top 10 variables were sorted based on the weight of each variable that was presented by the length of the red or green boxes. The red boxes indicated risk factors for 3 month mortality, and the green boxes indicated protective factors for 3 month mortality. In the first case, it depicted a specific individual who had a 90.0% chance of dying within 3 months. In this case, no chemotherapy, no cancer-directed surgery, liver metastasis, an age of 82 years, radiation, male, upper lobe, and T4 stage were all risk contributors to 3 month mortality, while no brain metastasis and epithelial (NOS) were protective factors for the outcome. The top three important predictors were chemotherapy, cancer-directed surgery, and liver metastasis, and the weight of each predictor could be obtained by referring to the X-axis.

FIGURE 5
www.frontiersin.org

Figure 5. Local interpretable model explainer for six individual cases. (A) The first true positive case; (B) The second true positive case; (C) The third true positive case; (D) The first true negative case; (E) The second true negative case; (F) The third true negative case. Features with a green bar indicates protective prognostic factors, and those with red bar represents contributing risk factors. The x-axis depicts how much each predictor added or subtracted to the final probability for the specific patient.

Importance of model predictors

Predictor importance evaluation was performed using H2O automatic machine learning in the entire cohort of patients. The learning curve demonstrated that the H2O automatic machine learning was neither underfit nor overfit (Supplementary Figure 4). Chemotherapy, followed by liver metastasis, radiation, and brain metastasis were the top four important contributors to the outcome among all variables in both training (Supplementary Figure 5A) and validation (Supplementary Figure 5B) groups according to SHAP summary plots. SHAP summary plot is able to depict the contribution of the features for each instance (row of data). The Kaplan-Meier survival curves showed great discrimination between patients with and without the treatment of chemotherapy (P < 0.0001, log-rank test, Supplementary Figure 5C) or radiation (P < 0.0001, log-rank test, Supplementary Figure 5D). When compared to patients without liver or brain metastasis, individuals who had either of these metastases had significantly worse overall survival outcomes (P < 0.0001, log-rank test, Supplementary Figures 5E,F). For primary site, histology, race, sex, tumor (T) stage, node (N) stage, and cancer-directed surgery, survival curves were also plotted (Supplementary Figures 612). The relationship between age and the outcome was also displayed using the H2O automatic machine learning, showing that the 3 month mortality increased over time as age grew (Supplementary Figure 13A). Additionally, when age was divided into deciles, two categorical age groups could be obtained (Supplementary Figure 13B): patients with a relatively high risk of 3 month mortality (above the partial dependence line) and patients with a relatively low risk of 3 month mortality (belove the dependence line).

Risk stratification

Based on the optimal cut-off value (40.00%), patients were categorized into a low-risk group and a high-risk group (Table 4). Patients in the low-risk group had a probability of <40%, and patients in the high-risk group had a probability of >40.00%. Patients in the high-risk group had more than 3 times the odds of dying within 3 months as compared to patients in the high-risk group (P < 0.001), with regard to the gradient boosting machine. The six algorithms are shown in Figure 6 with the survival curves stratified by the risk group, and all six algorithms demonstrated a significant difference in survival outcome between the two risk groups (All P < 0.001, log-rank test).

TABLE 4
www.frontiersin.org

Table 4. Risk stratification based on the optimal cut-off value in the models.

FIGURE 6
www.frontiersin.org

Figure 6. Kaplan-Meier survival curves stratified by risk group (All P < 0.001, log-rank test). (A) Logistic Regression; (B) XGBooting Machine; (C) Random Forest; (D) Gradient Boosting Machine; (E) Neural Network; (F) Decision Tree.

Discussion

This study developed models using machine learning approaches, and the optimal model is selected after comprehensively assessing and comparing the prediction performance. The gradient boosting machine approach performed best, followed by XGBooting machine approach and logistic regression based on the overall of the 13 prediction measures. The optimal model demonstrated favorable discrimination and calibration, and as a result, the models' explainability was performed in this optimal model to improve the models' trust and transparency. Additionally, the importance of variables was investigated in individuals and among the whole population.

In the entire cohort of patients, the 3 month mortality was up to 48.5% and the median survival time was 4.0 months, both of which were consistent with prior studies (9, 10). Literature reported that the median survival period for lung cancer patients with bone metastases was 4.0 to 5.0 months (9, 10). In the study, we found that the 3 month mortality was significantly correlated with age, primary site, histology, race, sex, T stage, N stage, brain metastasis, liver metastasis, cancer-directed surgery, radiation, and chemotherapy. These variables were easily available, and the majority of these variables had already been proven in previous studies (2325). To be more specific, older age, male, advanced T or N stage, and brain or live metastasis were risk factors, while adenocarcinoma, cancer-directed surgery, radiation, and chemotherapy were protective factors.

The use of surgical procedures, such as stable fixation of long bones and spine decompressive surgery, to maintain or improve patients' functional outcomes and overall performance status has increased in recent years due to the development of therapeutic modalities (11, 12). But the major concern was whether post-operative recovery or surgery-related complications would be a balance between benefits and harms for patients in their remaining survival time. To address this issue, several survival scoring systems were proposed to optimize the balance between surgical interventions and survival outcomes among patients with bone metastases. In 2021, for instance, Owari et al. (26) proposed a scoring system to predict survival outcomes among patients with bone metastases in a cohort of 489 patients with genitourinary cancers; Katagiri et al. (27) developed a new prognostic scoring system to predict survival outcome in a cohort of 808 patients with skeletal metastases; More recently, Chi et al. (28) created a nomogram to predict survival prognosis among 326 bone metastases patients with head and neck cancer. However, the above scoring systems are derived from several primary cancer types which might have different patterns of metastases, and thus the prognostic ability might cannot appropriately work among bone metastases in particular lung cancer patients who had a relatively very short life expectancy. Kang et al. (29) created nomograms for predicting overall survival, progression-free survival, and time-to-progression at 5 years in 714 patients with early-stage non-small cell lung cancer after stereotactic ablative radiation therapy. The C-indexes for the nomograms of overall survival, progression-free survival, and time-to-progression were 0.72, 0.66, and 0.59, respectively, in the validation cohort. Pruksakorn et al. (10) established a prognostic scoring system to predict life expectancy in a total of 505 lung cancer patients with bone metastases, Rades et al. (30) proposed a scoring system to estimate survival among lung cancer patients after treating with radiotherapy (n = 120), and Lei et al. (31) constructed a score to predict survival time among spinal metastatic lung cancer patients (n = 73). Although the above scoring systems were designed specifically for lung cancer patients with or without bone metastases, these scoring systems had very limited samples and evaluations of prediction metrics, and thus their generalization needed further investigations.

The present study introduced six approaches to develop corresponding six models and used 13 metrics to assess and compare the prediction performance of these models. Subsequently, the optimal model was selected to present model explainability, and six individual specific cases were illustrated in the study. In these cases, the explainer model ranked and displayed the top 10 predictors according to the relative importance of each predictor individually. The explainer model not only calculated the individually predicted probability of 3 month mortality in each given case, but also enabled users to have a deep understanding of how the model arrived at the conclusion. As a result, users' trusts and model transparency could be remarkably enhanced (32). Predictor importance was also evaluated using H2O automatic machine learning in the entire patient cohort, and it demonstrated that the top four important predictors were chemotherapy, radiation, liver metastasis, and brain metastasis. Therefore, taking steps to administer chemotherapy or radiation while preventing liver and brain metastases would significantly improve the prognosis for survival. Additionally, this study sheds a light on the connection between age and 3 month mortality.

Patients were categorized into a low-risk group and a high-risk group in order to undertake therapy strategies individually. Compared to patients in the high-risk group, those in the high-risk group had more than three times the odds of developing ab early death (P < 0.001). Patients in the high-risk group were advised to receive radiotherapy alone, the best supportive care, or minimally invasive techniques like cementoplasty, because they might not be able to recover quickly enough to benefit from surgery. Since patients in the low-risk group had a somewhat longer life expectancy and were more likely to benefit from more invasive therapies, aggressive procedures, such as excisional surgery for spine or bone metastases, and long-term radiations, were better carried out on these individuals.

Limitations

Despite the fact that this study presented and validated more accurate models, it still had some restrictions. For starters, although there might be significant predictors of survival such as the quantity and location of bone metastases, the systemic immune-inflammation index (29), and the Charlson comorbidity index (29), these variables were not available in the SEER database. With the easily available clinical data, our proposed model already had favorable prediction performance based on discrimination and calibration. Furthermore, even though internal validation of the model yielded encouraging findings, external validation of the model was not carried out, necessitating additional research before the model could be generalized.

Conclusions

Using machine learning techniques, this study offers a number of models, and the optimal model is found after thoroughly assessing and contrasting the prediction performance of each model. The optimal model can be a pragmatic risk prediction tool and is capable of identifying lung cancer patients with bone metastases who are at high risk for 3 month mortality, informing risk counseling, and aiding clinical treatment decision-making. It is better advised for patients in the high-risk group to have radiotherapy alone, the best supportive care, or minimally invasive procedures like cementoplasty.

Data availability statement

Publicly available datasets were analyzed in this study. This data can be found here: The database can be accessed publicly and provide patient data without specific identification, so ethics approval and informed consent were not required. We obtained approval to access the database of the National Cancer Institute in the United States using the reference number 23489-Nov2020 (https://seer.cancer.gov/). The human data was in accordance with the Declaration of Helsinki.

Ethics statement

Ethical review and approval was not required for the study on human participants in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required for this study in accordance with the national legislation and the institutional requirements.

Author contributions

XS and SW oversaw data collection. YC and ML performed the analysis. SW and ML drafted the manuscript. ML has full access to all the data in the study and had final responsibility for the decision to submit for publication. All authors conceived and designed the analysis, provided clinical interpretation of the findings, reviewed, edited, and confirmed their acceptance of the final submitted version.

Funding

This study was supported by National Orthopedics and Sports Rehabilitation Clinical Medical Research Center Innovation Fund Project (2021-NCRC-CXJJ-PY-20) and Hainan Province Clinical Medical Center.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpubh.2022.1019168/full#supplementary-material

Supplementary Figure 1. The receiver operating curve for the six approaches.

Supplementary Figure 2. The box plots of predicted probabilities of 3 month mortality between patients who actually died at or within 3 months (“Yes”) and patients who actually were alive for above 3 months (“No”). (A) Logistic Regression; (B) XGBooting Machine; (C) Random Forest; (D) Gradient Boosting Machine; (E) Neural Network; (F) Decision Tree.

Supplementary Figure 3. Decision curve analysis of the six approaches. The horizontal gray line indicates treated-for-none scheme and another reference line indicates treated-for-all scheme.

Supplementary Figure 4. The learning curve for H2O machine learning.

Supplementary Figure 5. Importance of model predictors. (A) SHAP summary plot in the training group; (B) SHAP summary plot in the validation group; (C) Kaplan-Meier survival curve stratified by chemotherapy (P < 0.0001, log-rank test); (D) Kaplan-Meier survival curve stratified by radiation (P < 0.0001, log-rank test); (E) Kaplan-Meier survival curve stratified by liver metastasis (P < 0.0001, log-rank test); (F) Kaplan-Meier survival curve stratified by brain metastasis (P < 0.0001, log-rank test). In the SHAP summary plot, the y-axis is the features and the x-axis is the Shapley value in each case. Color represents the eigenvalue (red indicates high and blue indicates low) and enables us to match how the change of eigenvalue affects risk. The overlapping points jitter in the direction of y-axis, it can enable us to understand how the Shapley value distribute in each feature, and these features are sorted according to their importance.

Supplementary Figure 6. Kaplan-Meier survival curve stratified by histology (P < 0.0001, log-rank test).

Supplementary Figure 7. Kaplan-Meier survival curve stratified by N stage (P < 0.0001, log-rank test).

Supplementary Figure 8. Kaplan-Meier survival curve stratified by primary site (P < 0.0001, log-rank test).

Supplementary Figure 9. Kaplan-Meier survival curve stratified by race (P < 0.0001, log-rank test).

Supplementary Figure 10. Kaplan-Meier survival curve stratified by sex (P < 0.0001, log-rank test).

Supplementary Figure 11. Kaplan-Meier survival curve stratified by caner-directed surgery (P < 0.0001, log-rank test).

Supplementary Figure 12. Kaplan-Meier survival curve stratified by T stage (P < 0.0001, log-rank test).

Supplementary Figure 13. The association between age and response (3 month mortality) evaluated using the H2O machine learning. (A) Partial dependence plot for age; (B) Individual conditional expectation for gradient boosting machine according to decile.

Supplementary Table 1. Code and description about cancer-directed surgery.

Supplementary Table 2. Code and description about radiation.

Supplementary Table 3. Code and description about chemotherapy.

Supplementary Table 4. A comparison of clinical characteristics among patients with and without surgery. aIndicates continuity adjusted Chi-Square; bIndicates American Indian/AK Native, Asian/Pacific Islander. SD, standard deviation; NOS, not otherwise specified; T stage, tumor stage; N stage, node stage.

Supplementary Table 5. Approaches and parameters.

References

1. Sung H, Ferlay J, Siegel RL, Laversanne M, Soerjomataram I, Jemal A, et al. Global Cancer Statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin. (2021) 71:209–49. doi: 10.3322/caac.21660

PubMed Abstract | CrossRef Full Text | Google Scholar

2. Popper HH. Progression and metastasis of lung cancer. Cancer Metastasis Rev. (2016) 35:75–91. doi: 10.1007/s10555-016-9618-0

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Thai AA, Solomon BJ, Sequist LV, Gainor JF, Heist RS. Lung cancer. Lancet. (2021) 398:535–54. doi: 10.1016/S0140-6736(21)00312-3

PubMed Abstract | CrossRef Full Text | Google Scholar

4. Yin JJ, Pollock CB, Kelly K. Mechanisms of cancer metastasis to the bone. Cell Res. (2005) 15:57–62. doi: 10.1038/sj.cr.7290266

PubMed Abstract | CrossRef Full Text | Google Scholar

5. da Silva GT, Bergmann A, Thuler LCS. Incidence and risk factors for bone metastasis in non-small cell lung cancer. Asian Pac J Cancer Prev. (2019) 20:45–51. doi: 10.31557/APJCP.2019.20.1.45

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Erturan S, Yaman M, Aydin G, Uzel I, Musellim B, Kaynak K. The role of whole-body bone scanning and clinical factors in detecting bone metastases in patients with non-small cell lung cancer. Chest. (2005) 127:449–54. doi: 10.1378/chest.127.2.449

PubMed Abstract | CrossRef Full Text | Google Scholar

7. Hernandez RK, Wade SW, Reich A, Pirolli M, Liede A, Lyman GH. Incidence of bone metastases in patients with solid tumors: analysis of oncology electronic medical records in the United States. BMC Cancer. (2018) 18:44. doi: 10.1186/s12885-017-3922-0

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Tsuya A, Kurata T, Tamura K, Fukuoka M. Skeletal metastases in non-small cell lung cancer: a retrospective study. Lung Cancer. (2007) 57:229–32. doi: 10.1016/j.lungcan.2007.03.013

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Zheng XQ, Huang JF, Lin JL, Chen L, Zhou TT, Chen D, et al. Incidence, prognostic factors, and a nomogram of lung cancer with bone metastasis at initial diagnosis: a population-based study. Transl Lung Cancer Res. (2019) 8:367–79. doi: 10.21037/tlcr.2019.08.16

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Pruksakorn D, Phanphaisarn A, Settakorn J, Arpornchayanon U, Tantraworasin A, Chaiyawat P, et al. Prognostic score for life expectancy evaluation of lung cancer patients after bone metastasis. J Bone Oncol. (2018) 10:1–5. doi: 10.1016/j.jbo.2017.10.001

PubMed Abstract | CrossRef Full Text | Google Scholar

11. Lareau S, Slatore C, Smyth R. Lung cancer. Am J Respir Crit Care Med. (2021) 204:P21–2. doi: 10.1164/rccm.20411P21

PubMed Abstract | CrossRef Full Text | Google Scholar

12. Hofbauer LC, Bozec A, Rauner M, Jakob F, Perner S, Pantel K. Novel approaches to target the microenvironment of bone metastasis. Nat Rev Clin Oncol. (2021) 18:488–505. doi: 10.1038/s41571-021-00499-9

PubMed Abstract | CrossRef Full Text | Google Scholar

13. Bouthors C, Laumonerie P, Crenn V, Prost S, Blondel B, Fuentes S, et al. Surgical treatment of bone metastasis from osteophilic cancer. Results in 401 peripheral and spinal locations. Orthop Traumatol Surg Res. (2021) 22:103193. doi: 10.1016/j.otsr.2021.103193

PubMed Abstract | CrossRef Full Text | Google Scholar

14. Cui Y, Lei M, Pan Y, Lin Y, Shi X. Scoring algorithms for predicting survival prognosis in patients with metastatic spinal disease: the current status and future directions. Clin Spine Surg. (2020) 33:296–306. doi: 10.1097/BSD.0000000000001031

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Lei M, Li J, Liu Y, Jiang W, Liu S, Zhou S. Who are the best candidates for decompressive surgery and spine stabilization in patients with metastatic spinal cord compression?: A new scoring system. Spine. (2016) 41:1469–76. doi: 10.1097/BRS.0000000000001538

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Lei M, Liu Y, Liu S, Wang L, Zhou S, Zhou J. Individual strategy for lung cancer patients with metastatic spinal cord compression. Eur J Surg Oncol. (2016) 42:728–34. doi: 10.1016/j.ejso.2016.01.018

PubMed Abstract | CrossRef Full Text | Google Scholar

17. Greener JG, Kandathil SM, Moffat L, Jones DT. A guide to machine learning for biologists. Nat Rev Mol Cell Biol. (2022) 23:40–55. doi: 10.1038/s41580-021-00407-0

PubMed Abstract | CrossRef Full Text | Google Scholar

18. Handelman GS, Kok HK, Chandra RV, Razavi AH, Lee MJ, Asadi H. eDoctor: machine learning and the future of medicine. J Intern Med. (2018) 284:603–19. doi: 10.1111/joim.12822

PubMed Abstract | CrossRef Full Text | Google Scholar

19. Elemento O, Leslie C, Lundin J, Tourassi G. Artificial intelligence in cancer research, diagnosis and therapy. Nat Rev Cancer. (2021) 21:747–52. doi: 10.1038/s41568-021-00399-1

PubMed Abstract | CrossRef Full Text | Google Scholar

20. Gould MK, Huang BZ, Tammemagi MC, Kinar Y, Shiff R. Machine learning for early lung cancer identification using routine clinical and laboratory data. Am J Resp Crit Care. (2021) 204:445–53. doi: 10.1164/rccm.202007-2791OC

PubMed Abstract | CrossRef Full Text | Google Scholar

21. Heo J, Yoon JG, Park H, Kim YD, Nam HS, Heo JH. Machine learning-based model for prediction of outcomes in acute stroke. Stroke. (2019) 50:1263–65. doi: 10.1161/STROKEAHA.118.024293

PubMed Abstract | CrossRef Full Text | Google Scholar

22. Palatnik de Sousa I, Maria Bernardes Rebuzzi Vellasco M, Costa da Silva E. Local interpretable model-agnostic explanations for classification of lymph node metastases. Sensors. (2019) 19:2969. doi: 10.3390/s19132969

PubMed Abstract | CrossRef Full Text | Google Scholar

23. Sugiura H, Yamada K, Sugiura T, Hida T, Mitsudomi T. Predictors of survival in patients with bone metastasis of lung cancer. Clin Orthop Relat Res. (2008) 466:729–36. doi: 10.1007/s11999-007-0051-0

PubMed Abstract | CrossRef Full Text | Google Scholar

24. Xue M, Chen G, Chen X, Hu J. Predictors for survival in patients with bone metastasis of small cell lung cancer: a population-based study. Medicine. (2021) 100:e27070. doi: 10.1097/MD.0000000000027070

PubMed Abstract | CrossRef Full Text | Google Scholar

25. Guo X, Ma W, Wu H, Xu Y, Wang D, Zhang S, et al. Synchronous bone metastasis in lung cancer: retrospective study of a single center of 15,716 patients from Tianjin, China. BMC Cancer. (2021) 21:613. doi: 10.1186/s12885-021-08379-2

PubMed Abstract | CrossRef Full Text | Google Scholar

26. Owari T, Miyake M, Nakai Y, Tanaka N, Itami Y, Hirao S, et al. External validation of a genitourinary cancer-specific prognostic scoring system to predict survival for patients with bone metastasis (modified B-FOM scoring model): comparison with other scoring models in terms of accuracy. J Bone Oncol. (2021) 26:100344. doi: 10.1016/j.jbo.2020.100344

PubMed Abstract | CrossRef Full Text | Google Scholar

27. Katagiri H, Okada R, Takagi T, Takahashi M, Murata H, Harada H, et al. New prognostic factors and scoring system for patients with skeletal metastasis. Cancer Med. (2014) 3:1359–67. doi: 10.1002/cam4.292

PubMed Abstract | CrossRef Full Text | Google Scholar

28. Chi C, Fan Z, Yang B, Sun H, Zheng Z. The clinical characteristics and prognostic nomogram for head and neck cancer patients with bone metastasis. J Oncol. (2021) 2021:5859757. doi: 10.1155/2021/5859757

PubMed Abstract | CrossRef Full Text | Google Scholar

29. Kang J, Ning MS, Feng H, Li H, Bahig H, Brooks ED, et al. Predicting 5-year progression and survival outcomes for early stage non-small cell lung cancer treated with stereotactic ablative radiation therapy: development and validation of robust prognostic nomograms. Int J Radiat Oncol Biol Phys. (2020) 106:90–9. doi: 10.1016/j.ijrobp.2019.09.037

PubMed Abstract | CrossRef Full Text | Google Scholar

30. Rades D, Motisi L, Veninga T, Conde-Moreno A, Cacicedo J, Schild SE. Predictors of outcomes and a scoring system for estimating survival in patients treated with radiotherapy for metastatic spinal cord compression from small-cell lung cancer. Clin Lung Cancer. (2019) 20:322–9. doi: 10.1016/j.cllc.2019.04.005

PubMed Abstract | CrossRef Full Text | Google Scholar

31. Lei M, Liu Y, Yan L, Tang C, Yang S, Liu S. A validated preoperative score predicting survival and functional outcome in lung cancer patients operated with posterior decompression and stabilization for metastatic spinal cord compression. Eur Spine J. (2016) 25:3971–78. doi: 10.1007/s00586-015-4290-6

PubMed Abstract | CrossRef Full Text | Google Scholar

32. De Fauw J, Ledsam JR, Romera-Paredes B, Nikolov S, Tomasev N, Blackwell S, et al. Clinically applicable deep learning for diagnosis and referral in retinal disease. Nat Med. (2018) 24:1342–50. doi: 10.1038/s41591-018-0107-6

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: lung cancer, bone metastasis, machine learning, mortality, clinical decision-making, model explainability

Citation: Cui Y, Shi X, Wang S, Qin Y, Wang B, Che X and Lei M (2022) Machine learning approaches for prediction of early death among lung cancer patients with bone metastases using routine clinical characteristics: An analysis of 19,887 patients. Front. Public Health 10:1019168. doi: 10.3389/fpubh.2022.1019168

Received: 14 August 2022; Accepted: 20 September 2022;
Published: 06 October 2022.

Edited by:

Hongyu Miao, Florida State University, United States

Reviewed by:

Seogsong Jeong, CHA University, South Korea
Qian Du, GNS Healthcare, United States

Copyright © 2022 Cui, Shi, Wang, Qin, Wang, Che and Lei. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Xuedong Shi, eHVlZG9uZ3MmI3gwMDA0MDtob3RtYWlsLmNvbQ==; Mingxing Lei, ODI1OTc5MDIwJiN4MDAwNDA7cXEuY29t; Yong Qin, cWlueW9uZzAxMjUmI3gwMDA0MDsxMjYuY29t

These authors have contributed equally to this work

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.