WO2019153595A1 - Method for predicting risk of chronic obstructive pulmonary disease, server, and computer readable storage medium - Google Patents

Method for predicting risk of chronic obstructive pulmonary disease, server, and computer readable storage medium Download PDF

Info

Publication number
WO2019153595A1
WO2019153595A1 PCT/CN2018/089343 CN2018089343W WO2019153595A1 WO 2019153595 A1 WO2019153595 A1 WO 2019153595A1 CN 2018089343 W CN2018089343 W CN 2018089343W WO 2019153595 A1 WO2019153595 A1 WO 2019153595A1
Authority
WO
WIPO (PCT)
Prior art keywords
chronic obstructive
obstructive pulmonary
pulmonary disease
sample data
risk
Prior art date
Application number
PCT/CN2018/089343
Other languages
French (fr)
Chinese (zh)
Inventor
阮晓雯
徐亮
肖京
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019153595A1 publication Critical patent/WO2019153595A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment

Definitions

  • the present application relates to the field of data analysis technologies, and in particular, to a method for predicting the risk of chronic obstructive pulmonary disease, a server, and a computer readable storage medium.
  • Chronic obstructive pulmonary disease a chronic obstructive pulmonary disease
  • Restricted pulmonary obstruction is often progressively aggravated with an abnormal inflammatory response to the lungs caused by harmful particles or gases, mainly smoking.
  • chronic obstructive pulmonary disease directly affects the lungs, it can also cause significant systemic effects.
  • Chronic cough and cough are often preceded by airflow limitation for many years, but not all patients with cough and cough symptoms develop chronic obstructive pulmonary disease. To clearly diagnose chronic obstructive pulmonary disease, a pulmonary function test is required.
  • Chronic obstructive pulmonary disease has a high mortality rate; accompanied by shortness of breath, cough, wheezing and repeated aggravation; not only damages the airways, alveoli and pulmonary blood vessels, but also damages extrapulmonary tissues such as bones, skeletal muscles, heart and other organs; A multigene systemic disease. There are large individual differences in clinical manifestations, duration of disease, and response to medications.
  • the academic risk assessment model for chronic obstructive pulmonary disease is based on the method of expert scoring, selecting important factors, setting scores for each factor, and performing comprehensive scoring. Among these scoring methods, fewer influencing factors are involved and the accuracy is lower. And the data acquisition of the scoring method is more difficult, and it is difficult to achieve risk assessment for large-scale populations.
  • the present application proposes a chronic obstructive pulmonary disease risk prediction method, a server, and a computer readable storage medium to solve the problem of how to conveniently and accurately predict the risk of chronic obstructive pulmonary disease.
  • the present application proposes a method for predicting the risk of chronic obstructive pulmonary disease, which comprises the steps of:
  • the chronic obstructive pulmonary disease risk prediction is performed according to the combined classifier model and user personal information.
  • the present application further provides a server, including a memory and a processor, where the memory stores a chronic obstructive pulmonary disease risk prediction system operable on the processor, and the chronic obstructive pulmonary disease occurs.
  • the risk prediction system is implemented by the processor to implement the steps of the chronic obstructive pulmonary disease risk prediction method as described above.
  • the present application further provides a computer readable storage medium storing a chronic obstructive pulmonary disease risk prediction system, wherein the chronic obstructive pulmonary disease risk prediction system can be at least one
  • the processor executes to cause the at least one processor to perform the steps of the chronic obstructive pulmonary disease risk prediction method as described above.
  • the method for predicting the risk of chronic obstructive pulmonary disease, the server and the computer readable storage medium proposed by the present application can establish a slow resistance covering all aspects of the user's health files, interests, consumption, living habits and the like.
  • the lung prediction model uses principal component analysis and feature screening methods to screen and reduce dimensionality of feature data, extract important features from it, and then construct a training set and test set according to 10-fold cross-validation, which is used to screen the optimal model combination. The results of each model in the combination are weighted to obtain the final combined classifier model.
  • the model is established by the xgboost algorithm to predict the risk of chronic obstructive pulmonary disease in the next year.
  • the program considers the factors affecting the incidence of chronic obstructive pulmonary disease.
  • the prediction accuracy is high, and the implementation is convenient, and the prediction effect is significantly improved.
  • 1 is a schematic diagram of an optional hardware architecture of the server of the present application.
  • FIG. 2 is a schematic diagram of a program module of the first embodiment of the chronic obstructive pulmonary disease risk prediction system of the present application
  • FIG. 3 is a schematic diagram of a program module of a second embodiment of the chronic obstructive pulmonary disease risk prediction system of the present application.
  • FIG. 4 is a schematic flow chart of a first embodiment of a method for predicting the risk of chronic obstructive pulmonary disease according to the present application
  • FIG. 5 is a schematic flow chart of a second embodiment of a method for predicting the risk of chronic obstructive pulmonary disease according to the present application.
  • server 2 Memory 11 processor 12 Network Interface 13 Chronic obstructive pulmonary disease risk prediction system 200 Setting module 201 Acquisition module 202 Modeling module 203 Combination module 204 Prediction module 205 Preprocessing module 206
  • FIG. 1 it is a schematic diagram of an optional hardware architecture of the server 2 of the present application.
  • the server 2 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus. It is pointed out that Figure 1 only shows the server 2 with the components 11-13, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the server 2 may be an independent server or a server cluster composed of multiple servers.
  • the memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static Random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 11 may be an internal storage unit of the server 2, such as a hard disk or memory of the server 2.
  • the memory 11 may also be an external storage device of the server 2, such as a plug-in hard disk equipped on the server 2, a smart memory card (SMC), and a secure digital (Secure) Digital, SD) cards, flash cards, etc.
  • the memory 11 can also include both the internal storage unit of the server 2 and its external storage device.
  • the memory 11 is generally used to store an operating system installed in the server 2 and various types of application software, such as program code of the chronic obstructive pulmonary disease risk prediction system 200. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the server 2.
  • the processor 12 is configured to run program code or process data stored in the memory 11, such as running the chronic obstructive pulmonary disease risk prediction system 200 and the like.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the server 2 and other electronic devices.
  • the present application proposes a chronic obstructive pulmonary disease risk prediction system 200.
  • FIG. 2 it is a program block diagram of the first embodiment of the chronic obstructive pulmonary disease risk prediction system 200 of the present application.
  • the chronic obstructive pulmonary disease risk prediction system 200 includes a series of computer program instructions stored on the memory 11, and when the computer program instructions are executed by the processor 12, the slowness of the embodiments of the present application may be implemented. Prevention of lung disease risk prediction operations.
  • the COPD risk prediction system 200 can be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 2, the COPD risk prediction system 200 can be segmented into a setup module 201, an acquisition module 202, a modeling module 203, a combination module 204, and a prediction module 205. among them:
  • the setting module 201 is configured to set a range of user information that needs to be acquired.
  • the user information range includes the user's health file, hobbies, spending habits, living habits, and the like.
  • the user information coverage covers all aspects of the user's information, and is not limited to health information, so as to make a more comprehensive and accurate prediction of the risk of chronic obstructive pulmonary disease.
  • the obtaining module 202 is configured to obtain related sample data according to the range of user information.
  • data of multiple dimensions such as a health file, a hobby, a consumption habit, a living habit, and the like corresponding to the user are obtained from the corresponding data source.
  • a health file for example, obtain a user health file from a hospital or insurance company database, and obtain user spending habits from a bank database.
  • the corresponding data of the user of the preset region for example, the entire city may be used as the sample data.
  • the modeling module 203 is configured to establish multiple models according to the sample data, perform training and testing, and filter the optimal model combination.
  • the obtained sample data is modeled by an xgboost algorithm, and the objective function in the algorithm selects a logistic regression function.
  • the xgboost algorithm can combine n different models and filter the optimal model combination through training and testing, that is, the optimal n value.
  • a training set and a test set are constructed in accordance with a 10-fold cross validation method for screening an optimal model combination.
  • the 10-fold cross-validation that is, dividing the data set into 10 parts, takes 9 of them as training set data and 1 part as test set data in turn, and tests.
  • the corresponding correct rate (or error rate) is obtained for each test, and the average of the correct rate (or error rate) of the 10 results is used as an estimate of the accuracy of the algorithm.
  • the sample data is divided into 10 parts, 9 of which are used as training set data, and the data dimension affecting the risk of chronic obstructive pulmonary disease is analyzed, and the risk of chronic obstructive pulmonary disease in each data dimension is analyzed.
  • the degree of influence (such as a score) to establish a model, and then the remaining 1 copy as the test set data to verify the correct rate of the above analysis (the model).
  • the combining module 204 is configured to establish a combined classifier model according to the optimal model combination.
  • each model prediction result in the optimal model combination is weighted to obtain a final combined classifier model. Therefore, the risk of chronic obstructive pulmonary disease is predicted for users whose disease status is unknown.
  • the combined classifier is an algorithm that integrates multiple models, such as the xgboost algorithm.
  • the optimal model combination is obtained, the prediction results of the n models are weighted, which is the final combined classifier model.
  • the result of the combined classifier model output is weighted by the results of the n models to obtain a final prediction result.
  • the prediction module 205 is configured to perform a chronic obstructive pulmonary disease risk prediction according to the combined classifier model and user personal information.
  • the combined classifier model ie, which dimension data is needed, such as the user's health file, hobbies, consumption habits, lifestyle habits
  • obtaining user information data corresponding to the user inputting the acquired data into the combined classifier model, respectively predicting each of the models, obtaining a plurality of prediction results, and then performing the weighting according to the weight of each model.
  • Multiple prediction results are combined (weighted calculation) to obtain the final prediction result, which is the risk of chronic obstructive pulmonary disease in the user in the next year.
  • the slow-resistance lung disease risk prediction system 200 includes the setting module 201, the acquisition module 202, the modeling module 203, the combination module 204, and the prediction module 205 in the first embodiment.
  • a pre-processing module 206 is included.
  • the pre-processing module 206 is configured to perform missing value and outlier processing on the sample data, and perform dimensionality reduction.
  • the dimension data of the user is first processed with missing values and outliers, including deleting data with too low saturation, and the outliers are treated as missing values, and the missing values are filled by the feature filling method.
  • the continuous values are then discretized, and principal component analysis (PCA) and feature screening methods are used for dimensionality reduction.
  • PCA principal component analysis
  • the discretization of the continuous value is to divide the continuous value into equal or equal frequency bins, for example, the age is a continuous value, and is divided into 0-10, 11-20, ..., 91-100 according to an age group of 10 years old. For each age group, a continuous age field is finally converted into 10 classification fields.
  • the main component of the principal component analysis is to reduce the dimensions of the data set and then select the most important features or combinations of features.
  • the main processes of principal component analysis are: standardization of raw data; calculation of correlation coefficient matrix between standardized variables; calculation of eigenvalues and eigenvectors of correlation coefficient matrix; calculation of principal component variable values; analysis of statistical results, extraction of required principal components.
  • important data dimensions can be extracted from the sample data.
  • the present application also proposes a method for predicting the risk of chronic obstructive pulmonary disease.
  • FIG. 4 it is a schematic flowchart of the first embodiment of the method for predicting the risk of developing chronic obstructive pulmonary disease.
  • the order of execution of the steps in the flowchart shown in FIG. 4 may be changed according to different requirements, and some steps may be omitted.
  • Step S400 setting a range of user information that needs to be acquired.
  • the user information range includes the user's health file, hobbies, spending habits, living habits, and the like.
  • the user information coverage covers all aspects of the user's information, and is not limited to health information, so as to make a more comprehensive and accurate prediction of the risk of chronic obstructive pulmonary disease.
  • Step S402 acquiring relevant sample data according to the range of user information.
  • data of multiple dimensions such as a health file, a hobby, a consumption habit, a living habit, and the like corresponding to the user are obtained from the corresponding data source.
  • a health file for example, obtain a user health file from a hospital or insurance company database, and obtain user spending habits from a bank database.
  • the corresponding data of the user of the preset region for example, the entire city may be used as the sample data.
  • Step S404 establishing a plurality of models according to the sample data, performing training and testing, and screening the optimal model combination.
  • the obtained sample data is modeled by an xgboost algorithm, and the objective function in the algorithm selects a logistic regression function.
  • the xgboost algorithm can combine n different models and filter the optimal model combination through training and testing, that is, the optimal n value.
  • a training set and a test set are constructed in accordance with a 10-fold cross validation method for screening an optimal model combination.
  • the 10-fold cross-validation that is, dividing the data set into 10 parts, takes 9 of them as training set data and 1 part as test set data in turn, and tests.
  • the corresponding correct rate (or error rate) is obtained for each test, and the average of the correct rate (or error rate) of the 10 results is used as an estimate of the accuracy of the algorithm.
  • the sample data is divided into 10 parts, 9 of which are used as training set data, and the data dimension affecting the risk of chronic obstructive pulmonary disease is analyzed, and the risk of chronic obstructive pulmonary disease in each data dimension is analyzed.
  • the degree of influence (such as a score) to establish a model, and then the remaining 1 copy as the test set data to verify the correct rate of the above analysis (the model).
  • Step S406 establishing a combined classifier model according to the optimal model combination.
  • each model prediction result in the optimal model combination is weighted to obtain a final combined classifier model. Therefore, the risk of chronic obstructive pulmonary disease is predicted for users whose disease status is unknown.
  • the combined classifier is an algorithm that integrates multiple models, such as the xgboost algorithm.
  • the optimal model combination is obtained, the prediction results of the n models are weighted, which is the final combined classifier model.
  • the result of the combined classifier model output is weighted by the results of the n models to obtain a final prediction result.
  • Step S408 predicting the risk of chronic obstructive pulmonary disease according to the combined classifier model and user personal information.
  • the combined classifier model ie, which dimension data is needed, such as the user's health file, hobbies, consumption habits, lifestyle habits
  • obtaining user information data corresponding to the user inputting the acquired data into the combined classifier model, respectively predicting each of the models, obtaining a plurality of prediction results, and then performing the weighting according to the weight of each model.
  • Multiple prediction results are combined (weighted calculation) to obtain the final prediction result, which is the risk of chronic obstructive pulmonary disease in the user in the next year.
  • the method for predicting the risk of chronic obstructive pulmonary disease proposed in this embodiment can establish a chronic obstructive lung prediction model covering the user's health records, interests, consumption, living habits and other comprehensive information, and then construct a training set and test according to a 10-fold cross-validation.
  • the set is used to screen the optimal model combination, and the results of each model in the combination are weighted to obtain the final combined classifier model, which is established by the xgboost algorithm to realize the risk prediction of chronic obstructive pulmonary disease for the individual in the next year.
  • the program considers the factors affecting the incidence of chronic obstructive pulmonary disease comprehensively, has high prediction accuracy, and is easy to implement, and the prediction effect is significantly improved.
  • FIG. 5 it is a schematic flowchart of a second embodiment of the method for predicting the risk of developing chronic obstructive pulmonary disease.
  • the steps S500-S502 and S506-S510 of the chronic obstructive pulmonary disease risk prediction method are similar to the steps S400-S408 of the first embodiment, except that the method further includes step S504.
  • Step S500 setting a range of user information that needs to be acquired.
  • the user information range includes the user's health file, hobbies, spending habits, living habits, and the like.
  • the user information coverage covers all aspects of the user's information, and is not limited to health information, so as to provide a more comprehensive and accurate prediction of the risk of chronic obstructive pulmonary disease.
  • Step S502 acquiring relevant sample data according to the range of user information.
  • data of multiple dimensions such as a health file, a hobby, a consumption habit, a living habit, and the like corresponding to the user are obtained from the corresponding data source.
  • a health file for example, obtain a user health file from a hospital or insurance company database, and obtain user spending habits from a bank database.
  • the corresponding data of the user of the preset region for example, the entire city may be used as the sample data.
  • Step S504 performing missing value and outlier processing on the sample data, and performing dimensionality reduction.
  • the dimension data of the user is first processed with missing values and outliers, including deleting data with too low saturation, and the outliers are treated as missing values, and the missing values are filled by the feature filling method.
  • the continuous values are then discretized, and principal component analysis (PCA) and feature screening methods are used for dimensionality reduction.
  • PCA principal component analysis
  • the discretization of the continuous value is to divide the continuous value into equal or equal frequency bins, for example, the age is a continuous value, and is divided into 0-10, 11-20, ..., 91-100 according to an age group of 10 years old. For each age group, a continuous age field is finally converted into 10 classification fields.
  • the main component of the principal component analysis is to reduce the dimensions of the data set and then select the most important features or combinations of features.
  • the main processes of principal component analysis are: standardization of raw data; calculation of correlation coefficient matrix between standardized variables; calculation of eigenvalues and eigenvectors of correlation coefficient matrix; calculation of principal component variable values; analysis of statistical results, extraction of required principal components.
  • important data dimensions can be extracted from the sample data.
  • Step S506 multiple models are established according to the data obtained after dimension reduction, and training and testing are performed to filter the optimal model combination.
  • the data obtained after the dimension reduction is modeled by the xgboost algorithm, and the objective function in the algorithm selects a logistic regression function.
  • the xgboost algorithm can combine n different models and filter the optimal model combination through training and testing, that is, the optimal n value.
  • a training set and a test set are constructed in accordance with a 10-fold cross validation method for screening an optimal model combination.
  • the 10-fold cross-validation that is, dividing the data set into 10 parts, takes 9 of them as training set data and 1 part as test set data in turn, and tests.
  • the corresponding correct rate (or error rate) is obtained for each test, and the average of the correct rate (or error rate) of the 10 results is used as an estimate of the accuracy of the algorithm.
  • the sample data is divided into 10 parts, 9 of which are used as training set data, and the data dimension affecting the risk of chronic obstructive pulmonary disease is analyzed, and the risk of chronic obstructive pulmonary disease in each data dimension is analyzed.
  • the degree of influence (such as a score) to establish a model, and then the remaining 1 copy as the test set data to verify the correct rate of the above analysis (the model).
  • Step S508 establishing a combined classifier model according to the optimal model combination.
  • each model prediction result in the optimal model combination is weighted to obtain a final combined classifier model. Therefore, the risk of chronic obstructive pulmonary disease is predicted for users whose disease status is unknown.
  • the combined classifier is an algorithm that integrates multiple models, such as the xgboost algorithm.
  • the optimal model combination is obtained, the prediction results of the n models are weighted, which is the final combined classifier model.
  • the result of the combined classifier model output is a final prediction result obtained by weighting the results of the n models.
  • Step S510 predicting the risk of chronic obstructive pulmonary disease according to the combined classifier model and user personal information.
  • the combined classifier model ie, which dimension data is needed, such as the user's health file, hobbies, consumption habits, lifestyle habits
  • obtaining user information data corresponding to the user inputting the acquired data into the combined classifier model, respectively predicting each of the models, obtaining a plurality of prediction results, and then performing the weighting according to the weight of each model.
  • Multiple prediction results are combined (weighted calculation) to obtain the final prediction result, which is the risk of chronic obstructive pulmonary disease in the user in the next year.
  • the method for predicting the risk of chronic obstructive pulmonary disease proposed in this embodiment can establish a chronic obstructive lung prediction model covering the user's health records, interests, consumption, living habits and the like, and using principal component analysis and feature screening methods to characterize The data is filtered and dimension-reduced, and important features are extracted from it. Then the training set and test set are constructed according to the 10-fold cross-validation, which is used to screen the optimal model combination, and the results of each model in the combination are weighted to obtain the final combined classifier model.
  • the model is established by the xgboost algorithm to predict the risk of chronic obstructive pulmonary disease in the next year. The program considers the factors affecting the incidence of chronic obstructive pulmonary disease comprehensively, has high prediction accuracy, and is convenient to implement, and the prediction effect is significantly improved.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Abstract

A method for predicting risk of chronic obstructive pulmonary disease, a server (2), and a computer readable storage medium. The method comprises: configuring a range of user information required to be obtained (S400, S500); obtaining relevant sample data according to the range of user information (S402, S502); establishing a plurality of models according to the sample data, performing training and testing, and then filtering to obtain an optimal model combination (S404); and establishing a combined classifier model according to the optimal model combination (S406, S508). The method for predicting risk of chronic obstructive pulmonary disease, the server (2), and the computer readable storage medium are capable of predicting the risk of an individual having chronic obstructive pulmonary disease within the coming year.

Description

慢阻肺发病风险预测方法、服务器及计算机可读存储介质Method for predicting risk of chronic obstructive pulmonary disease, server and computer readable storage medium
优先权申明Priority claim
本申请要求于2018年2月7日提交中国专利局、申请号为201810125017.8,发明名称为“慢阻肺发病风险预测方法、服务器及计算机可读存储介质”的中国专利申请的优先权,其内容全部通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201810125017.8, entitled "Slow-resistance lung risk risk prediction method, server and computer-readable storage medium" on February 7, 2018, the content of which is the priority of the Chinese patent application. All of the references are incorporated herein by reference.
技术领域Technical field
本申请涉及数据分析技术领域,尤其涉及一种慢阻肺发病风险预测方法、服务器及计算机可读存储介质。The present application relates to the field of data analysis technologies, and in particular, to a method for predicting the risk of chronic obstructive pulmonary disease, a server, and a computer readable storage medium.
背景技术Background technique
慢阻肺即慢性阻塞性肺疾病,以不完全可逆的气流受限为特点。慢阻肺气流受限常呈进行性加重,并伴有对有害颗粒或气体,主要是吸烟所致的肺部异常炎症反应。虽然慢阻肺直接累及肺,但也可引起显著的全身效应。慢性咳嗽、咳痰常先于气流受限许多年存在,但不是所有具有咳嗽、咳痰症状的患者都会发展为慢阻肺。要明确诊断慢阻肺,则需要进行肺功能检查。慢阻肺病死率高;伴有气促、咳痰、喘息并反复加重;不仅损伤气道、肺泡和肺血管,同时还损伤肺外组织,如骨骼、骨骼肌、心脏以及其他器官;是一个多基因的全身性疾病。其临床表现、病程以及对药物的治疗反应等都有很大的个体差异。Chronic obstructive pulmonary disease, a chronic obstructive pulmonary disease, is characterized by incomplete reversible airflow limitation. Restricted pulmonary obstruction is often progressively aggravated with an abnormal inflammatory response to the lungs caused by harmful particles or gases, mainly smoking. Although chronic obstructive pulmonary disease directly affects the lungs, it can also cause significant systemic effects. Chronic cough and cough are often preceded by airflow limitation for many years, but not all patients with cough and cough symptoms develop chronic obstructive pulmonary disease. To clearly diagnose chronic obstructive pulmonary disease, a pulmonary function test is required. Chronic obstructive pulmonary disease has a high mortality rate; accompanied by shortness of breath, cough, wheezing and repeated aggravation; not only damages the airways, alveoli and pulmonary blood vessels, but also damages extrapulmonary tissues such as bones, skeletal muscles, heart and other organs; A multigene systemic disease. There are large individual differences in clinical manifestations, duration of disease, and response to medications.
学术上针对慢阻肺的风险评估模型,主要基于专家评分的方式,选取重要因素,每个因素设置分值,进行综合评分。这些评分方法中,涉及到的影响因素较少,准确率较低。并且评分方法的数据获取较困难,很难实现针对大规模人群的风险评估。The academic risk assessment model for chronic obstructive pulmonary disease is based on the method of expert scoring, selecting important factors, setting scores for each factor, and performing comprehensive scoring. Among these scoring methods, fewer influencing factors are involved and the accuracy is lower. And the data acquisition of the scoring method is more difficult, and it is difficult to achieve risk assessment for large-scale populations.
发明内容Summary of the invention
有鉴于此,本申请提出一种慢阻肺发病风险预测方法、服务器及计算机可读存储介质,以解决如何方便准确地进行慢阻肺发病风险预测的问题。In view of this, the present application proposes a chronic obstructive pulmonary disease risk prediction method, a server, and a computer readable storage medium to solve the problem of how to conveniently and accurately predict the risk of chronic obstructive pulmonary disease.
首先,为实现上述目的,本申请提出一种慢阻肺发病风险预测方法,该方法包括步骤:First, in order to achieve the above object, the present application proposes a method for predicting the risk of chronic obstructive pulmonary disease, which comprises the steps of:
设置需要获取的用户信息范围;Set the range of user information that needs to be obtained;
按所述用户信息范围获取相关样本数据;Obtaining relevant sample data according to the range of user information;
根据所述样本数据建立多个模型,并进行训练和测试,筛选最优模型组合;Establishing a plurality of models according to the sample data, performing training and testing, and screening the optimal model combination;
根据所述最优模型组合建立组合分类器模型;及Establishing a combined classifier model according to the optimal model combination; and
根据所述组合分类器模型和用户个人信息进行慢阻肺发病风险预测。The chronic obstructive pulmonary disease risk prediction is performed according to the combined classifier model and user personal information.
此外,为实现上述目的,本申请还提供一种服务器,包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的慢阻肺发病风险预测系统,所述慢阻肺发病风险预测系统被所述处理器执行时实现如上述的慢阻肺发病风险预测方法的步骤。In addition, in order to achieve the above object, the present application further provides a server, including a memory and a processor, where the memory stores a chronic obstructive pulmonary disease risk prediction system operable on the processor, and the chronic obstructive pulmonary disease occurs. The risk prediction system is implemented by the processor to implement the steps of the chronic obstructive pulmonary disease risk prediction method as described above.
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有慢阻肺发病风险预测系统,所述慢阻肺发病风险预测系统可被至少一个处理器执行,以使所述至少一个处理器执行如上述的慢阻肺发病风险预测方法的步骤。Further, in order to achieve the above object, the present application further provides a computer readable storage medium storing a chronic obstructive pulmonary disease risk prediction system, wherein the chronic obstructive pulmonary disease risk prediction system can be at least one The processor executes to cause the at least one processor to perform the steps of the chronic obstructive pulmonary disease risk prediction method as described above.
相较于现有技术,本申请所提出的慢阻肺发病风险预测方法、服务器及计算机可读存储介质,可以建立覆盖用户的健康档案、兴趣爱好、消费、生活习惯等全方位信息的慢阻肺预测模型,利用主成分分析及特征筛选方法,对特征数据进行筛选及降维,从中提取重要特征,然后按照10折交叉验证构造训练集和测试集,用于筛选最优模型组合,并对组合中各个模型结果加权,得到最终的组合分类器模型,所述模型通过xgboost算法建立,实现针对个人的未来一年的慢阻肺发病风险预测,该方案对慢阻肺发病影响因素考虑全面, 预测准确率高,且实现方便,预测效果有显著提升。Compared with the prior art, the method for predicting the risk of chronic obstructive pulmonary disease, the server and the computer readable storage medium proposed by the present application can establish a slow resistance covering all aspects of the user's health files, interests, consumption, living habits and the like. The lung prediction model uses principal component analysis and feature screening methods to screen and reduce dimensionality of feature data, extract important features from it, and then construct a training set and test set according to 10-fold cross-validation, which is used to screen the optimal model combination. The results of each model in the combination are weighted to obtain the final combined classifier model. The model is established by the xgboost algorithm to predict the risk of chronic obstructive pulmonary disease in the next year. The program considers the factors affecting the incidence of chronic obstructive pulmonary disease. The prediction accuracy is high, and the implementation is convenient, and the prediction effect is significantly improved.
附图说明DRAWINGS
图1是本申请服务器一可选的硬件架构的示意图;1 is a schematic diagram of an optional hardware architecture of the server of the present application;
图2是本申请慢阻肺发病风险预测系统第一实施例的程序模块示意图;2 is a schematic diagram of a program module of the first embodiment of the chronic obstructive pulmonary disease risk prediction system of the present application;
图3是本申请慢阻肺发病风险预测系统第二实施例的程序模块示意图;3 is a schematic diagram of a program module of a second embodiment of the chronic obstructive pulmonary disease risk prediction system of the present application;
图4是本申请慢阻肺发病风险预测方法第一实施例的流程示意图;4 is a schematic flow chart of a first embodiment of a method for predicting the risk of chronic obstructive pulmonary disease according to the present application;
图5是本申请慢阻肺发病风险预测方法第二实施例的流程示意图。FIG. 5 is a schematic flow chart of a second embodiment of a method for predicting the risk of chronic obstructive pulmonary disease according to the present application.
附图标记:Reference mark:
服务器server 22
存储器Memory 1111
处理器processor 1212
网络接口Network Interface 1313
慢阻肺发病风险预测系统Chronic obstructive pulmonary disease risk prediction system 200200
设置模块 Setting module 201201
获取模块 Acquisition module 202202
建模模块 Modeling module 203203
组合模块 Combination module 204204
预测模块 Prediction module 205205
预处理模块 Preprocessing module 206206
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
参阅图1所示,是本申请服务器2一可选的硬件架构的示意图。Referring to FIG. 1, it is a schematic diagram of an optional hardware architecture of the server 2 of the present application.
本实施例中,所述服务器2可包括,但不仅限于,可通过系统总线相互通信连接存储器11、处理器12、网络接口13。需要指出的是,图1仅示出了具有组件11-13的服务器2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In this embodiment, the server 2 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus. It is pointed out that Figure 1 only shows the server 2 with the components 11-13, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
其中,所述服务器2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该服务器2可以是独立的服务器,也可以是多个服务器所组成的服务器集群。The server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server. The server 2 may be an independent server or a server cluster composed of multiple servers.
所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述服务器 2的内部存储单元,例如该服务器2的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述服务器2的外部存储设备,例如该服务器2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述服务器2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器11通常用于存储安装于所述服务器2的操作系统和各类应用软件,例如慢阻肺发病风险预测系统200的程序代码等。此外,所述存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static Random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 11 may be an internal storage unit of the server 2, such as a hard disk or memory of the server 2. In other embodiments, the memory 11 may also be an external storage device of the server 2, such as a plug-in hard disk equipped on the server 2, a smart memory card (SMC), and a secure digital (Secure) Digital, SD) cards, flash cards, etc. Of course, the memory 11 can also include both the internal storage unit of the server 2 and its external storage device. In this embodiment, the memory 11 is generally used to store an operating system installed in the server 2 and various types of application software, such as program code of the chronic obstructive pulmonary disease risk prediction system 200. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述服务器2的总体操作。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行所述的慢阻肺发病风险预测系统200等。The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the server 2. In this embodiment, the processor 12 is configured to run program code or process data stored in the memory 11, such as running the chronic obstructive pulmonary disease risk prediction system 200 and the like.
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述服务器2与其他电子设备之间建立通信连接。The network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the server 2 and other electronic devices.
至此,己经详细介绍了本申请相关设备的硬件结构和功能。下面,将基于上述介绍提出本申请的各个实施例。So far, the hardware structure and functions of the devices related to this application have been described in detail. Hereinafter, various embodiments of the present application will be made based on the above description.
首先,本申请提出一种慢阻肺发病风险预测系统200。First, the present application proposes a chronic obstructive pulmonary disease risk prediction system 200.
参阅图2所示,是本申请慢阻肺发病风险预测系统200第一实施例的程序模块图。Referring to FIG. 2, it is a program block diagram of the first embodiment of the chronic obstructive pulmonary disease risk prediction system 200 of the present application.
本实施例中,所述慢阻肺发病风险预测系统200包括一系列的存储于存储器11上的计算机程序指令,当该计算机程序指令被处理器12执行时,可以实现本申请各实施例的慢阻肺发病风险预测操作。在一些实施例中,基于该计算机程序指令各部分所实现的特定的操作,慢阻肺发病风险预测系统200可以被划分为一个或多个模块。例如,在图2中,所述慢阻肺发病风险预测 系统200可以被分割成设置模块201、获取模块202、建模模块203、组合模块204、预测模块205。其中:In this embodiment, the chronic obstructive pulmonary disease risk prediction system 200 includes a series of computer program instructions stored on the memory 11, and when the computer program instructions are executed by the processor 12, the slowness of the embodiments of the present application may be implemented. Prevention of lung disease risk prediction operations. In some embodiments, the COPD risk prediction system 200 can be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 2, the COPD risk prediction system 200 can be segmented into a setup module 201, an acquisition module 202, a modeling module 203, a combination module 204, and a prediction module 205. among them:
所述设置模块201,用于设置需要获取的用户信息范围。The setting module 201 is configured to set a range of user information that needs to be acquired.
具体地,由于仅根据用户的健康信息无法准确地进行慢阻肺发病风险预测,因此,在所述用户信息范围中需要考虑更加全面的影响因素。在本实施例中,所述用户信息范围包含用户的健康档案、兴趣爱好、消费习惯、生活习惯等。所述用户信息范围覆盖了用户全方位的信息,而不仅仅局限于健康信息,以对慢阻肺发病风险进行更加全面和准确的预测。Specifically, since the chronic obstructive pulmonary disease risk prediction cannot be accurately performed based only on the user's health information, a more comprehensive influencing factor needs to be considered in the range of the user information. In this embodiment, the user information range includes the user's health file, hobbies, spending habits, living habits, and the like. The user information coverage covers all aspects of the user's information, and is not limited to health information, so as to make a more comprehensive and accurate prediction of the risk of chronic obstructive pulmonary disease.
所述获取模块202,用于按所述用户信息范围获取相关样本数据。The obtaining module 202 is configured to obtain related sample data according to the range of user information.
具体地,针对每个用户,根据所设置的用户信息范围,从对应的数据来源中获取该用户对应的健康档案、兴趣爱好、消费习惯、生活习惯等多个维度的数据。例如,从医院或保险公司数据库中获取用户健康档案,从银行数据库中获取用户消费习惯等。在本实施例中,可以将预设地区(例如整个城市)的用户的对应数据作为所述样本数据。Specifically, for each user, according to the set user information range, data of multiple dimensions such as a health file, a hobby, a consumption habit, a living habit, and the like corresponding to the user are obtained from the corresponding data source. For example, obtain a user health file from a hospital or insurance company database, and obtain user spending habits from a bank database. In the present embodiment, the corresponding data of the user of the preset region (for example, the entire city) may be used as the sample data.
所述建模模块203,用于根据所述样本数据建立多个模型,并进行训练和测试,筛选最优模型组合。The modeling module 203 is configured to establish multiple models according to the sample data, perform training and testing, and filter the optimal model combination.
具体地,将得到的样本数据通过xgboost算法建立模型,该算法中的目标函数选择的是逻辑回归函数。所述xgboost算法可以将n个不同的模型进行组合,通过训练和测试筛选最优模型组合,也就是最优的n值。Specifically, the obtained sample data is modeled by an xgboost algorithm, and the objective function in the algorithm selects a logistic regression function. The xgboost algorithm can combine n different models and filter the optimal model combination through training and testing, that is, the optimal n value.
在本实施例中,按照10折交叉验证(10-fold cross validation)方法构造训练集和测试集,用于筛选最优模型组合。所述10折交叉验证,也就是将数据集分成10份,轮流将其中9份作为训练集数据,1份作为测试集数据,进行试验。每次试验都会得出相应的正确率(或差错率),10次的结果的正确率(或差错率)的平均值作为对算法精度的估计。另外,还可以进行多次10折交叉验证(例如10次10折交叉验证),再求其均值,作为对算法精度的估计。In the present embodiment, a training set and a test set are constructed in accordance with a 10-fold cross validation method for screening an optimal model combination. The 10-fold cross-validation, that is, dividing the data set into 10 parts, takes 9 of them as training set data and 1 part as test set data in turn, and tests. The corresponding correct rate (or error rate) is obtained for each test, and the average of the correct rate (or error rate) of the 10 results is used as an estimate of the accuracy of the algorithm. In addition, it is also possible to perform multiple 10-fold cross-validation (for example, 10 10-fold cross-validation) and then find the mean value as an estimate of the accuracy of the algorithm.
在本实施例中,将所述样本数据分为10份,将其中9份作为训练集数据, 分析出影响慢阻肺患病风险的数据维度,以及每种数据维度对慢阻肺患病风险的影响程度(例如分值),从而建立模型,然后将剩下的1份作为测试集数据,来验证上述分析(所述模型)的正确率。通过轮流将所述样本数据中的9份作为训练集数据,1份作为测试集数据,可以得到10个模型。然后根据所述xgboost算法,筛选最优的模型组合。In the present embodiment, the sample data is divided into 10 parts, 9 of which are used as training set data, and the data dimension affecting the risk of chronic obstructive pulmonary disease is analyzed, and the risk of chronic obstructive pulmonary disease in each data dimension is analyzed. The degree of influence (such as a score) to establish a model, and then the remaining 1 copy as the test set data to verify the correct rate of the above analysis (the model). By taking 9 of the sample data as training set data in turn and 1 part as test set data, 10 models can be obtained. The optimal model combination is then screened according to the xgboost algorithm.
所述组合模块204,用于根据所述最优模型组合建立组合分类器模型。The combining module 204 is configured to establish a combined classifier model according to the optimal model combination.
具体地,将该最优模型组合中的各个模型预测结果加权,得到最终的组合分类器模型。从而对患病情况未知的用户实现慢阻肺患病风险预测。Specifically, each model prediction result in the optimal model combination is weighted to obtain a final combined classifier model. Therefore, the risk of chronic obstructive pulmonary disease is predicted for users whose disease status is unknown.
所述组合分类器为将多个模型进行整合的算法,例如所述xgboost算法。当得到最优模型组合后,将其中的n个模型的预测结果进行加权,即为最终的组合分类器模型。所述组合分类器模型输出的结果为n个模型的结果进行加权计算得到最终预测结果。The combined classifier is an algorithm that integrates multiple models, such as the xgboost algorithm. When the optimal model combination is obtained, the prediction results of the n models are weighted, which is the final combined classifier model. The result of the combined classifier model output is weighted by the results of the n models to obtain a final prediction result.
所述预测模块205,用于根据该组合分类器模型和用户个人信息进行慢阻肺发病风险预测。The prediction module 205 is configured to perform a chronic obstructive pulmonary disease risk prediction according to the combined classifier model and user personal information.
具体地,当对某一用户进行慢阻肺发病风险预测时,根据所述组合分类器模型的输入参数(即需要哪些维度的数据,例如该用户的健康档案、兴趣爱好、消费习惯、生活习惯等),获取该用户对应的用户信息数据,将所获取的数据输入至所述组合分类器模型,由其中的各个模型分别进行预测,得到多个预测结果,再根据各个模型的权重对所述多个预测结果进行综合(加权计算),得到最终预测结果,即该用户未来一年的慢阻肺发病风险。Specifically, when predicting a chronic obstructive pulmonary disease risk for a certain user, according to the input parameters of the combined classifier model (ie, which dimension data is needed, such as the user's health file, hobbies, consumption habits, lifestyle habits) And obtaining user information data corresponding to the user, inputting the acquired data into the combined classifier model, respectively predicting each of the models, obtaining a plurality of prediction results, and then performing the weighting according to the weight of each model. Multiple prediction results are combined (weighted calculation) to obtain the final prediction result, which is the risk of chronic obstructive pulmonary disease in the user in the next year.
参阅图3所示,是本申请慢阻肺发病风险预测系统200第二实施例的程序模块图。本实施例中,所述的慢阻肺发病风险预测系统200除了包括第一实施例中的所述设置模块201、获取模块202、建模模块203、组合模块204、预测模块205之外,还包括预处理模块206。Referring to FIG. 3, it is a program block diagram of a second embodiment of the chronic obstructive pulmonary disease risk prediction system 200 of the present application. In this embodiment, the slow-resistance lung disease risk prediction system 200 includes the setting module 201, the acquisition module 202, the modeling module 203, the combination module 204, and the prediction module 205 in the first embodiment. A pre-processing module 206 is included.
所述预处理模块206用于对样本数据进行缺失值和异常值处理,并进行 降维。The pre-processing module 206 is configured to perform missing value and outlier processing on the sample data, and perform dimensionality reduction.
具体地,将该用户的各维度数据首先进行缺失值和异常值处理,包括删除饱和度过低的数据,异常值作为缺失值处理,通过特征填充的方法对缺失值进行填充。然后将连续数值离散化,再利用主成分分析(PCA)及特征筛选方法进行降维。Specifically, the dimension data of the user is first processed with missing values and outliers, including deleting data with too low saturation, and the outliers are treated as missing values, and the missing values are filled by the feature filling method. The continuous values are then discretized, and principal component analysis (PCA) and feature screening methods are used for dimensionality reduction.
所述将连续数值离散化即将连续值进行等高或等频的分箱,例如年龄是个连续值,按照10岁为一个年龄段,划分成0-10、11-20、…、91-100十个年龄段,最终将一个连续的年龄字段,转换成10个分类字段。The discretization of the continuous value is to divide the continuous value into equal or equal frequency bins, for example, the age is a continuous value, and is divided into 0-10, 11-20, ..., 91-100 according to an age group of 10 years old. For each age group, a continuous age field is finally converted into 10 classification fields.
主成分分析的作用主要是降低数据集的维度,然后挑选最主要的特征或特征组合。主成分分析的主要流程为:原始数据标准化;计算标准化变量间的相关系数矩阵;计算相关系数矩阵的特征值和特征向量;计算主成分变量值;统计结果分析,提取所需的主成分。通过所述主成分分析方法进行降维之后,可以从所述样本数据中提取出重要的数据维度。The main component of the principal component analysis is to reduce the dimensions of the data set and then select the most important features or combinations of features. The main processes of principal component analysis are: standardization of raw data; calculation of correlation coefficient matrix between standardized variables; calculation of eigenvalues and eigenvectors of correlation coefficient matrix; calculation of principal component variable values; analysis of statistical results, extraction of required principal components. After dimension reduction by the principal component analysis method, important data dimensions can be extracted from the sample data.
此外,本申请还提出一种慢阻肺发病风险预测方法。In addition, the present application also proposes a method for predicting the risk of chronic obstructive pulmonary disease.
参阅图4所示,是本申请慢阻肺发病风险预测方法第一实施例的流程示意图。在本实施例中,根据不同的需求,图4所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。Referring to FIG. 4, it is a schematic flowchart of the first embodiment of the method for predicting the risk of developing chronic obstructive pulmonary disease. In this embodiment, the order of execution of the steps in the flowchart shown in FIG. 4 may be changed according to different requirements, and some steps may be omitted.
步骤S400,设置需要获取的用户信息范围。Step S400, setting a range of user information that needs to be acquired.
具体地,由于仅根据用户的健康信息无法准确地进行慢阻肺发病风险预测,因此,在所述用户信息范围中需要考虑更加全面的影响因素。在本实施例中,所述用户信息范围包含用户的健康档案、兴趣爱好、消费习惯、生活习惯等。所述用户信息范围覆盖了用户全方位的信息,而不仅仅局限于健康信息,以对慢阻肺发病风险进行更加全面和准确的预测。Specifically, since the chronic obstructive pulmonary disease risk prediction cannot be accurately performed based only on the user's health information, a more comprehensive influencing factor needs to be considered in the range of the user information. In this embodiment, the user information range includes the user's health file, hobbies, spending habits, living habits, and the like. The user information coverage covers all aspects of the user's information, and is not limited to health information, so as to make a more comprehensive and accurate prediction of the risk of chronic obstructive pulmonary disease.
步骤S402,按所述用户信息范围获取相关样本数据。Step S402, acquiring relevant sample data according to the range of user information.
具体地,针对每个用户,根据所设置的用户信息范围,从对应的数据来 源中获取该用户对应的健康档案、兴趣爱好、消费习惯、生活习惯等多个维度的数据。例如,从医院或保险公司数据库中获取用户健康档案,从银行数据库中获取用户消费习惯等。在本实施例中,可以将预设地区(例如整个城市)的用户的对应数据作为所述样本数据。Specifically, for each user, according to the set user information range, data of multiple dimensions such as a health file, a hobby, a consumption habit, a living habit, and the like corresponding to the user are obtained from the corresponding data source. For example, obtain a user health file from a hospital or insurance company database, and obtain user spending habits from a bank database. In the present embodiment, the corresponding data of the user of the preset region (for example, the entire city) may be used as the sample data.
步骤S404,根据所述样本数据建立多个模型,并进行训练和测试,筛选最优模型组合。Step S404, establishing a plurality of models according to the sample data, performing training and testing, and screening the optimal model combination.
具体地,将得到的样本数据通过xgboost算法建立模型,该算法中的目标函数选择的是逻辑回归函数。所述xgboost算法可以将n个不同的模型进行组合,通过训练和测试筛选最优模型组合,也就是最优的n值。Specifically, the obtained sample data is modeled by an xgboost algorithm, and the objective function in the algorithm selects a logistic regression function. The xgboost algorithm can combine n different models and filter the optimal model combination through training and testing, that is, the optimal n value.
在本实施例中,按照10折交叉验证(10-fold cross validation)方法构造训练集和测试集,用于筛选最优模型组合。所述10折交叉验证,也就是将数据集分成10份,轮流将其中9份作为训练集数据,1份作为测试集数据,进行试验。每次试验都会得出相应的正确率(或差错率),10次的结果的正确率(或差错率)的平均值作为对算法精度的估计。另外,还可以进行多次10折交叉验证(例如10次10折交叉验证),再求其均值,作为对算法精度的估计。In the present embodiment, a training set and a test set are constructed in accordance with a 10-fold cross validation method for screening an optimal model combination. The 10-fold cross-validation, that is, dividing the data set into 10 parts, takes 9 of them as training set data and 1 part as test set data in turn, and tests. The corresponding correct rate (or error rate) is obtained for each test, and the average of the correct rate (or error rate) of the 10 results is used as an estimate of the accuracy of the algorithm. In addition, it is also possible to perform multiple 10-fold cross-validation (for example, 10 10-fold cross-validation) and then find the mean value as an estimate of the accuracy of the algorithm.
在本实施例中,将所述样本数据分为10份,将其中9份作为训练集数据,分析出影响慢阻肺患病风险的数据维度,以及每种数据维度对慢阻肺患病风险的影响程度(例如分值),从而建立模型,然后将剩下的1份作为测试集数据,来验证上述分析(所述模型)的正确率。通过轮流将所述样本数据中的9份作为训练集数据,1份作为测试集数据,可以得到10个模型。然后根据所述xgboost算法,筛选最优的模型组合。In this embodiment, the sample data is divided into 10 parts, 9 of which are used as training set data, and the data dimension affecting the risk of chronic obstructive pulmonary disease is analyzed, and the risk of chronic obstructive pulmonary disease in each data dimension is analyzed. The degree of influence (such as a score) to establish a model, and then the remaining 1 copy as the test set data to verify the correct rate of the above analysis (the model). By taking 9 of the sample data as training set data in turn and 1 part as test set data, 10 models can be obtained. The optimal model combination is then screened according to the xgboost algorithm.
步骤S406,根据所述最优模型组合建立组合分类器模型。Step S406, establishing a combined classifier model according to the optimal model combination.
具体地,将该最优模型组合中的各个模型预测结果加权,得到最终的组合分类器模型。从而对患病情况未知的用户实现慢阻肺患病风险预测。Specifically, each model prediction result in the optimal model combination is weighted to obtain a final combined classifier model. Therefore, the risk of chronic obstructive pulmonary disease is predicted for users whose disease status is unknown.
所述组合分类器为将多个模型进行整合的算法,例如所述xgboost算法。当得到最优模型组合后,将其中的n个模型的预测结果进行加权,即为最终 的组合分类器模型。所述组合分类器模型输出的结果为n个模型的结果进行加权计算得到最终预测结果。The combined classifier is an algorithm that integrates multiple models, such as the xgboost algorithm. When the optimal model combination is obtained, the prediction results of the n models are weighted, which is the final combined classifier model. The result of the combined classifier model output is weighted by the results of the n models to obtain a final prediction result.
步骤S408,根据该组合分类器模型和用户个人信息进行慢阻肺发病风险预测。Step S408, predicting the risk of chronic obstructive pulmonary disease according to the combined classifier model and user personal information.
具体地,当对某一用户进行慢阻肺发病风险预测时,根据所述组合分类器模型的输入参数(即需要哪些维度的数据,例如该用户的健康档案、兴趣爱好、消费习惯、生活习惯等),获取该用户对应的用户信息数据,将所获取的数据输入至所述组合分类器模型,由其中的各个模型分别进行预测,得到多个预测结果,再根据各个模型的权重对所述多个预测结果进行综合(加权计算),得到最终预测结果,即该用户未来一年的慢阻肺发病风险。Specifically, when predicting a chronic obstructive pulmonary disease risk for a certain user, according to the input parameters of the combined classifier model (ie, which dimension data is needed, such as the user's health file, hobbies, consumption habits, lifestyle habits) And obtaining user information data corresponding to the user, inputting the acquired data into the combined classifier model, respectively predicting each of the models, obtaining a plurality of prediction results, and then performing the weighting according to the weight of each model. Multiple prediction results are combined (weighted calculation) to obtain the final prediction result, which is the risk of chronic obstructive pulmonary disease in the user in the next year.
本实施例提出的慢阻肺发病风险预测方法,可以建立覆盖用户的健康档案、兴趣爱好、消费、生活习惯等全方位信息的慢阻肺预测模型,然后按照10折交叉验证构造训练集和测试集,用于筛选最优模型组合,并对组合中各个模型结果加权,得到最终的组合分类器模型,所述模型通过xgboost算法建立,实现针对个人的未来一年的慢阻肺发病风险预测,该方案对慢阻肺发病影响因素考虑全面,预测准确率高,且实现方便,预测效果有显著提升。The method for predicting the risk of chronic obstructive pulmonary disease proposed in this embodiment can establish a chronic obstructive lung prediction model covering the user's health records, interests, consumption, living habits and other comprehensive information, and then construct a training set and test according to a 10-fold cross-validation. The set is used to screen the optimal model combination, and the results of each model in the combination are weighted to obtain the final combined classifier model, which is established by the xgboost algorithm to realize the risk prediction of chronic obstructive pulmonary disease for the individual in the next year. The program considers the factors affecting the incidence of chronic obstructive pulmonary disease comprehensively, has high prediction accuracy, and is easy to implement, and the prediction effect is significantly improved.
参阅图5所示,是本申请慢阻肺发病风险预测方法的第二实施例的流程示意图。本实施例中,所述慢阻肺发病风险预测方法的步骤S500-S502与S506-S510与第一实施例的步骤S400-S408相类似,区别在于该方法还包括步骤S504。Referring to FIG. 5, it is a schematic flowchart of a second embodiment of the method for predicting the risk of developing chronic obstructive pulmonary disease. In this embodiment, the steps S500-S502 and S506-S510 of the chronic obstructive pulmonary disease risk prediction method are similar to the steps S400-S408 of the first embodiment, except that the method further includes step S504.
步骤S500,设置需要获取的用户信息范围。Step S500, setting a range of user information that needs to be acquired.
具体地,由于仅根据用户的健康信息无法准确地进行慢阻肺发病风险预测,因此,在所述用户信息范围中需要考虑更加全面的影响因素。在本实施例中,所述用户信息范围包含用户的健康档案、兴趣爱好、消费习惯、生活习惯等。所述用户信息范围覆盖了用户全方位的信息,而不仅仅局限于健康 信息,以对慢阻肺发病风险进行更加全面和准确的预测。Specifically, since the chronic obstructive pulmonary disease risk prediction cannot be accurately performed based only on the user's health information, a more comprehensive influencing factor needs to be considered in the range of the user information. In this embodiment, the user information range includes the user's health file, hobbies, spending habits, living habits, and the like. The user information coverage covers all aspects of the user's information, and is not limited to health information, so as to provide a more comprehensive and accurate prediction of the risk of chronic obstructive pulmonary disease.
步骤S502,按所述用户信息范围获取相关样本数据。Step S502, acquiring relevant sample data according to the range of user information.
具体地,针对每个用户,根据所设置的用户信息范围,从对应的数据来源中获取该用户对应的健康档案、兴趣爱好、消费习惯、生活习惯等多个维度的数据。例如,从医院或保险公司数据库中获取用户健康档案,从银行数据库中获取用户消费习惯等。在本实施例中,可以将预设地区(例如整个城市)的用户的对应数据作为所述样本数据。Specifically, for each user, according to the set user information range, data of multiple dimensions such as a health file, a hobby, a consumption habit, a living habit, and the like corresponding to the user are obtained from the corresponding data source. For example, obtain a user health file from a hospital or insurance company database, and obtain user spending habits from a bank database. In the present embodiment, the corresponding data of the user of the preset region (for example, the entire city) may be used as the sample data.
步骤S504,对样本数据进行缺失值和异常值处理,并进行降维。Step S504, performing missing value and outlier processing on the sample data, and performing dimensionality reduction.
具体地,将该用户的各维度数据首先进行缺失值和异常值处理,包括删除饱和度过低的数据,异常值作为缺失值处理,通过特征填充的方法对缺失值进行填充。然后将连续数值离散化,再利用主成分分析(PCA)及特征筛选方法进行降维。Specifically, the dimension data of the user is first processed with missing values and outliers, including deleting data with too low saturation, and the outliers are treated as missing values, and the missing values are filled by the feature filling method. The continuous values are then discretized, and principal component analysis (PCA) and feature screening methods are used for dimensionality reduction.
所述将连续数值离散化即将连续值进行等高或等频的分箱,例如年龄是个连续值,按照10岁为一个年龄段,划分成0-10、11-20、…、91-100十个年龄段,最终将一个连续的年龄字段,转换成10个分类字段。The discretization of the continuous value is to divide the continuous value into equal or equal frequency bins, for example, the age is a continuous value, and is divided into 0-10, 11-20, ..., 91-100 according to an age group of 10 years old. For each age group, a continuous age field is finally converted into 10 classification fields.
主成分分析的作用主要是降低数据集的维度,然后挑选最主要的特征或特征组合。主成分分析的主要流程为:原始数据标准化;计算标准化变量间的相关系数矩阵;计算相关系数矩阵的特征值和特征向量;计算主成分变量值;统计结果分析,提取所需的主成分。通过所述主成分分析方法进行降维之后,可以从所述样本数据中提取出重要的数据维度。The main component of the principal component analysis is to reduce the dimensions of the data set and then select the most important features or combinations of features. The main processes of principal component analysis are: standardization of raw data; calculation of correlation coefficient matrix between standardized variables; calculation of eigenvalues and eigenvectors of correlation coefficient matrix; calculation of principal component variable values; analysis of statistical results, extraction of required principal components. After dimension reduction by the principal component analysis method, important data dimensions can be extracted from the sample data.
步骤S506,根据降维后得到的数据建立多个模型,并进行训练和测试,筛选最优模型组合。Step S506, multiple models are established according to the data obtained after dimension reduction, and training and testing are performed to filter the optimal model combination.
具体地,具体地,将降维后得到的数据通过xgboost算法建立模型,该算法中的目标函数选择的是逻辑回归函数。所述xgboost算法可以将n个不同的模型进行组合,通过训练和测试筛选最优模型组合,也就是最优的n值。Specifically, specifically, the data obtained after the dimension reduction is modeled by the xgboost algorithm, and the objective function in the algorithm selects a logistic regression function. The xgboost algorithm can combine n different models and filter the optimal model combination through training and testing, that is, the optimal n value.
在本实施例中,按照10折交叉验证(10-fold cross validation)方法构造 训练集和测试集,用于筛选最优模型组合。所述10折交叉验证,也就是将数据集分成10份,轮流将其中9份作为训练集数据,1份作为测试集数据,进行试验。每次试验都会得出相应的正确率(或差错率),10次的结果的正确率(或差错率)的平均值作为对算法精度的估计。另外,还可以进行多次10折交叉验证(例如10次10折交叉验证),再求其均值,作为对算法精度的估计。In the present embodiment, a training set and a test set are constructed in accordance with a 10-fold cross validation method for screening an optimal model combination. The 10-fold cross-validation, that is, dividing the data set into 10 parts, takes 9 of them as training set data and 1 part as test set data in turn, and tests. The corresponding correct rate (or error rate) is obtained for each test, and the average of the correct rate (or error rate) of the 10 results is used as an estimate of the accuracy of the algorithm. In addition, it is also possible to perform multiple 10-fold cross-validation (for example, 10 10-fold cross-validation) and then find the mean value as an estimate of the accuracy of the algorithm.
在本实施例中,将所述样本数据分为10份,将其中9份作为训练集数据,分析出影响慢阻肺患病风险的数据维度,以及每种数据维度对慢阻肺患病风险的影响程度(例如分值),从而建立模型,然后将剩下的1份作为测试集数据,来验证上述分析(所述模型)的正确率。通过轮流将所述样本数据中的9份作为训练集数据,1份作为测试集数据,可以得到10个模型。然后根据所述xgboost算法,筛选最优的模型组合。In this embodiment, the sample data is divided into 10 parts, 9 of which are used as training set data, and the data dimension affecting the risk of chronic obstructive pulmonary disease is analyzed, and the risk of chronic obstructive pulmonary disease in each data dimension is analyzed. The degree of influence (such as a score) to establish a model, and then the remaining 1 copy as the test set data to verify the correct rate of the above analysis (the model). By taking 9 of the sample data as training set data in turn and 1 part as test set data, 10 models can be obtained. The optimal model combination is then screened according to the xgboost algorithm.
步骤S508,根据所述最优模型组合建立组合分类器模型。Step S508, establishing a combined classifier model according to the optimal model combination.
具体地,将该最优模型组合中的各个模型预测结果加权,得到最终的组合分类器模型。从而对患病情况未知的用户实现慢阻肺患病风险预测。Specifically, each model prediction result in the optimal model combination is weighted to obtain a final combined classifier model. Therefore, the risk of chronic obstructive pulmonary disease is predicted for users whose disease status is unknown.
所述组合分类器为将多个模型进行整合的算法,例如所述xgboost算法。当得到最优模型组合后,将其中的n个模型的预测结果进行加权,即为最终的组合分类器模型。所述组合分类器模型输出的结果为n个模型的结果进行加权计算得到的最终预测结果。The combined classifier is an algorithm that integrates multiple models, such as the xgboost algorithm. When the optimal model combination is obtained, the prediction results of the n models are weighted, which is the final combined classifier model. The result of the combined classifier model output is a final prediction result obtained by weighting the results of the n models.
步骤S510,根据该组合分类器模型和用户个人信息进行慢阻肺发病风险预测。Step S510, predicting the risk of chronic obstructive pulmonary disease according to the combined classifier model and user personal information.
具体地,当对某一用户进行慢阻肺发病风险预测时,根据所述组合分类器模型的输入参数(即需要哪些维度的数据,例如该用户的健康档案、兴趣爱好、消费习惯、生活习惯等),获取该用户对应的用户信息数据,将所获取的数据输入至所述组合分类器模型,由其中的各个模型分别进行预测,得到多个预测结果,再根据各个模型的权重对所述多个预测结果进行综合(加权计算),得到最终预测结果,即该用户未来一年的慢阻肺发病风险。Specifically, when predicting a chronic obstructive pulmonary disease risk for a certain user, according to the input parameters of the combined classifier model (ie, which dimension data is needed, such as the user's health file, hobbies, consumption habits, lifestyle habits) And obtaining user information data corresponding to the user, inputting the acquired data into the combined classifier model, respectively predicting each of the models, obtaining a plurality of prediction results, and then performing the weighting according to the weight of each model. Multiple prediction results are combined (weighted calculation) to obtain the final prediction result, which is the risk of chronic obstructive pulmonary disease in the user in the next year.
本实施例提出的慢阻肺发病风险预测方法,可以建立覆盖用户的健康档案、兴趣爱好、消费、生活习惯等全方位信息的慢阻肺预测模型,利用主成分分析及特征筛选方法,对特征数据进行筛选及降维,从中提取重要特征,然后按照10折交叉验证构造训练集和测试集,用于筛选最优模型组合,并对组合中各个模型结果加权,得到最终的组合分类器模型,所述模型通过xgboost算法建立,实现针对个人的未来一年的慢阻肺发病风险预测,该方案对慢阻肺发病影响因素考虑全面,预测准确率高,且实现方便,预测效果有显著提升。The method for predicting the risk of chronic obstructive pulmonary disease proposed in this embodiment can establish a chronic obstructive lung prediction model covering the user's health records, interests, consumption, living habits and the like, and using principal component analysis and feature screening methods to characterize The data is filtered and dimension-reduced, and important features are extracted from it. Then the training set and test set are constructed according to the 10-fold cross-validation, which is used to screen the optimal model combination, and the results of each model in the combination are weighted to obtain the final combined classifier model. The model is established by the xgboost algorithm to predict the risk of chronic obstructive pulmonary disease in the next year. The program considers the factors affecting the incidence of chronic obstructive pulmonary disease comprehensively, has high prediction accuracy, and is convenient to implement, and the prediction effect is significantly improved.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种慢阻肺发病风险预测方法,应用于服务器,其特征在于,所述方法包括步骤:A method for predicting the risk of chronic obstructive pulmonary disease, which is applied to a server, characterized in that the method comprises the steps of:
    设置需要获取的用户信息范围;Set the range of user information that needs to be obtained;
    按所述用户信息范围获取相关样本数据;Obtaining relevant sample data according to the range of user information;
    根据所述样本数据建立多个模型,并进行训练和测试,筛选最优模型组合;Establishing a plurality of models according to the sample data, performing training and testing, and screening the optimal model combination;
    根据所述最优模型组合建立组合分类器模型;及Establishing a combined classifier model according to the optimal model combination; and
    根据所述组合分类器模型和用户个人信息进行慢阻肺发病风险预测。The chronic obstructive pulmonary disease risk prediction is performed according to the combined classifier model and user personal information.
  2. 如权利要求1所述的慢阻肺发病风险预测方法,其特征在于,该方法在根据所述样本数据建立多个模型的步骤之前还包括步骤:The method for predicting the risk of chronic obstructive pulmonary disease according to claim 1, wherein the method further comprises the steps of: step of establishing a plurality of models based on the sample data:
    对所述样本数据进行缺失值和异常值处理,并进行降维。The sample data is subjected to missing value and outlier processing, and dimensionality reduction is performed.
  3. 如权利要求1或2所述的慢阻肺发病风险预测方法,其特征在于,述用户信息范围包含所述用户的健康档案、兴趣爱好、消费习惯、生活习惯。The method for predicting the risk of developing chronic obstructive pulmonary disease according to claim 1 or 2, wherein the user information range includes the user's health file, hobbies, consumption habits, and living habits.
  4. 如权利要求2所述的慢阻肺发病风险预测方法,其特征在于,对所述样本数据进行缺失值和异常值处理的步骤具体包括:The method for predicting the risk of developing a chronic obstructive pulmonary disease according to claim 2, wherein the step of performing the missing value and the abnormal value processing on the sample data comprises:
    删除饱和度过低的数据,异常值作为缺失值处理,通过特征填充的方法对缺失值进行填充,然后将连续数值离散化。Deleting the data with too low saturation, the outliers are treated as missing values, the missing values are filled by the feature filling method, and the continuous values are discretized.
  5. 如权利要求2所述的慢阻肺发病风险预测方法,其特征在于,所述降维通过主成分分析及特征筛选方法进行。The chronic obstructive pulmonary disease risk prediction method according to claim 2, wherein the dimensionality reduction is performed by a principal component analysis and a feature screening method.
  6. 如权利要求1或2所述的慢阻肺发病风险预测方法,其特征在于,通过xgboost算法建立所述模型。The method according to claim 1 or 2, wherein the model is established by an xgboost algorithm.
  7. 如权利要求1或2所述的慢阻肺发病风险预测方法,其特征在于,按照10折交叉验证方法构造训练集和测试集,以筛选所述最优模型组合。The method for predicting the risk of developing chronic obstructive pulmonary disease according to claim 1 or 2, wherein the training set and the test set are constructed according to a 10-fold cross-validation method to filter the optimal model combination.
  8. 如权利要求1或2所述的慢阻肺发病风险预测方法,其特征在于,所述根据所述最优模型组合建立组合分类器模型的步骤包括:The method for predicting the risk of developing a chronic obstructive pulmonary disease according to claim 1 or 2, wherein the step of establishing a combined classifier model according to the optimal model combination comprises:
    当得到所述最优模型组合后,将其中的n个模型的预测结果进行加权,得到所述组合分类器模型,所述组合分类器模型输出的结果为n个模型的预测结果进行加权计算得到的最终预测结果。After the optimal model combination is obtained, the prediction results of the n models are weighted to obtain the combined classifier model, and the output of the combined classifier model is weighted by the prediction results of the n models. The final forecast.
  9. 一种服务器,其特征在于,所述服务器包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的慢阻肺发病风险预测系统,所述慢阻肺发病风险预测系统被所述处理器执行时实现如下步骤:A server, comprising: a memory, a processor, wherein the memory stores a chronic obstructive pulmonary disease risk prediction system operable on the processor, wherein the chronic obstructive pulmonary disease risk prediction system is The processor implements the following steps when executed:
    设置需要获取的用户信息范围;Set the range of user information that needs to be obtained;
    按所述用户信息范围获取相关样本数据;Obtaining relevant sample data according to the range of user information;
    根据所述样本数据建立多个模型,并进行训练和测试,筛选最优模型组合;Establishing a plurality of models according to the sample data, performing training and testing, and screening the optimal model combination;
    根据所述最优模型组合建立组合分类器模型;及Establishing a combined classifier model according to the optimal model combination; and
    根据所述组合分类器模型和用户个人信息进行慢阻肺发病风险预测。The chronic obstructive pulmonary disease risk prediction is performed according to the combined classifier model and user personal information.
  10. 如权利要求9所述的服务器,其特征在于,在根据所述样本数据建立多个模型的步骤之前,还包括步骤:The server according to claim 9, wherein before the step of establishing a plurality of models based on said sample data, the method further comprises the steps of:
    对所述样本数据进行缺失值和异常值处理,并进行降维。The sample data is subjected to missing value and outlier processing, and dimensionality reduction is performed.
  11. 如权利要求9或10所述的服务器,其特征在于,述用户信息范围包含所述用户的健康档案、兴趣爱好、消费习惯、生活习惯。The server according to claim 9 or 10, wherein the user information range includes the user's health profile, hobbies, spending habits, and living habits.
  12. 如权利要求10所述的服务器,其特征在于,对所述样本数据进行缺失值和异常值处理的步骤具体包括:The server according to claim 10, wherein the step of performing the missing value and the outlier processing on the sample data comprises:
    删除饱和度过低的数据,异常值作为缺失值处理,通过特征填充的方法对缺失值进行填充,然后将连续数值离散化。Deleting the data with too low saturation, the outliers are treated as missing values, the missing values are filled by the feature filling method, and the continuous values are discretized.
  13. 如权利要求10所述的服务器,其特征在于,所述降维通过主成分分析及特征筛选方法进行。The server according to claim 10, wherein said dimensionality reduction is performed by a principal component analysis and a feature screening method.
  14. 如权利要求9或10所述的服务器,其特征在于,通过xgboost算法建立所述模型。A server according to claim 9 or 10, wherein said model is established by an xgboost algorithm.
  15. 如权利要求9或10所述的服务器,其特征在于,按照10折交叉验 证方法构造训练集和测试集,以筛选所述最优模型组合。A server according to claim 9 or 10, wherein the training set and the test set are constructed in accordance with a 10-fold cross-validation method to filter the optimal model combination.
  16. 如权利要求9或10所述的服务器,其特征在于,所述根据所述最优模型组合建立组合分类器模型的步骤包括:The server according to claim 9 or 10, wherein the step of establishing a combined classifier model according to the optimal model combination comprises:
    当得到所述最优模型组合后,将其中的n个模型的预测结果进行加权,得到所述组合分类器模型,所述组合分类器模型输出的结果为n个模型的预测结果进行加权计算得到的最终预测结果。After the optimal model combination is obtained, the prediction results of the n models are weighted to obtain the combined classifier model, and the output of the combined classifier model is weighted by the prediction results of the n models. The final forecast.
    权利要求1-8中任一项所述的慢阻肺发病风险预测方法的步骤。The method of the method for predicting the risk of developing chronic obstructive pulmonary disease according to any one of claims 1-8.
  17. 一种计算机可读存储介质,所述计算机可读存储介质存储有慢阻肺发病风险预测系统,所述慢阻肺发病风险预测系统可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:A computer readable storage medium storing a chronic obstructive pulmonary disease risk prediction system executable by at least one processor to cause the at least one processor Perform the following steps:
    设置需要获取的用户信息范围;Set the range of user information that needs to be obtained;
    按所述用户信息范围获取相关样本数据;Obtaining relevant sample data according to the range of user information;
    根据所述样本数据建立多个模型,并进行训练和测试,筛选最优模型组合;Establishing a plurality of models according to the sample data, performing training and testing, and screening the optimal model combination;
    根据所述最优模型组合建立组合分类器模型;及Establishing a combined classifier model according to the optimal model combination; and
    根据所述组合分类器模型和用户个人信息进行慢阻肺发病风险预测。The chronic obstructive pulmonary disease risk prediction is performed according to the combined classifier model and user personal information.
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,在根据所述样本数据建立多个模型的步骤之前,还包括步骤:A computer readable storage medium according to claim 17, wherein before the step of establishing a plurality of models based on said sample data, the method further comprises the steps of:
    对所述样本数据进行缺失值和异常值处理,并进行降维。The sample data is subjected to missing value and outlier processing, and dimensionality reduction is performed.
  19. 如权利要求18所述的计算机可读存储介质,其特征在于,对所述样本数据进行缺失值和异常值处理的步骤具体包括:The computer readable storage medium according to claim 18, wherein the step of performing the missing value and the outlier processing on the sample data comprises:
    删除饱和度过低的数据,异常值作为缺失值处理,通过特征填充的方法对缺失值进行填充,然后将连续数值离散化。Deleting the data with too low saturation, the outliers are treated as missing values, the missing values are filled by the feature filling method, and the continuous values are discretized.
  20. 如权利要求17或18所述的计算机可读存储介质,其特征在于,所述根据所述最优模型组合建立组合分类器模型的步骤包括:The computer readable storage medium according to claim 17 or 18, wherein the step of establishing a combined classifier model according to the optimal model combination comprises:
    当得到所述最优模型组合后,将其中的n个模型的预测结果进行加权, 得到所述组合分类器模型,所述组合分类器模型输出的结果为n个模型的预测结果进行加权计算得到的最终预测结果。After the optimal model combination is obtained, the prediction results of the n models are weighted to obtain the combined classifier model, and the output of the combined classifier model is weighted by the prediction results of the n models. The final forecast.
PCT/CN2018/089343 2018-02-07 2018-05-31 Method for predicting risk of chronic obstructive pulmonary disease, server, and computer readable storage medium WO2019153595A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810125017.8A CN108257675A (en) 2018-02-07 2018-02-07 Chronic obstructive pulmonary disease onset risk Forecasting Methodology, server and computer readable storage medium
CN201810125017.8 2018-02-07

Publications (1)

Publication Number Publication Date
WO2019153595A1 true WO2019153595A1 (en) 2019-08-15

Family

ID=62744867

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089343 WO2019153595A1 (en) 2018-02-07 2018-05-31 Method for predicting risk of chronic obstructive pulmonary disease, server, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108257675A (en)
WO (1) WO2019153595A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109215788B (en) * 2018-08-22 2022-01-18 四川大学 Method and device for predicting canceration risk degree of oral mucosa lesion
CN109243546B (en) * 2018-09-07 2020-10-27 上海交通大学医学院附属新华医院 Method and device for establishing anticoagulant drug effect optimization model
CN109243620B (en) * 2018-09-07 2020-10-02 上海交通大学医学院附属新华医院 Drug effect optimization method and device based on blood concentration monitoring
CN109192306A (en) * 2018-09-21 2019-01-11 广东工业大学 A kind of judgment means of diabetes, equipment and computer readable storage medium
CN109359850A (en) * 2018-10-10 2019-02-19 大连诺道认知医学技术有限公司 A kind of method and device generating risk assessment scale
CN109859854A (en) * 2018-12-17 2019-06-07 中国科学院深圳先进技术研究院 Prediction Method of Communicable Disease, device, electronic equipment and computer-readable medium
CN109493975B (en) * 2018-12-20 2021-10-01 广州医科大学附属第一医院 Chronic disease recurrence prediction method, device and computer equipment based on xgboost model
CN109815615A (en) * 2019-02-12 2019-05-28 广州天鹏计算机科技有限公司 Chronic obstructive pulmonary disease recurrence prediction method, apparatus and computer equipment based on LightGBM model
CN110706812A (en) * 2019-09-29 2020-01-17 医渡云(北京)技术有限公司 Medical index time sequence prediction method, device, medium and electronic equipment
CN110838366A (en) * 2019-10-15 2020-02-25 平安科技(深圳)有限公司 Method and device for predicting disease risk
CN111681725A (en) * 2020-05-09 2020-09-18 中南大学湘雅二医院 Chronic obstructive pulmonary disease prevention and treatment management method and system
CN111613325A (en) * 2020-05-20 2020-09-01 京东方科技集团股份有限公司 Slow obstructive pulmonary recurrence prediction method, device, electronic equipment and storage medium
CN112329812A (en) * 2020-09-29 2021-02-05 湖南明康中锦医疗科技发展有限公司 Slow obstructive pulmonary acute exacerbation automatic early warning method and platform and readable storage medium
CN112652391A (en) * 2020-12-16 2021-04-13 浙江大学温州研究院 System for identifying acute exacerbation of chronic obstructive pulmonary disease
CN112489803A (en) * 2020-12-23 2021-03-12 阿斯利康投资(中国)有限公司 Risk event prediction method and system, and generation method of risk event prediction system
CN113609121A (en) * 2021-08-17 2021-11-05 平安资产管理有限责任公司 Target data processing method, device, equipment and medium based on artificial intelligence
CN115579127B (en) * 2022-10-08 2023-11-21 中南大学 Method, system, equipment and storage medium for constructing slow-resistance lung prediction model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030207278A1 (en) * 2002-04-25 2003-11-06 Javed Khan Methods for analyzing high dimensional data for classifying, diagnosing, prognosticating, and/or predicting diseases and other biological states
CN103426007A (en) * 2013-08-29 2013-12-04 人民搜索网络股份公司 Machine learning classification method and device
CN103714261A (en) * 2014-01-14 2014-04-09 吉林大学 Intelligent auxiliary medical treatment decision supporting method of two-stage mixed model
CN106874663A (en) * 2017-01-26 2017-06-20 中电科软件信息服务有限公司 Cardiovascular and cerebrovascular disease Risk Forecast Method and system
CN107180152A (en) * 2016-03-09 2017-09-19 日本电气株式会社 Disease forecasting system and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013190092A1 (en) * 2012-06-21 2013-12-27 Philip Morris Products S.A. Gene signatures for copd diagnosis
CN103020454A (en) * 2012-12-15 2013-04-03 中国科学院深圳先进技术研究院 Method and system for extracting morbidity key factor and early warning disease
WO2014201515A1 (en) * 2013-06-18 2014-12-24 Deakin University Medical data processing for risk prediction
CN106096623A (en) * 2016-05-25 2016-11-09 中山大学 A kind of crime identifies and Forecasting Methodology
CN106326654B (en) * 2016-08-24 2018-03-09 北京辛诺创新科技有限公司 Health forecast system, intelligent terminal and server based on big data cloud analysis
CN107066791A (en) * 2016-12-19 2017-08-18 银江股份有限公司 A kind of aided disease diagnosis method based on patient's assay
CN106897570B (en) * 2017-03-02 2021-05-11 山东师范大学 Chronic obstructive pulmonary disease testing system based on machine learning
CN107609708B (en) * 2017-09-25 2021-03-26 广州赫炎大数据科技有限公司 User loss prediction method and system based on mobile game shop

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030207278A1 (en) * 2002-04-25 2003-11-06 Javed Khan Methods for analyzing high dimensional data for classifying, diagnosing, prognosticating, and/or predicting diseases and other biological states
CN103426007A (en) * 2013-08-29 2013-12-04 人民搜索网络股份公司 Machine learning classification method and device
CN103714261A (en) * 2014-01-14 2014-04-09 吉林大学 Intelligent auxiliary medical treatment decision supporting method of two-stage mixed model
CN107180152A (en) * 2016-03-09 2017-09-19 日本电气株式会社 Disease forecasting system and method
CN106874663A (en) * 2017-01-26 2017-06-20 中电科软件信息服务有限公司 Cardiovascular and cerebrovascular disease Risk Forecast Method and system

Also Published As

Publication number Publication date
CN108257675A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
WO2019153595A1 (en) Method for predicting risk of chronic obstructive pulmonary disease, server, and computer readable storage medium
CN108876636B (en) Intelligent air control method, system, computer equipment and storage medium for claim settlement
TWI444844B (en) Simulation parameter correction technique
CN110051324B (en) Method and system for predicting death rate of acute respiratory distress syndrome
WO2019153596A1 (en) Chicken pox incidence warning method, server, and computer readable storage medium
CN109817339B (en) Patient grouping method and device based on big data
CN108461110B (en) Medical information processing method, device and equipment
CN108038352B (en) Method for mining whole genome key genes by combining differential analysis and association rules
WO2019019375A1 (en) Method and apparatus for creating underwriting decision tree, and computer device and storage medium
JP2022518286A (en) Association of population descriptors to trained model
JP6038727B2 (en) Analysis system and analysis method
CN111210356B (en) Medical insurance data analysis method and device, computer equipment and storage medium
CN111383732B (en) Medicine auditing method, device, computer system and readable storage medium based on mutual exclusion identification
CN110729054B (en) Abnormal diagnosis behavior detection method and device, computer equipment and storage medium
WO2019095587A1 (en) Face recognition method, application server, and computer-readable storage medium
Musoro et al. Dynamic prediction of mortality among patients in intensive care using the sequential organ failure assessment (SOFA) score: a joint competing risk survival and longitudinal modeling approach
CN115985523A (en) Digital chronic disease follow-up management system
Yin et al. Confidence intervals for differences between volumes under receiver operating characteristic surfaces (VUS) and generalized Youden indices (GYIs)
US10437944B2 (en) System and method of modeling irregularly sampled temporal data using Kalman filters
CN115438040A (en) Pathological archive information management method and system
JP6963535B2 (en) Analytical methods, analyzers and programs
CN109308660B (en) Credit assessment scoring model evaluation method, apparatus, device and storage medium
CN106874286B (en) Method and device for screening user characteristics
WO2019218482A1 (en) Big data-based population screening method and apparatus, terminal device and readable storage medium
Finkelstein et al. Using CART for advanced prediction of asthma attacks based on telemonitoring data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18905542

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/11/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18905542

Country of ref document: EP

Kind code of ref document: A1