A nasopharyngeal carcinoma patient prognosis prediction method, device and medium
By constructing composite and interactive features, and combining frailty, inflammation, and nutritional indicators, a randomly generated forest model is used to predict the prognosis of nasopharyngeal carcinoma patients. This solves the problem of insufficient prediction accuracy in existing technologies and achieves more efficient prognostic assessment.
Patent Information
- Application Number
- CN202611302133.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-20
AI Technical Summary
Existing prognostic assessment methods for nasopharyngeal carcinoma are ineffective in handling multicollinearity, nonlinear relationships, and higher-order interactions, and neglect the influence of frailty and inflammatory nutritional indicators, resulting in insufficient prediction accuracy.
We constructed composite and interactive features, combined with frailty, inflammation, and nutritional indicators, and used a randomly generated forest model to predict the prognosis of nasopharyngeal carcinoma patients. We then used the Bootstrap internal validation method to fine-tune the hyperparameters.
It improves the accuracy and stability of the prognostic prediction model for nasopharyngeal carcinoma patients, effectively integrates multidimensional information, captures nonlinear relationships, and enhances predictive efficacy.
Smart Images

Figure CN123143003A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of tumor prognostic assessment and artificial intelligence technology, and in particular to a method, device and medium for predicting the prognosis of nasopharyngeal carcinoma patients. Background Technology
[0002] Nasopharyngeal carcinoma (NPC) is a common head and neck malignancy with a high proportion of locally advanced cases and a high risk of distant metastasis. Despite the widespread use of conventional treatments such as radiotherapy and chemotherapy, a significant proportion of patients still experience recurrence and metastasis, leading to a significant reduction in overall survival (OS) and progression-free survival (PFS). Therefore, early identification of high-risk patients with poor prognosis is of great clinical significance for implementing individualized treatment.
[0003] Currently, most clinically used prognostic assessment methods are based on traditional Cox proportional hazards regression models for survival analysis. However, this method is sensitive to multicollinearity among variables and struggles to effectively handle nonlinear relationships and higher-order interactions, resulting in limited predictive efficacy. Furthermore, existing models often focus on TNM staging or EBV-DNA levels, neglecting a comprehensive assessment of the patient's overall condition, particularly the potential prognostic impact of frailty and inflammatory nutritional indicators. Frailty is a multidimensional clinical syndrome characterized by a decline in physiological reserve and has been proven to be a significant predictor of reduced treatment tolerance and poor prognosis in patients with malignant tumors. Inflammatory nutritional indicators reflect a patient's overall immune status and nutritional level, and are closely related to tumor progression and survival. Currently, there is a lack of prognostic assessment tools for NPC based on frailty and inflammatory nutritional indicators.
[0004] In recent years, artificial intelligence technology has developed rapidly, and machine learning has shown great promise in the medical and health field, especially in tumor prognosis prediction. Random forest, as a classic machine learning method, reduces the risk of overfitting by integrating multiple decision trees, possesses the ability to handle high-dimensional data and identify nonlinear relationships, and has good clinical interpretability. However, existing models lack systematic enhancement strategies at the input feature level, failing to expand the feature space through interactive feature construction and fusion index construction, thus limiting further improvement in model prediction accuracy. Currently, most published NPC prognostic models directly incorporate various clinical indicators (such as TNM stage, EBV-DNA, age, etc.) as independent variables into the prediction model, ignoring the potential nonlinear interactions between different indicators, and failing to attempt to fuse biologically related multidimensional indicators into more informative composite input features through feature construction. Especially in the combined application of frailty assessment and inflammatory nutritional indicators, existing research has not yet conducted in-depth feature-level modeling of their synergistic effects.
[0005] Furthermore, in terms of feature construction, existing research lacks systematic input feature enhancement strategies. On the one hand, the indicators of the three dimensions of frailty, inflammation, and nutrition each carry prognostic information, but existing methods only input them as independent variables side-by-side, failing to integrate cross-domain information into highly informative composite features through fusion construction. This forces the model to learn complex cross-domain interactions on its own, increasing the demand for large-scale data. On the other hand, there is a strong mathematical correlation among inflammatory indicators such as NLR, PLR, and SII (all with lymphocyte count as the denominator), and direct side-by-side input may dilute the importance of variables.
[0006] In summary, existing technologies lack prognostic prediction models for nasopharyngeal carcinoma (NPC) based on frailty and inflammatory nutritional indicators, and have deficiencies in feature space construction. There is an urgent need for a method, device, and medium that can integrate multidimensional information and construct high-information-content composite input features through input feature enhancement strategies to improve the accuracy and stability of NPC prognostic prediction models. Summary of the Invention
[0007] To address the aforementioned technical problems, this invention proposes a method, device, and medium for predicting the prognosis of nasopharyngeal carcinoma (NPC) patients. It achieves NPC prognosis prediction based on frailty and inflammatory nutritional indicators by constructing composite and interactive features. The technical solution is as follows: This invention provides a method for predicting the prognosis of nasopharyngeal carcinoma patients, comprising: S1. Collect clinical data of nasopharyngeal carcinoma patients, including demographic characteristics, body mass index, clinical stage, frailty assessment indicators, inflammatory and nutritional indicators, and physical condition scores. S2. Based on the clinical data, construct the frailty-inflammation-nutrition integrated feature, the first frailty-inflammation interaction feature, the second frailty-inflammation interaction feature, and the nutrition-body composition interaction feature; S3. Using clinical data and features constructed in S2 as predictors, and patients' OS and PFS outcomes as outcome variables, a randomized forest model is constructed. S4. The hyperparameters of the randomly generated forest model were tuned using the Bootstrap internal validation method to obtain a prognostic prediction model for nasopharyngeal carcinoma patients. S5. Obtain the latest patient data, input it into the nasopharyngeal carcinoma patient prognosis prediction model, output the prognosis prediction result, and complete the prognosis prediction for nasopharyngeal carcinoma patients.
[0008] Optionally, in S1, inflammatory nutritional indicators include the neutrophil-to-lymphocyte ratio, platelet-to-lymphocyte ratio, lymphocyte-to-monocyte ratio, systemic immune inflammatory index, and prognostic nutritional index.
[0009] Optionally, in S2, the calculation expression for the frailty-inflammation-nutrition comprehensive feature is as follows: ; wherein, FINI represents the frailty-inflammation-nutrition comprehensive feature; w1, w2, w3 represent fusion weights, w1 + w2 + w3 = 1 and w1, w2, w3 are non-negative; CFS represents the frailty status assessment indicator, CFS_max represents the maximum value of the frailty status assessment indicator; SII represents the systemic immune-inflammation index, SII_ref represents the median of the systemic immune-inflammation index; PNI represents the prognostic nutritional index, PNI_ref represents the median of the prognostic nutritional index.
[0010] Optionally, in S2, the construction manners of the interaction feature include: taking the product of the frailty status assessment indicator and the systemic immune-inflammation index as the first frailty-inflammation interaction feature; taking the product of the frailty status assessment indicator and the neutrophil-to-lymphocyte ratio as the second frailty-inflammation interaction feature; taking the product of the prognostic nutritional index and the body mass index as the nutrition-body composition interaction feature.
[0011] Optionally, in S3, the process of constructing the random survival forest model includes: S3.1. Bootstrap sampling: randomly draw N samples with replacement from the original data to generate survival trees; S3.2. Node splitting: for each node of each survival tree, randomly select m candidate predictors (m << M); select the splitting criterion that maximizes the survival difference between nodes to perform node splitting, wherein the splitting criterion adopts the Log-rank splitting criterion, and the calculation formula thereof is: ; wherein, represents the splitting evaluation statistic based on the Log-rank test, is the splitting variable, is the splitting point, is the number of people at risk at the time point, is the number of events occurring at the time point, represents the number of events occurring at the th time point in the left child node, represents the number of people in the risk set at the th time point in the left child node after the candidate splitting, S3.3. Cumulative risk function calculation: after each survival tree is constructed, calculate the cumulative risk function of each terminal node; for a new sample Its final cumulative risk forecast value For all The average value of the predicted values for each survival tree is calculated using the following expression: ; in, Indicates the first Trees for samples The cumulative risk forecast value.
[0012] Optionally, in S4, the hyperparameters include the number of candidate variables for nodes, the number of trees, and the minimum number of samples for leaf nodes.
[0013] Optionally, in S4, model tuning aims to minimize out-of-bag error by selecting the optimal combination of hyperparameters.
[0014] In addition, the present invention also provides a computer device, including a processor and a memory; The memory stores computer programs; When the processor executes the computer program, it implements the steps of the prognostic prediction method for nasopharyngeal carcinoma patients as described above.
[0015] In addition, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method for predicting the prognosis of nasopharyngeal carcinoma patients.
[0016] The application of the technical solution of the present invention has at least the following beneficial effects: This invention proposes a prognostic prediction method for nasopharyngeal carcinoma (NPC) patients, incorporating frailty status assessment indicators. Furthermore, it integrates inflammatory and nutritional indicators to construct a comprehensive frailty-inflammation-nutrition feature, a first frailty-inflammation interaction feature, a second frailty-inflammation interaction feature, and a nutrition-body composition interaction feature. By expanding the feature space through these comprehensive and interaction features, a prognostic prediction model for NPC patients can be built. Compared to existing technologies, this invention integrates frailty status, inflammatory and nutritional indicators, and conventional clinicopathological parameters to construct a multi-dimensional information-based prognostic prediction model for NPC patients' overall survival (OS) and progression-free survival (PFS), providing a prognostic prediction scheme for NPC patients that can analyze frailty and inflammatory / nutritional indicators. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0018] Figure 1 This is a flowchart of the steps in the prognosis prediction method for nasopharyngeal carcinoma patients in a preferred embodiment of the present invention; Figure 2 This is a time-dependent ROC curve of the model in the preferred embodiment of the present invention predicting 3-year and 5-year PFS in the validation set; Figure 3 The image shows the time-dependent ROC curves of the model's prediction of 3-year and 5-year OS in the validation set in a preferred embodiment of the present invention. Detailed Implementation
[0019] Some existing NPC prognostic prediction models use single-effects analysis, such as the Cox proportional hazards regression model. The Cox model is based on linear and proportional hazards assumptions, which makes it difficult to effectively capture the complex nonlinear interactions between multidimensional variables such as frailty, inflammation, nutrition and tumor stage. This leads to the model's predictive efficacy tending to saturate, and it shows obvious limitations when dealing with high-dimensional heterogeneous clinical data, which restricts its clinical translational application in precise prognostic stratification.
[0020] Frailty is a multidimensional and complex geriatric syndrome, characterized by a progressive decline in the reserve capacity of multiple physiological systems, leading to a significant increase in an individual's susceptibility to stressful events. In the treatment of nasopharyngeal carcinoma (NPC), while the standard treatment modality of concurrent chemoradiotherapy significantly improves local tumor control, its accompanying acute and chronic toxic effects, such as bone marrow suppression, mucosal damage, and gastrointestinal reactions, accumulate throughout the treatment process, accelerating the depletion of the patient's physiological reserves and ultimately leading to the occurrence and progression of frailty. In NPC patients undergoing concurrent chemoradiotherapy, the level of frailty progressively worsens with the advancement of the treatment cycle. The core manifestations of frailty include decreased skeletal muscle mass, reduced physical function, decreased food intake, and weight loss, which can weaken the patient's tolerance to high-intensity treatment from multiple dimensions, increasing the risk of treatment-related complications, and consequently leading to treatment delays, dose reductions, or even treatment interruptions, ultimately affecting the efficacy of anti-tumor therapy. Currently, there is a lack of methods to incorporate frailty as a prognostic predictor into the prognostic prediction of NPC.
[0021] This invention provides a method for predicting the prognosis of nasopharyngeal carcinoma (NPC) patients. It introduces a frailty assessment index and integrates the prognostic information carried by the indices of frailty, inflammation, and nutrition. By combining the frailty assessment index, inflammation and nutrition indices, and conventional clinicopathological parameters, a comprehensive feature and interactive feature are constructed. This achieves joint feature modeling of frailty assessment and inflammation and nutrition indices, thereby improving the accuracy of the prognostic prediction model for NPC patients.
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0023] Example: like Figure 1 As shown, this embodiment provides a method for predicting the prognosis of nasopharyngeal carcinoma patients, including: S1. Collect clinical data from nasopharyngeal carcinoma patients, including demographic characteristics, body mass index, clinical stage, frailty assessment indicators, inflammatory and nutritional indicators, and physical condition scores.
[0024] It should be noted that the frailty assessment index is the CFS score assessed using the Clinical Frailty Scale (CFS) before treatment. The Clinical Frailty Scale quantifies the patient's frailty level through scoring, dividing the severity of frailty into 9 levels, each level corresponding to different frailty manifestations and life impacts.
[0025] Furthermore, CFS classifies frailty severity into nine levels: Level 1 Very Healthy, Level 2 Healthy, Level 3 Well Managed, Level 4 Frail, Level 5 Mild Frailty, Level 6 Moderate Frailty, Level 7 Severe Frailty, Level 8 Extreme Frailty, and Level 9 Terminal Frailty. This embodiment refers to the CFS-A standardized algorithm, independently extracting nursing assessment information from the patient's admission to the first anti-tumor treatment through the electronic medical record system. This information includes activities of daily living (ADL / Barthel Index), activity level and gait description, level of consciousness, ECOG PS score, nutritional assessment results, and comorbidity information. A retrospective CFS score is then calculated based on this information. The CFS score in this embodiment can quantify the patient's frailty level, thus using the CFS score as a frailty status assessment indicator and a predictive factor for NPC prognosis.
[0026] In this embodiment, the inflammatory nutritional indicators include the neutrophil-to-lymphocyte ratio, platelet-to-lymphocyte ratio, lymphocyte-to-monocyte ratio, systemic immune inflammation index, and prognostic nutritional index.
[0027] S2. Based on the clinical data, construct the frailty-inflammation-nutrition integrated feature, the first frailty-inflammation interaction feature, the second frailty-inflammation interaction feature, and the nutrition-body composition interaction feature.
[0028] In this embodiment, the calculation expression for the frailty-inflammation-nutrition syndrome is as follows: ; In this context, FINI represents the frailty-inflammation-nutrition complex; w1, w2, and w3 represent fusion weights, where w1 + w2 + w3 = 1 and w1, w2, and w3 are non-negative; CFS represents the frailty assessment index, and CFS_max represents the maximum value of the frailty assessment index; SII represents the systemic immune inflammation index, and SII_ref represents the median of the systemic immune inflammation index; PNI represents the prognostic nutritional index, and PNI_ref represents the median of the prognostic nutritional index.
[0029] Furthermore, w1, w2, and w3 in this embodiment can be determined through optimization using a survival analysis model based on the training set. Specifically, a Cox proportional hazards regression model is used to fit the features of each dimension. The regression coefficients corresponding to each dimension feature are obtained through maximum likelihood estimation, and normalization is performed based on the proportion of the absolute value of each dimension regression coefficient to obtain the fusion weights. To reduce the impact of differences in the dimensions of different indicators on the weight estimation, the features of each dimension are standardized before model fitting.
[0030] It should be noted that this embodiment uses linear normalization for CFS instead of directly using the original score, thus avoiding the difference in numerical magnitude between CFS and other indicators; this embodiment uses logarithmic transformation for SII to reduce the influence of the skewed distribution of the SII indicator and improve the statistical distribution characteristics of the feature; this embodiment uses reverse encoding for PNI, so that the lower the PNI (the worse the nutrition), the higher the FINI value, which is consistent with the direction of CFS and SII.
[0031] Furthermore, the methods for constructing interactive features include: The product of the frailty assessment index and the systemic immune inflammation index was used as the first frailty-inflammation interaction feature to quantify the amplification effect of frailty on systemic inflammatory response. That is, at the same SII level, the inflammation of frail patients has a stronger promoting effect on tumor progression. The product of the frailty assessment index and the neutrophil-to-lymphocyte ratio was used as a second frailty-inflammation interaction feature to quantify the synergistic effect of frailty on neutrophil-mediated immunosuppression. Using the product of prognostic nutritional index and body mass index as the nutrition-body composition interaction feature, this study quantifies the synergistic protective effect between nutritional reserves and body composition. Patients with low BMI and low PNI have a significantly worse prognosis than patients with low BMI or low PNI alone. The nutrition-body composition interaction feature can capture this nonlinear effect.
[0032] S3. Using clinical data and features constructed in S2 as predictors, and patients' OS and PFS outcomes as outcome variables, a randomized generated forest model is constructed.
[0033] In this embodiment, the process of constructing a random survival forest model includes: S3.1. Bootstrap sampling: randomly draw N samples with replacement from the original data to generate survival trees; S3.2. Node splitting: for each node of each survival tree, randomly select m candidate predictors (m << M); select the splitting criterion that maximizes the survival difference between nodes to perform node splitting, where the splitting criterion adopts the Log-rank splitting criterion, and its calculation formula is: ; wherein, represents the splitting evaluation statistic based on the Log-rank test, is the splitting variable, is the splitting point, is the number of people at risk at the time point, is the number of events occurring at the time point, represents the number of events occurring at the th time point in the left child node, represents the number of people in the risk set at the th time point in the left child node after the candidate splitting.
[0034] S3.3. Cumulative hazard function calculation: after each survival tree is constructed, calculate the cumulative hazard function of each terminal node; for a new sample , its final predicted cumulative hazard value is the average value of the predicted values of all survival trees, and the calculation expression is as follows: ; wherein, represents the predicted cumulative hazard value of the th tree for the sample .
[0035] S4. Use the Bootstrap internal verification method to tune the hyperparameters of the random survival forest model to obtain a nasopharyngeal carcinoma patient prognosis prediction model.
[0036] In this embodiment, the hyperparameters include the number of node candidate variables, the number of trees, and the minimum number of samples in a leaf node; model tuning aims at minimizing the out-of-bag error to select the optimal hyperparameter combination.
[0037] S5. Acquire the latest patient data, input it into the nasopharyngeal carcinoma patient prognosis prediction model, output a prognosis prediction result, and complete the prognosis prediction for nasopharyngeal carcinoma patients.
[0038] The beneficial effects of the method in this embodiment are verified through experiments below: Clinical data of 968 nasopharyngeal carcinoma patients diagnosed and treated in the oncology department of a hospital were collected. All patients were pathologically confirmed to have undifferentiated, non-keratinizing carcinoma of the nasopharynx and were newly diagnosed patients. They were randomly divided into a training set (678 cases) and a validation set (290 cases) in a 7:3 ratio, and a random survival forest model was constructed based on the method of this embodiment.
[0039] The performance improvement of the enhanced feature model relative to the baseline model is evaluated on the validation set. The discriminative power of the model is assessed by calculating the time-dependent AUC. Figure 2 As shown, in the validation set, the model constructed in this embodiment predicts an AUC of 0.834 (95% CI 0.770~0.897) for 3-year PFS and an AUC of 0.856 (95% CI 0.809~0.904) for 5-year PFS, indicating that the model has good discriminative ability.
[0040] like Figure 3 As shown, in the validation set, the model constructed in this embodiment predicted an AUC of 0.798 (95% CI 0.716–0.879) for 3-year overall survival and an AUC of 0.833 (95% CI 0.769–0.898) for 5-year overall survival, further demonstrating that the model has good predictive ability for patient survival outcomes. These results indicate that the predictive model constructed using the method of this embodiment can effectively integrate multidimensional clinical features and achieve effective prediction of survival outcomes for nasopharyngeal carcinoma patients.
[0041] In addition, this embodiment also provides a computer device, including a processor and a memory; The memory stores computer programs; When the processor executes the computer program, it implements the steps of the prognostic prediction method for nasopharyngeal carcinoma patients as described above.
[0042] It should be noted that computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0043] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0044] In addition, this embodiment also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the nasopharyngeal carcinoma patient prognosis prediction method described above.
[0045] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., a computer program) for executing the above-described method for predicting the prognosis of nasopharyngeal carcinoma patients. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the method for predicting the prognosis of nasopharyngeal carcinoma patients provided in the above embodiments, and will not be repeated here.
[0046] The above description is only a preferred embodiment of the present invention and does not limit the scope of the present invention. All equivalent structural transformations made under the inventive concept of the present invention using the contents of the present invention specification and drawings, or direct / indirect applications in other related technical fields, are included within the protection scope of the present invention.
Claims
1. A method for predicting the prognosis of nasopharyngeal carcinoma patients, characterized in that, include: S1. Collect clinical data of nasopharyngeal carcinoma patients, including demographic characteristics, body mass index, clinical stage, frailty assessment indicators, inflammatory and nutritional indicators, and physical condition scores. S2. Based on the clinical data, construct the frailty-inflammation-nutrition integrated feature, the first frailty-inflammation interaction feature, the second frailty-inflammation interaction feature, and the nutrition-body composition interaction feature; S3. Using clinical data and features constructed in S2 as predictors, and patients' OS and PFS outcomes as outcome variables, a randomized forest model is constructed. S4. The hyperparameters of the randomly generated forest model were tuned using the Bootstrap internal validation method to obtain a prognostic prediction model for nasopharyngeal carcinoma patients. S5. Obtain the latest patient data, input it into the nasopharyngeal carcinoma patient prognosis prediction model, output the prognosis prediction result, and complete the prognosis prediction for nasopharyngeal carcinoma patients.
2. The method for predicting the prognosis of nasopharyngeal carcinoma patients according to claim 1, characterized in that, In S1, inflammatory nutritional indicators include the neutrophil-to-lymphocyte ratio, platelet-to-lymphocyte ratio, lymphocyte-to-monocyte ratio, systemic immune inflammatory index, and prognostic nutritional index.
3. The method for predicting the prognosis of nasopharyngeal carcinoma patients according to claim 2, characterized in that, In S2, the calculation expression for the asthenia-inflammation-nutrition complex is as follows: ; In this context, FINI represents the frailty-inflammation-nutrition complex; w1, w2, and w3 represent fusion weights, where w1 + w2 + w3 = 1 and w1, w2, and w3 are non-negative; CFS represents the frailty assessment index, and CFS_max represents the maximum value of the frailty assessment index; SII represents the systemic immune inflammation index, and SII_ref represents the median of the systemic immune inflammation index; PNI represents the prognostic nutritional index, and PNI_ref represents the median of the prognostic nutritional index.
4. The method for predicting the prognosis of nasopharyngeal carcinoma patients according to claim 3, characterized in that, In S2, the methods for constructing interaction features include: The product of the frailty assessment index and the systemic immune inflammation index was used as the first frailty-inflammation interaction feature. The product of the frailty assessment index and the neutrophil-to-lymphocyte ratio was used as the second frailty-inflammation interaction feature. The product of prognostic nutritional index and body mass index was used as the nutritional-body composition interaction characteristic.
5. The method for predicting the prognosis of nasopharyngeal carcinoma patients according to claim 4, characterized in that, In S3, the process of building a randomly generated forest model includes: S3.1 Bootstrap Sampling: Randomly draw N samples with replacement from the original data to generate... A survival tree; S3.2 Node Splitting: For each node in each survival tree, randomly select m candidate predictors (m << M); select the splitting criterion that maximizes the survival difference between nodes for node splitting. The splitting criterion adopts the Log-rank splitting criterion, and its calculation formula is as follows: ; in, This represents the splitting statistic based on the Log-rank test. For splitting variables, As the split point, For the number of people at risk over time, The number of events that occurred within a given time period. Indicates the left child node is at the 1st position. The number of events occurring at each point in time. This indicates that after candidate splits, the left child node is at the [number]th position. The number of people at risk at each point in time; S3.3 Cumulative Risk Function Calculation: After each survival tree is constructed, the cumulative risk function of each terminal node is calculated; for a new sample... Its final cumulative risk forecast value For all The average value of the predicted values for each survival tree is calculated using the following expression: ; in, Indicates the first Trees for samples The cumulative risk forecast value.
6. The method for predicting the prognosis of nasopharyngeal carcinoma patients according to claim 1, characterized in that, In S4, the hyperparameters include the number of candidate variables for nodes, the number of trees, and the minimum number of samples for leaf nodes.
7. The method for predicting the prognosis of nasopharyngeal carcinoma patients according to claim 1, characterized in that, In S4, model tuning aims to minimize out-of-bag error by selecting the optimal combination of hyperparameters.
8. A computer device, characterized in that, Including processor and memory; The memory stores computer programs; When the processor executes the computer program, it implements the steps of the prognostic prediction method for nasopharyngeal carcinoma patients as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the prognostic prediction method for nasopharyngeal carcinoma patients as described in any one of claims 1 to 7.
