AECOPD invasive mechanical ventilation patient prognosis analysis method and system based on bDDRIME-KNN model

Through the prognostic analysis method based on the bDDRIME-KNN model, the DDRIME algorithm is used to optimize the KNN model, combined with the dispersed foraging mechanism and differential crossover operator, to solve the accuracy problem of prognostic analysis of AECOPD patients with invasive mechanical ventilation and improve the accuracy of prognostic analysis. sex and therapeutic effects.

CN118588300APending Publication Date: 2024-09-03THE FIRST AFFILIATED HOSPITAL OF WENZHOU MEDICAL UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410637651.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing technology cannot accurately analyze or analyze the prognosis of AECOPD patients with invasive mechanical ventilation with low accuracy, resulting in difficulty in adjusting treatment plans and increasing ventilation time and risk of complications.

Method used

Using the prognosis analysis method based on the bDDRIME-KNN model, the DDRIME algorithm is used to optimize the hyperparameters of the initial KNN model, combined with the dispersed foraging mechanism and differential crossover operator, to update the population search strategy, improve the convergence and accuracy of the model, and output the chest muscle area to generate analysis results.

Benefits of technology

It improves the accuracy of prognostic analysis of AECOPD patients with invasive mechanical ventilation, helps adjust treatment plans, shortens hospitalization time, and reduces mortality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588300A
    Figure CN118588300A
Patent Text Reader

Abstract

The invention discloses a bDDRIME-KNN model-based prognosis analysis method and system for an AECOPD invasive mechanical ventilation patient. The method comprises the following steps: acquiring at least one piece of historical case data of the AECOPD invasive mechanical ventilation patient; an initial KNN model is constructed, and hyper-parameter optimization is carried out on the initial KNN model through a DDRIME algorithm; performing model parameter updating and cross validation on the initial KNN model according to the at least one piece of historical case data to obtain a bDDRIME-KNN model; and inputting case data acquired in real time into the bDDRIME-KNN model, outputting a pectoral muscle area by the bDDRIME-KNN model, and generating an analysis result according to the pectoral muscle area. The optimal individual position is selected through a dispersed foraging mechanism, and the exploration of a search space is improved by using a differential crossover operator, so that the probability of finding the optimal solution of the initial KNN model is increased, and the analysis accuracy of the bDDRIME-KNN model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of prediction of prognosis of AECOPD patients with invasive mechanical ventilation, and in particular relates to a prognosis analysis method and system for AECOPD patients with invasive mechanical ventilation based on a bDDRIME-KNN model. Background Art

[0002] Chronic obstructive pulmonary disease (COPD) is a preventable and treatable disease that causes heterogeneous respiratory symptoms such as persistent cough, sputum, dyspnea, and airflow limitation caused by exposure to large amounts of toxic particles or gases. The global prevalence of COPD is high due to an aging population and smoking as the main cause. Nearly 90% of deaths occur in low- and middle-income countries, and its mortality rate ranks in the top three in age-standardized mortality rates for both men and women. Acute exacerbation of chronic obstructive pulmonary disease (AECOPD) refers to an event in which a short-term increase in inflammatory cells in the blood caused by respiratory viral or bacterial infection lasts for 7-10 days or longer, leading to worsening respiratory symptoms. Hospitalized AECOPD patients usually have rapid changes in condition, decreased blood oxygen saturation, and severe other comorbidities. In addition to basic drugs and oxygen therapy, the preferred ventilation method for patients with combined respiratory failure is non-invasive ventilation (NIV), but the failure rate is still 5%-40%. When NIV fails, invasive mechanical ventilation (IMV) should be changed as a follow-up treatment. However, the use of IMV after NIV failure increases ventilation time and increases complications associated with mechanical ventilation, such as respiratory-related pneumonia and in-hospital mortality. Therefore, early detection of the causes of invasive mechanical ventilation failure and prolonged ventilation time can adjust accurate treatment plans for patients, thereby improving prognosis, shortening hospital stays, and reducing mortality.

[0003] Machine learning (ML) is a recent emerging discipline in artificial intelligence that can automatically optimize algorithms based on experience without programming. With the development of machine learning, it has been applied in various industries, especially in the medical field, becoming a powerful assistant for radiologists and clinicians. In medical-related research, common algorithms include support vector machines, decision trees, neural networks, deep learning, etc. ML is increasingly used in the field of respiratory diseases, especially in the early diagnosis, disease change prediction, and prognosis of lung cancer, COPD, interstitial lung diseases, etc. It provides great value. This can not only reduce the burden on imaging doctors, but also provide a reference for clinicians' treatment decisions, thereby reducing unnecessary costs for patients in the later stage and improving disease prognosis and survival rate. Summary of the invention

[0004] The present invention provides a method and system for analyzing the prognosis of AECOPD patients with invasive mechanical ventilation based on a bDDRIME-KNN model, which are used to solve the technical problem that the prognosis of AECOPD patients with invasive mechanical ventilation cannot be analyzed or the analysis accuracy is low.

[0005] In a first aspect, the present invention provides a prognosis analysis method for AECOPD patients with invasive mechanical ventilation based on a bDDRIME-KNN model, comprising:

[0006] Obtain at least one historical case data of patients with AECOPD undergoing invasive mechanical ventilation;

[0007] An initial KNN model is constructed, and hyperparameters of the initial KNN model are optimized by the DDRIME algorithm, wherein the DDRIME algorithm includes a decentralized foraging mechanism and a differential crossover operator, and the expression of the decentralized foraging mechanism is:

[0008]

[0009]

[0010] Where DR is the diffusion rate, DR max The value is 0.4, DR min The value is 0, t represents the current number of iterations, Max iter is the maximum number of iterations, X(t+1) is the updated position of X(t), X(t) is the position of the current population individual, ρ is the scale control factor, X m (t) and X n (t) are individuals randomly selected from the population, r represents a random number ranging from 0 to 1;

[0011] The expression of the differential crossover operator is:

[0012] V i (t) = X r1 (t)+beta×(X r2 (t)-X r3 (t)),

[0013]

[0014] Where V i (t) represents the crossover individual, X r1 (t), X r2 (t) and X r3 (t) represents three different individuals randomly selected from the population, beta represents the scale factor, X i,j (t+1) represents the jth dimension of the individual after crossover mutation, V i,j(t) represents the jth dimension of the crossover individual, X i,j (t) represents the jth dimension of the i-th individual in the population, j rand represents an integer between 1 and D, D represents the dimension of the individual, and rand represents a random number ranging from 0 to 1;

[0015] According to the at least one historical case data, the model parameters of the initial KNN model are updated and cross-validated to obtain a bDDRIME-KNN model;

[0016] The case data acquired in real time is input into the bDDRIME-KNN model, and the bDDRIME-KNN model outputs the pectoral muscle area and generates an analysis result according to the pectoral muscle area.

[0017] In a second aspect, the present invention provides a prognosis analysis system for AECOPD patients with invasive mechanical ventilation based on a bDDRIME-KNN model, comprising:

[0018] An acquisition module, configured to acquire at least one historical case data of an AECOPD patient undergoing invasive mechanical ventilation;

[0019] The optimization module is configured to construct an initial KNN model and perform hyperparameter optimization on the initial KNN model by using a DDRIME algorithm, wherein the DDRIME algorithm includes a decentralized foraging mechanism and a differential crossover operator, and the decentralized foraging mechanism is expressed as:

[0020]

[0021]

[0022] Where DR is the diffusion rate, DR max The value is 0.4, DR min The value is 0, t represents the current number of iterations, Max iter is the maximum number of iterations, X(t+1) is the updated position of X(t), X(t) is the position of the current population individual, ρ is the scale control factor, X m (t) and X n (t) are individuals randomly selected from the population, r represents a random number ranging from 0 to 1;

[0023] The expression of the differential crossover operator is:

[0024] V i (t) = X r1 (t)+beta×(X r2 (t)-X r3 (t)),

[0025]

[0026] Where V i (t) represents the crossover individual, X r1 (t), X r2 (t) and X r3 (t) represents three different individuals randomly selected from the population, beta represents the scale factor, X i,j (t+1) represents the jth dimension of the individual after crossover mutation, V i,j (t) represents the jth dimension of the crossover individual, X i,j (t) represents the jth dimension of the i-th individual in the population, j rand represents an integer between 1 and D, D represents the dimension of the individual, and rand represents a random number ranging from 0 to 1;

[0027] A training module, configured to update and cross-validate the model parameters of the initial KNN model according to the at least one historical case data to obtain a bDDRIME-KNN model;

[0028] The output module is configured to input the case data acquired in real time into the bDDRIME-KNN model, and the bDDRIME-KNN model outputs the pectoral muscle area and generates an analysis result based on the pectoral muscle area.

[0029] In a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the prognosis analysis method for AECOPD invasive mechanical ventilation patients based on the bDDRIME-KNN model of any embodiment of the present invention.

[0030] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the program instructions are executed by a processor, the processor executes the steps of the prognosis analysis method for AECOPD invasive mechanical ventilation patients based on the bDDRIME-KNN model according to any embodiment of the present invention.

[0031] The prognosis analysis method and system for AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model of the present application updates the population according to a preset soft time search strategy to obtain the first population, so that the DDRIME algorithm can explore a larger search space in the early iterations and effectively avoid local stagnation. The hard time puncture mechanism is used for the exchange between the various search agents in the time population to enhance the convergence of the DDRIME algorithm and effectively avoid local optimality. The optimal individual position is selected through a decentralized foraging mechanism, and the exploration of the search space is improved by using a differential crossover operator, thereby increasing the probability of finding the optimal solution of the initial KNN model and improving the accuracy of the bDDRIME-KNN model analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 A flowchart of a method for prognosis analysis of AECOPD patients with invasive mechanical ventilation based on a bDDRIME-KNN model provided in one embodiment of the present invention;

[0034] Figure 2 A structural block diagram of a prognosis analysis system for AECOPD patients with invasive mechanical ventilation based on a bDDRIME-KNN model provided in one embodiment of the present invention;

[0035] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] See also Figure 1 , which shows a flowchart of a prognosis analysis method for AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model of the present application.

[0038] like Figure 1As shown in the figure, a prognosis analysis method for AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model specifically includes:

[0039] Step S101, obtaining at least one historical case data of an AECOPD patient undergoing invasive mechanical ventilation.

[0040] In this step, multiple case reports of AECOPD patients undergoing invasive mechanical ventilation are obtained; unstructured data in each case report to be processed is converted into structured data; the structured data is clustered according to a preset feature matching library to obtain clustered data, wherein the clustering process is as follows: the feature column data of the structured data is polled, empty feature data is detected, and numerical data is obtained through preset conversion rules; the feature column data is dynamically matched with strings, and if a number is matched, the feature column data is mixed data, otherwise the feature column data is non-numerical data; and the clustered data is normalized, combined and cleaned to obtain at least one historical case material data after preprocessing.

[0041] It should be noted that the feature matching library includes a character feature matching library and a feature regular matching library, and the mixed data includes numerical data and non-numerical data.

[0042] For example, the character feature matching library is: a set of all discrete features, such as a feature set that describes the gender, city, and other features of an object; the feature regular matching library is: a set of feature description patterns (for example, numbers + letters, letters + numbers are both description patterns).

[0043] Furthermore, since the use of data after data preprocessing is limited by the machine learning calculation matrix, it is necessary to perform a structured conversion operation on the read data. If the data stored in the storage container has a structured data storage format, the data read from the storage container does not need to be structured. Otherwise, the read data needs to be structured. For example, a database itself has a structured data structure, and the data read is already structured data, so there is no need to perform a structured conversion operation; while for the semi-structured data read, all row data are stored in key-value form, and the specific attributes and values ​​corresponding to each row of data need to be distinguished in order, so a structured conversion operation is required; and for the data read from the text file, each row of data is a line of string, but the data can correspond to multiple attribute descriptions, so it needs to be segmented and then structured.

[0044] Step S102: construct an initial KNN model, and optimize the hyperparameters of the initial KNN model using the DDRIME algorithm.

[0045] In this step, the clusters and parameters are initialized, and based on the growth characteristics of soft time, a soft time search strategy is proposed to update the population, so that RIME can explore a larger search space in the early iterations, effectively avoiding local stagnation, and obtaining the first population.

[0046] Specifically, the expression of the soft time search strategy is:

[0047]

[0048] θ=π·(g / 10·G),

[0049]

[0050]

[0051] In the formula, and denote the jth dimension of the updated individual and the current best quality individual, r1, r2 and h all represent random numbers ranging from 0 to 1, θ represents the parameter guiding the movement of particles, β represents the environmental determinant, and They represent the upper and lower bounds of the jth dimension of the search space, respectively. E represents the threshold parameter for activating the soft time search strategy, g and G represent the current number of iterations and the maximum number of iterations, respectively, and the value of w is 5.

[0052] According to the preset hard time puncture mechanism, the individuals in the first population exchange information for the exchange between the search agents in the time population to enhance the convergence of RIME and effectively avoid local optimality. The positive greedy selection mechanism is adopted to retain the best solution and eliminate the inferior solution to obtain the second population. The expression of the hard time puncture mechanism is:

[0053]

[0054] In the formula, r3 represents a random number between 0 and 1, F normr (X i ) represents the normalized value of the fitness value of the i-th individual in the population;

[0055] It should be noted that a positive greedy selection mechanism is proposed to compare the fitness value of the updated search agent with the unupdated search agent. If the updated fitness becomes better, the corresponding unupdated search agent and its fitness value are replaced, and the update of the optimal search agent is also completed. In this way, the overall quality of the search agent is improved, so that the population can evolve in a better direction in each iteration. Algorithm 1 gives the source code of the positive greedy selection mechanism:

[0056]

[0057] The second population is updated according to the preset decentralized foraging mechanism, and the positive greedy selection mechanism is adopted to retain the optimal solution and eliminate the inferior solution to obtain the third population. The expression of the decentralized foraging mechanism is:

[0058]

[0059]

[0060] Where DR is the diffusion rate, DR max The value is 0.4, DR min The value is 0, t represents the current number of iterations, Max iter is the maximum number of iterations, X(t+1) is the updated position of X(t), X(t) is the position of the current population individual, ρ is the scale control factor, X m (t) and X n (t) are individuals randomly selected from the population, r represents a random number ranging from 0 to 1;

[0061] The third population is updated according to a preset differential evolution strategy, a positive greedy selection mechanism is adopted, the optimal solution is retained, and the inferior solution is eliminated to obtain a fourth population, and iterative updates are performed to obtain the hyperparameters of the initial KNN model. The differential evolution strategy includes a differential crossover operator, and the expression of the differential crossover operator is:

[0062] V i (t) = X r1 (t)+beta×(X r2 (t)-X r3 (t)),

[0063]

[0064] Where V i (t) represents the crossover individual, X r1 (t), X r2 (t) and X r3 (t) represents three different individuals randomly selected from the population, beta represents the scale factor, X i,j (t+1) represents the jth dimension of the individual after crossover mutation, V i,j (t) represents the jth dimension of the crossover individual, X i,j (t) represents the jth dimension of the i-th individual in the population, J rand represents an integer between 1 and D, D represents the dimension of the individual, and rand represents a random number ranging from 0 to 1;

[0065] Step S103, updating and cross-validating the model parameters of the initial KNN model according to the at least one historical case data to obtain a bDDRIME-KNN model.

[0066] In this step, DDRIME is an enhanced continuous version of the RIME algorithm, and its discrete binary version can obtain useful feature information. The decentralized foraging mechanism and differential crossover operator help RIME select key features, generate the most appropriate solution, and improve classification accuracy. Because feature selection is a binary problem, its solution is limited to the binary space {0, 1}. In short, DDRIME should use a binary format for feature selection. An n-dimensional vector represents the length, that is, the total number of indicators in the dataset. In addition, the value of the solution is "0" or "1", where "0" means that the feature is not selected and "1" means that the feature is selected as a key feature. A single initialization and binary position vector is represented by the following formula:

[0067]

[0068] Then, DDRIME is converted into binary DDRIME (bDDRIME) through a transfer function (TF).

[0069] The update strategy of the transfer function is:

[0070]

[0071] In the formula, express The value after the transfer function transformation is Represents the value of the jth dimension of the current individual;

[0072]

[0073] In the formula, represents the value of the jth dimension after the current individual is updated, and rand represents a random number ranging from 0 to 1. Represents the value of the current individual after being transformed by the transfer function.

[0074] Classification accuracy and the number of selected features are two indicators of feature selection. The better the classification effect is, the fewer features are selected, and the higher the classification accuracy is. In addition, the fitness function evaluates the quality of each solution during the iteration process. Therefore, bDDRIME maintains a balance between the two indicators, and the expression of the fitness function is:

[0075] Fitness=α·(1-Acc)+(1-α)×(D R / D),

[0076] In the formula, Fitness represents the fitness value of the individual, α is the weight factor, and its value is 0.05. Acc represents the classification accuracy, D R To optimize the size of the subset, D is the number of all features in the dataset;

[0077] The range of the dataset is scaled to [-1, 1] and the dataset is divided into a training set and a test set. Ten-fold cross validation is used in this study. The filling of the binary DDRIME is initialized, where the dimension of the filling bDDRIME is the attribute number of the dataset. Then the KNN classifier is used to establish the bDDRIME-KNN model, calculate the fitness of the population and solve the optimal solution. Therefore, the bDDRIME-KNN model outputs the optimal feature subset.

[0078] Step S104, inputting the case data acquired in real time into the bDDRIME-KNN model, the bDDRIME-KNN model outputs the pectoral muscle area, and generates an analysis result according to the pectoral muscle area.

[0079] Chronic heart failure (CHF) is a clinical syndrome based on previous heart disease, which is characterized by persistent and slow symptoms of dyspnea, bilateral lower limb edema, and jugular vein irritation. COPD and heart failure often occur simultaneously in many patients, and COPD patients with concomitant heart failure have a greater risk of death after discharge. Some studies have confirmed that markers of heart failure can predict the prognosis of patients with AECOPD. Tinè et al. found in their study that the post-discharge mortality rate of patients with AECOPD and heart failure was higher than that of AECOPD patients (95% CI 1.4-3.1; P = 0.002). Peng et al. concluded through multivariate regression analysis that chronic cor pulmonale is an independent risk factor for in-hospital death in patients with AECOPD. Curkendall et al. found that patients with COPD and cardiovascular disease had a higher risk of death, and the hospitalization rate of CHF was higher among different cardiovascular diseases. Cao et al. conducted a retrospective study on 384 AECOPD patients and found that in-hospital death was more common in patients with concomitant heart failure (50.0%) than in survivors (15.9%). Univariate and multivariate logistic regression analysis showed that combined CHF was an independent risk factor for in-hospital death (OR = 7.63, 95%, CI: 2.27-25.64, p = 0.001). In this application, the difference between the failed and successful groups of AECOPD combined with chronic heart disease invasive mechanical ventilation was statistically significant (P = 0.024). In summary, CHF is an important predictor of AECOPD prognosis. Patients' cardiac function indicators should be actively monitored to improve cardiac function.

[0080] Sarcopenia is a progressive systemic skeletal muscle disease in which patients suffer from decreased muscle strength and quality, which can lead to falls, fractures, and even death. Sarcopenia is a common complication in patients with COPD. A meta-analysis by Elizabeth Benz et al. first evaluated the prevalence of sarcopenia in COPD patients, which was 21.6%, with great differences in different environments. Skeletal muscle mass is an important indicator for assessing the prognosis of COPD patients. The smaller the pectoral muscle area (PMA), the more severe the expiratory airflow obstruction and movement disorders in COPD patients. Merry-Lynn N McDonald et al. confirmed by detecting COPD-related characteristics (FEV1 / FVC, FEV1pred%, body mass index, etc.) that PMA (95% CI: 4.2-12.4, p < 0.001) was more correlated with COPD severity than BMI (95% CI: -12.2-0.4, p = 0.03), and PMA was more significantly correlated with the disease, but the prognostic prediction of PMA for COPD progression remains to be studied. Stefanie Elizabeth Mason et al. found that the development of AECOPD was associated with a reduction in pectoral muscle area. Ava CWilson et al.'s multivariate regression model test found that high PMA can reduce the mortality of COPD, and the effectiveness of PMA is higher than that of low bone density. In this study, the PMA of the invasive mechanical ventilation failure group was significantly lower than that of the invasive mechanical ventilation success group (P<0.05). In summary, PMA is an effective prognostic indicator for AECOPD.

[0081] Therefore, the case data acquired in real time are input into the bDDRIME-KNN model, and the bDDRIME-KNN model outputs the pectoral muscle area and generates analysis results based on the pectoral muscle area.

[0082] In summary, the method of the present application updates the population according to a preset soft time search strategy to obtain the first population, so that the DDRIME algorithm can explore a larger search space in the early iterations and effectively avoid local stagnation. The hard time puncture mechanism is used for the exchange between the various search agents in the time population to enhance the convergence of the DDRIME algorithm and effectively avoid local optimality. The decentralized foraging mechanism is used to select the optimal individual position, and the differential crossover operator is used to improve the exploration of the search space, thereby increasing the probability of finding the optimal solution of the initial KNN model and improving the accuracy of the bDDRIME-KNN model analysis.

[0083] See also Figure 2 , which shows a structural block diagram of a prognosis analysis system for AECOPD invasive mechanical ventilation patients based on the bDDRIME-KNN model of the present application.

[0084] like Figure 2As shown, the prognosis analysis system 200 for AECOPD patients undergoing invasive mechanical ventilation comprises

[0085] The acquisition module 210 is configured to acquire at least one historical case data of an AECOPD patient undergoing invasive mechanical ventilation;

[0086] The optimization module 220 is configured to construct an initial KNN model and perform hyperparameter optimization on the initial KNN model by using a DDRIME algorithm, wherein the DDRIME algorithm includes a decentralized foraging mechanism and a differential crossover operator, and the decentralized foraging mechanism is expressed as:

[0087]

[0088]

[0089] Where DR is the diffusion rate, DR max The value is 0.4, DR min The value is 0, t represents the current number of iterations, Max iter is the maximum number of iterations, X(t+1) is the updated position of X(t), X(t) is the position of the current population individual, ρ is the scale control factor, X m (t) and X n (t) are individuals randomly selected from the population, r represents a random number ranging from 0 to 1;

[0090] The expression of the differential crossover operator is:

[0091] V i (t) = X r1 (t)+bet×(X r2 (t)-X r3 (t)),

[0092]

[0093] Where V i (t) represents the crossover individual, X r1 (t), X r2 (t) and X r3 (t) represents three different individuals randomly selected from the population, beta represents the scale factor, X i,j (t+1) represents the jth dimension of the individual after crossover mutation, V i,j (t) represents the jth dimension of the crossover individual, X i,j (t) represents the jth dimension of the i-th individual in the population, j rand represents an integer between 1 and D, D represents the dimension of the individual, and rand represents a random number ranging from 0 to 1;

[0094] A training module 230 is configured to update and cross-validate model parameters of the initial KNN model according to the at least one historical case data to obtain a bDDRIME-KNN model;

[0095] The output module 240 is configured to input the case data acquired in real time into the DDRIME-KNN model, and the DDRIME-KNN model outputs the pectoral muscle area and generates an analysis result based on the pectoral muscle area.

[0096] It should be understood that Figure 2 Modules and references documented in Figure 1 Therefore, the operations and features described above for the method and the corresponding technical effects are also applicable to Figure 2 The modules in it will not be described in detail here.

[0097] In other embodiments, the embodiments of the present invention further provide a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor is caused to execute the prognosis method for AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model in any of the above method embodiments;

[0098] As an implementation mode, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are configured as follows:

[0099] Obtain at least one historical case data of patients with AECOPD undergoing invasive mechanical ventilation;

[0100] Constructing an initial KNN model, and optimizing hyperparameters of the initial KNN model by using the DDRIME algorithm;

[0101] According to the at least one historical case data, the model parameters of the initial KNN model are updated and cross-validated to obtain a bDDRIME-KNN model;

[0102] The case data acquired in real time is input into the DDRIME-KNN model, and the DDRIME-KNN model outputs the pectoral muscle area and generates an analysis result based on the pectoral muscle area.

[0103] The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created based on the use of the AECOPD invasive mechanical ventilation patient prognosis system based on the bDDRIME-KNN model, etc. In addition, the computer-readable storage medium may include a high-speed random access memory, and may also include a memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the AECOPD invasive mechanical ventilation patient prognosis system based on the bDDRIME-KNN model via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0104] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes: a processor 310 and a memory 320. The electronic device may also include: an input device 330 and an output device 340. The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3 In the example, the connection through the bus is taken as an example. The memory 320 is the above-mentioned computer-readable storage medium. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the prognosis method for AECOPD invasive mechanical ventilation patients based on the bDDRIME-KNN model of the above-mentioned method embodiment is realized. The input device 330 can receive input digital or character information, and generate key signal input related to user settings and function controls of the prognosis system for AECOPD invasive mechanical ventilation patients based on the bDDRIME-KNN model. The output device 340 may include display devices such as display screens.

[0105] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0106] As an implementation mode, the electronic device is applied to a prognosis system for AECOPD invasive mechanical ventilation patients based on a bDDRIME-KNN model, and is used for a client, and includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:

[0107] Obtain at least one historical case data of patients with AECOPD undergoing invasive mechanical ventilation;

[0108] Constructing an initial KNN model, and optimizing hyperparameters of the initial KNN model by using the DDRIME algorithm;

[0109] According to the at least one historical case data, the model parameters of the initial KNN model are updated and cross-validated to obtain a bDDRIME-KNN model;

[0110] The case data acquired in real time is input into the DDRIME-KNN model, and the DDRIME-KNN model outputs the pectoral muscle area and generates an analysis result based on the pectoral muscle area.

[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A prognosis analysis method for AECOPD patients with invasive mechanical ventilation based on bDDRIME-KNN model, characterized in that: include: Obtain at least one historical case data of patients with AECOPD undergoing invasive mechanical ventilation; An initial KNN model is constructed, and hyperparameters of the initial KNN model are optimized by the DDRIME algorithm, wherein the DDRIME algorithm includes a decentralized foraging mechanism and a differential crossover operator, and the expression of the decentralized foraging mechanism is: Where DR is the diffusion rate, DR max The value is 0.4, DR min The value is 0, t represents the current number of iterations, Max iter is the maximum number of iterations, X(t+1) is the updated position of X(t), X(t) is the position of the current population individual, ρ is the scale control factor, X m (t) and X n (t) are individuals randomly selected from the population, r represents a random number ranging from 0 to 1; The expression of the differential crossover operator is: V i (t)=X r1 (t)+beta×(X r2 (t)-X r3 (t)), Where V i (t) represents the crossover individual, X r1 (t), X r2 (t) and X r3 (t) represents three different individuals randomly selected from the population, beta represents the scale factor, X i,j (t+1) represents the jth dimension of the individual after crossover mutation, V i,j (t) represents the jth dimension of the crossover individual, X i,j (t) represents the jth dimension of the i-th individual in the population, j rand represents an integer between 1 and D, D represents the dimension of the individual, and rand represents a random number ranging from 0 to 1; According to the at least one historical case data, the model parameters of the initial KNN model are updated and cross-validated to obtain a bDDRIME-KNN model; The case data acquired in real time is input into the bDDRIME-KNN model, and the bDDRIME-KNN model outputs the pectoral muscle area and generates an analysis result according to the pectoral muscle area.

2. According to the bDDRIME-KNN model-based prognosis analysis method for AECOPD patients with invasive mechanical ventilation according to claim 1, the step of obtaining at least one historical case data of AECOPD patients with invasive mechanical ventilation comprises: Obtain pending case reports of multiple AECOPD patients on invasive mechanical ventilation; Convert unstructured data in each pending case report into structured data; Clustering the structured data according to a preset feature matching library to obtain clustered data, wherein the clustering process is: polling the feature column data of the structured data, detecting empty feature data, and obtaining numerical data according to a preset conversion rule; Dynamically matching the character string of the feature column data; if a number is matched, the feature column data is mixed data; otherwise, the feature column data is non-numeric data; The cluster data is subjected to data standardization, data combination and data cleaning to obtain at least one pre-processed historical case data.

3. According to the method for prognosis analysis of AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model in claim 1, the hyperparameter optimization of the initial KNN model by the DDRIME algorithm comprises: Initialize the cluster and parameters, and update the population according to the preset soft time search strategy to obtain the first population; According to the preset hard time puncture mechanism, information is exchanged with each individual in the first population, and a positive greedy selection mechanism is adopted to retain the best solution and eliminate the inferior solution to obtain the second population, wherein the expression of the hard time puncture mechanism is: In the formula, r3 represents a random number between 0 and 1, and F normr (X i ) represents the normalized value of the fitness value of the i-th individual in the population; The second population is updated according to the preset decentralized foraging mechanism, and a positive greedy selection mechanism is adopted to retain the optimal solution and eliminate the inferior solution to obtain the third population; The third population is updated according to a preset differential evolution strategy, a positive greedy selection mechanism is adopted, the optimal solution is retained, and inferior solutions are eliminated to obtain a fourth population, and iterative updates are performed to obtain hyperparameters of the initial KNN model, wherein the differential evolution strategy includes a differential crossover operator.

4. The method for prognosis analysis of AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model according to claim 3, characterized in that: in, The expression of the soft time search strategy is: θ=π·(g / 10·G), In the formula, and denote the jth dimension of the updated individual and the current best quality individual, r1, r2 and h all represent random numbers ranging from 0 to 1, θ represents the parameter guiding the movement of particles, β represents the environmental determinant, and They represent the upper and lower bounds of the j-th dimension of the search space respectively, E represents the threshold parameter for activating the soft time search strategy, g and G represent the current number of iterations and the maximum number of iterations respectively, and the value of w is 5.

5. The method for prognosis analysis of AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model according to claim 1, characterized in that: The updating and cross-validating of the model parameters of the initial KNN model according to the at least one historical case data to obtain the bDDRIME-KNN model comprises: The filling dimension is set to the number of attributes in the data set, and the DDRIME algorithm is converted into a bDDRIME algorithm using a transfer function, and feature selection is performed by the bDDRIME algorithm to obtain a feature subset; The fitness value of the feature subset is calculated on the data set according to the fitness function, and the expression of the fitness function is: Fitness=α·(1-Acc)+(1-α)×(D R / D), In the formula, Fitness represents the fitness value of the individual. α is the weight factor, which is 0.

05. Acc represents the classification accuracy. R To optimize the size of the subset, D is the number of all features in the dataset; If the fitness value of the feature subset is greater than a preset threshold, the optimal feature subset is output, and the optimal feature subset is divided into a training set and a test set to update the model parameters and cross-validate the initial KNN model to obtain the bDDRIME-KNN model.

6. The method for prognosis analysis of AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model according to claim 5, characterized in that: in, The update strategy of the transfer function is: In the formula, express The value after the transfer function transformation is Represents the value of the jth dimension of the current individual; In the formula, represents the value of the jth dimension after the current individual is updated, and rand represents a random number ranging from 0 to 1. Represents the value of the current individual after being transformed by the transfer function.

7. A prognosis analysis system for AECOPD patients with invasive mechanical ventilation based on the bDDRIME-KNN model, characterized in that: include: An acquisition module, configured to acquire at least one historical case data of an AECOPD patient undergoing invasive mechanical ventilation; The optimization module is configured to construct an initial KNN model and perform hyperparameter optimization on the initial KNN model by using a DDRIME algorithm, wherein the DDRIME algorithm includes a decentralized foraging mechanism and a differential crossover operator, and the decentralized foraging mechanism is expressed as: Where DR is the diffusion rate, DR max The value is 0.4, DR min The value is 0, t represents the current number of iterations, Max iter is the maximum number of iterations, X(t+1) is the updated position of X(t), X(t) is the position of the current population individual, ρ is the scale control factor, X m (t) and X n (t) are individuals randomly selected from the population, r represents a random number ranging from 0 to 1; The expression of the differential crossover operator is: V i (t)=X r1 (t)+beta×(X r2 (t)-X r3 (t)), Where V i (t) represents the crossover individual, X r1 (t), X r2 (t) and X r3 (t) represents three different individuals randomly selected from the population, beta represents the scale factor, X i,j (t+1) represents the jth dimension of the individual after crossover mutation, V i,j (t) represents the jth dimension of the crossover individual, X i,j (t) represents the jth dimension of the i-th individual in the population, j rand represents an integer between 1 and D, D represents the dimension of the individual, and rand represents a random number ranging from 0 to 1; A training module, configured to update and cross-validate the model parameters of the initial KNN model according to the at least one historical case data to obtain a bDDRIME-KNN model; The output module is configured to input the case data acquired in real time into the bDDRIME-KNN model, and the bDDRIME-KNN model outputs the pectoral muscle area and generates an analysis result based on the pectoral muscle area.

8. An electronic device, characterized in that: include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Lupus nephritis image segmentation method, lupus nephritis image segmentation device, medium and equipment

    CN118941581A